jekyll-theme-zer0 0.21.2 → 0.22.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +103 -0
  3. data/README.md +86 -46
  4. data/_data/authors.yml +12 -3
  5. data/_data/features.yml +1 -1
  6. data/_data/glossary.yml +101 -0
  7. data/_data/navigation/docs.yml +12 -0
  8. data/_data/navigation/home.yml +2 -2
  9. data/_data/navigation/main.yml +2 -8
  10. data/_data/prompts.yml +184 -0
  11. data/_includes/components/author-eeat.html +133 -0
  12. data/_includes/components/cookie-consent.html +9 -9
  13. data/_includes/components/dev-shortcuts.html +36 -27
  14. data/_includes/components/env-detect.html +14 -0
  15. data/_includes/components/env-switcher.html +38 -16
  16. data/_includes/components/halfmoon.html +31 -20
  17. data/_includes/components/info-section.html +4 -3
  18. data/_includes/components/js-cdn.html +8 -15
  19. data/_includes/components/mermaid.html +13 -9
  20. data/_includes/components/powered-by.html +5 -3
  21. data/_includes/content/intro.html +64 -4
  22. data/_includes/content/jsonld-faq.html +47 -0
  23. data/_includes/content/jsonld-software.html +121 -0
  24. data/_includes/content/sitemap.html +2 -2
  25. data/_includes/core/branding.html +9 -7
  26. data/_includes/core/footer.html +12 -9
  27. data/_includes/core/head.html +17 -14
  28. data/_includes/core/header.html +33 -21
  29. data/_includes/navigation/navbar.html +130 -124
  30. data/_includes/navigation/sidebar-left.html +3 -3
  31. data/_includes/navigation/sidebar-right.html +4 -8
  32. data/_includes/search-data.json +1 -2
  33. data/_layouts/landing.html +30 -11
  34. data/_layouts/root.html +4 -4
  35. data/_layouts/sitemap-collection.html +20 -10
  36. data/_sass/core/_docs-layout.scss +756 -0
  37. data/_sass/core/_navbar.scss +522 -69
  38. data/_sass/core/_offcanvas-panels.scss +48 -0
  39. data/_sass/core/_syntax.scss +1 -51
  40. data/_sass/core/_theme.scss +2 -249
  41. data/_sass/core/_variables.scss +1 -54
  42. data/_sass/core/code-copy.scss +6 -6
  43. data/_sass/custom.scss +141 -133
  44. data/_sass/theme/_color-modes.scss +3 -0
  45. data/_sass/theme/_css-variables.scss +29 -0
  46. data/_sass/theme/_wizard-mode.scss +31 -0
  47. data/assets/css/custom.css +5 -120
  48. data/assets/css/main.scss +6 -2
  49. data/assets/css/stats.css +3 -0
  50. data/assets/css/theme-npm-entry.scss +6 -0
  51. data/assets/css/vendor/.gitkeep +0 -0
  52. data/assets/images/authors/bamr87.png +0 -0
  53. data/assets/js/auto-hide-nav.js +71 -20
  54. data/assets/js/color-modes.js +8 -2
  55. data/assets/js/halfmoon.js +8 -2
  56. data/assets/js/myScript.js +4 -12
  57. data/assets/js/navigation.js +174 -19
  58. data/assets/js/search-modal.js +50 -7
  59. data/assets/js/ui-enhancements.js +13 -0
  60. data/assets/vendor/bootstrap/css/bootstrap.min.css +5 -0
  61. data/assets/vendor/bootstrap/js/bootstrap.bundle.min.js +6 -0
  62. data/assets/vendor/bootstrap-icons/font/bootstrap-icons.css +2018 -0
  63. data/assets/vendor/bootstrap-icons/font/fonts/bootstrap-icons.woff +0 -0
  64. data/assets/vendor/bootstrap-icons/font/fonts/bootstrap-icons.woff2 +0 -0
  65. data/assets/vendor/font-awesome/css/all.min.css +9 -0
  66. data/assets/vendor/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  67. data/assets/vendor/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
  68. data/assets/vendor/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  69. data/assets/vendor/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  70. data/assets/vendor/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  71. data/assets/vendor/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  72. data/assets/vendor/font-awesome/webfonts/fa-v4compatibility.ttf +0 -0
  73. data/assets/vendor/font-awesome/webfonts/fa-v4compatibility.woff2 +0 -0
  74. data/assets/vendor/github-calendar/github-calendar-responsive.css +231 -0
  75. data/assets/vendor/github-calendar/github-calendar.min.js +240 -0
  76. data/assets/vendor/jquery/jquery-3.7.1.min.js +2 -0
  77. data/assets/vendor/mathjax/es5/adaptors/liteDOM.js +1 -0
  78. data/assets/vendor/mathjax/es5/core.js +1 -0
  79. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  80. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  81. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  82. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  83. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  84. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  85. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  86. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  87. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  88. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  89. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  90. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  91. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  92. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  93. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  94. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  95. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  96. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  97. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  98. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  99. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  100. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  101. data/assets/vendor/mathjax/es5/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  102. data/assets/vendor/mathjax/es5/startup.js +1 -0
  103. data/assets/vendor/mathjax/es5/tex-mml-chtml.js +1 -0
  104. data/assets/vendor/mermaid/mermaid.min.js +2029 -0
  105. data/scripts/bin/build +12 -2
  106. data/scripts/lib/version.sh +41 -0
  107. data/scripts/test/integration/mermaid +1 -1
  108. data/scripts/vendor-install.sh +196 -0
  109. metadata +62 -3
  110. data/_sass/core/_docs.scss +0 -3219
