|
14 | 14 | --ifm-heading-font-family: |
15 | 15 | Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif, |
16 | 16 | Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; |
17 | | - font-weight: normal; |
18 | | - --ifm-font-size-base: 100%; |
| 17 | + |
19 | 18 | --ifm-line-height-base: 1.75; |
20 | 19 | --ifm-code-font-size: 85%; |
21 | 20 |
|
22 | 21 | --ifm-heading-font-weight: 600; |
23 | | - --ifm-heading-line-height: 1.25; |
24 | 22 | --ifm-heading-margin-top: 1.618rem; |
25 | 23 |
|
26 | 24 | --ifm-color-primary: hsl( |
|
72 | 70 | --ifm-home-color-background-secondary: #d5d6f5; |
73 | 71 | --ifm-home-color-highlight: hsl(var(--primary-hue), 57.5%, 71.4%); |
74 | 72 | --ifm-home-color-border: #414360; |
75 | | - --ifm-home-color-black: #25292e; |
76 | | - --ifm-home-color-white: #f7f7ff; |
77 | 73 |
|
78 | 74 | --ifm-menu-color-background-active: rgba(107, 82, 174, 0.1); |
79 | 75 |
|
|
176 | 172 | --ifm-alert-padding-vertical: 0.875rem; |
177 | 173 | --ifm-alert-shadow: none; |
178 | 174 |
|
179 | | - --ifm-doc-version-badge-background: hsl(0, 0%, 100%); |
180 | | - --ifm-doc-version-badge-border: hsla(220, 10%, 54%, 0.2); |
181 | | - --ifm-doc-version-badge-text: hsl(220, 15%, 18%); |
182 | | - |
183 | 175 | --ifm-toc-border-color: var(--ifm-color-emphasis-200); |
184 | 176 |
|
185 | 177 | --ifm-code-padding-horizontal: 0.3em; |
|
323 | 315 | 85% |
324 | 316 | ); |
325 | 317 |
|
326 | | - --ifm-doc-version-badge-background: hsl(225, 18%, 18%); |
327 | | - --ifm-doc-version-badge-border: hsla(220, 16%, 48%, 0.32); |
328 | | - --ifm-doc-version-badge-text: hsl(220, 20%, 92%); |
329 | | - |
330 | 318 | --ifm-toc-border-color: #31343a; |
331 | 319 |
|
332 | 320 | --docusaurus-highlighted-code-line-bg: rgba(136, 104, 49, 0.4); |
@@ -928,8 +916,6 @@ details[class^='details_'] { |
928 | 916 | --ifm-alert-border-color: var(--codeblock-border-color); |
929 | 917 | --ifm-alert-background-color: transparent; |
930 | 918 | --ifm-alert-padding-vertical: 0.5rem; |
931 | | - --ifm-alert-padding-horizontal: 1rem; |
932 | | - --ifm-alert-border-radius: var(--ifm-global-radius); |
933 | 919 | --ifm-alert-foreground-color: inherit; |
934 | 920 | --ifm-link-color: inherit; |
935 | 921 | --ifm-link-hover-color: inherit; |
@@ -1059,11 +1045,21 @@ samp { |
1059 | 1045 | } |
1060 | 1046 |
|
1061 | 1047 | .theme-doc-version-badge { |
| 1048 | + --doc-version-badge-background: hsl(0, 0%, 100%); |
| 1049 | + --doc-version-badge-border: hsla(220, 10%, 54%, 0.2); |
| 1050 | + --doc-version-badge-text: hsl(220, 15%, 18%); |
| 1051 | + |
| 1052 | + [data-theme='dark'] & { |
| 1053 | + --doc-version-badge-background: hsl(225, 18%, 18%); |
| 1054 | + --doc-version-badge-border: hsla(220, 16%, 48%, 0.32); |
| 1055 | + --doc-version-badge-text: hsl(220, 20%, 92%); |
| 1056 | + } |
| 1057 | + |
1062 | 1058 | padding: 0.375rem 0.75rem; |
1063 | | - border: 1px solid var(--ifm-doc-version-badge-border); |
| 1059 | + border: 1px solid var(--doc-version-badge-border); |
1064 | 1060 | border-radius: 999px; |
1065 | | - background: var(--ifm-doc-version-badge-background); |
1066 | | - color: var(--ifm-doc-version-badge-text); |
| 1061 | + background: var(--doc-version-badge-background); |
| 1062 | + color: var(--doc-version-badge-text); |
1067 | 1063 | font-size: 0.8125rem; |
1068 | 1064 | font-weight: 600; |
1069 | 1065 | } |
|
0 commit comments