|
4 | 4 |
|
5 | 5 | @font-face { |
6 | 6 | font-family: Emoji; |
7 | | - src: local("Apple Color Emoji"), local("Segoe UI Emoji"), local("Segoe UI Symbol"), local("Noto Color Emoji"); |
| 7 | + src: local("Apple Color Emoji"), local("Segoe UI Emoji"), |
| 8 | + local("Segoe UI Symbol"), local("Noto Color Emoji"); |
8 | 9 | unicode-range: U+1F000-1F644, U+203C-3299; |
9 | 10 | } |
10 | 11 |
|
11 | 12 | // ========== Global ========== // |
12 | 13 | // Font and Line Height |
13 | | -$global-font-family: system-ui, -apple-system, Segoe UI, Roboto, Emoji, Helvetica, Arial, sans-serif !default; |
| 14 | +$global-font-family: system-ui, -apple-system, Segoe UI, Roboto, Emoji, |
| 15 | + Helvetica, Arial, sans-serif !default; |
14 | 16 | $global-font-size: 16px !default; |
15 | 17 | $global-font-weight: 400 !default; |
16 | 18 | $global-line-height: 1.5rem !default; |
@@ -113,74 +115,43 @@ $pagination-link-hover-color-dark: #fff !default; |
113 | 115 |
|
114 | 116 | // ========== Code ========== // |
115 | 117 | // Font family and size of the code |
116 | | -$code-font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default; |
117 | | -$code-font-size: .875rem !default; |
| 118 | +$code-font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Liberation Mono", |
| 119 | + "Courier New", monospace !default; |
| 120 | +$code-font-size: 0.875rem !default; |
118 | 121 |
|
119 | 122 | // Color of the code |
120 | | -$code-color: #E74C3C !default; |
121 | | -$code-color-dark: #E5BF78 !default; |
| 123 | +$code-color: #e74c3c !default; |
| 124 | +$code-color-dark: #e5bf78 !default; |
122 | 125 |
|
123 | 126 | // Color of the code background |
124 | 127 | $code-background-color: #f5f5f5 !default; |
125 | | -$code-background-color-dark: #272C34 !default; |
| 128 | +$code-background-color-dark: #272c34 !default; |
126 | 129 |
|
127 | 130 | $code-info-color: #9c9c9c !default; |
128 | 131 | $code-info-color-dark: #b1b0b0 !default; |
129 | 132 |
|
130 | 133 | // Code type list |
131 | | -$code-type-list: |
132 | | - "language-bash" "Bash", |
133 | | - "language-c" "C", |
134 | | - "language-cs" "C#", |
135 | | - "language-cpp" "C++", |
136 | | - "language-clojure" "Clojure", |
137 | | - "language-coffeescript" "CoffeeScript", |
138 | | - "language-css" "CSS", |
139 | | - "language-dart" "Dart", |
140 | | - "language-diff" "Diff", |
141 | | - "language-erlang" "Erlang", |
142 | | - "language-go" "Go", |
143 | | - "language-go-html-template" "Go HTML Template", |
144 | | - "language-groovy" "Groovy", |
145 | | - "language-haskell" "Haskell", |
146 | | - "language-html" "HTML", |
147 | | - "language-http" "HTTP", |
148 | | - "language-xml" "XML", |
149 | | - "language-java" "Java", |
150 | | - "language-js" "JavaScript", |
151 | | - "language-javascript" "JavaScript", |
152 | | - "language-json" "JSON", |
153 | | - "language-kotlin" "Kotlin", |
154 | | - "language-latex" "LaTeX", |
155 | | - "language-less" "Less", |
156 | | - "language-lisp" "Lisp", |
157 | | - "language-lua" "Lua", |
158 | | - "language-makefile" "Makefile", |
159 | | - "language-markdown" "Markdown", |
160 | | - "language-matlab" "Matlab", |
161 | | - "language-objectivec" "Objective-C", |
162 | | - "language-php" "PHP", |
163 | | - "language-perl" "Perl", |
164 | | - "language-powershell" "PowerShell", |
165 | | - "language-posh" "PowerShell", |
166 | | - "language-pwsh" "PowerShell", |
167 | | - "language-python" "Python", |
168 | | - "language-r" "R", |
169 | | - "language-ruby" "Ruby", |
170 | | - "language-rust" "Rust", |
171 | | - "language-scala" "Scala", |
172 | | - "language-scss" "Scss", |
173 | | - "language-shell" "Shell", |
174 | | - "language-sql" "SQL", |
175 | | - "language-swift" "Swift", |
176 | | - "language-tex" "TeX", |
177 | | - "language-toml" "TOML", |
178 | | - "language-ts" "TypeScript", |
179 | | - "language-typescript" "TypeScript", |
180 | | - "language-vue" "Vue", |
181 | | - "language-yml" "YAML", |
182 | | - "language-yaml" "YAML", |
183 | | - !default; |
| 134 | +$code-type-list: "language-bash" "Bash", "language-c" "C", "language-cs" "C#", |
| 135 | + "language-cpp" "C++", "language-clojure" "Clojure", |
| 136 | + "language-coffeescript" "CoffeeScript", "language-css" "CSS", |
| 137 | + "language-dart" "Dart", "language-diff" "Diff", "language-erlang" "Erlang", |
| 138 | + "language-go" "Go", "language-go-html-template" "Go HTML Template", |
| 139 | + "language-groovy" "Groovy", "language-haskell" "Haskell", |
| 140 | + "language-html" "HTML", "language-http" "HTTP", "language-xml" "XML", |
| 141 | + "language-java" "Java", "language-js" "JavaScript", |
| 142 | + "language-javascript" "JavaScript", "language-json" "JSON", |
| 143 | + "language-kotlin" "Kotlin", "language-latex" "LaTeX", "language-less" "Less", |
| 144 | + "language-lisp" "Lisp", "language-lua" "Lua", "language-makefile" "Makefile", |
| 145 | + "language-markdown" "Markdown", "language-matlab" "Matlab", |
| 146 | + "language-objectivec" "Objective-C", "language-php" "PHP", |
| 147 | + "language-perl" "Perl", "language-powershell" "PowerShell", |
| 148 | + "language-posh" "PowerShell", "language-pwsh" "PowerShell", |
| 149 | + "language-python" "Python", "language-r" "R", "language-ruby" "Ruby", |
| 150 | + "language-rust" "Rust", "language-scala" "Scala", "language-scss" "Scss", |
| 151 | + "language-shell" "Shell", "language-sql" "SQL", "language-swift" "Swift", |
| 152 | + "language-tex" "TeX", "language-toml" "TOML", "language-ts" "TypeScript", |
| 153 | + "language-typescript" "TypeScript", "language-vue" "Vue", |
| 154 | + "language-yml" "YAML", "language-yaml" "YAML", "language-wgsl" "WGSL" !default; |
184 | 155 |
|
185 | 156 | // Color map of the code highlight |
186 | 157 | $code-highlight-color-map: ( |
@@ -256,7 +227,7 @@ $code-highlight-color-map: ( |
256 | 227 | /* GenericStrong */ "gs": #e72d40, |
257 | 228 | /* GenericSubheading */ "gu": #e72d40, |
258 | 229 | /* GenericTraceback */ "gt": #e72d40, |
259 | | - /* TextWhitespace */ "w": #bbbbbb, |
| 230 | + /* TextWhitespace */ "w": #bbbbbb |
260 | 231 | ) !default; |
261 | 232 | $code-highlight-color-map-dark: ( |
262 | 233 | /* Parentheses */ "p": #a9a9b3, |
@@ -331,24 +302,20 @@ $code-highlight-color-map-dark: ( |
331 | 302 | /* GenericStrong */ "gs": #f16372, |
332 | 303 | /* GenericSubheading */ "gu": #f16372, |
333 | 304 | /* GenericTraceback */ "gt": #f16372, |
334 | | - /* TextWhitespace */ "w": #bbbbbb, |
| 305 | + /* TextWhitespace */ "w": #bbbbbb |
335 | 306 | ) !default; |
336 | 307 | // ========== Code ========== // |
337 | 308 |
|
338 | 309 | // ========== Admonition ========== // |
339 | 310 | // Color list of admonition [$type $color $background-color, ... ] |
340 | | -$admonition-color-list: |
341 | | - "note" #448aff rgba(68, 138, 255, 0.1), |
| 311 | +$admonition-color-list: "note" #448aff rgba(68, 138, 255, 0.1), |
342 | 312 | "abstract" #00b0ff rgba(0, 176, 255, 0.1), |
343 | | - "info" #00b8d4 rgba(83, 211, 230, 0.1), |
344 | | - "tip" #00bfa5 rgba(0, 191, 165, 0.1), |
| 313 | + "info" #00b8d4 rgba(83, 211, 230, 0.1), "tip" #00bfa5 rgba(0, 191, 165, 0.1), |
345 | 314 | "success" #00c853 rgba(0, 200, 83, 0.1), |
346 | 315 | "question" #64dd17 rgba(100, 221, 23, 0.1), |
347 | 316 | "warning" #ff9100 rgba(255, 145, 0, 0.1), |
348 | 317 | "failure" #ff5252 rgba(255, 82, 82, 0.1), |
349 | | - "danger" #ff1744 rgba(68, 138, 255, 0.1), |
350 | | - "bug" #f50057 rgba(255, 23, 68, 0.1), |
| 318 | + "danger" #ff1744 rgba(68, 138, 255, 0.1), "bug" #f50057 rgba(255, 23, 68, 0.1), |
351 | 319 | "example" #651fff rgba(101, 31, 255, 0.1), |
352 | | - "quote" #9e9e9e rgba(159, 159, 159, 0.1), |
353 | | - !default; |
| 320 | + "quote" #9e9e9e rgba(159, 159, 159, 0.1) !default; |
354 | 321 | // ========== Admonition ========== // |
0 commit comments