@@ -0,0 +1,48 @@
1
+ // =============================================================================
2
+ // Shared offcanvas chrome (docs sidebar, TOC) — matches main nav panel on mobile
3
+ // Bootstrap reference: fixed-top 1030, offcanvas backdrop/body 1045, modal 1055
4
+ // =============================================================================
5
+
6
+ #bdSidebar .offcanvas-header,
7
+ #tocContents .offcanvas-header {
8
+ border-bottom: 2px solid var(--bs-border-color);
9
+ padding: 1.25rem 1rem;
10
+ }
11
+
12
+ #bdSidebar .offcanvas-title,
13
+ #tocContents .offcanvas-title {
14
+ font-size: 1.125rem;
15
+ font-weight: 600;
16
+ color: var(--bs-emphasis-color);
17
+ margin-bottom: 0;
18
+ }
19
+
20
+ @media (max-width: 991.98px) {
21
+ #bdSidebar .offcanvas-header .btn-close,
22
+ #tocContents .offcanvas-header .btn-close {
23
+ width: 48px;
24
+ height: 48px;
25
+ padding: 0;
26
+ border-radius: 0.375rem;
27
+ transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
28
+
29
+ &:hover {
30
+ background-color: var(--bs-tertiary-bg);
31
+ }
32
+
33
+ &:focus-visible {
34
+ outline: 2px solid var(--bs-primary);
35
+ outline-offset: 2px;
36
+ }
37
+ }
38
+
39
+ #tocContents .offcanvas-body {
40
+ padding: 1rem;
41
+ }
42
+
43
+ #bdSidebar .offcanvas-body {
44
+ padding-left: 1rem;
45
+ padding-right: 1rem;
46
+ padding-bottom: 1rem;
47
+ }
48
+ }
@@ -1,57 +1,7 @@
1
1
  /* ==========================================================================
2
- Syntax highlighting
2
+ Syntax highlighting (Rouge / base16)
3
3
  ========================================================================== */
4
4
 
