@whatsaaaa/design-system 0.0.0-stage → 0.1.0
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/LICENSE +51 -0
- package/README.md +150 -2
- 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 +62 -0
- package/dist/shortcuts/index.js +169 -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 +162 -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/tokens.css
ADDED
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
/* -------------------------------------------
|
|
2
|
+
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
3
|
+
* ------------------------------------------- */
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Whatsaaaa design tokens.
|
|
7
|
+
*
|
|
8
|
+
* The --ws-palette-* colors are the Rosé Pine palette (https://rosepinetheme.com),
|
|
9
|
+
* main and dawn variants, from @rose-pine/palette.
|
|
10
|
+
* Copyright (c) mvllow, MIT License. The full text is in licenses/rose-pine-palette.LICENSE.
|
|
11
|
+
*
|
|
12
|
+
* Dark is the default. Light applies when the system asks for it, and data-theme="dark" or
|
|
13
|
+
* data-theme="light" on any element overrides both for that element and everything inside it.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
:root {
|
|
17
|
+
/* Active markers and the focus ring. */
|
|
18
|
+
--ws-border-width-medium: 2px;
|
|
19
|
+
/* The bar of a callout. */
|
|
20
|
+
--ws-border-width-thick: 3px;
|
|
21
|
+
/* Dividers and outlines. */
|
|
22
|
+
--ws-border-width-thin: 1px;
|
|
23
|
+
--ws-code-bg: var(--ws-palette-main-surface);
|
|
24
|
+
--ws-code-border: var(--ws-palette-main-highlight-med);
|
|
25
|
+
--ws-code-header-bg: var(--ws-palette-main-base);
|
|
26
|
+
/* An added line in a diff. */
|
|
27
|
+
--ws-code-line-added: #9ccfd824;
|
|
28
|
+
/* A highlighted line. */
|
|
29
|
+
--ws-code-line-highlight: #403d5280;
|
|
30
|
+
/* A removed line in a diff. */
|
|
31
|
+
--ws-code-line-removed: #eb6f9224;
|
|
32
|
+
--ws-code-selection: var(--ws-palette-main-highlight-high);
|
|
33
|
+
--ws-code-text: var(--ws-palette-main-text);
|
|
34
|
+
/* File name, language and line numbers. */
|
|
35
|
+
--ws-code-text-secondary: var(--ws-palette-main-subtle);
|
|
36
|
+
/* The voice: headings, labels, navigation and code. */
|
|
37
|
+
--ws-font-family-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
|
|
38
|
+
/* Long-form text and form values. */
|
|
39
|
+
--ws-font-family-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
40
|
+
--ws-font-line-height-loose: 1.75;
|
|
41
|
+
--ws-font-line-height-none: 1;
|
|
42
|
+
--ws-font-line-height-normal: 1.5;
|
|
43
|
+
--ws-font-line-height-relaxed: 1.65;
|
|
44
|
+
--ws-font-line-height-snug: 1.3;
|
|
45
|
+
--ws-font-line-height-tight: 1.1;
|
|
46
|
+
--ws-font-size-11: 0.6875rem;
|
|
47
|
+
--ws-font-size-12: 0.75rem;
|
|
48
|
+
--ws-font-size-13: 0.8125rem;
|
|
49
|
+
--ws-font-size-14: 0.875rem;
|
|
50
|
+
--ws-font-size-15: 0.9375rem;
|
|
51
|
+
--ws-font-size-16: 1rem;
|
|
52
|
+
--ws-font-size-17: 1.0625rem;
|
|
53
|
+
--ws-font-size-18: 1.125rem;
|
|
54
|
+
--ws-font-size-20: 1.25rem;
|
|
55
|
+
--ws-font-size-22: 1.375rem;
|
|
56
|
+
--ws-font-size-32: 2rem;
|
|
57
|
+
--ws-font-size-40: 2.5rem;
|
|
58
|
+
--ws-font-size-64: 4rem;
|
|
59
|
+
--ws-font-weight-bold: 700;
|
|
60
|
+
--ws-font-weight-extrabold: 800;
|
|
61
|
+
--ws-font-weight-medium: 500;
|
|
62
|
+
--ws-font-weight-regular: 400;
|
|
63
|
+
--ws-font-weight-semibold: 600;
|
|
64
|
+
--ws-mark-body: var(--ws-palette-main-text);
|
|
65
|
+
--ws-mark-tile: var(--ws-palette-main-overlay);
|
|
66
|
+
/* The love element of the ghost and of every project sprite. */
|
|
67
|
+
--ws-mark-tongue: var(--ws-palette-main-love);
|
|
68
|
+
/* Small things appearing, such as the speech bubble. */
|
|
69
|
+
--ws-motion-duration-base: 160ms;
|
|
70
|
+
/* Hover and focus changes. */
|
|
71
|
+
--ws-motion-duration-fast: 120ms;
|
|
72
|
+
/* Panels and drawers. */
|
|
73
|
+
--ws-motion-duration-slow: 240ms;
|
|
74
|
+
/* Leaving the screen. */
|
|
75
|
+
--ws-motion-easing-in: cubic-bezier(0.4, 0, 1, 1);
|
|
76
|
+
/* Entering the screen. */
|
|
77
|
+
--ws-motion-easing-out: cubic-bezier(0, 0, 0.2, 1);
|
|
78
|
+
/* Most movement. */
|
|
79
|
+
--ws-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
80
|
+
--ws-palette-dawn-base: #faf4ed;
|
|
81
|
+
--ws-palette-dawn-foam: #56949f;
|
|
82
|
+
--ws-palette-dawn-gold: #ea9d34;
|
|
83
|
+
--ws-palette-dawn-highlight-high: #cecacd;
|
|
84
|
+
--ws-palette-dawn-highlight-low: #f4ede8;
|
|
85
|
+
--ws-palette-dawn-highlight-med: #dfdad9;
|
|
86
|
+
--ws-palette-dawn-iris: #907aa9;
|
|
87
|
+
--ws-palette-dawn-love: #b4637a;
|
|
88
|
+
--ws-palette-dawn-muted: #9893a5;
|
|
89
|
+
--ws-palette-dawn-overlay: #f2e9e1;
|
|
90
|
+
--ws-palette-dawn-pine: #286983;
|
|
91
|
+
--ws-palette-dawn-rose: #d7827e;
|
|
92
|
+
--ws-palette-dawn-subtle: #797593;
|
|
93
|
+
--ws-palette-dawn-surface: #fffaf3;
|
|
94
|
+
--ws-palette-dawn-text: #575279;
|
|
95
|
+
--ws-palette-main-base: #191724;
|
|
96
|
+
--ws-palette-main-foam: #9ccfd8;
|
|
97
|
+
--ws-palette-main-gold: #f6c177;
|
|
98
|
+
--ws-palette-main-highlight-high: #524f67;
|
|
99
|
+
--ws-palette-main-highlight-low: #21202e;
|
|
100
|
+
--ws-palette-main-highlight-med: #403d52;
|
|
101
|
+
--ws-palette-main-iris: #c4a7e7;
|
|
102
|
+
--ws-palette-main-love: #eb6f92;
|
|
103
|
+
--ws-palette-main-muted: #6e6a86;
|
|
104
|
+
--ws-palette-main-overlay: #26233a;
|
|
105
|
+
--ws-palette-main-pine: #31748f;
|
|
106
|
+
--ws-palette-main-rose: #ebbcba;
|
|
107
|
+
--ws-palette-main-subtle: #908caa;
|
|
108
|
+
--ws-palette-main-surface: #1f1d2e;
|
|
109
|
+
--ws-palette-main-text: #e0def4;
|
|
110
|
+
/* Dots and pills. */
|
|
111
|
+
--ws-radius-full: 9999px;
|
|
112
|
+
/* Code blocks, callouts, tables and cards. */
|
|
113
|
+
--ws-radius-lg: 8px;
|
|
114
|
+
/* Inputs and buttons. */
|
|
115
|
+
--ws-radius-md: 6px;
|
|
116
|
+
/* Inline code, tags and the focus ring. */
|
|
117
|
+
--ws-radius-sm: 4px;
|
|
118
|
+
/* The terminal frame. */
|
|
119
|
+
--ws-radius-xl: 12px;
|
|
120
|
+
/* Key caps. */
|
|
121
|
+
--ws-radius-xs: 3px;
|
|
122
|
+
/* Widest a column of long-form text gets, padding included. */
|
|
123
|
+
--ws-size-content: 50rem;
|
|
124
|
+
/* Widest a page frame gets. */
|
|
125
|
+
--ws-size-frame: 90rem;
|
|
126
|
+
/* Page outline. */
|
|
127
|
+
--ws-size-outline: 15rem;
|
|
128
|
+
/* Side navigation. */
|
|
129
|
+
--ws-size-sidebar: 17rem;
|
|
130
|
+
/* Height of the status line. */
|
|
131
|
+
--ws-size-status-line: 2rem;
|
|
132
|
+
/* Height of the tab bar. */
|
|
133
|
+
--ws-size-tab-bar: 3rem;
|
|
134
|
+
--ws-space-2: 0.125rem;
|
|
135
|
+
--ws-space-4: 0.25rem;
|
|
136
|
+
--ws-space-6: 0.375rem;
|
|
137
|
+
--ws-space-8: 0.5rem;
|
|
138
|
+
--ws-space-10: 0.625rem;
|
|
139
|
+
--ws-space-12: 0.75rem;
|
|
140
|
+
--ws-space-14: 0.875rem;
|
|
141
|
+
--ws-space-16: 1rem;
|
|
142
|
+
--ws-space-20: 1.25rem;
|
|
143
|
+
--ws-space-24: 1.5rem;
|
|
144
|
+
--ws-space-32: 2rem;
|
|
145
|
+
--ws-space-40: 2.5rem;
|
|
146
|
+
--ws-space-48: 3rem;
|
|
147
|
+
--ws-space-56: 3.5rem;
|
|
148
|
+
--ws-space-64: 4rem;
|
|
149
|
+
--ws-syntax-comment: var(--ws-palette-main-subtle);
|
|
150
|
+
--ws-syntax-constant: var(--ws-palette-main-iris);
|
|
151
|
+
--ws-syntax-function: var(--ws-palette-main-rose);
|
|
152
|
+
--ws-syntax-keyword: var(--ws-palette-main-love);
|
|
153
|
+
--ws-syntax-punctuation: var(--ws-palette-main-subtle);
|
|
154
|
+
--ws-syntax-string: var(--ws-palette-main-gold);
|
|
155
|
+
--ws-syntax-type: var(--ws-palette-main-foam);
|
|
156
|
+
/* Long-form text. */
|
|
157
|
+
--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);
|
|
158
|
+
/* Long-form text. */
|
|
159
|
+
--ws-text-body-font-family: var(--ws-font-family-sans);
|
|
160
|
+
/* Long-form text. */
|
|
161
|
+
--ws-text-body-font-size: 1rem;
|
|
162
|
+
/* Long-form text. */
|
|
163
|
+
--ws-text-body-font-weight: 400;
|
|
164
|
+
/* Long-form text. */
|
|
165
|
+
--ws-text-body-letter-spacing: 0rem;
|
|
166
|
+
/* Long-form text. */
|
|
167
|
+
--ws-text-body-line-height: 1.75;
|
|
168
|
+
/* Descriptions and table cells. */
|
|
169
|
+
--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);
|
|
170
|
+
/* Descriptions and table cells. */
|
|
171
|
+
--ws-text-body-sm-font-family: var(--ws-font-family-sans);
|
|
172
|
+
/* Descriptions and table cells. */
|
|
173
|
+
--ws-text-body-sm-font-size: 0.9375rem;
|
|
174
|
+
/* Descriptions and table cells. */
|
|
175
|
+
--ws-text-body-sm-font-weight: 400;
|
|
176
|
+
/* Descriptions and table cells. */
|
|
177
|
+
--ws-text-body-sm-letter-spacing: 0rem;
|
|
178
|
+
/* Descriptions and table cells. */
|
|
179
|
+
--ws-text-body-sm-line-height: 1.6;
|
|
180
|
+
/* Status line, captions and breadcrumbs. */
|
|
181
|
+
--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);
|
|
182
|
+
/* Status line, captions and breadcrumbs. */
|
|
183
|
+
--ws-text-caption-font-family: var(--ws-font-family-mono);
|
|
184
|
+
/* Status line, captions and breadcrumbs. */
|
|
185
|
+
--ws-text-caption-font-size: 0.75rem;
|
|
186
|
+
/* Status line, captions and breadcrumbs. */
|
|
187
|
+
--ws-text-caption-font-weight: 400;
|
|
188
|
+
/* Status line, captions and breadcrumbs. */
|
|
189
|
+
--ws-text-caption-letter-spacing: 0rem;
|
|
190
|
+
/* Status line, captions and breadcrumbs. */
|
|
191
|
+
--ws-text-caption-line-height: 1.5;
|
|
192
|
+
/* Code blocks. */
|
|
193
|
+
--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);
|
|
194
|
+
/* Code blocks. */
|
|
195
|
+
--ws-text-code-font-family: var(--ws-font-family-mono);
|
|
196
|
+
/* Code blocks. */
|
|
197
|
+
--ws-text-code-font-size: 0.8125rem;
|
|
198
|
+
/* Code blocks. */
|
|
199
|
+
--ws-text-code-font-weight: 400;
|
|
200
|
+
/* Code blocks. */
|
|
201
|
+
--ws-text-code-letter-spacing: 0rem;
|
|
202
|
+
/* Code blocks. */
|
|
203
|
+
--ws-text-code-line-height: 1.7;
|
|
204
|
+
/* The handle on a home page. */
|
|
205
|
+
--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);
|
|
206
|
+
/* The display style on phones. */
|
|
207
|
+
--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);
|
|
208
|
+
/* The display style on phones. */
|
|
209
|
+
--ws-text-display-compact-font-family: var(--ws-font-family-mono);
|
|
210
|
+
/* The display style on phones. */
|
|
211
|
+
--ws-text-display-compact-font-size: 2.5rem;
|
|
212
|
+
/* The display style on phones. */
|
|
213
|
+
--ws-text-display-compact-font-weight: 800;
|
|
214
|
+
/* The display style on phones. */
|
|
215
|
+
--ws-text-display-compact-letter-spacing: -0.075rem;
|
|
216
|
+
/* The display style on phones. */
|
|
217
|
+
--ws-text-display-compact-line-height: 1;
|
|
218
|
+
/* The handle on a home page. */
|
|
219
|
+
--ws-text-display-font-family: var(--ws-font-family-mono);
|
|
220
|
+
/* The handle on a home page. */
|
|
221
|
+
--ws-text-display-font-size: 4rem;
|
|
222
|
+
/* The handle on a home page. */
|
|
223
|
+
--ws-text-display-font-weight: 800;
|
|
224
|
+
/* The handle on a home page. */
|
|
225
|
+
--ws-text-display-letter-spacing: -0.12rem;
|
|
226
|
+
/* The handle on a home page. */
|
|
227
|
+
--ws-text-display-line-height: 1;
|
|
228
|
+
/* Page title. */
|
|
229
|
+
--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);
|
|
230
|
+
/* Page title on phones. */
|
|
231
|
+
--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);
|
|
232
|
+
/* Page title on phones. */
|
|
233
|
+
--ws-text-h1-compact-font-family: var(--ws-font-family-mono);
|
|
234
|
+
/* Page title on phones. */
|
|
235
|
+
--ws-text-h1-compact-font-size: 2rem;
|
|
236
|
+
/* Page title on phones. */
|
|
237
|
+
--ws-text-h1-compact-font-weight: 800;
|
|
238
|
+
/* Page title on phones. */
|
|
239
|
+
--ws-text-h1-compact-letter-spacing: -0.06rem;
|
|
240
|
+
/* Page title on phones. */
|
|
241
|
+
--ws-text-h1-compact-line-height: 1.1;
|
|
242
|
+
/* Page title. */
|
|
243
|
+
--ws-text-h1-font-family: var(--ws-font-family-mono);
|
|
244
|
+
/* Page title. */
|
|
245
|
+
--ws-text-h1-font-size: 2.5rem;
|
|
246
|
+
/* Page title. */
|
|
247
|
+
--ws-text-h1-font-weight: 800;
|
|
248
|
+
/* Page title. */
|
|
249
|
+
--ws-text-h1-letter-spacing: -0.075rem;
|
|
250
|
+
/* Page title. */
|
|
251
|
+
--ws-text-h1-line-height: 1.1;
|
|
252
|
+
/* Section heading. */
|
|
253
|
+
--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);
|
|
254
|
+
/* Section heading on phones. */
|
|
255
|
+
--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);
|
|
256
|
+
/* Section heading on phones. */
|
|
257
|
+
--ws-text-h2-compact-font-family: var(--ws-font-family-mono);
|
|
258
|
+
/* Section heading on phones. */
|
|
259
|
+
--ws-text-h2-compact-font-size: 1.25rem;
|
|
260
|
+
/* Section heading on phones. */
|
|
261
|
+
--ws-text-h2-compact-font-weight: 700;
|
|
262
|
+
/* Section heading on phones. */
|
|
263
|
+
--ws-text-h2-compact-letter-spacing: -0.025rem;
|
|
264
|
+
/* Section heading on phones. */
|
|
265
|
+
--ws-text-h2-compact-line-height: 1.3;
|
|
266
|
+
/* Section heading. */
|
|
267
|
+
--ws-text-h2-font-family: var(--ws-font-family-mono);
|
|
268
|
+
/* Section heading. */
|
|
269
|
+
--ws-text-h2-font-size: 1.375rem;
|
|
270
|
+
/* Section heading. */
|
|
271
|
+
--ws-text-h2-font-weight: 700;
|
|
272
|
+
/* Section heading. */
|
|
273
|
+
--ws-text-h2-letter-spacing: -0.0275rem;
|
|
274
|
+
/* Section heading. */
|
|
275
|
+
--ws-text-h2-line-height: 1.3;
|
|
276
|
+
/* Subsection heading. */
|
|
277
|
+
--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);
|
|
278
|
+
/* Subsection heading. */
|
|
279
|
+
--ws-text-h3-font-family: var(--ws-font-family-mono);
|
|
280
|
+
/* Subsection heading. */
|
|
281
|
+
--ws-text-h3-font-size: 1.125rem;
|
|
282
|
+
/* Subsection heading. */
|
|
283
|
+
--ws-text-h3-font-weight: 700;
|
|
284
|
+
/* Subsection heading. */
|
|
285
|
+
--ws-text-h3-letter-spacing: -0.01125rem;
|
|
286
|
+
/* Subsection heading. */
|
|
287
|
+
--ws-text-h3-line-height: 1.4;
|
|
288
|
+
/* Minor heading and entry titles. */
|
|
289
|
+
--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);
|
|
290
|
+
/* Minor heading and entry titles. */
|
|
291
|
+
--ws-text-h4-font-family: var(--ws-font-family-mono);
|
|
292
|
+
/* Minor heading and entry titles. */
|
|
293
|
+
--ws-text-h4-font-size: 1rem;
|
|
294
|
+
/* Minor heading and entry titles. */
|
|
295
|
+
--ws-text-h4-font-weight: 700;
|
|
296
|
+
/* Minor heading and entry titles. */
|
|
297
|
+
--ws-text-h4-letter-spacing: 0rem;
|
|
298
|
+
/* Minor heading and entry titles. */
|
|
299
|
+
--ws-text-h4-line-height: 1.5;
|
|
300
|
+
/* Tabs, prompts and buttons. */
|
|
301
|
+
--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);
|
|
302
|
+
/* Tabs, prompts and buttons. */
|
|
303
|
+
--ws-text-label-font-family: var(--ws-font-family-mono);
|
|
304
|
+
/* Tabs, prompts and buttons. */
|
|
305
|
+
--ws-text-label-font-size: 0.875rem;
|
|
306
|
+
/* Tabs, prompts and buttons. */
|
|
307
|
+
--ws-text-label-font-weight: 400;
|
|
308
|
+
/* Tabs, prompts and buttons. */
|
|
309
|
+
--ws-text-label-letter-spacing: 0rem;
|
|
310
|
+
/* Tabs, prompts and buttons. */
|
|
311
|
+
--ws-text-label-line-height: 1.5;
|
|
312
|
+
/* Side navigation and tags. */
|
|
313
|
+
--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);
|
|
314
|
+
/* Side navigation and tags. */
|
|
315
|
+
--ws-text-label-sm-font-family: var(--ws-font-family-mono);
|
|
316
|
+
/* Side navigation and tags. */
|
|
317
|
+
--ws-text-label-sm-font-size: 0.8125rem;
|
|
318
|
+
/* Side navigation and tags. */
|
|
319
|
+
--ws-text-label-sm-font-weight: 400;
|
|
320
|
+
/* Side navigation and tags. */
|
|
321
|
+
--ws-text-label-sm-letter-spacing: 0rem;
|
|
322
|
+
/* Side navigation and tags. */
|
|
323
|
+
--ws-text-label-sm-line-height: 1.5;
|
|
324
|
+
/* The first paragraph of a page. */
|
|
325
|
+
--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);
|
|
326
|
+
/* The first paragraph of a page. */
|
|
327
|
+
--ws-text-lead-font-family: var(--ws-font-family-sans);
|
|
328
|
+
/* The first paragraph of a page. */
|
|
329
|
+
--ws-text-lead-font-size: 1.0625rem;
|
|
330
|
+
/* The first paragraph of a page. */
|
|
331
|
+
--ws-text-lead-font-weight: 400;
|
|
332
|
+
/* The first paragraph of a page. */
|
|
333
|
+
--ws-text-lead-letter-spacing: 0rem;
|
|
334
|
+
/* The first paragraph of a page. */
|
|
335
|
+
--ws-text-lead-line-height: 1.75;
|
|
336
|
+
/* Group headings and table heads. Set in uppercase. */
|
|
337
|
+
--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);
|
|
338
|
+
/* Group headings and table heads. Set in uppercase. */
|
|
339
|
+
--ws-text-overline-font-family: var(--ws-font-family-mono);
|
|
340
|
+
/* Group headings and table heads. Set in uppercase. */
|
|
341
|
+
--ws-text-overline-font-size: 0.6875rem;
|
|
342
|
+
/* Group headings and table heads. Set in uppercase. */
|
|
343
|
+
--ws-text-overline-font-weight: 700;
|
|
344
|
+
/* Group headings and table heads. Set in uppercase. */
|
|
345
|
+
--ws-text-overline-letter-spacing: 0.06875rem;
|
|
346
|
+
/* Group headings and table heads. Set in uppercase. */
|
|
347
|
+
--ws-text-overline-line-height: 1.5;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
:root,
|
|
351
|
+
[data-theme='dark'] {
|
|
352
|
+
color-scheme: dark;
|
|
353
|
+
/* Page background. */
|
|
354
|
+
--ws-color-bg: var(--ws-palette-main-base);
|
|
355
|
+
/* Dividers and panel edges. Decorative, no contrast bar. */
|
|
356
|
+
--ws-color-border: var(--ws-palette-main-highlight-med);
|
|
357
|
+
/* Key caps. */
|
|
358
|
+
--ws-color-border-strong: var(--ws-palette-main-highlight-high);
|
|
359
|
+
/* The brand accent: tongue, cursor, prompt chevron, active markers. Graphics and large type. */
|
|
360
|
+
--ws-color-brand: var(--ws-palette-main-love);
|
|
361
|
+
/* Solid chip behind small text, such as the mode segment. */
|
|
362
|
+
--ws-color-brand-fill: var(--ws-palette-main-love);
|
|
363
|
+
/* Status danger: field error border and bar. */
|
|
364
|
+
--ws-color-danger: var(--ws-palette-main-love);
|
|
365
|
+
/* Status danger: label and error message text. */
|
|
366
|
+
--ws-color-danger-text: var(--ws-palette-main-love);
|
|
367
|
+
/* Status danger: block background. */
|
|
368
|
+
--ws-color-danger-tint: #eb6f9217;
|
|
369
|
+
/* Input and button outlines. At least 3:1 on surface. */
|
|
370
|
+
--ws-color-field-border: var(--ws-palette-main-muted);
|
|
371
|
+
/* Links, the focus ring, checked controls and the primary button fill. */
|
|
372
|
+
--ws-color-interactive: var(--ws-palette-main-foam);
|
|
373
|
+
/* Status note: bar and icon. */
|
|
374
|
+
--ws-color-note: var(--ws-palette-main-iris);
|
|
375
|
+
/* Status note: label text. */
|
|
376
|
+
--ws-color-note-text: var(--ws-palette-main-iris);
|
|
377
|
+
/* Status note: block background. */
|
|
378
|
+
--ws-color-note-tint: #c4a7e717;
|
|
379
|
+
/* Text on the brand fill. */
|
|
380
|
+
--ws-color-on-brand: var(--ws-palette-main-base);
|
|
381
|
+
/* Text on the interactive fill. */
|
|
382
|
+
--ws-color-on-interactive: var(--ws-palette-main-base);
|
|
383
|
+
/* Inline code, hover, the current navigation item. */
|
|
384
|
+
--ws-color-raised: var(--ws-palette-main-overlay);
|
|
385
|
+
/* Background of selected text. */
|
|
386
|
+
--ws-color-selection: var(--ws-palette-main-highlight-high);
|
|
387
|
+
/* Panels, cards and table heads. */
|
|
388
|
+
--ws-color-surface: var(--ws-palette-main-surface);
|
|
389
|
+
/* Tag background: a tint of the interactive color. */
|
|
390
|
+
--ws-color-tag-bg: #9ccfd81f;
|
|
391
|
+
/* Tag text. */
|
|
392
|
+
--ws-color-tag-text: var(--ws-palette-main-foam);
|
|
393
|
+
/* Body text, headings and values. */
|
|
394
|
+
--ws-color-text: var(--ws-palette-main-text);
|
|
395
|
+
/* Rules, idle indicators and disabled text. At least 3:1, never body text. */
|
|
396
|
+
--ws-color-text-faint: var(--ws-palette-main-muted);
|
|
397
|
+
/* Descriptions, captions and idle navigation. */
|
|
398
|
+
--ws-color-text-secondary: var(--ws-palette-main-subtle);
|
|
399
|
+
/* Status tip and "active": bar and icon. */
|
|
400
|
+
--ws-color-tip: var(--ws-palette-main-foam);
|
|
401
|
+
/* Status tip: label text. */
|
|
402
|
+
--ws-color-tip-text: var(--ws-palette-main-foam);
|
|
403
|
+
/* Status tip: block background. */
|
|
404
|
+
--ws-color-tip-tint: #9ccfd817;
|
|
405
|
+
/* Status warning and "experimental": bar. */
|
|
406
|
+
--ws-color-warning: var(--ws-palette-main-gold);
|
|
407
|
+
/* Status warning: label text. */
|
|
408
|
+
--ws-color-warning-text: var(--ws-palette-main-gold);
|
|
409
|
+
/* Status warning: block background. */
|
|
410
|
+
--ws-color-warning-tint: #f6c17717;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
[data-theme='light'] {
|
|
414
|
+
color-scheme: light;
|
|
415
|
+
/* Page background. */
|
|
416
|
+
--ws-color-bg: var(--ws-palette-dawn-base);
|
|
417
|
+
/* Dividers and panel edges. Decorative, no contrast bar. */
|
|
418
|
+
--ws-color-border: var(--ws-palette-dawn-highlight-med);
|
|
419
|
+
/* Key caps. */
|
|
420
|
+
--ws-color-border-strong: var(--ws-palette-dawn-highlight-high);
|
|
421
|
+
/* The brand accent: tongue, cursor, prompt chevron, active markers. Graphics and large type. */
|
|
422
|
+
--ws-color-brand: var(--ws-palette-dawn-love);
|
|
423
|
+
/* Solid chip behind small text, such as the mode segment. */
|
|
424
|
+
--ws-color-brand-fill: var(--ws-palette-dawn-text);
|
|
425
|
+
/* Status danger: field error border and bar. */
|
|
426
|
+
--ws-color-danger: var(--ws-palette-dawn-love);
|
|
427
|
+
/* Status danger: label and error message text. */
|
|
428
|
+
--ws-color-danger-text: var(--ws-palette-dawn-text);
|
|
429
|
+
/* Status danger: block background. */
|
|
430
|
+
--ws-color-danger-tint: #b4637a17;
|
|
431
|
+
/* Input and button outlines. At least 3:1 on surface. */
|
|
432
|
+
--ws-color-field-border: var(--ws-palette-dawn-subtle);
|
|
433
|
+
/* Links, the focus ring, checked controls and the primary button fill. */
|
|
434
|
+
--ws-color-interactive: var(--ws-palette-dawn-pine);
|
|
435
|
+
/* Status note: bar and icon. */
|
|
436
|
+
--ws-color-note: var(--ws-palette-dawn-iris);
|
|
437
|
+
/* Status note: label text. */
|
|
438
|
+
--ws-color-note-text: var(--ws-palette-dawn-text);
|
|
439
|
+
/* Status note: block background. */
|
|
440
|
+
--ws-color-note-tint: #907aa917;
|
|
441
|
+
/* Text on the brand fill. */
|
|
442
|
+
--ws-color-on-brand: var(--ws-palette-dawn-base);
|
|
443
|
+
/* Text on the interactive fill. */
|
|
444
|
+
--ws-color-on-interactive: var(--ws-palette-dawn-base);
|
|
445
|
+
/* Inline code, hover, the current navigation item. */
|
|
446
|
+
--ws-color-raised: var(--ws-palette-dawn-overlay);
|
|
447
|
+
/* Background of selected text. */
|
|
448
|
+
--ws-color-selection: var(--ws-palette-dawn-highlight-med);
|
|
449
|
+
/* Panels, cards and table heads. */
|
|
450
|
+
--ws-color-surface: var(--ws-palette-dawn-surface);
|
|
451
|
+
/* Tag background: a tint of the interactive color. */
|
|
452
|
+
--ws-color-tag-bg: #2869831a;
|
|
453
|
+
/* Tag text. */
|
|
454
|
+
--ws-color-tag-text: var(--ws-palette-dawn-pine);
|
|
455
|
+
/* Body text, headings and values. */
|
|
456
|
+
--ws-color-text: var(--ws-palette-dawn-text);
|
|
457
|
+
/* Rules, idle indicators and disabled text. At least 3:1, never body text. */
|
|
458
|
+
--ws-color-text-faint: var(--ws-palette-dawn-subtle);
|
|
459
|
+
/* Descriptions, captions and idle navigation. */
|
|
460
|
+
--ws-color-text-secondary: var(--ws-palette-dawn-text);
|
|
461
|
+
/* Status tip and "active": bar and icon. */
|
|
462
|
+
--ws-color-tip: var(--ws-palette-dawn-pine);
|
|
463
|
+
/* Status tip: label text. */
|
|
464
|
+
--ws-color-tip-text: var(--ws-palette-dawn-text);
|
|
465
|
+
/* Status tip: block background. */
|
|
466
|
+
--ws-color-tip-tint: #28698317;
|
|
467
|
+
/* Status warning and "experimental": bar. */
|
|
468
|
+
--ws-color-warning: var(--ws-palette-dawn-gold);
|
|
469
|
+
/* Status warning: label text. */
|
|
470
|
+
--ws-color-warning-text: var(--ws-palette-dawn-text);
|
|
471
|
+
/* Status warning: block background. */
|
|
472
|
+
--ws-color-warning-tint: #ea9d3417;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
@media (prefers-color-scheme: light) {
|
|
476
|
+
:root:not([data-theme]) {
|
|
477
|
+
color-scheme: light;
|
|
478
|
+
/* Page background. */
|
|
479
|
+
--ws-color-bg: var(--ws-palette-dawn-base);
|
|
480
|
+
/* Dividers and panel edges. Decorative, no contrast bar. */
|
|
481
|
+
--ws-color-border: var(--ws-palette-dawn-highlight-med);
|
|
482
|
+
/* Key caps. */
|
|
483
|
+
--ws-color-border-strong: var(--ws-palette-dawn-highlight-high);
|
|
484
|
+
/* The brand accent: tongue, cursor, prompt chevron, active markers. Graphics and large type. */
|
|
485
|
+
--ws-color-brand: var(--ws-palette-dawn-love);
|
|
486
|
+
/* Solid chip behind small text, such as the mode segment. */
|
|
487
|
+
--ws-color-brand-fill: var(--ws-palette-dawn-text);
|
|
488
|
+
/* Status danger: field error border and bar. */
|
|
489
|
+
--ws-color-danger: var(--ws-palette-dawn-love);
|
|
490
|
+
/* Status danger: label and error message text. */
|
|
491
|
+
--ws-color-danger-text: var(--ws-palette-dawn-text);
|
|
492
|
+
/* Status danger: block background. */
|
|
493
|
+
--ws-color-danger-tint: #b4637a17;
|
|
494
|
+
/* Input and button outlines. At least 3:1 on surface. */
|
|
495
|
+
--ws-color-field-border: var(--ws-palette-dawn-subtle);
|
|
496
|
+
/* Links, the focus ring, checked controls and the primary button fill. */
|
|
497
|
+
--ws-color-interactive: var(--ws-palette-dawn-pine);
|
|
498
|
+
/* Status note: bar and icon. */
|
|
499
|
+
--ws-color-note: var(--ws-palette-dawn-iris);
|
|
500
|
+
/* Status note: label text. */
|
|
501
|
+
--ws-color-note-text: var(--ws-palette-dawn-text);
|
|
502
|
+
/* Status note: block background. */
|
|
503
|
+
--ws-color-note-tint: #907aa917;
|
|
504
|
+
/* Text on the brand fill. */
|
|
505
|
+
--ws-color-on-brand: var(--ws-palette-dawn-base);
|
|
506
|
+
/* Text on the interactive fill. */
|
|
507
|
+
--ws-color-on-interactive: var(--ws-palette-dawn-base);
|
|
508
|
+
/* Inline code, hover, the current navigation item. */
|
|
509
|
+
--ws-color-raised: var(--ws-palette-dawn-overlay);
|
|
510
|
+
/* Background of selected text. */
|
|
511
|
+
--ws-color-selection: var(--ws-palette-dawn-highlight-med);
|
|
512
|
+
/* Panels, cards and table heads. */
|
|
513
|
+
--ws-color-surface: var(--ws-palette-dawn-surface);
|
|
514
|
+
/* Tag background: a tint of the interactive color. */
|
|
515
|
+
--ws-color-tag-bg: #2869831a;
|
|
516
|
+
/* Tag text. */
|
|
517
|
+
--ws-color-tag-text: var(--ws-palette-dawn-pine);
|
|
518
|
+
/* Body text, headings and values. */
|
|
519
|
+
--ws-color-text: var(--ws-palette-dawn-text);
|
|
520
|
+
/* Rules, idle indicators and disabled text. At least 3:1, never body text. */
|
|
521
|
+
--ws-color-text-faint: var(--ws-palette-dawn-subtle);
|
|
522
|
+
/* Descriptions, captions and idle navigation. */
|
|
523
|
+
--ws-color-text-secondary: var(--ws-palette-dawn-text);
|
|
524
|
+
/* Status tip and "active": bar and icon. */
|
|
525
|
+
--ws-color-tip: var(--ws-palette-dawn-pine);
|
|
526
|
+
/* Status tip: label text. */
|
|
527
|
+
--ws-color-tip-text: var(--ws-palette-dawn-text);
|
|
528
|
+
/* Status tip: block background. */
|
|
529
|
+
--ws-color-tip-tint: #28698317;
|
|
530
|
+
/* Status warning and "experimental": bar. */
|
|
531
|
+
--ws-color-warning: var(--ws-palette-dawn-gold);
|
|
532
|
+
/* Status warning: label text. */
|
|
533
|
+
--ws-color-warning-text: var(--ws-palette-dawn-text);
|
|
534
|
+
/* Status warning: block background. */
|
|
535
|
+
--ws-color-warning-tint: #ea9d3417;
|
|
536
|
+
}
|
|
537
|
+
}
|