Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: WEB-630 update menu badge color #6208

Merged
merged 4 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1037,21 +1037,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 @@ -91,7 +91,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 @@ -124,6 +124,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 @@ -223,7 +224,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 @@ -247,6 +248,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 @@ -325,7 +327,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 @@ -357,6 +359,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 @@ -442,7 +445,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 @@ -467,6 +470,7 @@ html[data-theme="dark"] {
--dark-color: rgb(12, 52, 75);

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

Expand Down
Loading