5
- // div.highlighter-rouge,
6
- // figure.highlight {
7
- // position: relative;
8
- // margin-bottom: 1em;
9
- // background: $base00;
10
- // color: $base05;
11
- // font-family: $monospace;
12
- // font-size: $type-size-6;
13
- // line-height: 1.8;
14
- // border-radius: $border-radius;
15
-
16
- // > pre,
17
- // pre.highlight {
18
- // margin: 0;
19
- // padding: 1em;
20
- // }
21
- // }
22
-
23
- // .highlight table {
24
- // margin-bottom: 0;
25
- // font-size: 1em;
26
- // border: 0;
27
-
28
- // td {
29
- // padding: 0;
30
- // width: calc(100% - 1em);
31
- // border: 0;
32
-
33
- // /* line numbers*/
34
- // &.gutter,
35
- // &.rouge-gutter {
36
- // padding-right: 1em;
37
- // width: 1em;
38
- // color: $base04;
39
- // border-right: 1px solid $base04;
40
- // text-align: right;
41
- // }
42
-
43
- // /* code */
44
- // &.code,
45
- // &.rouge-code {
46
- // padding-left: 1em;
47
- // }
48
- // }
49
-
50
- // pre {
51
- // margin: 0;
52
- // }
53
- // }
54
-
55
5
  /* syntax highlighting (base16) */
56
6
  $base00: #263238 !default;
57
7
  $base01: #2e3c43 !default;
@@ -1,250 +1,3 @@
1
- // Import variables for standalone compilation
1
+ // Theme entry — Sass tokens: core/_variables.scss; modes: theme/_wizard-mode.scss + _css-variables.scss (via _color-modes.scss).
2
2
  @import "variables";
