-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs to match updated logo and color palette (#5283)
![8511](https://github.com/astral-sh/ruff/assets/77130613/862d151f-ff1d-4da8-9230-8dd32f41f197) ## Summary Supersedes #5277, includes redesigned dark mode. ## Test Plan * `python scripts/generate_mkdocs.py` * `mkdocs serve`
- Loading branch information
Showing
7 changed files
with
82 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
:root { | ||
--black: #261230; | ||
--white: #ffffff; | ||
--astral-purple: #1f092a; | ||
--astral-purple-alt: #30173d; | ||
--light-gray: #826894; | ||
--radiate: #d7ff64; | ||
--flare: #6340ac; | ||
--rock: #78876e; | ||
--galaxy: #261230; | ||
--space: #30173d; | ||
--comet: #6f5d6f; | ||
--cosmic: #de5fe9; | ||
--sun: #ffac2f; | ||
--electron: #46ebe1; | ||
--aurora: #46eb74; | ||
--constellation: #5f6de9; | ||
--neutron: #cff3cf; | ||
--proton: #f6afbc; | ||
--nebula: #cdcbfb; | ||
--supernova: #f1aff6; | ||
--starlight: #f4f4f1; | ||
--lunar: #fbf2fc; | ||
--asteroid: #e3cee3; | ||
--crater: #f0dfdf; | ||
} | ||
|
||
[data-md-color-scheme="astral-light"] { | ||
--md-default-bg-color--dark: var(--black); | ||
--md-primary-fg-color: var(--galaxy); | ||
--md-typeset-a-color: var(--flare); | ||
--md-accent-fg-color: var(--cosmic); | ||
} | ||
|
||
[data-md-color-scheme="astral-dark"] { | ||
--md-default-bg-color: var(--astral-purple); | ||
--md-default-fg-color: var(--white); | ||
--md-default-fg-color--light: var(--white); | ||
--md-default-fg-color--lighter: var(--white); | ||
--md-primary-fg-color: var(--astral-purple-alt); | ||
--md-primary-bg-color: var(--white); | ||
--md-accent-fg-color: var(--radiate); | ||
|
||
--md-typeset-color: var(--white); | ||
--md-typeset-a-color: var(--radiate); | ||
--md-typeset-mark-color: var(--sun); | ||
|
||
--md-code-fg-color: var(--white); | ||
--md-code-bg-color: var(--astral-purple-alt); | ||
|
||
--md-code-hl-comment-color: var(--light-gray); | ||
--md-code-hl-punctuation-color: var(--light-gray); | ||
--md-code-hl-generic-color: var(--light-gray); | ||
--md-code-hl-variable-color: var(--light-gray); | ||
--md-code-hl-string-color: var(--aurora); | ||
--md-code-hl-keyword-color: var(--sun); | ||
--md-code-hl-operator-color: var(--sun); | ||
--md-code-hl-number-color: hsla(0, 67%, 50%, 1); | ||
--md-code-hl-special-color: hsla(340, 83%, 47%, 1); | ||
--md-code-hl-function-color: var(--cosmic); | ||
--md-code-hl-constant-color: var(--radiate); | ||
--md-code-hl-name-color: var(--md-code-fg-color); | ||
|
||
--md-typeset-del-color: hsla(6, 90%, 60%, 0.15); | ||
--md-typeset-ins-color: hsla(150, 90%, 44%, 0.15); | ||
|
||
--md-typeset-table-color: hsla(0, 0%, 100%, 0.12); | ||
--md-typeset-table-color--light: hsla(0, 0%, 100%, 0.035); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters