mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Add beets.css customizing Sphinx theme "pydata"
- Set static path and css file in Sphinx config. - Codebox style to black/white - Secondary color to beetroot red - Inline code color to beetroot green - Leave primary color (pydata teal), difficult to read with beetroot green. Works well with beetroot red actually. - Leave some notes on colors in beets.css for reference.
This commit is contained in:
parent
c1e2b34aa2
commit
af6258301c
2 changed files with 15 additions and 0 deletions
12
docs/_static/beets.css
vendored
Normal file
12
docs/_static/beets.css
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
html[data-theme="light"] {
|
||||
--pst-color-secondary: #a23632;
|
||||
}
|
||||
html[data-theme="light"] {
|
||||
--pst-color-inline-code: #a23632;
|
||||
}
|
||||
|
||||
/* beetroot red: #a23632 */
|
||||
/* beetroot green: #1B5801 */
|
||||
/* beetroot green light: rgb(27, 150, 50) */
|
||||
/* pydata teal (primary): #126A7E */
|
||||
/* pydata violet (secondary): #7D0E70 */
|
||||
|
|
@ -66,6 +66,9 @@ html_theme_options = {
|
|||
"logo": {
|
||||
"text": "beets",
|
||||
},
|
||||
"pygment_light_style": "bw",
|
||||
}
|
||||
html_title = "beets"
|
||||
html_logo = "_static/beets_logo.png"
|
||||
html_static_path = ['_static']
|
||||
html_css_files = ['beets.css']
|
||||
|
|
|
|||
Loading…
Reference in a new issue