3
-
4
- // # Font Settings ---------------------------------------------------------------
5
-
6
- // # Color Settings --------------------------------------------------------------
7
-
8
- // ## Color Schema Override
9
- // https://meodai.github.io/poline/
10
-
11
- // Harbour Mirror
12
- // Harbour Blue
13
- // Dark Blue
14
-
15
-
16
- $blue-400: #073781;
17
- $blue-500: #073781;
18
- $blue-600: #346182;
19
- $blue-700: #346182;
20
-
21
- // Smoking Mirror
22
- // 3d7695
23
- // 2f5877
24
- // a19587
25
-
26
- // https://getbootstrap.com/docs/5.3/customize/color-modes/#custom-color-modes
27
- // Custom Theme
28
-
29
- [data-bs-theme="wizard"] {
30
- --bs-body-color: var(--bs-white);
31
- --bs-body-color-rgb: #{to-rgb($white)};
32
- --bs-body-bg: var(--bs-blue);
33
- --bs-body-bg-rgb: #{to-rgb($blue)};
34
- --bs-tertiary-bg: #{$blue-600};
35
-
36
- .dropdown-menu {
37
- --bs-dropdown-bg: #{mix($blue-500, $blue-600)};
38
- --bs-dropdown-link-active-bg: #{$blue-700};
39
- }
40
-
41
- .btn-secondary {
42
- --bs-btn-bg: #{mix($gray-600, $blue-400, .5)};
43
- --bs-btn-border-color: #{rgba($white, .25)};
44
- --bs-btn-hover-bg: #{darken(mix($gray-600, $blue-400, .5), 5%)};
45
- --bs-btn-hover-border-color: #{rgba($white, .25)};
46
- --bs-btn-active-bg: #{darken(mix($gray-600, $blue-400, .5), 10%)};
47
- --bs-btn-active-border-color: #{rgba($white, .5)};
48
- --bs-btn-focus-border-color: #{rgba($white, .5)};
49
- --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .2);
50
- }
51
- }
52
-
53
-
54
- :root,[data-bs-theme="light"] {
55
- --bd-purple: #4c0bce;
56
- --bd-violet: #712cf9;
57
- --bd-accent: #ffe484;
58
- --bd-violet-rgb: 112.520718,44.062154,249.437846;
59
- --bd-accent-rgb: 255,228,132;
60
- --bd-pink-rgb: 214,51,132;
61
- --bd-teal-rgb: 32,201,151;
62
- --bd-violet-bg: var(--bd-violet);
63
- --bd-toc-color: var(--bd-violet);
64
- --bd-sidebar-link-bg: rgba(var(--bd-violet-rgb), .1);
65
- --bd-callout-link: 10,88,202;
66
- --bd-callout-code-color: #ab296a;
67
- --bd-pre-bg: var(--bs-tertiary-bg)
68
- }
69
-
70
- [data-bs-theme="dark"] {
71
- --bd-violet: #9461fb;
72
- --bd-violet-bg: #712cf9;
73
- --bd-toc-color: var(--bs-emphasis-color);
74
- --bd-sidebar-link-bg: rgba(84,33,187, .5);
75
- --bd-callout-link: 110,168,254;
76
- --bd-callout-code-color: #e685b5;
77
- --bd-pre-bg: #1b1f22
78
- }
79
-
80
-
81
-
82
- /* Typography
83
- ========================================================================== */
84
-
85
- $doc-font-size: 16 !default;
86
-
87
- /* paragraph indention */
88
- $paragraph-indent: false !default; // true, false (default)
89
- $indent-var: 1.3em !default;
90
-
91
- $global-font-family: $sans-serif !default;
92
- $header-font-family: $sans-serif !default;
93
- $caption-font-family: $serif !default;
94
- /* Colors
95
- ========================================================================== */
96
-
97
- $background-color: #fff !default;
98
- $code-background-color: #fafafa !default;
99
- $code-background-color-dark: $light-gray !default;
100
- $text-color: $dark-gray !default;
101
- $muted-text-color: mix(#fff, $text-color, 20%) !default;
102
- $border-color: $lighter-gray !default;
103
- $form-background-color: $lighter-gray !default;
104
- $footer-background-color: $lighter-gray !default;
105
-
106
- $primary-color: #6f777d !default;
107
- $success-color: #3fa63f !default;
108
- $warning-color: #d67f05 !default;
109
- $danger-color: #ee5f5b !default;
110
- $info-color: #3b9cba !default;
111
- $focus-color: $primary-color !default;
112
- $active-color: mix(#fff, $primary-color, 80%) !default;
113
-
114
- /* links */
115
- $link-color: mix(#000, $info-color, 20%) !default;
116
- $link-color-hover: mix(#000, $link-color, 25%) !default;
117
- $link-color-visited: mix(#fff, $link-color, 15%) !default;
118
- $masthead-link-color: $primary-color !default;
119
- $masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
120
- $navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
121
-
122
- /* notices */
123
- $notice-background-mix: 80% !default;
124
- $code-notice-background-mix: 90% !default;
125
-
126
- /*
127
- Other
128
- ========================================================================== */
129
-
130
- $border-radius: 4px !default;
131
- $box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125) !default;
132
- $nav-height: 2em !default;
133
- $nav-toggle-height: 2rem !default;
134
- $navicon-width: 1.5rem !default;
135
- $navicon-height: 0.25rem !default;
136
- $global-transition: all 0.2s ease-in-out !default;
137
- $intro-transition: intro 0.3s both !default;
138
-
139
-
140
- // scss-docs-start theme-color-variables
141
- $primary: $blue !default;
142
- $secondary: $gray-600 !default;
143
- $success: $green !default;
144
- $info: $cyan !default;
145
- $warning: $yellow !default;
146
- $danger: $red !default;
147
- $light: $gray-100 !default;
148
- $dark: $gray-900 !default;
149
- // scss-docs-end theme-color-variables
150
-
151
- // Links
152
- //
153
- // Style anchor elements.
154
-
155
- $link-color: $primary !default;
156
- $link-decoration: underline !default;
157
- $link-shade-percentage: 20% !default;
158
- $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
159
- $link-hover-decoration: null !default;
160
-
161
- $stretched-link-pseudo-element: after !default;
162
- $stretched-link-z-index: 1 !default;
163
-
164
-
165
- // Body
166
- //
167
- // Settings for the `<body>` element.
168
-
169
- $body-bg: $white !default;
170
- $body-color: $gray-900 !default;
171
- $body-text-align: null !default;
172
-
173
- // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
174
- // $font-size-base affects the font size of the body text
175
- $font-size-root: null !default;
176
- $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
177
- $font-size-sm: $font-size-base * .875 !default;
178
- $font-size-lg: $font-size-base * 1.25 !default;
179
-
180
- $font-weight-lighter: lighter !default;
181
- $font-weight-light: 300 !default;
182
- $font-weight-normal: 400 !default;
183
- $font-weight-bold: 700 !default;
184
- $font-weight-bolder: bolder !default;
185
-
186
- $font-weight-base: $font-weight-normal !default;
187
-
188
- $line-height-base: 1.5 !default;
189
- $line-height-sm: 1.25 !default;
190
- $line-height-lg: 2 !default;
191
-
192
-
193
- // scss-docs-end font-variables
194
-
195
- $component-active-color: $white !default;
196
- $component-active-bg: $primary !default;
197
-
198
- // Buttons
199
- //
200
- // For each of Bootstrap's buttons, define text, background, and border color.
201
-
202
- // scss-docs-start input-btn-variables
203
- $input-btn-padding-y: .375rem !default;
204
- $input-btn-padding-x: .75rem !default;
205
- $input-btn-font-family: null !default;
206
- $input-btn-font-size: $font-size-base !default;
207
- $input-btn-line-height: $line-height-base !default;
208
-
209
- $input-btn-focus-width: .25rem !default;
210
- $input-btn-focus-color-opacity: .25 !default;
211
- $input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
212
- $input-btn-focus-blur: 0 !default;
213
- $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
214
-
215
-
216
- $input-btn-border-width: $border-width !default;
217
- // scss-docs-end input-btn-variables
218
-
219
-
220
- $btn-link-color: $link-color !default;
221
- $btn-link-hover-color: $link-hover-color !default;
222
- $btn-link-disabled-color: $gray-600 !default;
223
-
224
- // scss-docs-start border-radius-variables
225
- $border-radius: .25rem !default;
226
- $border-radius-sm: .2rem !default;
227
- $border-radius-lg: .3rem !default;
228
- $border-radius-pill: 50rem !default;
229
- // scss-docs-end border-radius-variables
230
-
231
-
232
- // scss-docs-start navbar-theme-variables
233
- $navbar-dark-color: rgba($white, .55) !default;
234
- $navbar-dark-hover-color: rgba($white, .75) !default;
235
- $navbar-dark-active-color: $white !default;
236
- $navbar-dark-disabled-color: rgba($white, .25) !default;
237
- $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
238
- $navbar-dark-toggler-border-color: rgba($white, .1) !default;
239
-
240
- $navbar-light-color: rgba($black, .55) !default;
241
- $navbar-light-hover-color: rgba($black, .7) !default;
242
- $navbar-light-active-color: rgba($black, .9) !default;
243
- $navbar-light-disabled-color: rgba($black, .3) !default;
244
- $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
245
- $navbar-light-toggler-border-color: rgba($black, .1) !default;
246
-
247
- $navbar-light-brand-color: $navbar-light-active-color !default;
248
- $navbar-light-brand-hover-color: $navbar-light-active-color !default;
249
- $navbar-dark-brand-color: $navbar-dark-active-color !default;
250
- $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
3
+ @import "theme/color-modes";
@@ -84,32 +84,6 @@ $yiq-contrasted-light-default: #fff !default;
84
84
  $yiq-contrasted-threshold: 175 !default;
85
85
  $yiq-debug: false !default;
86
86
 
87
- /* brands */
88
- $behance-color: #1769ff !default;
89
- $bitbucket-color: #205081 !default;
90
- $dribbble-color: #ea4c89 !default;
91
- $facebook-color: #3b5998 !default;
92
- $flickr-color: #ff0084 !default;
93
- $foursquare-color: #0072b1 !default;
94
- $github-color: #171516 !default;
95
- $gitlab-color: #e24329 !default;
96
- $instagram-color: #517fa4 !default;
97
- $keybase-color: #ef7639 !default;
98
- $lastfm-color: #d51007 !default;
99
- $linkedin-color: #007bb6 !default;
100
- $mastodon-color: #2b90d9 !default;
101
- $pinterest-color: #cb2027 !default;
102
- $reddit-color: #ff4500 !default;
103
- $rss-color: #fa9b39 !default;
104
- $soundcloud-color: #ff3300 !default;
105
- $stackoverflow-color: #fe7a15 !default;
106
- $tumblr-color: #32506d !default;
107
- $twitter-color: #55acee !default;
108
- $vimeo-color: #1ab7ea !default;
109
- $vine-color: #00bf8f !default;
110
- $youtube-color: #bb0000 !default;
111
- $xing-color: #006567 !default;
112
-
113
87
  /* links */
114
88
  $link-color: mix(#000, $info-color, 20%) !default;
115
89
  $link-color-hover: mix(#000, $link-color, 25%) !default;
@@ -122,23 +96,7 @@ $navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
122
96
  $notice-background-mix: 80% !default;
123
97
  $code-notice-background-mix: 90% !default;
124
98
 
125
- /* syntax highlighting (base16) */
126
- $base00: #263238 !default;
127
- $base01: #2e3c43 !default;
128
- $base02: #314549 !default;
129
- $base03: #546e7a !default;
130
- $base04: #b2ccd6 !default;
131
- $base05: #eeffff !default;
132
- $base06: #eeffff !default;
133
- $base07: #ffffff !default;
134
- $base08: #f07178 !default;
135
- $base09: #f78c6c !default;
136
- $base0a: #ffcb6b !default;
137
- $base0b: #c3e88d !default;
138
- $base0c: #89ddff !default;
139
- $base0d: #82aaff !default;
140
- $base0e: #c792ea !default;
141
- $base0f: #ff5370 !default;
99
+ // Base16 syntax palette: see core/_syntax.scss (single source).
142
100
 
143
101
  /*
144
102
  Breakpoints
@@ -366,17 +324,6 @@ $spacers: (
366
324
  5: $spacer * 3,
367
325
  ) !default;
368
326
 
369
- // $font-size-base affects the font size of the body text
370
- $font-size-root: null !default;
371
- $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
372
- $font-size-sm: $font-size-base * .875 !default;
373
- $font-size-lg: $font-size-base * 1.25 !default;
374
-
375
- $line-height-base: 1.5 !default;
376
- $line-height-sm: 1.25 !default;
377
- $line-height-lg: 2 !default;
378
-
379
-
380
327
  // Navs
381
328
 
382
329
  // scss-docs-start nav-variables
@@ -6,24 +6,24 @@
6
6
  display: inline-block;
7
7
  margin: 0 0.5em;
8
8
  padding: 0.5em 1em;
9
- color: white;
10
- background-color: black;
9
+ color: var(--bs-light);
10
+ background-color: var(--bs-dark);
11
11
  border: none;
12
12
  cursor: pointer;
13
13
  transition: all 0.3s ease;
14
14
 
15
15
  &:focus {
16
- outline: none; // remove default focus outline
17
- box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.4); // add custom focus style
16
+ outline: none;
17
+ box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.35);
18
18
  }
19
19
 
20
20
  &:hover {
21
- background-color: rgba(0, 0, 0, 0.8);
21
+ background-color: color-mix(in srgb, var(--bs-dark) 85%, transparent);
22
22
  transform: translateY(-1px);
23
23
  }
24
24
 
25
25
  &.copied {
26
- background-color: #28a745;
26
+ background-color: var(--bs-success);
27
27
  animation: pulse 0.3s ease;
28
28
  }
29
29
  }