Skip to content

Commit

Permalink
Rewrite variables for color scheme of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bulhakovolexii committed Jul 14, 2024
1 parent b2408f9 commit 36e1939
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/_sass/color_schemes/dark.scss
Original file line number Diff line number Diff line change
@@ -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%);
Expand All @@ -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;
27 changes: 27 additions & 0 deletions docs/_sass/color_schemes/light.scss
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 36e1939

Please sign in to comment.