From 36e1939fd36058f7b1fb6f49e8bd8bbc3ca3d494 Mon Sep 17 00:00:00 2001 From: Olexii Bulhakov Date: Sun, 14 Jul 2024 12:22:06 +0300 Subject: [PATCH] Rewrite variables for color scheme of docs --- docs/_sass/color_schemes/dark.scss | 15 ++++++++++++--- docs/_sass/color_schemes/light.scss | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 docs/_sass/color_schemes/light.scss diff --git a/docs/_sass/color_schemes/dark.scss b/docs/_sass/color_schemes/dark.scss index b7f64e0..de4f90a 100644 --- a/docs/_sass/color_schemes/dark.scss +++ b/docs/_sass/color_schemes/dark.scss @@ -1,13 +1,23 @@ +$yellow-000: #f4e982; +$yellow-100: #efdf4f; +$yellow-200: #eab842; +$yellow-300: #df7c28; + +$green-000: #8fc58f; +$green-100: #62ad5f; +$green-200: #4d8c4b; +$green-300: #305c2e; + // Default dark scheme $color-scheme: dark; $body-background-color: $grey-dk-300; $body-heading-color: $grey-lt-000; $body-text-color: $grey-lt-300; -$link-color: $blue-000; +$link-color: $yellow-200; $nav-child-link-color: $grey-dk-000; $sidebar-color: $grey-dk-300; $base-button-color: $grey-dk-250; -$btn-primary-color: $blue-200; +$btn-primary-color: $yellow-200; $code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid $code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid $feedback-color: darken($sidebar-color, 3%); @@ -21,5 +31,4 @@ $border-color: $grey-dk-200; // Custom variables for callouts in dark scheme $purple-300: #7b5af8; $blue-300: #347efd; -$green-300: #009d77; $red-300: #f87171; diff --git a/docs/_sass/color_schemes/light.scss b/docs/_sass/color_schemes/light.scss new file mode 100644 index 0000000..b7f45c9 --- /dev/null +++ b/docs/_sass/color_schemes/light.scss @@ -0,0 +1,27 @@ +$yellow-000: #f4e982; +$yellow-100: #efdf4f; +$yellow-200: #eab842; +$yellow-300: #df7c28; + +$green-000: #8fc58f; +$green-100: #62ad5f; +$green-200: #4d8c4b; +$green-300: #305c2e; + +// Default light scheme +$color-scheme: light !default; +$body-background-color: $white !default; +$body-heading-color: $grey-dk-300 !default; +$body-text-color: $grey-dk-100 !default; +$link-color: $green-000 !default; +$nav-child-link-color: $grey-dk-100 !default; +$sidebar-color: $grey-lt-000 !default; +$base-button-color: #f7f7f7 !default; +$btn-primary-color: $green-100 !default; +$code-background-color: $grey-lt-000 !default; +$feedback-color: darken($sidebar-color, 3%) !default; +$table-background-color: $white !default; +$search-background-color: $white !default; +$search-result-preview-color: $grey-dk-000 !default; + +@import "./vendor/OneLightJekyll/syntax";