Skip to content

Commit

Permalink
Use Navbar from @swmansion/t-rex-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
patrycjakalinska committed May 14, 2024
1 parent 4ddf544 commit 16b07b2
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 487 deletions.
6 changes: 3 additions & 3 deletions docs/src/css/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@
--swm-color-mode-enabled: var(--swm-navy-light-20);
--swm-color-mode-disabled-color: var(--swm-navy-light-20);

--swm-color-mode-enabled-landing: var(--swm-off-white);
--swm-color-mode-enabled-color-landing: var(--ifm-font-color-base);
--swm-color-mode-disabled-color-landing: var(--swm-off-white);
--swm-color-mode-enabled-landing: var(--ifm-font-color-base);
--swm-color-mode-enabled-color-landing: var(--swm-off-white);
--swm-color-mode-disabled-color-landing: var(--ifm-font-color-base);

/* Typography */
--ifm-heading-color: var(--ifm-color-primary);
Expand Down
22 changes: 21 additions & 1 deletion docs/src/css/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,26 @@ table thead tr {
}

[class*='sidebar'] [class*='logoWrapper'] a {
padding-left: 1.5rem;
align-items: center;
}

@media (min-width: 996px) {
[class*='logoWrapper'] a {
padding-left: 1.5rem;
}
[class*='colorModeToggle'] {
margin: 0 1.5em;
}
}
[class*='colorModeToggle'] {
margin: 0 !important;
}

/* // this wouldn't be in the patch because it only applies to Gesture Hander */
[class*='navbar__logo'] img {
margin-right: 0.5rem;
}

[class*='logoWrapper'] {
justify-content: flex-start !important;
}
118 changes: 0 additions & 118 deletions docs/src/theme/Navbar/Content/index.js

This file was deleted.

126 changes: 0 additions & 126 deletions docs/src/theme/Navbar/Content/styles.module.css

This file was deleted.

60 changes: 0 additions & 60 deletions docs/src/theme/Navbar/Layout/index.js

This file was deleted.

18 changes: 0 additions & 18 deletions docs/src/theme/Navbar/Layout/styles.module.css

This file was deleted.

Loading

0 comments on commit 16b07b2

Please sign in to comment.