mirror of
https://gitea.com/gitea/docs.git
synced 2026-03-27 05:58:30 +07:00
Update primary color(s) (#53)
Closes #35 One caveat, I used the docusaurus [styling and layout](https://docusaurus.io/docs/styling-layout/#styling-your-site-with-infima) color generator and fiddled until I could get a AA contrast ratio, so the colors aren't as exact as the one suggested in https://gitea.com/gitea/gitea-docusaurus/issues/35#issuecomment-742982 (But it still looks better than the blue-green we currently have imo)   Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/53 Co-authored-by: jolheiser <john.olheiser@gmail.com> Co-committed-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
@@ -25,13 +25,13 @@
|
||||
--palette-charade: #21222c;
|
||||
--palette-rock: #262833;
|
||||
--palette-pale-blue: #b1b5d3;
|
||||
--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-color-primary: #3c6018;
|
||||
--ifm-color-primary-dark: #365616;
|
||||
--ifm-color-primary-darker: #335214;
|
||||
--ifm-color-primary-darkest: #2a4311;
|
||||
--ifm-color-primary-light: #426a1a;
|
||||
--ifm-color-primary-lighter: #456e1c;
|
||||
--ifm-color-primary-lightest: #4e7d1f;
|
||||
--ifm-code-font-size: 95%;
|
||||
--ifm-global-border-radius: 8px;
|
||||
--docusaurus-highlighted-code-line-bg: var(--palette-dark-10);
|
||||
@@ -56,13 +56,13 @@
|
||||
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
||||
[data-theme='dark'] {
|
||||
--palette-gray: #4b4e5d;
|
||||
--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: #79c230;
|
||||
--ifm-color-primary-dark: #6daf2b;
|
||||
--ifm-color-primary-darker: #67a529;
|
||||
--ifm-color-primary-darkest: #5b9224;
|
||||
--ifm-color-primary-light: #85cf3c;
|
||||
--ifm-color-primary-lighter: #8bd145;
|
||||
--ifm-color-primary-lightest: #9dd862;
|
||||
--docusaurus-highlighted-code-line-bg: var(--palette-dark-30);
|
||||
--theme-attention-card-bg-color: var(--palette-gray);
|
||||
--theme-input-bg-color: #44475a;
|
||||
|
||||
Reference in New Issue
Block a user