|
| 1 | +// This file is coped from Just The Docs |
| 2 | +// Individual courses should not modify it! |
| 3 | +// All deviations should be documented. |
| 4 | +// https://github.com/just-the-docs/just-the-docs/blob/main/_sass/color_schemes/light.scss |
| 5 | + |
| 6 | +/////////// Do not modify this section. |
| 7 | +$color-scheme: dark; |
| 8 | +$body-background-color: $grey-dk-300; |
| 9 | +$body-heading-color: $grey-lt-000; |
| 10 | +$body-text-color: $grey-lt-300; |
| 11 | +// $link-color: $blue-000; |
| 12 | +$nav-child-link-color: $grey-dk-000; |
| 13 | +$sidebar-color: $grey-dk-300; |
| 14 | +$base-button-color: $grey-dk-250; |
| 15 | +// $btn-primary-color: $blue-200; |
| 16 | +$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid |
| 17 | +$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid |
| 18 | +$feedback-color: darken($sidebar-color, 3%); |
| 19 | +$table-background-color: $grey-dk-250; |
| 20 | +$search-background-color: $grey-dk-250; |
| 21 | +$search-result-preview-color: $grey-dk-000; |
| 22 | +$border-color: $grey-dk-200; |
| 23 | +/////////////////// Add modifications below |
| 24 | + |
| 25 | +@import '../snytax_highliters/a11y-dark'; |
| 26 | + |
| 27 | +// Override dark-mode variables here |
| 28 | +$berkeley-blue: #002676; // rgb(0, 38, 118); |
| 29 | +$grey-dk-400: #0C0A0E !default; |
| 30 | +$body-background-color: $grey-dk-400; |
| 31 | +$sidebar-color: $grey-dk-400; |
| 32 | +$search-background-color: $grey-dk-400; |
| 33 | +$body-text-color: $white; |
| 34 | +$body-lighter-color: darken($body-text-color, 20%); |
| 35 | + |
| 36 | +$link-color: #406FFE; |
| 37 | +$hover-focus-link-color: darken($link-color, 10%); |
| 38 | + |
| 39 | +// TODO(template): We need to figure out a much better solution! |
| 40 | +// This swaps the "dk" and "lt" variants from the original JTD files. |
| 41 | +$grey-lt-000: #959396; |
| 42 | +$grey-lt-100: #5c5962; |
| 43 | +$grey-lt-200: #44434d; |
| 44 | +$grey-lt-250: #302d36; |
| 45 | +$grey-lt-300: #27262b; |
| 46 | + |
| 47 | +$grey-dk-000: #f5f6fa; |
| 48 | +$grey-dk-100: #eeebee; |
| 49 | +$grey-dk-200: #ecebed; |
| 50 | +$grey-dk-300: #e6e1e8; |
| 51 | + |
| 52 | +$btn-primary-color: $berkeley-blue; |
| 53 | +$base-button-color: $grey-dk-200; |
| 54 | + |
| 55 | +// This is not great, but JTD forces $link-color |
| 56 | +.btn:not(.btn-outline) { |
| 57 | + color: $btn-primary-color !important; |
| 58 | +} |
0 commit comments