@whatsaaaa/design-system 0.0.0 → 0.1.1
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.
- package/README.md +151 -0
- package/assets/building-blocks/apple-touch-icon.png +0 -0
- package/assets/building-blocks/favicon-16.png +0 -0
- package/assets/building-blocks/favicon-32.png +0 -0
- package/assets/building-blocks/favicon.ico +0 -0
- package/assets/building-blocks/favicon.svg +1 -0
- package/assets/building-blocks/icon-192.png +0 -0
- package/assets/building-blocks/icon-512.png +0 -0
- package/assets/building-blocks/lockup-dark.svg +1 -0
- package/assets/building-blocks/lockup-light.svg +1 -0
- package/assets/building-blocks/mark-mono.svg +1 -0
- package/assets/building-blocks/mark-on-dark.svg +1 -0
- package/assets/building-blocks/mark-on-light.svg +1 -0
- package/assets/building-blocks/mark.svg +1 -0
- package/assets/building-blocks/readme-header.png +0 -0
- package/assets/building-blocks/readme-header.svg +1 -0
- package/assets/building-blocks/social-card.png +0 -0
- package/assets/building-blocks/social-card.svg +1 -0
- package/assets/building-blocks/wordmark-dark.svg +1 -0
- package/assets/building-blocks/wordmark-light.svg +1 -0
- package/assets/dotfiles/apple-touch-icon.png +0 -0
- package/assets/dotfiles/favicon-16.png +0 -0
- package/assets/dotfiles/favicon-32.png +0 -0
- package/assets/dotfiles/favicon.ico +0 -0
- package/assets/dotfiles/favicon.svg +1 -0
- package/assets/dotfiles/icon-192.png +0 -0
- package/assets/dotfiles/icon-512.png +0 -0
- package/assets/dotfiles/lockup-dark.svg +1 -0
- package/assets/dotfiles/lockup-light.svg +1 -0
- package/assets/dotfiles/mark-mono.svg +1 -0
- package/assets/dotfiles/mark-on-dark.svg +1 -0
- package/assets/dotfiles/mark-on-light.svg +1 -0
- package/assets/dotfiles/mark.svg +1 -0
- package/assets/dotfiles/readme-header.png +0 -0
- package/assets/dotfiles/readme-header.svg +1 -0
- package/assets/dotfiles/social-card.png +0 -0
- package/assets/dotfiles/social-card.svg +1 -0
- package/assets/dotfiles/wordmark-dark.svg +1 -0
- package/assets/dotfiles/wordmark-light.svg +1 -0
- package/assets/form-builder/apple-touch-icon.png +0 -0
- package/assets/form-builder/favicon-16.png +0 -0
- package/assets/form-builder/favicon-32.png +0 -0
- package/assets/form-builder/favicon.ico +0 -0
- package/assets/form-builder/favicon.svg +1 -0
- package/assets/form-builder/icon-192.png +0 -0
- package/assets/form-builder/icon-512.png +0 -0
- package/assets/form-builder/lockup-dark.svg +1 -0
- package/assets/form-builder/lockup-light.svg +1 -0
- package/assets/form-builder/mark-mono.svg +1 -0
- package/assets/form-builder/mark-on-dark.svg +1 -0
- package/assets/form-builder/mark-on-light.svg +1 -0
- package/assets/form-builder/mark.svg +1 -0
- package/assets/form-builder/readme-header.png +0 -0
- package/assets/form-builder/readme-header.svg +1 -0
- package/assets/form-builder/social-card.png +0 -0
- package/assets/form-builder/social-card.svg +1 -0
- package/assets/form-builder/wordmark-dark.svg +1 -0
- package/assets/form-builder/wordmark-light.svg +1 -0
- package/assets/manifest.json +541 -0
- package/assets/whatsaaaa/apple-touch-icon.png +0 -0
- package/assets/whatsaaaa/favicon-16.png +0 -0
- package/assets/whatsaaaa/favicon-32.png +0 -0
- package/assets/whatsaaaa/favicon.ico +0 -0
- package/assets/whatsaaaa/favicon.svg +1 -0
- package/assets/whatsaaaa/icon-192.png +0 -0
- package/assets/whatsaaaa/icon-512.png +0 -0
- package/assets/whatsaaaa/lockup-dark.svg +1 -0
- package/assets/whatsaaaa/lockup-light.svg +1 -0
- package/assets/whatsaaaa/mark-mono.svg +1 -0
- package/assets/whatsaaaa/mark-on-dark.svg +1 -0
- package/assets/whatsaaaa/mark-on-light.svg +1 -0
- package/assets/whatsaaaa/mark.svg +1 -0
- package/assets/whatsaaaa/pose-blink-dark.svg +1 -0
- package/assets/whatsaaaa/pose-blink-light.svg +1 -0
- package/assets/whatsaaaa/pose-idle-dark.svg +1 -0
- package/assets/whatsaaaa/pose-idle-light.svg +1 -0
- package/assets/whatsaaaa/pose-lost-dark.svg +1 -0
- package/assets/whatsaaaa/pose-lost-light.svg +1 -0
- package/assets/whatsaaaa/pose-shout-dark.svg +1 -0
- package/assets/whatsaaaa/pose-shout-light.svg +1 -0
- package/assets/whatsaaaa/pose-wag-left-dark.svg +1 -0
- package/assets/whatsaaaa/pose-wag-left-light.svg +1 -0
- package/assets/whatsaaaa/pose-wag-right-dark.svg +1 -0
- package/assets/whatsaaaa/pose-wag-right-light.svg +1 -0
- package/assets/whatsaaaa/readme-header.png +0 -0
- package/assets/whatsaaaa/readme-header.svg +1 -0
- package/assets/whatsaaaa/social-card.png +0 -0
- package/assets/whatsaaaa/social-card.svg +1 -0
- package/assets/whatsaaaa/wordmark-dark.svg +1 -0
- package/assets/whatsaaaa/wordmark-light.svg +1 -0
- package/dist/color.d.ts +5 -0
- package/dist/color.js +7 -0
- package/dist/css/base.css +50 -0
- package/dist/css/callout.css +64 -0
- package/dist/css/code.css +50 -0
- package/dist/css/ghost.css +93 -0
- package/dist/css/icons.css +8 -0
- package/dist/css/prose.css +320 -0
- package/dist/css/terminal.css +424 -0
- package/dist/fonts/inter-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/inter.OFL.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-italic.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono.OFL.txt +93 -0
- package/dist/fonts.css +85 -0
- package/dist/ghost/bubble.d.ts +16 -0
- package/dist/ghost/bubble.js +50 -0
- package/dist/ghost/glyphs.d.ts +12 -0
- package/dist/ghost/glyphs.js +19 -0
- package/dist/ghost/index.d.ts +57 -0
- package/dist/ghost/index.js +227 -0
- package/dist/identity/ghost.d.ts +28 -0
- package/dist/identity/ghost.js +129 -0
- package/dist/identity/marks.d.ts +48 -0
- package/dist/identity/marks.js +52 -0
- package/dist/identity/sprite.d.ts +43 -0
- package/dist/identity/sprite.js +100 -0
- package/dist/index.css +1404 -0
- package/dist/shiki/index.d.ts +20 -0
- package/dist/shiki/index.js +64 -0
- package/dist/shortcuts/index.d.ts +48 -0
- package/dist/shortcuts/index.js +155 -0
- package/dist/shortcuts/init.js +2 -0
- package/dist/theme/index.d.ts +24 -0
- package/dist/theme/index.js +60 -0
- package/dist/theme/init.js +2 -0
- package/dist/tokens.css +537 -0
- package/dist/tokens.d.ts +194 -0
- package/dist/tokens.js +336 -0
- package/dist/vitepress-config/index.d.ts +16 -0
- package/dist/vitepress-config/index.js +36 -0
- package/dist/vitepress-config/markdown.d.ts +6 -0
- package/dist/vitepress-config/markdown.js +50 -0
- package/dist/vitepress-config/types.d.ts +16 -0
- package/dist/vitepress-config/types.js +1 -0
- package/docs/usage.md +226 -0
- package/licenses/README.md +10 -0
- package/licenses/departure-mono.OFL.txt +93 -0
- package/licenses/rose-pine-palette.LICENSE +21 -0
- package/package.json +155 -3
- package/src/vitepress/Layout.vue +77 -0
- package/src/vitepress/components/Crumb.vue +32 -0
- package/src/vitepress/components/NavGhost.vue +23 -0
- package/src/vitepress/components/NotFound.vue +22 -0
- package/src/vitepress/components/StatusLine.vue +128 -0
- package/src/vitepress/env.d.ts +2 -0
- package/src/vitepress/index.ts +34 -0
- package/src/vitepress/path.ts +19 -0
- package/src/vitepress/styles/doc.css +385 -0
- package/src/vitepress/styles/home.css +47 -0
- package/src/vitepress/styles/layout.css +97 -0
- package/src/vitepress/styles/nav.css +441 -0
- package/src/vitepress/styles/search.css +55 -0
- package/src/vitepress/styles/sidebar.css +173 -0
- package/src/vitepress/styles/vars.css +204 -0
- package/src/vitepress/support.ts +15 -0
- package/src/vitepress/theme.d.ts +8 -0
- package/tokens/contrast.json +271 -0
- package/tokens/core.tokens.json +743 -0
- package/tokens/palette.tokens.json +222 -0
- package/tokens/theme-dark.tokens.json +146 -0
- package/tokens/theme-light.tokens.json +146 -0
- package/tokens/whatsaaaa.resolver.json +43 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,1404 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: JetBrains Mono;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 100 800;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: url("./fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
|
|
7
|
+
unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: JetBrains Mono;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 100 800;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url("./fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
|
|
16
|
+
unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: JetBrains Mono;
|
|
21
|
+
font-style: italic;
|
|
22
|
+
font-weight: 100 800;
|
|
23
|
+
font-display: swap;
|
|
24
|
+
src: url("./fonts/jetbrains-mono-latin-ext-wght-italic.woff2") format("woff2-variations");
|
|
25
|
+
unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: JetBrains Mono;
|
|
30
|
+
font-style: italic;
|
|
31
|
+
font-weight: 100 800;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
src: url("./fonts/jetbrains-mono-latin-wght-italic.woff2") format("woff2-variations");
|
|
34
|
+
unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: Inter;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 100 900;
|
|
41
|
+
font-display: swap;
|
|
42
|
+
src: url("./fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
|
|
43
|
+
unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: Inter;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 100 900;
|
|
50
|
+
font-display: swap;
|
|
51
|
+
src: url("./fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
|
|
52
|
+
unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: Inter;
|
|
57
|
+
font-style: italic;
|
|
58
|
+
font-weight: 100 900;
|
|
59
|
+
font-display: swap;
|
|
60
|
+
src: url("./fonts/inter-latin-ext-wght-italic.woff2") format("woff2-variations");
|
|
61
|
+
unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: Inter;
|
|
66
|
+
font-style: italic;
|
|
67
|
+
font-weight: 100 900;
|
|
68
|
+
font-display: swap;
|
|
69
|
+
src: url("./fonts/inter-latin-wght-italic.woff2") format("woff2-variations");
|
|
70
|
+
unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:root {
|
|
74
|
+
--ws-border-width-medium: 2px;
|
|
75
|
+
--ws-border-width-thick: 3px;
|
|
76
|
+
--ws-border-width-thin: 1px;
|
|
77
|
+
--ws-code-bg: var(--ws-palette-main-surface);
|
|
78
|
+
--ws-code-border: var(--ws-palette-main-highlight-med);
|
|
79
|
+
--ws-code-header-bg: var(--ws-palette-main-base);
|
|
80
|
+
--ws-code-line-added: #9ccfd824;
|
|
81
|
+
--ws-code-line-highlight: #403d5280;
|
|
82
|
+
--ws-code-line-removed: #eb6f9224;
|
|
83
|
+
--ws-code-selection: var(--ws-palette-main-highlight-high);
|
|
84
|
+
--ws-code-text: var(--ws-palette-main-text);
|
|
85
|
+
--ws-code-text-secondary: var(--ws-palette-main-subtle);
|
|
86
|
+
--ws-font-family-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
|
|
87
|
+
--ws-font-family-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
88
|
+
--ws-font-line-height-loose: 1.75;
|
|
89
|
+
--ws-font-line-height-none: 1;
|
|
90
|
+
--ws-font-line-height-normal: 1.5;
|
|
91
|
+
--ws-font-line-height-relaxed: 1.65;
|
|
92
|
+
--ws-font-line-height-snug: 1.3;
|
|
93
|
+
--ws-font-line-height-tight: 1.1;
|
|
94
|
+
--ws-font-size-11: .6875rem;
|
|
95
|
+
--ws-font-size-12: .75rem;
|
|
96
|
+
--ws-font-size-13: .8125rem;
|
|
97
|
+
--ws-font-size-14: .875rem;
|
|
98
|
+
--ws-font-size-15: .9375rem;
|
|
99
|
+
--ws-font-size-16: 1rem;
|
|
100
|
+
--ws-font-size-17: 1.0625rem;
|
|
101
|
+
--ws-font-size-18: 1.125rem;
|
|
102
|
+
--ws-font-size-20: 1.25rem;
|
|
103
|
+
--ws-font-size-22: 1.375rem;
|
|
104
|
+
--ws-font-size-32: 2rem;
|
|
105
|
+
--ws-font-size-40: 2.5rem;
|
|
106
|
+
--ws-font-size-64: 4rem;
|
|
107
|
+
--ws-font-weight-bold: 700;
|
|
108
|
+
--ws-font-weight-extrabold: 800;
|
|
109
|
+
--ws-font-weight-medium: 500;
|
|
110
|
+
--ws-font-weight-regular: 400;
|
|
111
|
+
--ws-font-weight-semibold: 600;
|
|
112
|
+
--ws-mark-body: var(--ws-palette-main-text);
|
|
113
|
+
--ws-mark-tile: var(--ws-palette-main-overlay);
|
|
114
|
+
--ws-mark-tongue: var(--ws-palette-main-love);
|
|
115
|
+
--ws-motion-duration-base: .16s;
|
|
116
|
+
--ws-motion-duration-fast: .12s;
|
|
117
|
+
--ws-motion-duration-slow: .24s;
|
|
118
|
+
--ws-motion-easing-in: cubic-bezier(.4, 0, 1, 1);
|
|
119
|
+
--ws-motion-easing-out: cubic-bezier(0, 0, .2, 1);
|
|
120
|
+
--ws-motion-easing-standard: cubic-bezier(.2, 0, 0, 1);
|
|
121
|
+
--ws-palette-dawn-base: #faf4ed;
|
|
122
|
+
--ws-palette-dawn-foam: #56949f;
|
|
123
|
+
--ws-palette-dawn-gold: #ea9d34;
|
|
124
|
+
--ws-palette-dawn-highlight-high: #cecacd;
|
|
125
|
+
--ws-palette-dawn-highlight-low: #f4ede8;
|
|
126
|
+
--ws-palette-dawn-highlight-med: #dfdad9;
|
|
127
|
+
--ws-palette-dawn-iris: #907aa9;
|
|
128
|
+
--ws-palette-dawn-love: #b4637a;
|
|
129
|
+
--ws-palette-dawn-muted: #9893a5;
|
|
130
|
+
--ws-palette-dawn-overlay: #f2e9e1;
|
|
131
|
+
--ws-palette-dawn-pine: #286983;
|
|
132
|
+
--ws-palette-dawn-rose: #d7827e;
|
|
133
|
+
--ws-palette-dawn-subtle: #797593;
|
|
134
|
+
--ws-palette-dawn-surface: #fffaf3;
|
|
135
|
+
--ws-palette-dawn-text: #575279;
|
|
136
|
+
--ws-palette-main-base: #191724;
|
|
137
|
+
--ws-palette-main-foam: #9ccfd8;
|
|
138
|
+
--ws-palette-main-gold: #f6c177;
|
|
139
|
+
--ws-palette-main-highlight-high: #524f67;
|
|
140
|
+
--ws-palette-main-highlight-low: #21202e;
|
|
141
|
+
--ws-palette-main-highlight-med: #403d52;
|
|
142
|
+
--ws-palette-main-iris: #c4a7e7;
|
|
143
|
+
--ws-palette-main-love: #eb6f92;
|
|
144
|
+
--ws-palette-main-muted: #6e6a86;
|
|
145
|
+
--ws-palette-main-overlay: #26233a;
|
|
146
|
+
--ws-palette-main-pine: #31748f;
|
|
147
|
+
--ws-palette-main-rose: #ebbcba;
|
|
148
|
+
--ws-palette-main-subtle: #908caa;
|
|
149
|
+
--ws-palette-main-surface: #1f1d2e;
|
|
150
|
+
--ws-palette-main-text: #e0def4;
|
|
151
|
+
--ws-radius-full: 9999px;
|
|
152
|
+
--ws-radius-lg: 8px;
|
|
153
|
+
--ws-radius-md: 6px;
|
|
154
|
+
--ws-radius-sm: 4px;
|
|
155
|
+
--ws-radius-xl: 12px;
|
|
156
|
+
--ws-radius-xs: 3px;
|
|
157
|
+
--ws-size-content: 50rem;
|
|
158
|
+
--ws-size-frame: 90rem;
|
|
159
|
+
--ws-size-outline: 15rem;
|
|
160
|
+
--ws-size-sidebar: 17rem;
|
|
161
|
+
--ws-size-status-line: 2rem;
|
|
162
|
+
--ws-size-tab-bar: 3rem;
|
|
163
|
+
--ws-space-2: .125rem;
|
|
164
|
+
--ws-space-4: .25rem;
|
|
165
|
+
--ws-space-6: .375rem;
|
|
166
|
+
--ws-space-8: .5rem;
|
|
167
|
+
--ws-space-10: .625rem;
|
|
168
|
+
--ws-space-12: .75rem;
|
|
169
|
+
--ws-space-14: .875rem;
|
|
170
|
+
--ws-space-16: 1rem;
|
|
171
|
+
--ws-space-20: 1.25rem;
|
|
172
|
+
--ws-space-24: 1.5rem;
|
|
173
|
+
--ws-space-32: 2rem;
|
|
174
|
+
--ws-space-40: 2.5rem;
|
|
175
|
+
--ws-space-48: 3rem;
|
|
176
|
+
--ws-space-56: 3.5rem;
|
|
177
|
+
--ws-space-64: 4rem;
|
|
178
|
+
--ws-syntax-comment: var(--ws-palette-main-subtle);
|
|
179
|
+
--ws-syntax-constant: var(--ws-palette-main-iris);
|
|
180
|
+
--ws-syntax-function: var(--ws-palette-main-rose);
|
|
181
|
+
--ws-syntax-keyword: var(--ws-palette-main-love);
|
|
182
|
+
--ws-syntax-punctuation: var(--ws-palette-main-subtle);
|
|
183
|
+
--ws-syntax-string: var(--ws-palette-main-gold);
|
|
184
|
+
--ws-syntax-type: var(--ws-palette-main-foam);
|
|
185
|
+
--ws-text-body: var(--ws-text-body-font-weight) var(--ws-text-body-font-size)/var(--ws-text-body-line-height) var(--ws-text-body-font-family);
|
|
186
|
+
--ws-text-body-font-family: var(--ws-font-family-sans);
|
|
187
|
+
--ws-text-body-font-size: 1rem;
|
|
188
|
+
--ws-text-body-font-weight: 400;
|
|
189
|
+
--ws-text-body-letter-spacing: 0rem;
|
|
190
|
+
--ws-text-body-line-height: 1.75;
|
|
191
|
+
--ws-text-body-sm: var(--ws-text-body-sm-font-weight) var(--ws-text-body-sm-font-size)/var(--ws-text-body-sm-line-height) var(--ws-text-body-sm-font-family);
|
|
192
|
+
--ws-text-body-sm-font-family: var(--ws-font-family-sans);
|
|
193
|
+
--ws-text-body-sm-font-size: .9375rem;
|
|
194
|
+
--ws-text-body-sm-font-weight: 400;
|
|
195
|
+
--ws-text-body-sm-letter-spacing: 0rem;
|
|
196
|
+
--ws-text-body-sm-line-height: 1.6;
|
|
197
|
+
--ws-text-caption: var(--ws-text-caption-font-weight) var(--ws-text-caption-font-size)/var(--ws-text-caption-line-height) var(--ws-text-caption-font-family);
|
|
198
|
+
--ws-text-caption-font-family: var(--ws-font-family-mono);
|
|
199
|
+
--ws-text-caption-font-size: .75rem;
|
|
200
|
+
--ws-text-caption-font-weight: 400;
|
|
201
|
+
--ws-text-caption-letter-spacing: 0rem;
|
|
202
|
+
--ws-text-caption-line-height: 1.5;
|
|
203
|
+
--ws-text-code: var(--ws-text-code-font-weight) var(--ws-text-code-font-size)/var(--ws-text-code-line-height) var(--ws-text-code-font-family);
|
|
204
|
+
--ws-text-code-font-family: var(--ws-font-family-mono);
|
|
205
|
+
--ws-text-code-font-size: .8125rem;
|
|
206
|
+
--ws-text-code-font-weight: 400;
|
|
207
|
+
--ws-text-code-letter-spacing: 0rem;
|
|
208
|
+
--ws-text-code-line-height: 1.7;
|
|
209
|
+
--ws-text-display: var(--ws-text-display-font-weight) var(--ws-text-display-font-size)/var(--ws-text-display-line-height) var(--ws-text-display-font-family);
|
|
210
|
+
--ws-text-display-compact: var(--ws-text-display-compact-font-weight) var(--ws-text-display-compact-font-size)/var(--ws-text-display-compact-line-height) var(--ws-text-display-compact-font-family);
|
|
211
|
+
--ws-text-display-compact-font-family: var(--ws-font-family-mono);
|
|
212
|
+
--ws-text-display-compact-font-size: 2.5rem;
|
|
213
|
+
--ws-text-display-compact-font-weight: 800;
|
|
214
|
+
--ws-text-display-compact-letter-spacing: -.075rem;
|
|
215
|
+
--ws-text-display-compact-line-height: 1;
|
|
216
|
+
--ws-text-display-font-family: var(--ws-font-family-mono);
|
|
217
|
+
--ws-text-display-font-size: 4rem;
|
|
218
|
+
--ws-text-display-font-weight: 800;
|
|
219
|
+
--ws-text-display-letter-spacing: -.12rem;
|
|
220
|
+
--ws-text-display-line-height: 1;
|
|
221
|
+
--ws-text-h1: var(--ws-text-h1-font-weight) var(--ws-text-h1-font-size)/var(--ws-text-h1-line-height) var(--ws-text-h1-font-family);
|
|
222
|
+
--ws-text-h1-compact: var(--ws-text-h1-compact-font-weight) var(--ws-text-h1-compact-font-size)/var(--ws-text-h1-compact-line-height) var(--ws-text-h1-compact-font-family);
|
|
223
|
+
--ws-text-h1-compact-font-family: var(--ws-font-family-mono);
|
|
224
|
+
--ws-text-h1-compact-font-size: 2rem;
|
|
225
|
+
--ws-text-h1-compact-font-weight: 800;
|
|
226
|
+
--ws-text-h1-compact-letter-spacing: -.06rem;
|
|
227
|
+
--ws-text-h1-compact-line-height: 1.1;
|
|
228
|
+
--ws-text-h1-font-family: var(--ws-font-family-mono);
|
|
229
|
+
--ws-text-h1-font-size: 2.5rem;
|
|
230
|
+
--ws-text-h1-font-weight: 800;
|
|
231
|
+
--ws-text-h1-letter-spacing: -.075rem;
|
|
232
|
+
--ws-text-h1-line-height: 1.1;
|
|
233
|
+
--ws-text-h2: var(--ws-text-h2-font-weight) var(--ws-text-h2-font-size)/var(--ws-text-h2-line-height) var(--ws-text-h2-font-family);
|
|
234
|
+
--ws-text-h2-compact: var(--ws-text-h2-compact-font-weight) var(--ws-text-h2-compact-font-size)/var(--ws-text-h2-compact-line-height) var(--ws-text-h2-compact-font-family);
|
|
235
|
+
--ws-text-h2-compact-font-family: var(--ws-font-family-mono);
|
|
236
|
+
--ws-text-h2-compact-font-size: 1.25rem;
|
|
237
|
+
--ws-text-h2-compact-font-weight: 700;
|
|
238
|
+
--ws-text-h2-compact-letter-spacing: -.025rem;
|
|
239
|
+
--ws-text-h2-compact-line-height: 1.3;
|
|
240
|
+
--ws-text-h2-font-family: var(--ws-font-family-mono);
|
|
241
|
+
--ws-text-h2-font-size: 1.375rem;
|
|
242
|
+
--ws-text-h2-font-weight: 700;
|
|
243
|
+
--ws-text-h2-letter-spacing: -.0275rem;
|
|
244
|
+
--ws-text-h2-line-height: 1.3;
|
|
245
|
+
--ws-text-h3: var(--ws-text-h3-font-weight) var(--ws-text-h3-font-size)/var(--ws-text-h3-line-height) var(--ws-text-h3-font-family);
|
|
246
|
+
--ws-text-h3-font-family: var(--ws-font-family-mono);
|
|
247
|
+
--ws-text-h3-font-size: 1.125rem;
|
|
248
|
+
--ws-text-h3-font-weight: 700;
|
|
249
|
+
--ws-text-h3-letter-spacing: -.01125rem;
|
|
250
|
+
--ws-text-h3-line-height: 1.4;
|
|
251
|
+
--ws-text-h4: var(--ws-text-h4-font-weight) var(--ws-text-h4-font-size)/var(--ws-text-h4-line-height) var(--ws-text-h4-font-family);
|
|
252
|
+
--ws-text-h4-font-family: var(--ws-font-family-mono);
|
|
253
|
+
--ws-text-h4-font-size: 1rem;
|
|
254
|
+
--ws-text-h4-font-weight: 700;
|
|
255
|
+
--ws-text-h4-letter-spacing: 0rem;
|
|
256
|
+
--ws-text-h4-line-height: 1.5;
|
|
257
|
+
--ws-text-label: var(--ws-text-label-font-weight) var(--ws-text-label-font-size)/var(--ws-text-label-line-height) var(--ws-text-label-font-family);
|
|
258
|
+
--ws-text-label-font-family: var(--ws-font-family-mono);
|
|
259
|
+
--ws-text-label-font-size: .875rem;
|
|
260
|
+
--ws-text-label-font-weight: 400;
|
|
261
|
+
--ws-text-label-letter-spacing: 0rem;
|
|
262
|
+
--ws-text-label-line-height: 1.5;
|
|
263
|
+
--ws-text-label-sm: var(--ws-text-label-sm-font-weight) var(--ws-text-label-sm-font-size)/var(--ws-text-label-sm-line-height) var(--ws-text-label-sm-font-family);
|
|
264
|
+
--ws-text-label-sm-font-family: var(--ws-font-family-mono);
|
|
265
|
+
--ws-text-label-sm-font-size: .8125rem;
|
|
266
|
+
--ws-text-label-sm-font-weight: 400;
|
|
267
|
+
--ws-text-label-sm-letter-spacing: 0rem;
|
|
268
|
+
--ws-text-label-sm-line-height: 1.5;
|
|
269
|
+
--ws-text-lead: var(--ws-text-lead-font-weight) var(--ws-text-lead-font-size)/var(--ws-text-lead-line-height) var(--ws-text-lead-font-family);
|
|
270
|
+
--ws-text-lead-font-family: var(--ws-font-family-sans);
|
|
271
|
+
--ws-text-lead-font-size: 1.0625rem;
|
|
272
|
+
--ws-text-lead-font-weight: 400;
|
|
273
|
+
--ws-text-lead-letter-spacing: 0rem;
|
|
274
|
+
--ws-text-lead-line-height: 1.75;
|
|
275
|
+
--ws-text-overline: var(--ws-text-overline-font-weight) var(--ws-text-overline-font-size)/var(--ws-text-overline-line-height) var(--ws-text-overline-font-family);
|
|
276
|
+
--ws-text-overline-font-family: var(--ws-font-family-mono);
|
|
277
|
+
--ws-text-overline-font-size: .6875rem;
|
|
278
|
+
--ws-text-overline-font-weight: 700;
|
|
279
|
+
--ws-text-overline-letter-spacing: .06875rem;
|
|
280
|
+
--ws-text-overline-line-height: 1.5;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
:root, [data-theme="dark"] {
|
|
284
|
+
--lightningcss-light: ;
|
|
285
|
+
--lightningcss-dark: initial;
|
|
286
|
+
color-scheme: dark;
|
|
287
|
+
--ws-color-bg: var(--ws-palette-main-base);
|
|
288
|
+
--ws-color-border: var(--ws-palette-main-highlight-med);
|
|
289
|
+
--ws-color-border-strong: var(--ws-palette-main-highlight-high);
|
|
290
|
+
--ws-color-brand: var(--ws-palette-main-love);
|
|
291
|
+
--ws-color-brand-fill: var(--ws-palette-main-love);
|
|
292
|
+
--ws-color-danger: var(--ws-palette-main-love);
|
|
293
|
+
--ws-color-danger-text: var(--ws-palette-main-love);
|
|
294
|
+
--ws-color-danger-tint: #eb6f9217;
|
|
295
|
+
--ws-color-field-border: var(--ws-palette-main-muted);
|
|
296
|
+
--ws-color-interactive: var(--ws-palette-main-foam);
|
|
297
|
+
--ws-color-note: var(--ws-palette-main-iris);
|
|
298
|
+
--ws-color-note-text: var(--ws-palette-main-iris);
|
|
299
|
+
--ws-color-note-tint: #c4a7e717;
|
|
300
|
+
--ws-color-on-brand: var(--ws-palette-main-base);
|
|
301
|
+
--ws-color-on-interactive: var(--ws-palette-main-base);
|
|
302
|
+
--ws-color-raised: var(--ws-palette-main-overlay);
|
|
303
|
+
--ws-color-selection: var(--ws-palette-main-highlight-high);
|
|
304
|
+
--ws-color-surface: var(--ws-palette-main-surface);
|
|
305
|
+
--ws-color-tag-bg: #9ccfd81f;
|
|
306
|
+
--ws-color-tag-text: var(--ws-palette-main-foam);
|
|
307
|
+
--ws-color-text: var(--ws-palette-main-text);
|
|
308
|
+
--ws-color-text-faint: var(--ws-palette-main-muted);
|
|
309
|
+
--ws-color-text-secondary: var(--ws-palette-main-subtle);
|
|
310
|
+
--ws-color-tip: var(--ws-palette-main-foam);
|
|
311
|
+
--ws-color-tip-text: var(--ws-palette-main-foam);
|
|
312
|
+
--ws-color-tip-tint: #9ccfd817;
|
|
313
|
+
--ws-color-warning: var(--ws-palette-main-gold);
|
|
314
|
+
--ws-color-warning-text: var(--ws-palette-main-gold);
|
|
315
|
+
--ws-color-warning-tint: #f6c17717;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
[data-theme="light"] {
|
|
319
|
+
--lightningcss-light: initial;
|
|
320
|
+
--lightningcss-dark: ;
|
|
321
|
+
color-scheme: light;
|
|
322
|
+
--ws-color-bg: var(--ws-palette-dawn-base);
|
|
323
|
+
--ws-color-border: var(--ws-palette-dawn-highlight-med);
|
|
324
|
+
--ws-color-border-strong: var(--ws-palette-dawn-highlight-high);
|
|
325
|
+
--ws-color-brand: var(--ws-palette-dawn-love);
|
|
326
|
+
--ws-color-brand-fill: var(--ws-palette-dawn-text);
|
|
327
|
+
--ws-color-danger: var(--ws-palette-dawn-love);
|
|
328
|
+
--ws-color-danger-text: var(--ws-palette-dawn-text);
|
|
329
|
+
--ws-color-danger-tint: #b4637a17;
|
|
330
|
+
--ws-color-field-border: var(--ws-palette-dawn-subtle);
|
|
331
|
+
--ws-color-interactive: var(--ws-palette-dawn-pine);
|
|
332
|
+
--ws-color-note: var(--ws-palette-dawn-iris);
|
|
333
|
+
--ws-color-note-text: var(--ws-palette-dawn-text);
|
|
334
|
+
--ws-color-note-tint: #907aa917;
|
|
335
|
+
--ws-color-on-brand: var(--ws-palette-dawn-base);
|
|
336
|
+
--ws-color-on-interactive: var(--ws-palette-dawn-base);
|
|
337
|
+
--ws-color-raised: var(--ws-palette-dawn-overlay);
|
|
338
|
+
--ws-color-selection: var(--ws-palette-dawn-highlight-med);
|
|
339
|
+
--ws-color-surface: var(--ws-palette-dawn-surface);
|
|
340
|
+
--ws-color-tag-bg: #2869831a;
|
|
341
|
+
--ws-color-tag-text: var(--ws-palette-dawn-pine);
|
|
342
|
+
--ws-color-text: var(--ws-palette-dawn-text);
|
|
343
|
+
--ws-color-text-faint: var(--ws-palette-dawn-subtle);
|
|
344
|
+
--ws-color-text-secondary: var(--ws-palette-dawn-text);
|
|
345
|
+
--ws-color-tip: var(--ws-palette-dawn-pine);
|
|
346
|
+
--ws-color-tip-text: var(--ws-palette-dawn-text);
|
|
347
|
+
--ws-color-tip-tint: #28698317;
|
|
348
|
+
--ws-color-warning: var(--ws-palette-dawn-gold);
|
|
349
|
+
--ws-color-warning-text: var(--ws-palette-dawn-text);
|
|
350
|
+
--ws-color-warning-tint: #ea9d3417;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
@media (prefers-color-scheme: light) {
|
|
354
|
+
:root:not([data-theme]) {
|
|
355
|
+
--lightningcss-light: initial;
|
|
356
|
+
--lightningcss-dark: ;
|
|
357
|
+
color-scheme: light;
|
|
358
|
+
--ws-color-bg: var(--ws-palette-dawn-base);
|
|
359
|
+
--ws-color-border: var(--ws-palette-dawn-highlight-med);
|
|
360
|
+
--ws-color-border-strong: var(--ws-palette-dawn-highlight-high);
|
|
361
|
+
--ws-color-brand: var(--ws-palette-dawn-love);
|
|
362
|
+
--ws-color-brand-fill: var(--ws-palette-dawn-text);
|
|
363
|
+
--ws-color-danger: var(--ws-palette-dawn-love);
|
|
364
|
+
--ws-color-danger-text: var(--ws-palette-dawn-text);
|
|
365
|
+
--ws-color-danger-tint: #b4637a17;
|
|
366
|
+
--ws-color-field-border: var(--ws-palette-dawn-subtle);
|
|
367
|
+
--ws-color-interactive: var(--ws-palette-dawn-pine);
|
|
368
|
+
--ws-color-note: var(--ws-palette-dawn-iris);
|
|
369
|
+
--ws-color-note-text: var(--ws-palette-dawn-text);
|
|
370
|
+
--ws-color-note-tint: #907aa917;
|
|
371
|
+
--ws-color-on-brand: var(--ws-palette-dawn-base);
|
|
372
|
+
--ws-color-on-interactive: var(--ws-palette-dawn-base);
|
|
373
|
+
--ws-color-raised: var(--ws-palette-dawn-overlay);
|
|
374
|
+
--ws-color-selection: var(--ws-palette-dawn-highlight-med);
|
|
375
|
+
--ws-color-surface: var(--ws-palette-dawn-surface);
|
|
376
|
+
--ws-color-tag-bg: #2869831a;
|
|
377
|
+
--ws-color-tag-text: var(--ws-palette-dawn-pine);
|
|
378
|
+
--ws-color-text: var(--ws-palette-dawn-text);
|
|
379
|
+
--ws-color-text-faint: var(--ws-palette-dawn-subtle);
|
|
380
|
+
--ws-color-text-secondary: var(--ws-palette-dawn-text);
|
|
381
|
+
--ws-color-tip: var(--ws-palette-dawn-pine);
|
|
382
|
+
--ws-color-tip-text: var(--ws-palette-dawn-text);
|
|
383
|
+
--ws-color-tip-tint: #28698317;
|
|
384
|
+
--ws-color-warning: var(--ws-palette-dawn-gold);
|
|
385
|
+
--ws-color-warning-text: var(--ws-palette-dawn-text);
|
|
386
|
+
--ws-color-warning-tint: #ea9d3417;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
:root {
|
|
391
|
+
--ws-icon-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M8 7.4v3.4M8 5.1v.2'/%3E%3C/svg%3E");
|
|
392
|
+
--ws-icon-tip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.8a4.3 4.3 0 0 0-2.3 7.9v1.5h4.6V9.7A4.3 4.3 0 0 0 8 1.8ZM6.4 13.6h3.2'/%3E%3C/svg%3E");
|
|
393
|
+
--ws-icon-warning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.2 14.2 13H1.8ZM8 6.6v3M8 11.3v.2'/%3E%3C/svg%3E");
|
|
394
|
+
--ws-icon-danger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.4 1.8h5.2l3.6 3.6v5.2l-3.6 3.6H5.4l-3.6-3.6V5.4ZM8 5v3.6M8 10.9v.2'/%3E%3C/svg%3E");
|
|
395
|
+
--ws-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2 8 7 2 12'/%3E%3C/svg%3E");
|
|
396
|
+
--ws-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4.25 3H9v4.75'/%3E%3C/svg%3E");
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
*, :before, :after {
|
|
400
|
+
box-sizing: border-box;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
html {
|
|
404
|
+
background: var(--ws-color-bg);
|
|
405
|
+
-moz-text-size-adjust: 100%;
|
|
406
|
+
text-size-adjust: 100%;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
body {
|
|
410
|
+
background: var(--ws-color-bg);
|
|
411
|
+
color: var(--ws-color-text);
|
|
412
|
+
font-family: var(--ws-font-family-sans);
|
|
413
|
+
font-size: var(--ws-font-size-16);
|
|
414
|
+
line-height: var(--ws-font-line-height-relaxed);
|
|
415
|
+
-webkit-font-smoothing: antialiased;
|
|
416
|
+
margin: 0;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, pre {
|
|
420
|
+
margin: 0;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
ul, ol {
|
|
424
|
+
padding: 0;
|
|
425
|
+
list-style: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
a {
|
|
429
|
+
color: var(--ws-color-interactive);
|
|
430
|
+
text-underline-offset: .2em;
|
|
431
|
+
text-decoration-thickness: 1px;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
code, kbd, samp, pre {
|
|
435
|
+
font-family: var(--ws-font-family-mono);
|
|
436
|
+
font-variant-ligatures: none;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
:focus-visible {
|
|
440
|
+
border-radius: var(--ws-radius-sm);
|
|
441
|
+
outline: var(--ws-border-width-medium) solid var(--ws-color-interactive);
|
|
442
|
+
outline-offset: 3px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
::selection {
|
|
446
|
+
background: var(--ws-color-selection);
|
|
447
|
+
color: var(--ws-color-text);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.ws-prose, .vp-doc {
|
|
451
|
+
color: var(--ws-color-text);
|
|
452
|
+
font: var(--ws-text-body);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
:is(.ws-prose, .vp-doc) h1, :is(.ws-prose, .vp-doc) h2, :is(.ws-prose, .vp-doc) h3, :is(.ws-prose, .vp-doc) h4 {
|
|
456
|
+
color: var(--ws-color-text);
|
|
457
|
+
margin: 0;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
:is(.ws-prose, .vp-doc) h1 {
|
|
461
|
+
font: var(--ws-text-h1);
|
|
462
|
+
letter-spacing: var(--ws-text-h1-letter-spacing);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
:is(.ws-prose, .vp-doc) h2 {
|
|
466
|
+
margin-top: var(--ws-space-48);
|
|
467
|
+
padding: var(--ws-space-24) 0 0 calc(1ch + var(--ws-space-10));
|
|
468
|
+
border-top: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
469
|
+
font: var(--ws-text-h2);
|
|
470
|
+
letter-spacing: var(--ws-text-h2-letter-spacing);
|
|
471
|
+
scroll-margin-top: var(--ws-size-tab-bar);
|
|
472
|
+
position: relative;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
:is(.ws-prose, .vp-doc) h2:before {
|
|
476
|
+
top: var(--ws-space-24);
|
|
477
|
+
color: var(--ws-color-brand);
|
|
478
|
+
content: "#";
|
|
479
|
+
content: "#" / "";
|
|
480
|
+
position: absolute;
|
|
481
|
+
left: 0;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
:is(.ws-prose, .vp-doc) h3 {
|
|
485
|
+
margin-top: var(--ws-space-32);
|
|
486
|
+
font: var(--ws-text-h3);
|
|
487
|
+
letter-spacing: var(--ws-text-h3-letter-spacing);
|
|
488
|
+
scroll-margin-top: var(--ws-size-tab-bar);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
:is(.ws-prose, .vp-doc) h4 {
|
|
492
|
+
margin-top: var(--ws-space-24);
|
|
493
|
+
font: var(--ws-text-h4);
|
|
494
|
+
scroll-margin-top: var(--ws-size-tab-bar);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
:is(.ws-prose, .vp-doc) p, :is(.ws-prose, .vp-doc) ul, :is(.ws-prose, .vp-doc) ol, :is(.ws-prose, .vp-doc) dl, :is(.ws-prose, .vp-doc) blockquote {
|
|
498
|
+
margin: var(--ws-space-16) 0 0;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
:is(.ws-prose, .vp-doc) p {
|
|
502
|
+
line-height: var(--ws-text-body-line-height);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
:is(.ws-prose, .vp-doc) h1 + p {
|
|
506
|
+
margin-top: var(--ws-space-20);
|
|
507
|
+
font: var(--ws-text-lead);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
:is(.ws-prose, .vp-doc) strong, :is(.ws-prose, .vp-doc) b {
|
|
511
|
+
font-weight: var(--ws-font-weight-semibold);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
:is(.ws-prose, .vp-doc) a {
|
|
515
|
+
color: var(--ws-color-interactive);
|
|
516
|
+
font-weight: inherit;
|
|
517
|
+
text-underline-offset: .2em;
|
|
518
|
+
text-decoration: underline;
|
|
519
|
+
text-decoration-thickness: 1px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
:is(.ws-prose, .vp-doc) a:has( > code) {
|
|
523
|
+
text-decoration: none;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
:is(.ws-prose, .vp-doc) :not(pre) > code {
|
|
527
|
+
padding: var(--ws-space-2) var(--ws-space-6);
|
|
528
|
+
border-radius: var(--ws-radius-sm);
|
|
529
|
+
background: var(--ws-color-raised);
|
|
530
|
+
color: var(--ws-color-text);
|
|
531
|
+
font-family: var(--ws-font-family-mono);
|
|
532
|
+
font-variant-ligatures: none;
|
|
533
|
+
overflow-wrap: anywhere;
|
|
534
|
+
-webkit-box-decoration-break: clone;
|
|
535
|
+
box-decoration-break: clone;
|
|
536
|
+
font-size: .8125em;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
:is(.ws-prose, .vp-doc) a > code {
|
|
540
|
+
color: inherit;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
:is(.ws-prose, .vp-doc) ul, :is(.ws-prose, .vp-doc) ol {
|
|
544
|
+
padding: 0;
|
|
545
|
+
list-style: none;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
:is(.ws-prose, .vp-doc) li {
|
|
549
|
+
padding-left: var(--ws-space-20);
|
|
550
|
+
line-height: var(--ws-text-body-line-height);
|
|
551
|
+
position: relative;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
:is(.ws-prose, .vp-doc) li + li, :is(.ws-prose, .vp-doc) li > ul, :is(.ws-prose, .vp-doc) li > ol {
|
|
555
|
+
margin-top: var(--ws-space-8);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
:is(.ws-prose, .vp-doc) ul > li:before {
|
|
559
|
+
top: .72em;
|
|
560
|
+
left: var(--ws-space-2);
|
|
561
|
+
width: var(--ws-space-6);
|
|
562
|
+
height: var(--ws-space-6);
|
|
563
|
+
background: var(--ws-color-brand);
|
|
564
|
+
content: "";
|
|
565
|
+
position: absolute;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
:is(.ws-prose, .vp-doc) ol {
|
|
569
|
+
counter-reset: ws-item;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
:is(.ws-prose, .vp-doc) ol > li {
|
|
573
|
+
padding-left: var(--ws-space-32);
|
|
574
|
+
counter-increment: ws-item;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
:is(.ws-prose, .vp-doc) ol > li:before {
|
|
578
|
+
width: var(--ws-space-20);
|
|
579
|
+
color: var(--ws-color-text-secondary);
|
|
580
|
+
font-family: var(--ws-font-family-mono);
|
|
581
|
+
font-size: var(--ws-font-size-13);
|
|
582
|
+
font-variant-numeric: tabular-nums;
|
|
583
|
+
line-height: calc(var(--ws-text-body-line-height) * var(--ws-text-body-font-size));
|
|
584
|
+
text-align: right;
|
|
585
|
+
content: counter(ws-item);
|
|
586
|
+
position: absolute;
|
|
587
|
+
left: 0;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
:is(.ws-prose, .vp-doc) blockquote {
|
|
591
|
+
padding-left: var(--ws-space-16);
|
|
592
|
+
border-left: var(--ws-border-width-medium) solid var(--ws-color-border);
|
|
593
|
+
color: var(--ws-color-text-secondary);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
:is(.ws-prose, .vp-doc) blockquote > :first-child {
|
|
597
|
+
margin-top: 0;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
:is(.ws-prose, .vp-doc) hr {
|
|
601
|
+
margin: var(--ws-space-48) 0 0;
|
|
602
|
+
border: 0;
|
|
603
|
+
border-top: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
:is(.ws-prose, .vp-doc) img, :is(.ws-prose, .vp-doc) video {
|
|
607
|
+
max-width: 100%;
|
|
608
|
+
height: auto;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
:is(.ws-prose, .vp-doc) dt {
|
|
612
|
+
font-weight: var(--ws-font-weight-semibold);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
:is(.ws-prose, .vp-doc) dd {
|
|
616
|
+
margin: var(--ws-space-4) 0 0;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
:is(.ws-prose, .vp-doc) dd + dt {
|
|
620
|
+
margin-top: var(--ws-space-16);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
:is(.ws-prose, .vp-doc) .ws-table {
|
|
624
|
+
margin-top: var(--ws-space-16);
|
|
625
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
626
|
+
border-radius: var(--ws-radius-lg);
|
|
627
|
+
overflow-x: auto;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
:is(.ws-prose, .vp-doc) .ws-table > table {
|
|
631
|
+
border-collapse: collapse;
|
|
632
|
+
border: 0;
|
|
633
|
+
border-radius: 0;
|
|
634
|
+
width: 100%;
|
|
635
|
+
margin: 0;
|
|
636
|
+
display: table;
|
|
637
|
+
overflow: visible;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
:is(.ws-prose, .vp-doc) table {
|
|
641
|
+
width: fit-content;
|
|
642
|
+
max-width: 100%;
|
|
643
|
+
margin: var(--ws-space-16) 0 0;
|
|
644
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
645
|
+
border-radius: var(--ws-radius-lg);
|
|
646
|
+
border-spacing: 0;
|
|
647
|
+
font: var(--ws-text-body-sm);
|
|
648
|
+
display: block;
|
|
649
|
+
overflow-x: auto;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
:is(.ws-prose, .vp-doc) th, :is(.ws-prose, .vp-doc) td {
|
|
653
|
+
padding: var(--ws-space-10) var(--ws-space-16);
|
|
654
|
+
text-align: left;
|
|
655
|
+
vertical-align: top;
|
|
656
|
+
border: 0;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
:is(.ws-prose, .vp-doc) th {
|
|
660
|
+
background: var(--ws-color-surface);
|
|
661
|
+
color: var(--ws-color-text-secondary);
|
|
662
|
+
font: var(--ws-text-overline);
|
|
663
|
+
letter-spacing: var(--ws-text-overline-letter-spacing);
|
|
664
|
+
text-transform: uppercase;
|
|
665
|
+
white-space: nowrap;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
:is(.ws-prose, .vp-doc) td {
|
|
669
|
+
border-top: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
:is(.ws-prose, .vp-doc) tr {
|
|
673
|
+
background: none;
|
|
674
|
+
border: 0;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
:is(.ws-prose, .vp-doc) td:first-child:where(:not(.ws-table__text)), :is(.ws-prose, .vp-doc) :is(th, td) code {
|
|
678
|
+
white-space: nowrap;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
:is(.ws-prose, .vp-doc) .ws-table__text {
|
|
682
|
+
min-width: 10rem;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
:is(.ws-prose, .vp-doc) kbd {
|
|
686
|
+
min-width: 1.5em;
|
|
687
|
+
padding: 0 var(--ws-space-4);
|
|
688
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-border-strong);
|
|
689
|
+
border-radius: var(--ws-radius-xs);
|
|
690
|
+
color: var(--ws-color-text);
|
|
691
|
+
font-family: var(--ws-font-family-mono);
|
|
692
|
+
place-items: center;
|
|
693
|
+
font-size: .8125em;
|
|
694
|
+
line-height: 1.5;
|
|
695
|
+
display: inline-grid;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
:is(.ws-prose, .vp-doc) figcaption {
|
|
699
|
+
margin-top: var(--ws-space-8);
|
|
700
|
+
color: var(--ws-color-text-secondary);
|
|
701
|
+
font: var(--ws-text-caption);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
:is(.ws-prose, .vp-doc) details {
|
|
705
|
+
margin-top: var(--ws-space-16);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
:is(.ws-prose, .vp-doc) summary {
|
|
709
|
+
cursor: pointer;
|
|
710
|
+
font-weight: var(--ws-font-weight-semibold);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
:is(.ws-prose, .vp-doc) > :first-child {
|
|
714
|
+
margin-top: 0;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
@media (width < 64rem) {
|
|
718
|
+
:is(.ws-prose, .vp-doc) h1 {
|
|
719
|
+
font: var(--ws-text-h1-compact);
|
|
720
|
+
letter-spacing: var(--ws-text-h1-compact-letter-spacing);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
:is(.ws-prose, .vp-doc) h2 {
|
|
724
|
+
font: var(--ws-text-h2-compact);
|
|
725
|
+
letter-spacing: var(--ws-text-h2-compact-letter-spacing);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
:is(.ws-prose, .vp-doc) th, :is(.ws-prose, .vp-doc) td {
|
|
729
|
+
padding: var(--ws-space-8) var(--ws-space-10);
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
:is(.ws-prose, .vp-doc) table {
|
|
733
|
+
font-size: var(--ws-font-size-14);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.ws-prose pre {
|
|
738
|
+
margin: var(--ws-space-16) 0 0;
|
|
739
|
+
padding: var(--ws-space-16);
|
|
740
|
+
border: var(--ws-border-width-thin) solid var(--ws-code-border);
|
|
741
|
+
border-radius: var(--ws-radius-lg);
|
|
742
|
+
background: var(--ws-code-bg);
|
|
743
|
+
color: var(--ws-code-text);
|
|
744
|
+
font: var(--ws-text-code);
|
|
745
|
+
font-variant-ligatures: none;
|
|
746
|
+
tab-size: 2;
|
|
747
|
+
overflow-x: auto;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.ws-prose pre > code {
|
|
751
|
+
font: inherit;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.ws-crumb {
|
|
755
|
+
color: var(--ws-color-text-secondary);
|
|
756
|
+
font: var(--ws-text-caption);
|
|
757
|
+
margin: 0;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.ws-crumb > * + :before {
|
|
761
|
+
margin-inline: var(--ws-space-4);
|
|
762
|
+
color: var(--ws-color-text-faint);
|
|
763
|
+
content: "/";
|
|
764
|
+
content: "/" / "";
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.ws-crumb + h1 {
|
|
768
|
+
margin-top: var(--ws-space-12);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.ws-code {
|
|
772
|
+
margin: var(--ws-space-16) 0 0;
|
|
773
|
+
border: var(--ws-border-width-thin) solid var(--ws-code-border);
|
|
774
|
+
border-radius: var(--ws-radius-lg);
|
|
775
|
+
background: var(--ws-code-bg);
|
|
776
|
+
color: var(--ws-code-text);
|
|
777
|
+
overflow: hidden;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.ws-code > figcaption {
|
|
781
|
+
justify-content: space-between;
|
|
782
|
+
align-items: center;
|
|
783
|
+
gap: var(--ws-space-16);
|
|
784
|
+
height: 2.25rem;
|
|
785
|
+
padding-inline: var(--ws-space-16);
|
|
786
|
+
border-bottom: var(--ws-border-width-thin) solid var(--ws-code-border);
|
|
787
|
+
background: var(--ws-code-header-bg);
|
|
788
|
+
color: var(--ws-code-text-secondary);
|
|
789
|
+
font: var(--ws-text-caption);
|
|
790
|
+
margin: 0;
|
|
791
|
+
display: flex;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.ws-code > pre {
|
|
795
|
+
padding: var(--ws-space-16);
|
|
796
|
+
color: inherit;
|
|
797
|
+
font: var(--ws-text-code);
|
|
798
|
+
font-variant-ligatures: none;
|
|
799
|
+
tab-size: 2;
|
|
800
|
+
background: none;
|
|
801
|
+
border: 0;
|
|
802
|
+
border-radius: 0;
|
|
803
|
+
margin: 0;
|
|
804
|
+
overflow-x: auto;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.ws-code code {
|
|
808
|
+
font: inherit;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.ws-code ::selection {
|
|
812
|
+
background: var(--ws-code-selection);
|
|
813
|
+
color: var(--ws-code-text);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.ws-code > pre, .ws-prose pre {
|
|
817
|
+
--lightningcss-light: ;
|
|
818
|
+
--lightningcss-dark: initial;
|
|
819
|
+
color-scheme: dark;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.ws-callout {
|
|
823
|
+
--ws-callout-tone: var(--ws-color-note);
|
|
824
|
+
--ws-callout-label: var(--ws-color-note-text);
|
|
825
|
+
--ws-callout-tint: var(--ws-color-note-tint);
|
|
826
|
+
--ws-callout-icon: var(--ws-icon-note);
|
|
827
|
+
margin: var(--ws-space-20) 0 0;
|
|
828
|
+
padding: var(--ws-space-14) var(--ws-space-16) var(--ws-space-16);
|
|
829
|
+
border-left: var(--ws-border-width-thick) solid var(--ws-callout-tone);
|
|
830
|
+
border-radius: 0 var(--ws-radius-lg) var(--ws-radius-lg) 0;
|
|
831
|
+
background: var(--ws-callout-tint);
|
|
832
|
+
color: var(--ws-color-text);
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.ws-callout--tip {
|
|
836
|
+
--ws-callout-tone: var(--ws-color-tip);
|
|
837
|
+
--ws-callout-label: var(--ws-color-tip-text);
|
|
838
|
+
--ws-callout-tint: var(--ws-color-tip-tint);
|
|
839
|
+
--ws-callout-icon: var(--ws-icon-tip);
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.ws-callout--warning {
|
|
843
|
+
--ws-callout-tone: var(--ws-color-warning);
|
|
844
|
+
--ws-callout-label: var(--ws-color-warning-text);
|
|
845
|
+
--ws-callout-tint: var(--ws-color-warning-tint);
|
|
846
|
+
--ws-callout-icon: var(--ws-icon-warning);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.ws-callout--danger {
|
|
850
|
+
--ws-callout-tone: var(--ws-color-danger);
|
|
851
|
+
--ws-callout-label: var(--ws-color-danger-text);
|
|
852
|
+
--ws-callout-tint: var(--ws-color-danger-tint);
|
|
853
|
+
--ws-callout-icon: var(--ws-icon-danger);
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.ws-callout__title {
|
|
857
|
+
align-items: center;
|
|
858
|
+
gap: var(--ws-space-8);
|
|
859
|
+
color: var(--ws-callout-label);
|
|
860
|
+
font: var(--ws-text-overline);
|
|
861
|
+
letter-spacing: var(--ws-text-overline-letter-spacing);
|
|
862
|
+
text-transform: uppercase;
|
|
863
|
+
margin: 0;
|
|
864
|
+
display: flex;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.ws-callout__title:before {
|
|
868
|
+
content: "";
|
|
869
|
+
width: 1rem;
|
|
870
|
+
height: 1rem;
|
|
871
|
+
-webkit-mask: var(--ws-callout-icon) center / contain no-repeat;
|
|
872
|
+
mask: var(--ws-callout-icon) center / contain no-repeat;
|
|
873
|
+
background: currentColor;
|
|
874
|
+
flex: none;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.ws-callout > p {
|
|
878
|
+
margin: var(--ws-space-6) 0 0;
|
|
879
|
+
line-height: var(--ws-text-body-line-height);
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.ws-callout > .ws-callout__title {
|
|
883
|
+
line-height: var(--ws-text-overline-line-height);
|
|
884
|
+
margin: 0;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.ws-term {
|
|
888
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
889
|
+
border-radius: var(--ws-radius-xl);
|
|
890
|
+
background: var(--ws-color-surface);
|
|
891
|
+
color: var(--ws-color-text);
|
|
892
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
893
|
+
grid-template-columns: minmax(0, 1fr);
|
|
894
|
+
display: grid;
|
|
895
|
+
overflow: hidden;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.ws-tab-bar {
|
|
899
|
+
align-items: stretch;
|
|
900
|
+
gap: var(--ws-space-32);
|
|
901
|
+
min-height: var(--ws-size-tab-bar);
|
|
902
|
+
padding-inline: var(--ws-space-20);
|
|
903
|
+
border-bottom: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
904
|
+
background: var(--ws-color-bg);
|
|
905
|
+
color: var(--ws-color-text-secondary);
|
|
906
|
+
font: var(--ws-text-label);
|
|
907
|
+
display: flex;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.ws-tab-bar__brand {
|
|
911
|
+
align-items: center;
|
|
912
|
+
gap: var(--ws-space-10);
|
|
913
|
+
color: var(--ws-color-text);
|
|
914
|
+
font-weight: var(--ws-font-weight-extrabold);
|
|
915
|
+
letter-spacing: -.02em;
|
|
916
|
+
white-space: nowrap;
|
|
917
|
+
flex: none;
|
|
918
|
+
text-decoration: none;
|
|
919
|
+
display: flex;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.ws-tab-bar__brand a {
|
|
923
|
+
color: inherit;
|
|
924
|
+
text-decoration: none;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.ws-tabs, .ws-tabs ul {
|
|
928
|
+
align-items: stretch;
|
|
929
|
+
margin: 0;
|
|
930
|
+
padding: 0;
|
|
931
|
+
list-style: none;
|
|
932
|
+
display: flex;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.ws-tabs ul {
|
|
936
|
+
counter-reset: ws-tab;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.ws-tabs li {
|
|
940
|
+
counter-increment: ws-tab;
|
|
941
|
+
display: flex;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.ws-tabs a {
|
|
945
|
+
align-items: center;
|
|
946
|
+
gap: var(--ws-space-8);
|
|
947
|
+
padding-inline: var(--ws-space-16);
|
|
948
|
+
border-inline: var(--ws-border-width-thin) solid transparent;
|
|
949
|
+
color: var(--ws-color-text-secondary);
|
|
950
|
+
white-space: nowrap;
|
|
951
|
+
text-decoration: none;
|
|
952
|
+
display: flex;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.ws-tabs a:before {
|
|
956
|
+
color: var(--ws-color-text-faint);
|
|
957
|
+
font-weight: var(--ws-font-weight-bold);
|
|
958
|
+
content: counter(ws-tab);
|
|
959
|
+
content: counter(ws-tab) / "";
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
[data-ws-keys="off"] .ws-tabs a:before {
|
|
963
|
+
content: none;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.ws-tabs a:hover {
|
|
967
|
+
color: var(--ws-color-text);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.ws-tabs a[aria-current]:not([aria-current="false"]) {
|
|
971
|
+
border-color: var(--ws-color-border);
|
|
972
|
+
background: var(--ws-color-surface);
|
|
973
|
+
box-shadow: inset 0 var(--ws-border-width-medium) 0 var(--ws-color-brand);
|
|
974
|
+
color: var(--ws-color-text);
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.ws-tabs a[aria-current]:not([aria-current="false"]):before {
|
|
978
|
+
color: var(--ws-color-brand);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.ws-tab-bar__end {
|
|
982
|
+
align-items: center;
|
|
983
|
+
gap: var(--ws-space-24);
|
|
984
|
+
white-space: nowrap;
|
|
985
|
+
margin-left: auto;
|
|
986
|
+
display: flex;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.ws-tab-bar__end a {
|
|
990
|
+
color: var(--ws-color-text-secondary);
|
|
991
|
+
align-items: center;
|
|
992
|
+
text-decoration: none;
|
|
993
|
+
display: flex;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.ws-tab-bar__end a:hover {
|
|
997
|
+
color: var(--ws-color-text);
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.ws-arrow:after {
|
|
1001
|
+
content: "";
|
|
1002
|
+
width: .75em;
|
|
1003
|
+
height: .75em;
|
|
1004
|
+
-webkit-mask: var(--ws-icon-arrow) center / contain no-repeat;
|
|
1005
|
+
mask: var(--ws-icon-arrow) center / contain no-repeat;
|
|
1006
|
+
background: currentColor;
|
|
1007
|
+
margin-left: .375em;
|
|
1008
|
+
display: inline-block;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.ws-prompt {
|
|
1012
|
+
align-items: center;
|
|
1013
|
+
gap: var(--ws-space-10);
|
|
1014
|
+
color: var(--ws-color-text);
|
|
1015
|
+
font: var(--ws-text-label);
|
|
1016
|
+
font-variant-ligatures: none;
|
|
1017
|
+
margin: 0;
|
|
1018
|
+
display: flex;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.ws-prompt:before {
|
|
1022
|
+
background: var(--ws-color-brand);
|
|
1023
|
+
content: "";
|
|
1024
|
+
width: .625em;
|
|
1025
|
+
height: .875em;
|
|
1026
|
+
-webkit-mask: var(--ws-icon-chevron) center / contain no-repeat;
|
|
1027
|
+
mask: var(--ws-icon-chevron) center / contain no-repeat;
|
|
1028
|
+
flex: none;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.ws-prompt a {
|
|
1032
|
+
color: var(--ws-color-interactive);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.ws-prompt__comment {
|
|
1036
|
+
color: var(--ws-color-text-secondary);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.ws-output {
|
|
1040
|
+
margin: var(--ws-space-24) 0 0;
|
|
1041
|
+
padding-left: var(--ws-space-16);
|
|
1042
|
+
border-left: var(--ws-border-width-medium) solid var(--ws-color-border);
|
|
1043
|
+
color: var(--ws-color-text-secondary);
|
|
1044
|
+
font: var(--ws-text-body-sm);
|
|
1045
|
+
line-height: var(--ws-font-line-height-loose);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.ws-output > * + * {
|
|
1049
|
+
margin-top: var(--ws-space-14);
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.ws-output strong {
|
|
1053
|
+
color: var(--ws-color-text);
|
|
1054
|
+
font-weight: var(--ws-font-weight-semibold);
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
.ws-cursor {
|
|
1058
|
+
background: var(--ws-color-brand);
|
|
1059
|
+
border-radius: 2px;
|
|
1060
|
+
flex: none;
|
|
1061
|
+
width: .52em;
|
|
1062
|
+
height: .94em;
|
|
1063
|
+
display: inline-block;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.ws-kbd {
|
|
1067
|
+
min-width: 1.125rem;
|
|
1068
|
+
height: 1.125rem;
|
|
1069
|
+
padding-inline: var(--ws-space-4);
|
|
1070
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-border-strong);
|
|
1071
|
+
border-radius: var(--ws-radius-xs);
|
|
1072
|
+
color: var(--ws-color-text);
|
|
1073
|
+
font-family: var(--ws-font-family-mono);
|
|
1074
|
+
font-size: var(--ws-font-size-11);
|
|
1075
|
+
place-items: center;
|
|
1076
|
+
font-style: normal;
|
|
1077
|
+
line-height: 1;
|
|
1078
|
+
display: inline-grid;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.ws-tag {
|
|
1082
|
+
padding: var(--ws-space-2) var(--ws-space-8);
|
|
1083
|
+
border-radius: var(--ws-radius-sm);
|
|
1084
|
+
background: var(--ws-color-tag-bg);
|
|
1085
|
+
color: var(--ws-color-tag-text);
|
|
1086
|
+
font: var(--ws-text-label-sm);
|
|
1087
|
+
white-space: nowrap;
|
|
1088
|
+
align-items: center;
|
|
1089
|
+
display: inline-flex;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.ws-tag--outline {
|
|
1093
|
+
padding: calc(var(--ws-space-4) - var(--ws-border-width-thin)) var(--ws-space-10);
|
|
1094
|
+
border: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
1095
|
+
color: var(--ws-color-text);
|
|
1096
|
+
background: none;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.ws-state {
|
|
1100
|
+
align-items: center;
|
|
1101
|
+
gap: var(--ws-space-8);
|
|
1102
|
+
color: var(--ws-color-text-secondary);
|
|
1103
|
+
font: var(--ws-text-caption);
|
|
1104
|
+
font-weight: var(--ws-font-weight-medium);
|
|
1105
|
+
display: inline-flex;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.ws-state:before {
|
|
1109
|
+
border-radius: var(--ws-radius-full);
|
|
1110
|
+
background: var(--ws-color-text-faint);
|
|
1111
|
+
content: "";
|
|
1112
|
+
flex: none;
|
|
1113
|
+
width: .4375rem;
|
|
1114
|
+
height: .4375rem;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.ws-state--active:before {
|
|
1118
|
+
background: var(--ws-color-tip);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.ws-state--experimental:before {
|
|
1122
|
+
background: var(--ws-color-warning);
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.ws-status-line {
|
|
1126
|
+
min-height: var(--ws-size-status-line);
|
|
1127
|
+
border-top: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
1128
|
+
background: var(--ws-color-bg);
|
|
1129
|
+
color: var(--ws-color-text-secondary);
|
|
1130
|
+
font: var(--ws-text-caption);
|
|
1131
|
+
white-space: nowrap;
|
|
1132
|
+
align-items: stretch;
|
|
1133
|
+
display: flex;
|
|
1134
|
+
overflow: hidden;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.ws-status-line__mode, .ws-status-line__file, .ws-status-line__item {
|
|
1138
|
+
align-items: center;
|
|
1139
|
+
gap: var(--ws-space-6);
|
|
1140
|
+
padding-inline: var(--ws-space-14);
|
|
1141
|
+
flex: none;
|
|
1142
|
+
display: flex;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.ws-status-line__mode {
|
|
1146
|
+
background: var(--ws-color-brand-fill);
|
|
1147
|
+
color: var(--ws-color-on-brand);
|
|
1148
|
+
font-weight: var(--ws-font-weight-extrabold);
|
|
1149
|
+
letter-spacing: .04em;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.ws-status-line__file {
|
|
1153
|
+
background: var(--ws-color-raised);
|
|
1154
|
+
min-width: 0;
|
|
1155
|
+
color: var(--ws-color-text);
|
|
1156
|
+
flex: 0 auto;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.ws-status-line__file > span {
|
|
1160
|
+
text-overflow: ellipsis;
|
|
1161
|
+
overflow: hidden;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.ws-status-line__item--edge {
|
|
1165
|
+
border-left: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
[data-theme="dark"] .ws-status-line__item--light, [data-theme="light"] .ws-status-line__item--dark {
|
|
1169
|
+
display: none;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
@media (prefers-color-scheme: light) {
|
|
1173
|
+
:root:not([data-theme]) .ws-status-line__item--dark {
|
|
1174
|
+
display: none;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
@media not (prefers-color-scheme: light) {
|
|
1179
|
+
:root:not([data-theme]) .ws-status-line__item--light {
|
|
1180
|
+
display: none;
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
.ws-status-line__keys {
|
|
1185
|
+
align-items: stretch;
|
|
1186
|
+
gap: var(--ws-space-20);
|
|
1187
|
+
padding-inline: var(--ws-space-14);
|
|
1188
|
+
flex: none;
|
|
1189
|
+
margin-left: auto;
|
|
1190
|
+
display: none;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
[data-ws-keys] .ws-status-line__keys {
|
|
1194
|
+
display: flex;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
[data-ws-keys="off"] .ws-status-line__keys .ws-kbd {
|
|
1198
|
+
display: none;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.ws-status-line__spacer {
|
|
1202
|
+
flex: 1;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.ws-status-line__keys > * {
|
|
1206
|
+
align-items: center;
|
|
1207
|
+
gap: var(--ws-space-6);
|
|
1208
|
+
display: flex;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.ws-status-line__keys :is(button, a) {
|
|
1212
|
+
align-items: center;
|
|
1213
|
+
gap: var(--ws-space-6);
|
|
1214
|
+
color: inherit;
|
|
1215
|
+
font: inherit;
|
|
1216
|
+
cursor: pointer;
|
|
1217
|
+
background: none;
|
|
1218
|
+
border: 0;
|
|
1219
|
+
margin: 0;
|
|
1220
|
+
padding: 0;
|
|
1221
|
+
text-decoration: none;
|
|
1222
|
+
display: flex;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.ws-status-line__keys :is(button, a):hover {
|
|
1226
|
+
color: var(--ws-color-text);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.ws-status-line__keys :is(button, a):focus-visible {
|
|
1230
|
+
outline-offset: 2px;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.ws-status-line__switch {
|
|
1234
|
+
align-items: center;
|
|
1235
|
+
gap: var(--ws-space-6);
|
|
1236
|
+
padding: 0 var(--ws-space-14);
|
|
1237
|
+
border: 0;
|
|
1238
|
+
border-left: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
1239
|
+
color: inherit;
|
|
1240
|
+
font: inherit;
|
|
1241
|
+
cursor: pointer;
|
|
1242
|
+
background: none;
|
|
1243
|
+
flex: none;
|
|
1244
|
+
margin: 0;
|
|
1245
|
+
display: none;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.ws-status-line__switch[aria-checked] {
|
|
1249
|
+
display: flex;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.ws-status-line__switch:hover, .ws-status-line__on, .ws-status-line__off {
|
|
1253
|
+
color: var(--ws-color-text);
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.ws-status-line__switch[aria-checked="true"] .ws-status-line__off, .ws-status-line__switch[aria-checked="false"] .ws-status-line__on {
|
|
1257
|
+
display: none;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
.ws-status-line__switch:focus-visible {
|
|
1261
|
+
outline-offset: calc(-1 * var(--ws-border-width-medium));
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
@media (width < 64rem) {
|
|
1265
|
+
.ws-tab-bar {
|
|
1266
|
+
flex-wrap: wrap;
|
|
1267
|
+
gap: 0;
|
|
1268
|
+
padding-inline: 0;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
.ws-tab-bar__brand {
|
|
1272
|
+
min-height: 2.75rem;
|
|
1273
|
+
padding-left: var(--ws-space-16);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.ws-tab-bar__end {
|
|
1277
|
+
padding-right: var(--ws-space-16);
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.ws-tabs {
|
|
1281
|
+
border-top: var(--ws-border-width-thin) solid var(--ws-color-border);
|
|
1282
|
+
flex-basis: 100%;
|
|
1283
|
+
order: 3;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
.ws-tabs ul, .ws-tabs li {
|
|
1287
|
+
flex: 1;
|
|
1288
|
+
min-width: 0;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.ws-tabs a {
|
|
1292
|
+
min-width: 0;
|
|
1293
|
+
min-height: 2.5rem;
|
|
1294
|
+
padding-inline: var(--ws-space-8);
|
|
1295
|
+
flex: 1;
|
|
1296
|
+
justify-content: center;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
.ws-tabs li:first-child a[aria-current] {
|
|
1300
|
+
border-left-color: #0000;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.ws-tabs li:last-child a[aria-current] {
|
|
1304
|
+
border-right-color: #0000;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
[data-ws-keys] .ws-status-line__keys, .ws-status-line__item--wide {
|
|
1308
|
+
display: none;
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
ws-ghost {
|
|
1313
|
+
color: var(--ws-color-text);
|
|
1314
|
+
vertical-align: middle;
|
|
1315
|
+
flex: none;
|
|
1316
|
+
line-height: 0;
|
|
1317
|
+
display: inline-flex;
|
|
1318
|
+
position: relative;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
.ws-ghost__button {
|
|
1322
|
+
border-radius: var(--ws-radius-sm);
|
|
1323
|
+
color: inherit;
|
|
1324
|
+
cursor: pointer;
|
|
1325
|
+
background: none;
|
|
1326
|
+
border: 0;
|
|
1327
|
+
margin: 0;
|
|
1328
|
+
padding: 0;
|
|
1329
|
+
line-height: 0;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
.ws-ghost__sprite {
|
|
1333
|
+
display: block;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
.ws-ghost__body {
|
|
1337
|
+
fill: currentColor;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
.ws-ghost__tongue {
|
|
1341
|
+
fill: var(--ws-color-brand);
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
.ws-ghost__bubble {
|
|
1345
|
+
z-index: 1000;
|
|
1346
|
+
pointer-events: none;
|
|
1347
|
+
background: none;
|
|
1348
|
+
border: 0;
|
|
1349
|
+
width: max-content;
|
|
1350
|
+
margin: 0;
|
|
1351
|
+
padding: 0;
|
|
1352
|
+
line-height: 0;
|
|
1353
|
+
position: fixed;
|
|
1354
|
+
inset: auto;
|
|
1355
|
+
overflow: visible;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
.ws-ghost__bubble:not(:popover-open, [data-open]) {
|
|
1359
|
+
display: none;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
.ws-ghost__bubble svg {
|
|
1363
|
+
display: block;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
.ws-ghost__bubble-shape {
|
|
1367
|
+
fill: var(--ws-color-text);
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
.ws-ghost__bubble-text {
|
|
1371
|
+
fill: var(--ws-color-bg);
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1375
|
+
.ws-ghost__bubble svg {
|
|
1376
|
+
transform-origin: 0 100%;
|
|
1377
|
+
animation: ws-ghost-pop var(--ws-motion-duration-base) steps(4, end);
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
.ws-ghost__bubble[data-side="below"] svg {
|
|
1381
|
+
transform-origin: 0 0;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
@keyframes ws-ghost-pop {
|
|
1386
|
+
from {
|
|
1387
|
+
opacity: 0;
|
|
1388
|
+
transform: scale(.5);
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
.ws-ghost__live {
|
|
1393
|
+
clip-path: inset(50%);
|
|
1394
|
+
white-space: nowrap;
|
|
1395
|
+
width: 1px;
|
|
1396
|
+
height: 1px;
|
|
1397
|
+
position: absolute;
|
|
1398
|
+
overflow: hidden;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
.ws-ghost__button:focus-visible {
|
|
1402
|
+
outline: var(--ws-border-width-medium) solid var(--ws-color-interactive);
|
|
1403
|
+
outline-offset: 3px;
|
|
1404
|
+
}
|