Skip to content

Commit

Permalink
fix: WEB-630 update menu badge color (#6208)
Browse files Browse the repository at this point in the history
* Update cli results btn color text

* update color for badges inside a menu item

* Trigger Build
  • Loading branch information
carlagn authored Aug 19, 2024
1 parent 81f1847 commit f2ec347
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
21 changes: 16 additions & 5 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1032,21 +1032,32 @@ hr {
color: white !important;
}

:root[data-theme="light"] .table-of-contents__link:hover,
:root[data-theme="light"] .table-of-contents__link:hover code {
:root[data-theme="light"] .table-of-contents__link:hover{
color: rgb(26, 32, 44) !important;
}

:root[data-theme="dark"] .table-of-contents__link:hover,
:root[data-theme="dark"] .table-of-contents__link:hover code {
:root[data-theme="dark"] .table-of-contents__link:hover{
color: #f7fafc !important;
}

.table-of-contents__link--active code {
.table-of-contents__link.table-of-contents__link--active code {
color: white;
background: var(--dark-color);
}

.table-of-contents__link.table-of-contents__link--active:hover code {
color: white;
background: var(--dark-color);
}

.table-of-contents__link:hover code {
color: var(--menu-link-code);
}

.table-of-contents__link code {
color: var(--menu-link-code);
}

.pagination-nav__label {
color: var(--main-font-color);
}
Expand Down
12 changes: 8 additions & 4 deletions src/css/theming.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
--brand-primary: rgb(90, 103, 216);
--ifm-hover-overlay: var(--indigo-700);
/* Code blocks */
--code-inner-color: #718096;
--code-inner-color: #A0AEC0;
--code-token1-color: #d5408c;
--code-token2-color: #805ad5;
--code-token3-color: #319795;
Expand Down Expand Up @@ -125,6 +125,7 @@
background-color: var(--white-color);

--homepage-header-bg: rgb(247, 250, 252);
--menu-link-code: #4A5568;
/* Colors */
--indigo-100: #ebf4ff;
--indigo-200: #c3dafe;
Expand Down Expand Up @@ -225,7 +226,7 @@ html[data-theme="dark"] {
--ifm-navbar-background-color: var(--gray-1000);
--ifm-navbar-link-color: #e2e8f0;
/* Code blocks */
--code-inner-color: #718096;
--code-inner-color: #4A5568;
--code-token1-color: #d5408c;
--code-token2-color: #805ad5;
--code-token3-color: #319795;
Expand All @@ -249,6 +250,7 @@ html[data-theme="dark"] {
--grey-bg-color: #8fa6b2;
--dark-color: rgb(12, 52, 75);
--homepage-header-bg: var(--gray-900);
--menu-link-code: #E2E8F0;
}

/* PRIMITES WITH THEME DEFINED */
Expand Down Expand Up @@ -328,7 +330,7 @@ html[data-theme="dark"] {
--brand-primary: rgb(90, 103, 216);
--ifm-hover-overlay: var(--indigo-700);
/* Code blocks */
--code-inner-color: #718096;
--code-inner-color: #A0AEC0;
--code-token1-color: #d5408c;
--code-token2-color: #805ad5;
--code-token3-color: #319795;
Expand Down Expand Up @@ -360,6 +362,7 @@ html[data-theme="dark"] {
color: var(--main-font-color);
background-color: var(--white-color);
--homepage-header-bg: rgb(247, 250, 252);
--menu-link-code: #4A5568;
/* Colors */
--indigo-100: #ebf4ff;
--indigo-200: #c3dafe;
Expand Down Expand Up @@ -446,7 +449,7 @@ html[data-theme="dark"] {
--ifm-navbar-background-color: var(--gray-1000);
--ifm-navbar-link-color: #e2e8f0;
/* Code blocks */
--code-inner-color: #718096;
--code-inner-color: #4A5568;
--code-token1-color: #d5408c;
--code-token2-color: #805ad5;
--code-token3-color: #319795;
Expand All @@ -471,6 +474,7 @@ html[data-theme="dark"] {
--dark-color: rgb(12, 52, 75);

--homepage-header-bg: var(--gray-900);
--menu-link-code: #E2E8F0;
}
}

Expand Down

0 comments on commit f2ec347

Please sign in to comment.