Skip to content

Commit

Permalink
Update colours
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Feb 19, 2024
1 parent dfc2e17 commit 2133d9b
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--ifm-color-primary: #3819d2;
--ifm-color-primary-dark: #3217bd;
--ifm-color-primary-darker: #3015b3;
--ifm-color-primary-darkest: #271193;
--ifm-color-primary-light: #3f1ee4;
--ifm-color-primary-lighter: #4829e5;
--ifm-color-primary-lightest: #1f0e73;
--ifm-code-font-size: 90%;

--ifm-color-warning-contrast-background: rgb(254, 243, 213);

Expand All @@ -22,16 +22,27 @@

/* For readability concerns, you should choose a lighter palette in dark mode. */
html[data-theme="dark"] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--ifm-color-primary: #0896d4;
--ifm-color-primary-dark: #0787bf;
--ifm-color-primary-darker: #077fb4;
--ifm-color-primary-darkest: #066994;
--ifm-color-primary-light: #09a5e9;
--ifm-color-primary-lighter: #09acf4;
--ifm-color-primary-lightest: #27b8f7;

--ifm-background-color: #121214;
--ifm-background-surface-color: #1b1b1b;

--ifm-color-secondary-contrast-background: rgba(72, 71, 71, 0.55);
--ifm-color-warning-contrast-background: rgba(77, 56, 0, 0.55);

--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.5);
}

.menu__caret:before {
background: var(--ifm-menu-link-sublist-icon) 50%/1.75rem;
}

.menu__link--sublist-caret:after {
background: var(--ifm-menu-link-sublist-icon) 50%/1.75rem;
}

1 comment on commit 2133d9b

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: 2133d9baaceda13733fef8a965de6c22e7087da3
Status: ✅ Deploy successful!
Preview URL: https://d385c6f5.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-53.neoforged-docs-previews.pages.dev

Please sign in to comment.