aboutsummaryrefslogtreecommitdiff
path: root/assets/_defaults.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-08 17:03:40 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-08 17:03:49 +0200
commit007bc10c07d6a6b7cb6c03a138cc90f6f74a3058 (patch)
tree2e24514fcf5abf924d152bbac80c950db05be7d2 /assets/_defaults.scss
parent1cd5040d84e852504598ebc58f6839ce4453ca68 (diff)
Introduce SCSS plugins: dark mode and numbered headings
Diffstat (limited to 'assets/_defaults.scss')
-rw-r--r--assets/_defaults.scss50
1 files changed, 50 insertions, 0 deletions
diff --git a/assets/_defaults.scss b/assets/_defaults.scss
new file mode 100644
index 0000000..b11c9a9
--- /dev/null
+++ b/assets/_defaults.scss
@@ -0,0 +1,50 @@
+// Used in layout
+$padding-1: 1px !default;
+$padding-4: 0.25rem !default;
+$padding-8: 0.5rem !default;
+$padding-16: 1rem !default;
+
+$font-size-base: 16px !default;
+$font-size-12: 0.75rem !default;
+$font-size-14: 0.875rem !default;
+$font-size-16: 1rem !default;
+
+$border-radius: 0.15rem !default;
+
+// Grayscale
+$white: #ffffff !default;
+$gray-100: #f8f9fa !default;
+$gray-200: #e9ecef !default;
+$gray-300: #dee2e6 !default;
+$gray-400: #ced4da !default;
+$gray-500: #adb5bd !default;
+$gray-600: #868e96 !default;
+$gray-700: #495057 !default;
+$gray-800: #343a40 !default;
+$gray-900: #212529 !default;
+$black: #000 !default;
+
+$color-link: #05b !default;
+$color-visited-link: #8440f1 !default;
+$color-dark-link: $gray-800 !default;
+
+$body-background: white !default;
+$body-font-color: $gray-800 !default;
+$body-font-weight: normal !default;
+
+$body-min-width: 20rem !default;
+$container-max-width: 80rem !default;
+
+$header-height: 3.5rem !default;
+$menu-width: 16rem !default;
+$toc-width: 16rem !default;
+
+$md-breakpoint: $menu-width + $body-min-width * 1.25 + $toc-width !default;
+$sm-breakpoint: $menu-width + $body-min-width !default;
+
+// Panel colors
+$hint-colors: (
+ info: #6bf,
+ warning: #fd6,
+ danger: #f66
+) !default;