1/**
2 * Any CSS included here will be global. The classic template
3 * bundles Infima by default. Infima is a CSS framework designed to
4 * work well for content-centric websites.
5 */
6
7@import 'tailwindcss/theme.css' theme(reference inline);
8@import 'tw-animate-css';
9
10/* Utilities are generated only from components, and only apply inside `.tailwind` (see below). */
11@source '../**/*.{js,ts,jsx,tsx}';
12/* Infima provides `.container`. */
13@source not inline('container');
14
15@custom-variant dark (&:is([data-mode='dark'] *));
16/* Keep hover styles on touch devices, which Tailwind v4 limits to `@media (hover: hover)`. */
17@custom-variant hover (&:hover);
18
19@theme inline {
20 --breakpoint-sm: 640px;
21 --breakpoint-md: 768px;
22 --breakpoint-lg: 1024px;
23 --breakpoint-xl: 1280px;
24 --breakpoint-2xl: 1536px;
25
26 --color-border: hsl(var(--border));
27 --color-input: hsl(var(--input));
28 --color-ring: hsl(var(--ring));
29 --color-background: hsl(var(--background));
30 --color-foreground: hsl(var(--foreground));
31 --color-primary: hsl(var(--primary));
32 --color-primary-foreground: hsl(var(--primary-foreground));
33 --color-primary-100: hsla(35, 95%, 92%, 1);
34 --color-primary-200: hsla(35, 100%, 86%, 1);
35 --color-primary-400: hsla(27, 91%, 61%, 1);
36 --color-primary-500: hsla(25, 90%, 54%, 1);
37 --color-primary-600: hsla(21, 85%, 48%, 1);
38 --color-primary-700: hsla(17, 83%, 40%, 1);
39 --color-alpha: hsla(0, 0%, 0%, 0);
40 --color-alpha-foreground: hsla(0, 0%, 0%, 1);
41 --color-alpha-50: hsla(0, 0%, 0%, 0.04);
42 --color-alpha-100: hsla(0, 0%, 0%, 0.08);
43 --color-alpha-150: hsla(0, 0%, 0%, 0.12);
44 --color-alpha-300: hsla(0, 0%, 0%, 0.32);
45 --color-alpha-700: hsla(0, 0%, 0%, 0.72);
46 --color-alpha-800: hsla(0, 0%, 0%, 0.8);
47 --color-alpha-900: hsla(0, 0%, 0%, 1);
48 --color-neutral: hsla(0, 0%, 100%, 1);
49 --color-neutral-foreground: hsla(0, 0%, 0%, 1);
50 --color-neutral-50: hsla(60, 5%, 96%, 1);
51 --color-neutral-100: #f5f5f5;
52 --color-neutral-200: #e5e5e5;
53 --color-neutral-300: #d4d4d4;
54 --color-neutral-400: hsla(0, 0%, 64%, 1);
55 --color-neutral-500: #737373;
56 --color-neutral-600: hsla(0, 0%, 32%, 1);
57 --color-neutral-700: #404040;
58 --color-neutral-800: #262626;
59 --color-neutral-900: #171717;
60 --color-neutral-950: #0a0a0a;
61 --color-red-400: hsla(0, 86%, 63%, 1);
62 --color-red-700: #b91c1c;
63 --color-green-400: hsla(85, 59%, 58%, 1);
64 --color-secondary: hsl(var(--secondary));
65 --color-secondary-foreground: hsl(var(--secondary-foreground));
66 --color-destructive: hsl(var(--destructive));
67 --color-destructive-foreground: hsl(var(--destructive-foreground));
68 --color-muted: hsl(var(--muted));
69 --color-muted-foreground: hsl(var(--muted-foreground));
70 --color-accent: hsl(var(--accent));
71 --color-accent-foreground: hsl(var(--accent-foreground));
72 --color-popover: hsl(var(--popover));
73 --color-popover-foreground: hsl(var(--popover-foreground));
74 --color-card: hsl(var(--card));
75 --color-card-foreground: hsl(var(--card-foreground));
76
77 --font-sans:
78 'Open Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
79 'Noto Color Emoji';
80 --font-mono:
81 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
82
83 --shadow-button-hover: 0px -4px 8px 0px rgba(246, 147, 65, 0.4);
84 --shadow-box: 0px -8px 16px 0px rgba(0, 0, 0, 0.04);
85 --shadow-code: 0px -8px 24px 0px var(--Primary-100, #feedd6);
86
87 --text-xs--line-height: 1rem;
88 --text-sm--line-height: 1.25rem;
89 --text-base--line-height: 1.5rem;
90 --text-lg: 1.125rem;
91 --text-lg--line-height: 1.5rem;
92 --text-xl--line-height: 1.75rem;
93 --text-2xl--line-height: 2rem;
94 --text-3xl: 2rem;
95 --text-3xl--line-height: 2.5rem;
96 --text-4xl: 2.5rem;
97 --text-4xl--line-height: 3.5rem;
98 --text-6xl: 4rem;
99 --text-6xl--line-height: 4.5rem;
100
101 --radius-lg: var(--radius);
102 --radius-md: calc(var(--radius) - 2px);
103 --radius-sm: calc(var(--radius) - 4px);
104
105 --animate-accordion-down: accordion-down 0.2s ease-out;
106 --animate-accordion-up: accordion-up 0.2s ease-out;
107
108 @keyframes accordion-down {
109 from {
110 height: 0;
111 }
112 to {
113 height: var(--radix-accordion-content-height);
114 }
115 }
116 @keyframes accordion-up {
117 from {
118 height: var(--radix-accordion-content-height);
119 }
120 to {
121 height: 0;
122 }
123 }
124}
125
126:root {
127 --background: 0 0% 100%;
128 --foreground: 222.2 84% 4.9%;
129 --card: 0 0% 100%;
130 --card-foreground: 222.2 84% 4.9%;
131 --popover: 0 0% 100%;
132 --popover-foreground: 222.2 84% 4.9%;
133 --primary: 25 90% 54%;
134 --primary-foreground: 0 0% 100%;
135 --secondary: 210 40% 96.1%;
136 --secondary-foreground: 222.2 47.4% 11.2%;
137 --muted: 210 40% 96.1%;
138 --muted-foreground: 215.4 16.3% 46.9%;
139 --accent: 210 40% 96.1%;
140 --accent-foreground: 222.2 47.4% 11.2%;
141 --destructive: 0 84.2% 60.2%;
142 --destructive-foreground: 210 40% 98%;
143 --border: 214.3 31.8% 91.4%;
144 --input: 214.3 31.8% 91.4%;
145 --ring: 222.2 84% 4.9%;
146 --radius: 0.75rem;
147 --chart-1: 12 76% 61%;
148 --chart-2: 173 58% 39%;
149 --chart-3: 197 37% 24%;
150 --chart-4: 43 74% 66%;
151 --chart-5: 27 87% 67%;
152}
153
154.dark {
155 --background: 222.2 84% 4.9%;
156 --foreground: 210 40% 98%;
157 --card: 222.2 84% 4.9%;
158 --card-foreground: 210 40% 98%;
159 --popover: 222.2 84% 4.9%;
160 --popover-foreground: 210 40% 98%;
161 --primary: 210 40% 98%;
162 --primary-foreground: 222.2 47.4% 11.2%;
163 --secondary: 217.2 32.6% 17.5%;
164 --secondary-foreground: 210 40% 98%;
165 --muted: 217.2 32.6% 17.5%;
166 --muted-foreground: 215 20.2% 65.1%;
167 --accent: 217.2 32.6% 17.5%;
168 --accent-foreground: 210 40% 98%;
169 --destructive: 0 62.8% 30.6%;
170 --destructive-foreground: 210 40% 98%;
171 --border: 217.2 32.6% 17.5%;
172 --input: 217.2 32.6% 17.5%;
173 --ring: 212.7 26.8% 83.9%;
174 --chart-1: 220 70% 50%;
175 --chart-2: 160 60% 45%;
176 --chart-3: 30 80% 55%;
177 --chart-4: 280 65% 60%;
178 --chart-5: 340 75% 55%;
179}
180
181.tailwind * {
182 @apply border-border;
183}
184.tailwind {
185 @apply bg-background text-foreground;
186}
187
188.tailwind {
189 @tailwind utilities source(none);
190}
191
192.sbdocs p {
193 font-size: 1rem;
194}
195
196.markdown h1:first-child {
197 --ifm-h1-font-size: 1.6rem;
198}
199
200.markdown h1 {
201 --ifm-h1-font-size: 1.4rem;
202}
203
204.markdown h2 {
205 --ifm-h2-font-size: 1.2rem;
206}
207
208.markdown h3 {
209 --ifm-h3-font-size: 1.1rem;
210}
211
212.markdown h4 {
213 --ifm-h4-font-size: 1rem;
214}
215
216.markdown h1,
217.markdown h2,
218.markdown h3,
219.markdown h4,
220.markdown h5,
221.markdown h6 {
222 line-height: 1.3;
223}
224
225nav.menu.thin-scrollbar {
226 padding-right: 0.5rem;
227}
228
229/* You can override the default Infima variables here. */
230:root {
231 --ifm-font-size-base: 0.9rem;
232 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
233
234 --announcement-bar-bg: #fafbfc;
235 --announcement-bar-text: #091e42;
236
237 /* override code size */
238 --ifm-code-font-size: 13px;
239
240 /* disable shadows */
241 --ifm-global-shadow-lw: none;
242 --ifm-global-shadow-md: none;
243 --ifm-global-shadow-tl: none;
244 --ifm-code-background: rgb(246, 247, 248);
245
246 /* reduce border radius */
247 --ifm-global-radius: 4px;
248
249 /* adjust inline code paddings */
250 --ifm-code-padding-horizontal: 0.3rem;
251
252 /* OpenAPI method badge colors */
253 --openapi-code-green: #49cc90;
254 --openapi-code-red: #f93e3e;
255 --openapi-code-blue: #61affe;
256 --openapi-code-orange: #fca130;
257}
258
259.theme-code-block {
260 border: 1px solid var(--ifm-color-emphasis-300);
261}
262
263.navbar {
264 border-bottom: 1px solid var(--ifm-color-emphasis-300);
265}
266
267code {
268 border: 1px solid var(--ifm-color-emphasis-300);
269}
270
271pre {
272 font-family: 'iAWriterMonoS', monospace;
273}
274
275/* override card styles */
276.card {
277 box-shadow: none !important;
278 border-radius: var(--ifm-global-radius);
279 border-color: var(--ifm-color-emphasis-300) !important;
280}
281
282.card:hover {
283 border-color: var(--ifm-color-primary) !important;
284}
285
286.footer--dark {
287 --ifm-footer-background-color: #1c1917;
288}
289
290:root,
291[data-theme='light'] {
292 --ifm-font-family-base:
293 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
294 sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
295 --ifm-footer-background-color: #1c1917;
296
297 --ifm-color-primary: #ef5f00; /* base orange */
298 --ifm-color-primary-dark: #d65500; /* darker orange */
299 --ifm-color-primary-darker: #bf4c00; /* even darker */
300 --ifm-color-primary-darkest: #9e3f00; /* darkest orange */
301 --ifm-color-primary-light: #ff7519; /* light orange */
302 --ifm-color-primary-lighter: #ff8c40; /* lighter orange */
303 --ifm-color-primary-lightest: #ffa366; /* lightest orange */
304
305 --ifm-color-emphasis-200: #e7e5e4;
306 --ifm-color-emphasis-300: #d6d3d1;
307 --ifm-background-color: #ffffff;
308 --ifm-background-surface-color: #ffffff;
309}
310
311/* For readability concerns, you should choose a lighter palette in dark mode. */
312html[data-theme='dark'] {
313 --ifm-color-primary: #c25e00; /* base orange */
314 --ifm-color-primary-dark: #b05400; /* darker orange */
315 --ifm-color-primary-darker: #a64f00; /* even darker */
316 --ifm-color-primary-darkest: #873f00; /* darkest orange */
317 --ifm-color-primary-light: #cc6500; /* light orange */
318 --ifm-color-primary-lighter: #d66f00; /* lighter orange */
319 --ifm-color-primary-lightest: #e78100; /* lightest orange */
320
321 --ifm-color-emphasis-200: #292524;
322 --ifm-color-emphasis-300: #44403c;
323 --ifm-background-color: #1c1917;
324 --ifm-background-surface-color: #1c1917;
325
326 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
327
328 --announcement-bar-bg: #000;
329 --announcement-bar-text: #fff;
330}
331
332[data-theme='light'] .DocSearch {
333 --docsearch-primary-color: var(--ifm-color-primary);
334 --docsearch-text-color: var(--ifm-font-color-base);
335 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
336 --docsearch-container-background: rgba(94, 100, 112, 0.7);
337 /* Modal */
338 --docsearch-modal-background: var(--ifm-color-secondary-lighter);
339 /* Search box */
340 --docsearch-searchbox-background: var(--ifm-color-secondary);
341 --docsearch-searchbox-focus-background: var(--ifm-color-white);
342 /* Hit */
343 --docsearch-hit-color: var(--ifm-font-color-base);
344 --docsearch-hit-active-color: var(--ifm-color-white);
345 --docsearch-hit-background: var(--ifm-color-white);
346 /* Footer */
347 --docsearch-footer-background: var(--ifm-color-white);
348}
349
350[data-theme='dark'] .DocSearch {
351 --docsearch-primary-color: var(--ifm-color-primary);
352 --docsearch-text-color: var(--ifm-font-color-base);
353 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
354 --docsearch-container-background: rgba(47, 55, 69, 0.7);
355 /* Modal */
356 --docsearch-modal-background: var(--ifm-background-color);
357 /* Search box */
358 --docsearch-searchbox-background: var(--ifm-background-color);
359 --docsearch-searchbox-focus-background: var(--ifm-color-black);
360 /* Hit */
361 --docsearch-hit-color: var(--ifm-font-color-base);
362 --docsearch-hit-active-color: var(--ifm-color-white);
363 --docsearch-hit-background: var(--ifm-color-emphasis-100);
364 /* Footer */
365 --docsearch-footer-background: var(--ifm-background-surface-color);
366 --docsearch-key-gradient: linear-gradient(
367 -26.5deg,
368 var(--ifm-color-emphasis-200) 0%,
369 var(--ifm-color-emphasis-100) 100%
370 );
371}
372
373.video-container {
374 display: flex;
375 flex-flow: column;
376 justify-content: center;
377 align-items: center;
378 aspect-ratio: 28 / 21;
379 overflow: hidden;
380 border-radius: 4px;
381}
382
383.video-container iframe {
384 width: 100%;
385 height: 100%;
386}
387
388.header-github-link::before {
389 content: '';
390 width: 24px;
391 height: 24px;
392 display: flex;
393 background-color: var(--ifm-navbar-link-color);
394 mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
395 transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
396}
397
398.header-github-link:hover::before {
399 background-color: var(--ifm-navbar-link-hover-color);
400}
401
1/**
2 * Any CSS included here will be global. The classic template
3 * bundles Infima by default. Infima is a CSS framework designed to
4 * work well for content-centric websites.
5 */
6
7@import 'tailwindcss/theme.css' theme(reference inline);
8@import 'tw-animate-css';
9
10/* Utilities are generated only from components, and only apply inside `.tailwind` (see below). */
11@source '../**/*.{js,ts,jsx,tsx}';
12/* Infima provides `.container`. */
13@source not inline('container');
14
15@custom-variant dark (&:is([data-mode='dark'] *));
16/* Keep hover styles on touch devices, which Tailwind v4 limits to `@media (hover: hover)`. */
17@custom-variant hover (&:hover);
18
19@theme inline {
20 --breakpoint-sm: 640px;
21 --breakpoint-md: 768px;
22 --breakpoint-lg: 1024px;
23 --breakpoint-xl: 1280px;
24 --breakpoint-2xl: 1536px;
25
26 --color-border: hsl(var(--border));
27 --color-input: hsl(var(--input));
28 --color-ring: hsl(var(--ring));
29 --color-background: hsl(var(--background));
30 --color-foreground: hsl(var(--foreground));
31 --color-primary: hsl(var(--primary));
32 --color-primary-foreground: hsl(var(--primary-foreground));
33 --color-primary-100: hsla(35, 95%, 92%, 1);
34 --color-primary-200: hsla(35, 100%, 86%, 1);
35 --color-primary-400: hsla(27, 91%, 61%, 1);
36 --color-primary-500: hsla(25, 90%, 54%, 1);
37 --color-primary-600: hsla(21, 85%, 48%, 1);
38 --color-primary-700: hsla(17, 83%, 40%, 1);
39 --color-alpha: hsla(0, 0%, 0%, 0);
40 --color-alpha-foreground: hsla(0, 0%, 0%, 1);
41 --color-alpha-50: hsla(0, 0%, 0%, 0.04);
42 --color-alpha-100: hsla(0, 0%, 0%, 0.08);
43 --color-alpha-150: hsla(0, 0%, 0%, 0.12);
44 --color-alpha-300: hsla(0, 0%, 0%, 0.32);
45 --color-alpha-700: hsla(0, 0%, 0%, 0.72);
46 --color-alpha-800: hsla(0, 0%, 0%, 0.8);
47 --color-alpha-900: hsla(0, 0%, 0%, 1);
48 --color-neutral: hsla(0, 0%, 100%, 1);
49 --color-neutral-foreground: hsla(0, 0%, 0%, 1);
50 --color-neutral-50: hsla(60, 5%, 96%, 1);
51 --color-neutral-100: #f5f5f5;
52 --color-neutral-200: #e5e5e5;
53 --color-neutral-300: #d4d4d4;
54 --color-neutral-400: hsla(0, 0%, 64%, 1);
55 --color-neutral-500: #737373;
56 --color-neutral-600: hsla(0, 0%, 32%, 1);
57 --color-neutral-700: #404040;
58 --color-neutral-800: #262626;
59 --color-neutral-900: #171717;
60 --color-neutral-950: #0a0a0a;
61 --color-red-400: hsla(0, 86%, 63%, 1);
62 --color-red-700: #b91c1c;
63 --color-green-400: hsla(85, 59%, 58%, 1);
64 --color-secondary: hsl(var(--secondary));
65 --color-secondary-foreground: hsl(var(--secondary-foreground));
66 --color-destructive: hsl(var(--destructive));
67 --color-destructive-foreground: hsl(var(--destructive-foreground));
68 --color-muted: hsl(var(--muted));
69 --color-muted-foreground: hsl(var(--muted-foreground));
70 --color-accent: hsl(var(--accent));
71 --color-accent-foreground: hsl(var(--accent-foreground));
72 --color-popover: hsl(var(--popover));
73 --color-popover-foreground: hsl(var(--popover-foreground));
74 --color-card: hsl(var(--card));
75 --color-card-foreground: hsl(var(--card-foreground));
76
77 --font-sans:
78 'Open Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
79 'Noto Color Emoji';
80 --font-mono:
81 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
82
83 --shadow-button-hover: 0px -4px 8px 0px rgba(246, 147, 65, 0.4);
84 --shadow-box: 0px -8px 16px 0px rgba(0, 0, 0, 0.04);
85 --shadow-code: 0px -8px 24px 0px var(--Primary-100, #feedd6);
86
87 --text-xs--line-height: 1rem;
88 --text-sm--line-height: 1.25rem;
89 --text-base--line-height: 1.5rem;
90 --text-lg: 1.125rem;
91 --text-lg--line-height: 1.5rem;
92 --text-xl--line-height: 1.75rem;
93 --text-2xl--line-height: 2rem;
94 --text-3xl: 2rem;
95 --text-3xl--line-height: 2.5rem;
96 --text-4xl: 2.5rem;
97 --text-4xl--line-height: 3.5rem;
98 --text-6xl: 4rem;
99 --text-6xl--line-height: 4.5rem;
100
101 --radius-lg: var(--radius);
102 --radius-md: calc(var(--radius) - 2px);
103 --radius-sm: calc(var(--radius) - 4px);
104
105 --animate-accordion-down: accordion-down 0.2s ease-out;
106 --animate-accordion-up: accordion-up 0.2s ease-out;
107
108 @keyframes accordion-down {
109 from {
110 height: 0;
111 }
112 to {
113 height: var(--radix-accordion-content-height);
114 }
115 }
116 @keyframes accordion-up {
117 from {
118 height: var(--radix-accordion-content-height);
119 }
120 to {
121 height: 0;
122 }
123 }
124}
125
126:root {
127 --background: 0 0% 100%;
128 --foreground: 222.2 84% 4.9%;
129 --card: 0 0% 100%;
130 --card-foreground: 222.2 84% 4.9%;
131 --popover: 0 0% 100%;
132 --popover-foreground: 222.2 84% 4.9%;
133 --primary: 25 90% 54%;
134 --primary-foreground: 0 0% 100%;
135 --secondary: 210 40% 96.1%;
136 --secondary-foreground: 222.2 47.4% 11.2%;
137 --muted: 210 40% 96.1%;
138 --muted-foreground: 215.4 16.3% 46.9%;
139 --accent: 210 40% 96.1%;
140 --accent-foreground: 222.2 47.4% 11.2%;
141 --destructive: 0 84.2% 60.2%;
142 --destructive-foreground: 210 40% 98%;
143 --border: 214.3 31.8% 91.4%;
144 --input: 214.3 31.8% 91.4%;
145 --ring: 222.2 84% 4.9%;
146 --radius: 0.75rem;
147 --chart-1: 12 76% 61%;
148 --chart-2: 173 58% 39%;
149 --chart-3: 197 37% 24%;
150 --chart-4: 43 74% 66%;
151 --chart-5: 27 87% 67%;
152}
153
154.dark {
155 --background: 222.2 84% 4.9%;
156 --foreground: 210 40% 98%;
157 --card: 222.2 84% 4.9%;
158 --card-foreground: 210 40% 98%;
159 --popover: 222.2 84% 4.9%;
160 --popover-foreground: 210 40% 98%;
161 --primary: 210 40% 98%;
162 --primary-foreground: 222.2 47.4% 11.2%;
163 --secondary: 217.2 32.6% 17.5%;
164 --secondary-foreground: 210 40% 98%;
165 --muted: 217.2 32.6% 17.5%;
166 --muted-foreground: 215 20.2% 65.1%;
167 --accent: 217.2 32.6% 17.5%;
168 --accent-foreground: 210 40% 98%;
169 --destructive: 0 62.8% 30.6%;
170 --destructive-foreground: 210 40% 98%;
171 --border: 217.2 32.6% 17.5%;
172 --input: 217.2 32.6% 17.5%;
173 --ring: 212.7 26.8% 83.9%;
174 --chart-1: 220 70% 50%;
175 --chart-2: 160 60% 45%;
176 --chart-3: 30 80% 55%;
177 --chart-4: 280 65% 60%;
178 --chart-5: 340 75% 55%;
179}
180
181.tailwind * {
182 @apply border-border;
183}
184.tailwind {
185 @apply bg-background text-foreground;
186}
187
188.tailwind {
189 @tailwind utilities source(none);
190}
191
192.sbdocs p {
193 font-size: 1rem;
194}
195
196.markdown h1:first-child {
197 --ifm-h1-font-size: 1.6rem;
198}
199
200.markdown h1 {
201 --ifm-h1-font-size: 1.4rem;
202}
203
204.markdown h2 {
205 --ifm-h2-font-size: 1.2rem;
206}
207
208.markdown h3 {
209 --ifm-h3-font-size: 1.1rem;
210}
211
212.markdown h4 {
213 --ifm-h4-font-size: 1rem;
214}
215
216.markdown h1,
217.markdown h2,
218.markdown h3,
219.markdown h4,
220.markdown h5,
221.markdown h6 {
222 line-height: 1.3;
223}
224
225nav.menu.thin-scrollbar {
226 padding-right: 0.5rem;
227}
228
229/* You can override the default Infima variables here. */
230:root {
231 --ifm-font-size-base: 0.9rem;
232 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
233
234 --announcement-bar-bg: #fafbfc;
235 --announcement-bar-text: #091e42;
236
237 /* override code size */
238 --ifm-code-font-size: 13px;
239
240 /* disable shadows */
241 --ifm-global-shadow-lw: none;
242 --ifm-global-shadow-md: none;
243 --ifm-global-shadow-tl: none;
244 --ifm-code-background: rgb(246, 247, 248);
245
246 /* reduce border radius */
247 --ifm-global-radius: 4px;
248
249 /* adjust inline code paddings */
250 --ifm-code-padding-horizontal: 0.3rem;
251
252 /* OpenAPI method badge colors */
253 --openapi-code-green: #49cc90;
254 --openapi-code-red: #f93e3e;
255 --openapi-code-blue: #61affe;
256 --openapi-code-orange: #fca130;
257}
258
259.theme-code-block {
260 border: 1px solid var(--ifm-color-emphasis-300);
261}
262
263.navbar {
264 border-bottom: 1px solid var(--ifm-color-emphasis-300);
265}
266
267code {
268 border: 1px solid var(--ifm-color-emphasis-300);
269}
270
271pre {
272 font-family: 'iAWriterMonoS', monospace;
273}
274
275/* override card styles */
276.card {
277 box-shadow: none !important;
278 border-radius: var(--ifm-global-radius);
279 border-color: var(--ifm-color-emphasis-300) !important;
280}
281
282.card:hover {
283 border-color: var(--ifm-color-primary) !important;
284}
285
286.footer--dark {
287 --ifm-footer-background-color: #1c1917;
288}
289
290:root,
291[data-theme='light'] {
292 --ifm-font-family-base:
293 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
294 sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
295 --ifm-footer-background-color: #1c1917;
296
297 --ifm-color-primary: #ef5f00; /* base orange */
298 --ifm-color-primary-dark: #d65500; /* darker orange */
299 --ifm-color-primary-darker: #bf4c00; /* even darker */
300 --ifm-color-primary-darkest: #9e3f00; /* darkest orange */
301 --ifm-color-primary-light: #ff7519; /* light orange */
302 --ifm-color-primary-lighter: #ff8c40; /* lighter orange */
303 --ifm-color-primary-lightest: #ffa366; /* lightest orange */
304
305 --ifm-color-emphasis-200: #e7e5e4;
306 --ifm-color-emphasis-300: #d6d3d1;
307 --ifm-background-color: #ffffff;
308 --ifm-background-surface-color: #ffffff;
309}
310
311/* For readability concerns, you should choose a lighter palette in dark mode. */
312html[data-theme='dark'] {
313 --ifm-color-primary: #c25e00; /* base orange */
314 --ifm-color-primary-dark: #b05400; /* darker orange */
315 --ifm-color-primary-darker: #a64f00; /* even darker */
316 --ifm-color-primary-darkest: #873f00; /* darkest orange */
317 --ifm-color-primary-light: #cc6500; /* light orange */
318 --ifm-color-primary-lighter: #d66f00; /* lighter orange */
319 --ifm-color-primary-lightest: #e78100; /* lightest orange */
320
321 --ifm-color-emphasis-200: #292524;
322 --ifm-color-emphasis-300: #44403c;
323 --ifm-background-color: #1c1917;
324 --ifm-background-surface-color: #1c1917;
325
326 --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
327
328 --announcement-bar-bg: #000;
329 --announcement-bar-text: #fff;
330}
331
332[data-theme='light'] .DocSearch {
333 --docsearch-primary-color: var(--ifm-color-primary);
334 --docsearch-text-color: var(--ifm-font-color-base);
335 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
336 --docsearch-container-background: rgba(94, 100, 112, 0.7);
337 /* Modal */
338 --docsearch-modal-background: var(--ifm-color-secondary-lighter);
339 /* Search box */
340 --docsearch-searchbox-background: var(--ifm-color-secondary);
341 --docsearch-searchbox-focus-background: var(--ifm-color-white);
342 /* Hit */
343 --docsearch-hit-color: var(--ifm-font-color-base);
344 --docsearch-hit-active-color: var(--ifm-color-white);
345 --docsearch-hit-background: var(--ifm-color-white);
346 /* Footer */
347 --docsearch-footer-background: var(--ifm-color-white);
348}
349
350[data-theme='dark'] .DocSearch {
351 --docsearch-primary-color: var(--ifm-color-primary);
352 --docsearch-text-color: var(--ifm-font-color-base);
353 --docsearch-muted-color: var(--ifm-color-secondary-darkest);
354 --docsearch-container-background: rgba(47, 55, 69, 0.7);
355 /* Modal */
356 --docsearch-modal-background: var(--ifm-background-color);
357 /* Search box */
358 --docsearch-searchbox-background: var(--ifm-background-color);
359 --docsearch-searchbox-focus-background: var(--ifm-color-black);
360 /* Hit */
361 --docsearch-hit-color: var(--ifm-font-color-base);
362 --docsearch-hit-active-color: var(--ifm-color-white);
363 --docsearch-hit-background: var(--ifm-color-emphasis-100);
364 /* Footer */
365 --docsearch-footer-background: var(--ifm-background-surface-color);
366 --docsearch-key-gradient: linear-gradient(
367 -26.5deg,
368 var(--ifm-color-emphasis-200) 0%,
369 var(--ifm-color-emphasis-100) 100%
370 );
371}
372
373.video-container {
374 display: flex;
375 flex-flow: column;
376 justify-content: center;
377 align-items: center;
378 aspect-ratio: 28 / 21;
379 overflow: hidden;
380 border-radius: 4px;
381}
382
383.video-container iframe {
384 width: 100%;
385 height: 100%;
386}
387
388.header-github-link::before {
389 content: '';
390 width: 24px;
391 height: 24px;
392 display: flex;
393 background-color: var(--ifm-navbar-link-color);
394 mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
395 transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
396}
397
398.header-github-link:hover::before {
399 background-color: var(--ifm-navbar-link-hover-color);
400}
401
