@putdotio/design 1.1.0 → 1.2.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/DESIGN.md +8 -8
- package/README.md +1 -1
- package/dist/css/tokens.css +104 -87
- package/dist/figma/putio.tokens.json +89 -42
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.dtcg.json +301 -104
- package/dist/tokens.flat.json +347 -210
- package/dist/tokens.js +347 -210
- package/package.json +2 -2
- package/system/README.md +23 -21
- package/tokens/components.tokens.json +202 -7
- package/tokens/context.tokens.json +21 -21
- package/tokens/primitives.tokens.json +1 -1
- package/tokens/semantic.tokens.json +77 -75
- package/dist/tokens.ts +0 -2104
package/DESIGN.md
CHANGED
|
@@ -10,16 +10,16 @@ colors:
|
|
|
10
10
|
text: "hsl(0, 0%, 93.0%)"
|
|
11
11
|
text-muted: "hsl(0, 0%, 62.8%)"
|
|
12
12
|
border: "hsl(0, 0%, 24.3%)"
|
|
13
|
-
success: "hsl(151, 55
|
|
14
|
-
danger: "hsl(358, 75
|
|
13
|
+
success: "hsl(151, 55%, 41.5%)"
|
|
14
|
+
danger: "hsl(358, 75%, 59%)"
|
|
15
15
|
light:
|
|
16
16
|
app-bg: "hsl(0, 0%, 100%)"
|
|
17
17
|
page-bg: "hsl(0, 0%, 97.3%)"
|
|
18
18
|
text: "hsl(0, 0%, 9.0%)"
|
|
19
19
|
text-muted: "hsl(0, 0%, 43.5%)"
|
|
20
20
|
border: "hsl(0, 0%, 85.8%)"
|
|
21
|
-
success: "hsl(151, 55
|
|
22
|
-
danger: "hsl(358, 75
|
|
21
|
+
success: "hsl(151, 55%, 41.5%)"
|
|
22
|
+
danger: "hsl(358, 75%, 59%)"
|
|
23
23
|
typography:
|
|
24
24
|
ui:
|
|
25
25
|
family: "\"GT America\", sans-serif"
|
|
@@ -64,11 +64,11 @@ components:
|
|
|
64
64
|
|
|
65
65
|
put.io is a content-agnostic cloud file product. The interface should feel premium because the file browser is useful, fast, quiet, and honest about the data it has. Design for raw filenames, folders, transfers, storage, playback controls, and settings without pretending that structured media metadata is always available.
|
|
66
66
|
|
|
67
|
-
The canonical source for tokens is DTCG-compatible JSON in `tokens/`. Generated artifacts in `dist/` and `system/tokens.css` are outputs. This file
|
|
67
|
+
The canonical source for tokens is DTCG-compatible JSON in `tokens/`. Generated artifacts in `dist/` and `system/tokens.css` are outputs. This file explains how to use those tokens.
|
|
68
68
|
|
|
69
69
|
## Colors
|
|
70
70
|
|
|
71
|
-
Yellow `#FDCE45` is
|
|
71
|
+
Yellow `#FDCE45` is the resting `--yellow-solid` brand value in both light and dark modes. Use it for the put.io brand mark, primary action fill, folder/file emphasis, progress, and focus affordances. Use `--yellow-solid-hover` for primary button hover feedback; do not invent alternate yellows, gradient yellow into a different accent, or use yellow as foreground text on light surfaces.
|
|
72
72
|
|
|
73
73
|
Dark app surfaces are the default product mode, but the token contract includes both dark and light palettes. Light surfaces are allowed for landing, docs, and narrow product states where readability is stronger. Semantic red, green, and neutral scales should come from tokens rather than one-off CSS values.
|
|
74
74
|
|
|
@@ -94,7 +94,7 @@ The default radius is `6px`. Use `4px` for tight controls, `8px` or `10px` for l
|
|
|
94
94
|
|
|
95
95
|
## Components
|
|
96
96
|
|
|
97
|
-
Buttons use yellow only for primary commands. Secondary buttons should feel quiet and tokenized against the active surface. File rows are the core component: preserve raw names, keep metadata compact, and make hover/focus states obvious without inflating row height.
|
|
97
|
+
Buttons use yellow only for primary commands. Primary buttons use `--button-primary-bg` at rest and `--button-primary-bg-hover` on hover so the CTA never feels inert. Secondary buttons should feel quiet and tokenized against the active surface. File rows are the core component: preserve raw names, keep metadata compact, and make hover/focus states obvious without inflating row height.
|
|
98
98
|
|
|
99
99
|
Form fields use the shared `--field-*` aliases: `--field-bg` for the fill, `--field-border` for the resting border, and `--field-ring` for focus. Invalid fields opt in with `aria-invalid="true"` and use red border/text only; do not add red fill. Raised panels use the shared `--panel-*` aliases instead of auth- or screen-specific panel variables.
|
|
100
100
|
|
|
@@ -108,6 +108,6 @@ Do use Phosphor-style inline SVG for forward-looking icon guidance and no emoji
|
|
|
108
108
|
|
|
109
109
|
Do keep `DESIGN.md`, `tokens/`, `dist/`, and `system/tokens.css` in agreement.
|
|
110
110
|
|
|
111
|
-
Don't publish private research, local file paths,
|
|
111
|
+
Don't publish private research, local file paths, internal project links, screenshots, team photos, account data, discount strategy, or auth-gated workspace URLs in the public design repo.
|
|
112
112
|
|
|
113
113
|
Don't generate Swift, Kotlin, Android XML, or Roku outputs from this repo until a consuming platform repo asks for an adapter.
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ Package entrypoints:
|
|
|
50
50
|
- Flat token metadata: [`dist/tokens.flat.json`](dist/tokens.flat.json)
|
|
51
51
|
- Figma-safe subset: [`dist/figma/putio.tokens.json`](dist/figma/putio.tokens.json)
|
|
52
52
|
- Brand assets: [`system/assets`](system/assets) via `@putdotio/design/assets/<file>`
|
|
53
|
-
-
|
|
53
|
+
- Design contract: [`DESIGN.md`](DESIGN.md)
|
|
54
54
|
|
|
55
55
|
## Commands
|
|
56
56
|
|
package/dist/css/tokens.css
CHANGED
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
put.io design tokens
|
|
3
3
|
Do not edit directly. Generated from DTCG token JSON in tokens/.
|
|
4
4
|
|
|
5
|
-
Brand constant: Yellow #FDCE45
|
|
5
|
+
Brand constant: Yellow #FDCE45 in both light and dark modes.
|
|
6
6
|
Canonical source: DTCG-compatible JSON in tokens/
|
|
7
7
|
============================================================ */
|
|
8
8
|
|
|
9
9
|
/* -- Light (default) ------------------------------------------------ */
|
|
10
10
|
:root {
|
|
11
|
+
--button-primary-bg-hover: hsl(45, 89%, 58%);
|
|
11
12
|
--button-secondary-bg: hsl(0, 0%, 95.1%);
|
|
12
13
|
--button-secondary-fg: hsl(0, 0%, 9.0%);
|
|
14
|
+
--button-success-bg: hsl(151, 55%, 41.5%);
|
|
15
|
+
--button-success-bg-hover: hsl(151, 58%, 37%);
|
|
16
|
+
--button-danger-bg: hsl(358, 75%, 59%);
|
|
17
|
+
--button-danger-bg-hover: hsl(357, 66%, 53%);
|
|
18
|
+
--button-info-bg-hover: hsl(0, 0%, 52.3%);
|
|
13
19
|
--input-bg: hsl(0, 0%, 100%);
|
|
14
20
|
--input-border: hsl(0, 0%, 85.8%);
|
|
15
21
|
--field-bg: hsl(0, 0%, 100%);
|
|
@@ -26,8 +32,10 @@
|
|
|
26
32
|
--background: hsl(0, 0%, 99.0%);
|
|
27
33
|
--foreground: hsl(0, 0%, 9.0%);
|
|
28
34
|
--foreground-muted: hsl(0, 0%, 43.5%);
|
|
29
|
-
--success: hsl(
|
|
30
|
-
--destructive: hsl(358,
|
|
35
|
+
--success: hsl(151, 55%, 41.5%);
|
|
36
|
+
--destructive: hsl(358, 75%, 59%);
|
|
37
|
+
--invert-foreground: hsl(0, 0%, 100%);
|
|
38
|
+
--solid-foreground: hsl(0, 0%, 0%);
|
|
31
39
|
--muted: hsl(0, 0%, 97.3%);
|
|
32
40
|
--muted-foreground: hsl(0, 0%, 43.5%);
|
|
33
41
|
--accent: hsl(0, 0%, 95.1%);
|
|
@@ -37,10 +45,10 @@
|
|
|
37
45
|
--popover: hsl(0, 0%, 95.1%);
|
|
38
46
|
--popover-foreground: hsl(0, 0%, 9.0%);
|
|
39
47
|
--input: hsl(0, 0%, 85.8%);
|
|
40
|
-
--file-row-bg:
|
|
48
|
+
--file-row-bg: hsla(0, 0%, 0%, 0);
|
|
41
49
|
--file-row-bg-hover: hsl(0, 0%, 97.3%);
|
|
42
50
|
--notification-info-bg: hsl(0, 0%, 97.3%);
|
|
43
|
-
--notification-danger-bg: hsl(
|
|
51
|
+
--notification-danger-bg: hsl(2, 100%, 96%);
|
|
44
52
|
--bg: hsl(0, 0%, 99.0%);
|
|
45
53
|
--bg-secondary: hsl(0, 0%, 97.3%);
|
|
46
54
|
--component-bg: hsl(0, 0%, 95.1%);
|
|
@@ -53,49 +61,49 @@
|
|
|
53
61
|
--solid-hover: hsl(0, 0%, 52.3%);
|
|
54
62
|
--text-secondary: hsl(0, 0%, 43.5%);
|
|
55
63
|
--text: hsl(0, 0%, 9.0%);
|
|
56
|
-
--green-bg: hsl(
|
|
57
|
-
--green-bg-secondary: hsl(
|
|
58
|
-
--green-component-bg: hsl(
|
|
59
|
-
--green-component-bg-hover: hsl(
|
|
60
|
-
--green-component-bg-active: hsl(
|
|
61
|
-
--green-line: hsl(
|
|
62
|
-
--green-border: hsl(
|
|
63
|
-
--green-border-hover: hsl(
|
|
64
|
-
--green-solid: hsl(151, 55
|
|
65
|
-
--green-solid-hover: hsl(
|
|
66
|
-
--green-text-secondary: hsl(
|
|
67
|
-
--green-text: hsl(
|
|
68
|
-
--red-bg: hsl(
|
|
69
|
-
--red-bg-secondary: hsl(
|
|
70
|
-
--red-component-bg: hsl(
|
|
71
|
-
--red-component-bg-hover: hsl(
|
|
72
|
-
--red-component-bg-active: hsl(
|
|
73
|
-
--red-line: hsl(
|
|
74
|
-
--red-border: hsl(
|
|
75
|
-
--red-border-hover: hsl(
|
|
76
|
-
--red-solid: hsl(358, 75
|
|
77
|
-
--red-solid-hover: hsl(
|
|
78
|
-
--red-text-secondary: hsl(
|
|
79
|
-
--red-text: hsl(
|
|
80
|
-
--yellow-bg: hsl(
|
|
81
|
-
--yellow-bg-secondary: hsl(
|
|
82
|
-
--yellow-component-bg: hsl(
|
|
83
|
-
--yellow-component-bg-hover: hsl(
|
|
84
|
-
--yellow-component-bg-active: hsl(
|
|
85
|
-
--yellow-line: hsl(
|
|
86
|
-
--yellow-border: hsl(
|
|
87
|
-
--yellow-border-hover: hsl(
|
|
88
|
-
--yellow-solid-hover: hsl(
|
|
89
|
-
--yellow-text-secondary: hsl(
|
|
90
|
-
--yellow-text: hsl(
|
|
64
|
+
--green-bg: hsl(140, 60%, 99%);
|
|
65
|
+
--green-bg-secondary: hsl(140, 41%, 97%);
|
|
66
|
+
--green-component-bg: hsl(135, 53%, 93%);
|
|
67
|
+
--green-component-bg-hover: hsl(138, 58%, 89%);
|
|
68
|
+
--green-component-bg-active: hsl(140, 50%, 84%);
|
|
69
|
+
--green-line: hsl(141, 47%, 77%);
|
|
70
|
+
--green-border: hsl(140, 39%, 68%);
|
|
71
|
+
--green-border-hover: hsl(146, 39%, 55%);
|
|
72
|
+
--green-solid: hsl(151, 55%, 41.5%);
|
|
73
|
+
--green-solid-hover: hsl(151, 58%, 37%);
|
|
74
|
+
--green-text-secondary: hsl(155, 100%, 25%);
|
|
75
|
+
--green-text: hsl(146, 35%, 17%);
|
|
76
|
+
--red-bg: hsl(0, 100%, 99%);
|
|
77
|
+
--red-bg-secondary: hsl(0, 100%, 98%);
|
|
78
|
+
--red-component-bg: hsl(2, 100%, 96%);
|
|
79
|
+
--red-component-bg-hover: hsl(4, 100%, 93%);
|
|
80
|
+
--red-component-bg-active: hsl(3, 100%, 89%);
|
|
81
|
+
--red-line: hsl(3, 97%, 86%);
|
|
82
|
+
--red-border: hsl(2, 81%, 80%);
|
|
83
|
+
--red-border-hover: hsl(2, 71%, 73%);
|
|
84
|
+
--red-solid: hsl(358, 75%, 59%);
|
|
85
|
+
--red-solid-hover: hsl(357, 66%, 53%);
|
|
86
|
+
--red-text-secondary: hsl(355, 64%, 49%);
|
|
87
|
+
--red-text: hsl(358, 62%, 24%);
|
|
88
|
+
--yellow-bg: hsl(45, 60%, 99%);
|
|
89
|
+
--yellow-bg-secondary: hsl(53, 100%, 96%);
|
|
90
|
+
--yellow-component-bg: hsl(52, 100%, 88%);
|
|
91
|
+
--yellow-component-bg-hover: hsl(50, 100%, 82%);
|
|
92
|
+
--yellow-component-bg-active: hsl(48, 100%, 76%);
|
|
93
|
+
--yellow-line: hsl(46, 87%, 73%);
|
|
94
|
+
--yellow-border: hsl(45, 67%, 67%);
|
|
95
|
+
--yellow-border-hover: hsl(44, 58%, 56%);
|
|
96
|
+
--yellow-solid-hover: hsl(45, 89%, 58%);
|
|
97
|
+
--yellow-text-secondary: hsl(46, 100%, 29%);
|
|
98
|
+
--yellow-text: hsl(43, 32%, 21%);
|
|
91
99
|
--lime-3: hsl(85, 76.0%, 92.3%);
|
|
92
100
|
--html-bg: hsl(0, 0%, 97.3%);
|
|
93
101
|
--app-bg: hsl(0, 0%, 100%);
|
|
94
102
|
--nav-bg: hsl(0, 0%, 100%);
|
|
95
|
-
--nav-item-bg:
|
|
103
|
+
--nav-item-bg: hsla(0, 0%, 0%, 0);
|
|
96
104
|
--nav-item-bg-hover: hsl(0, 0%, 95.1%);
|
|
97
105
|
--nav-item-bg-active: hsl(0, 0%, 95.1%);
|
|
98
|
-
--list-item-bg:
|
|
106
|
+
--list-item-bg: hsla(0, 0%, 0%, 0);
|
|
99
107
|
--list-item-bg-hover: hsl(0, 0%, 97.3%);
|
|
100
108
|
--list-item-bg-active: hsl(0, 0%, 97.3%);
|
|
101
109
|
--list-item-border: hsl(0, 0%, 90.9%);
|
|
@@ -107,19 +115,20 @@
|
|
|
107
115
|
--transfer-list-item-passive-bg: hsl(0, 0%, 99.0%);
|
|
108
116
|
--hi-contrast: hsl(0, 0%, 9.0%);
|
|
109
117
|
--lo-contrast: hsl(0, 0%, 99.0%);
|
|
110
|
-
--transparent:
|
|
118
|
+
--transparent: hsla(0, 0%, 0%, 0);
|
|
111
119
|
--overlay-inline: hsla(0, 0%, 0%, 0.047);
|
|
112
120
|
--overlay-full: hsla(0, 0%, 0%, 0.439);
|
|
113
121
|
--button-primary-bg: hsl(44.7, 97.9%, 63.1%);
|
|
114
|
-
--button-primary-fg: hsl(
|
|
122
|
+
--button-primary-fg: hsl(38, 65%, 10%);
|
|
115
123
|
--button-radius: 6px;
|
|
124
|
+
--button-success-fg: hsl(0, 0%, 100%);
|
|
125
|
+
--button-danger-fg: hsl(0, 0%, 100%);
|
|
116
126
|
--input-radius: 6px;
|
|
117
127
|
--panel-radius: 10px;
|
|
118
128
|
--primary: hsl(44.7, 97.9%, 63.1%);
|
|
119
|
-
--primary-foreground: hsl(
|
|
129
|
+
--primary-foreground: hsl(38, 65%, 10%);
|
|
120
130
|
--success-foreground: hsl(0, 0%, 100%);
|
|
121
131
|
--destructive-foreground: hsl(0, 0%, 100%);
|
|
122
|
-
--solid-foreground: hsl(0, 0%, 100%);
|
|
123
132
|
--ring: hsla(47, 100%, 65%, 0.35);
|
|
124
133
|
--file-row-icon: hsl(44.7, 97.9%, 63.1%);
|
|
125
134
|
--yellow-solid: hsl(44.7, 97.9%, 63.1%);
|
|
@@ -180,8 +189,14 @@
|
|
|
180
189
|
|
|
181
190
|
/* -- Dark (.dark) --------------------------------------------------- */
|
|
182
191
|
.dark {
|
|
192
|
+
--button-primary-bg-hover: hsl(45, 89%, 58%);
|
|
183
193
|
--button-secondary-bg: hsl(0, 0%, 13.6%);
|
|
184
194
|
--button-secondary-fg: hsl(0, 0%, 93.0%);
|
|
195
|
+
--button-success-bg: hsl(151, 55%, 41.5%);
|
|
196
|
+
--button-success-bg-hover: hsl(151, 68%, 35%);
|
|
197
|
+
--button-danger-bg: hsl(358, 75%, 59%);
|
|
198
|
+
--button-danger-bg-hover: hsl(357, 67%, 53%);
|
|
199
|
+
--button-info-bg-hover: hsl(0, 0%, 49.4%);
|
|
185
200
|
--input-bg: hsl(0, 0%, 8.5%);
|
|
186
201
|
--input-border: hsl(0, 0%, 24.3%);
|
|
187
202
|
--field-bg: hsl(0, 0%, 8.5%);
|
|
@@ -198,8 +213,10 @@
|
|
|
198
213
|
--background: hsl(0, 0%, 8.5%);
|
|
199
214
|
--foreground: hsl(0, 0%, 93.0%);
|
|
200
215
|
--foreground-muted: hsl(0, 0%, 62.8%);
|
|
201
|
-
--success: hsl(151,
|
|
202
|
-
--destructive: hsl(358,
|
|
216
|
+
--success: hsl(151, 55%, 41.5%);
|
|
217
|
+
--destructive: hsl(358, 75%, 59%);
|
|
218
|
+
--invert-foreground: hsl(0, 0%, 8.5%);
|
|
219
|
+
--solid-foreground: hsl(0, 0%, 100%);
|
|
203
220
|
--muted: hsl(0, 0%, 11.0%);
|
|
204
221
|
--muted-foreground: hsl(0, 0%, 62.8%);
|
|
205
222
|
--accent: hsl(0, 0%, 13.6%);
|
|
@@ -209,10 +226,10 @@
|
|
|
209
226
|
--popover: hsl(0, 0%, 13.6%);
|
|
210
227
|
--popover-foreground: hsl(0, 0%, 93.0%);
|
|
211
228
|
--input: hsl(0, 0%, 24.3%);
|
|
212
|
-
--file-row-bg:
|
|
229
|
+
--file-row-bg: hsla(0, 0%, 0%, 0);
|
|
213
230
|
--file-row-bg-hover: hsl(0, 0%, 11.0%);
|
|
214
231
|
--notification-info-bg: hsl(0, 0%, 13.6%);
|
|
215
|
-
--notification-danger-bg: hsl(
|
|
232
|
+
--notification-danger-bg: hsl(0, 55%, 15%);
|
|
216
233
|
--bg: hsl(0, 0%, 8.5%);
|
|
217
234
|
--bg-secondary: hsl(0, 0%, 11.0%);
|
|
218
235
|
--component-bg: hsl(0, 0%, 13.6%);
|
|
@@ -225,49 +242,49 @@
|
|
|
225
242
|
--solid-hover: hsl(0, 0%, 49.4%);
|
|
226
243
|
--text-secondary: hsl(0, 0%, 62.8%);
|
|
227
244
|
--text: hsl(0, 0%, 93.0%);
|
|
228
|
-
--green-bg: hsl(
|
|
229
|
-
--green-bg-secondary: hsl(
|
|
230
|
-
--green-component-bg: hsl(
|
|
231
|
-
--green-component-bg-hover: hsl(
|
|
232
|
-
--green-component-bg-active: hsl(
|
|
233
|
-
--green-line: hsl(
|
|
234
|
-
--green-border: hsl(
|
|
235
|
-
--green-border-hover: hsl(
|
|
236
|
-
--green-solid: hsl(151, 55
|
|
237
|
-
--green-solid-hover: hsl(151,
|
|
238
|
-
--green-text-secondary: hsl(
|
|
239
|
-
--green-text: hsl(
|
|
240
|
-
--red-bg: hsl(
|
|
241
|
-
--red-bg-secondary: hsl(
|
|
242
|
-
--red-component-bg: hsl(
|
|
243
|
-
--red-component-bg-hover: hsl(
|
|
244
|
-
--red-component-bg-active: hsl(
|
|
245
|
-
--red-line: hsl(
|
|
246
|
-
--red-border: hsl(
|
|
247
|
-
--red-border-hover: hsl(
|
|
248
|
-
--red-solid: hsl(358, 75
|
|
249
|
-
--red-solid-hover: hsl(
|
|
250
|
-
--red-text-secondary: hsl(
|
|
251
|
-
--red-text: hsl(
|
|
252
|
-
--yellow-bg: hsl(
|
|
253
|
-
--yellow-bg-secondary: hsl(
|
|
254
|
-
--yellow-component-bg: hsl(45,
|
|
255
|
-
--yellow-component-bg-hover: hsl(
|
|
256
|
-
--yellow-component-bg-active: hsl(
|
|
257
|
-
--yellow-line: hsl(
|
|
258
|
-
--yellow-border: hsl(
|
|
259
|
-
--yellow-border-hover: hsl(
|
|
260
|
-
--yellow-solid-hover: hsl(
|
|
261
|
-
--yellow-text-secondary: hsl(
|
|
262
|
-
--yellow-text: hsl(
|
|
245
|
+
--green-bg: hsl(140, 13%, 6%);
|
|
246
|
+
--green-bg-secondary: hsl(149, 21%, 9%);
|
|
247
|
+
--green-component-bg: hsl(151, 35%, 13%);
|
|
248
|
+
--green-component-bg-hover: hsl(149, 49%, 16%);
|
|
249
|
+
--green-component-bg-active: hsl(149, 46%, 19%);
|
|
250
|
+
--green-line: hsl(146, 42%, 24%);
|
|
251
|
+
--green-border: hsl(146, 41%, 29%);
|
|
252
|
+
--green-border-hover: hsl(148, 43%, 34%);
|
|
253
|
+
--green-solid: hsl(151, 55%, 41.5%);
|
|
254
|
+
--green-solid-hover: hsl(151, 68%, 35%);
|
|
255
|
+
--green-text-secondary: hsl(146, 56%, 60%);
|
|
256
|
+
--green-text: hsl(142, 71%, 82%);
|
|
257
|
+
--red-bg: hsl(8, 13%, 7%);
|
|
258
|
+
--red-bg-secondary: hsl(4, 28%, 10%);
|
|
259
|
+
--red-component-bg: hsl(0, 55%, 15%);
|
|
260
|
+
--red-component-bg-hover: hsl(357, 70%, 19%);
|
|
261
|
+
--red-component-bg-active: hsl(358, 62%, 24%);
|
|
262
|
+
--red-line: hsl(359, 52%, 30%);
|
|
263
|
+
--red-border: hsl(0, 46%, 38%);
|
|
264
|
+
--red-border-hover: hsl(359, 45%, 49%);
|
|
265
|
+
--red-solid: hsl(358, 75%, 59%);
|
|
266
|
+
--red-solid-hover: hsl(357, 67%, 53%);
|
|
267
|
+
--red-text-secondary: hsl(2, 100%, 77%);
|
|
268
|
+
--red-text: hsl(5, 100%, 91%);
|
|
269
|
+
--yellow-bg: hsl(0, 0%, 0%);
|
|
270
|
+
--yellow-bg-secondary: hsl(38, 35%, 6%);
|
|
271
|
+
--yellow-component-bg: hsl(45, 70%, 9%);
|
|
272
|
+
--yellow-component-bg-hover: hsl(44, 100%, 11%);
|
|
273
|
+
--yellow-component-bg-active: hsl(44, 100%, 14%);
|
|
274
|
+
--yellow-line: hsl(45, 71%, 19%);
|
|
275
|
+
--yellow-border: hsl(45, 53%, 26%);
|
|
276
|
+
--yellow-border-hover: hsl(45, 49%, 34%);
|
|
277
|
+
--yellow-solid-hover: hsl(45, 89%, 58%);
|
|
278
|
+
--yellow-text-secondary: hsl(45, 100%, 64%);
|
|
279
|
+
--yellow-text: hsl(46, 89%, 86%);
|
|
263
280
|
--lime-3: hsl(85, 45%, 12%);
|
|
264
281
|
--html-bg: hsl(0, 0%, 0%);
|
|
265
282
|
--app-bg: hsl(0, 0%, 8.5%);
|
|
266
283
|
--nav-bg: hsl(0, 0%, 8.5%);
|
|
267
|
-
--nav-item-bg:
|
|
284
|
+
--nav-item-bg: hsla(0, 0%, 0%, 0);
|
|
268
285
|
--nav-item-bg-hover: hsl(0, 0%, 13.6%);
|
|
269
286
|
--nav-item-bg-active: hsl(0, 0%, 13.6%);
|
|
270
|
-
--list-item-bg:
|
|
287
|
+
--list-item-bg: hsla(0, 0%, 0%, 0);
|
|
271
288
|
--list-item-bg-hover: hsl(0, 0%, 11.0%);
|
|
272
289
|
--list-item-bg-active: hsl(0, 0%, 11.0%);
|
|
273
290
|
--list-item-border: hsl(0, 0%, 17.9%);
|
|
@@ -7,9 +7,14 @@
|
|
|
7
7
|
"$value": "hsl(44.7, 97.9%, 63.1%)",
|
|
8
8
|
"$description": "Primary command background."
|
|
9
9
|
},
|
|
10
|
+
"backgroundHover": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "hsl(45, 89%, 58%)",
|
|
13
|
+
"$description": "Primary command hover background in light mode."
|
|
14
|
+
},
|
|
10
15
|
"foreground": {
|
|
11
16
|
"$type": "color",
|
|
12
|
-
"$value": "hsl(
|
|
17
|
+
"$value": "hsl(38, 65%, 10%)",
|
|
13
18
|
"$description": "Text or icon color on the yellow primary button."
|
|
14
19
|
},
|
|
15
20
|
"radius": {
|
|
@@ -26,6 +31,47 @@
|
|
|
26
31
|
"$type": "color",
|
|
27
32
|
"$value": "hsl(0, 0%, 9.0%)"
|
|
28
33
|
}
|
|
34
|
+
},
|
|
35
|
+
"success": {
|
|
36
|
+
"background": {
|
|
37
|
+
"$type": "color",
|
|
38
|
+
"$value": "hsl(151, 55%, 41.5%)",
|
|
39
|
+
"$description": "Success command background in light mode."
|
|
40
|
+
},
|
|
41
|
+
"backgroundHover": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$value": "hsl(151, 58%, 37%)",
|
|
44
|
+
"$description": "Success command hover background in light mode. Step-10 hover companion to the green solid fill."
|
|
45
|
+
},
|
|
46
|
+
"foreground": {
|
|
47
|
+
"$type": "color",
|
|
48
|
+
"$value": "hsl(0, 0%, 100%)",
|
|
49
|
+
"$description": "Text or icon color on success command backgrounds."
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"danger": {
|
|
53
|
+
"background": {
|
|
54
|
+
"$type": "color",
|
|
55
|
+
"$value": "hsl(358, 75%, 59%)",
|
|
56
|
+
"$description": "Destructive command background in light mode."
|
|
57
|
+
},
|
|
58
|
+
"backgroundHover": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "hsl(357, 66%, 53%)",
|
|
61
|
+
"$description": "Destructive command hover background in light mode. Step-10 hover companion to the red solid fill."
|
|
62
|
+
},
|
|
63
|
+
"foreground": {
|
|
64
|
+
"$type": "color",
|
|
65
|
+
"$value": "hsl(0, 0%, 100%)",
|
|
66
|
+
"$description": "Text or icon color on destructive command backgrounds."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"info": {
|
|
70
|
+
"backgroundHover": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "hsl(0, 0%, 52.3%)",
|
|
73
|
+
"$description": "Neutral solid command hover background in light mode."
|
|
74
|
+
}
|
|
29
75
|
}
|
|
30
76
|
},
|
|
31
77
|
"input": {
|
|
@@ -45,7 +91,7 @@
|
|
|
45
91
|
"fileRow": {
|
|
46
92
|
"background": {
|
|
47
93
|
"$type": "color",
|
|
48
|
-
"$value": "
|
|
94
|
+
"$value": "hsla(0, 0%, 0%, 0)"
|
|
49
95
|
},
|
|
50
96
|
"hoverBackground": {
|
|
51
97
|
"$type": "color",
|
|
@@ -63,7 +109,7 @@
|
|
|
63
109
|
},
|
|
64
110
|
"dangerBackground": {
|
|
65
111
|
"$type": "color",
|
|
66
|
-
"$value": "hsl(
|
|
112
|
+
"$value": "hsl(2, 100%, 96%)"
|
|
67
113
|
}
|
|
68
114
|
}
|
|
69
115
|
},
|
|
@@ -72,7 +118,7 @@
|
|
|
72
118
|
"yellow": {
|
|
73
119
|
"$type": "color",
|
|
74
120
|
"$value": "hsl(44.7, 97.9%, 63.1%)",
|
|
75
|
-
"$description": "
|
|
121
|
+
"$description": "put.io brand yellow (canonical hex #FDCE45). The resting brand fill is the same in light and dark modes."
|
|
76
122
|
}
|
|
77
123
|
},
|
|
78
124
|
"neutral": {
|
|
@@ -131,51 +177,51 @@
|
|
|
131
177
|
"light": {
|
|
132
178
|
"bg": {
|
|
133
179
|
"$type": "color",
|
|
134
|
-
"$value": "hsl(
|
|
180
|
+
"$value": "hsl(140, 60%, 99%)"
|
|
135
181
|
},
|
|
136
182
|
"bgSecondary": {
|
|
137
183
|
"$type": "color",
|
|
138
|
-
"$value": "hsl(
|
|
184
|
+
"$value": "hsl(140, 41%, 97%)"
|
|
139
185
|
},
|
|
140
186
|
"componentBg": {
|
|
141
187
|
"$type": "color",
|
|
142
|
-
"$value": "hsl(
|
|
188
|
+
"$value": "hsl(135, 53%, 93%)"
|
|
143
189
|
},
|
|
144
190
|
"componentBgHover": {
|
|
145
191
|
"$type": "color",
|
|
146
|
-
"$value": "hsl(
|
|
192
|
+
"$value": "hsl(138, 58%, 89%)"
|
|
147
193
|
},
|
|
148
194
|
"componentBgActive": {
|
|
149
195
|
"$type": "color",
|
|
150
|
-
"$value": "hsl(
|
|
196
|
+
"$value": "hsl(140, 50%, 84%)"
|
|
151
197
|
},
|
|
152
198
|
"line": {
|
|
153
199
|
"$type": "color",
|
|
154
|
-
"$value": "hsl(
|
|
200
|
+
"$value": "hsl(141, 47%, 77%)"
|
|
155
201
|
},
|
|
156
202
|
"border": {
|
|
157
203
|
"$type": "color",
|
|
158
|
-
"$value": "hsl(
|
|
204
|
+
"$value": "hsl(140, 39%, 68%)"
|
|
159
205
|
},
|
|
160
206
|
"borderHover": {
|
|
161
207
|
"$type": "color",
|
|
162
|
-
"$value": "hsl(
|
|
208
|
+
"$value": "hsl(146, 39%, 55%)"
|
|
163
209
|
},
|
|
164
210
|
"solid": {
|
|
165
211
|
"$type": "color",
|
|
166
|
-
"$value": "hsl(151, 55
|
|
212
|
+
"$value": "hsl(151, 55%, 41.5%)"
|
|
167
213
|
},
|
|
168
214
|
"solidHover": {
|
|
169
215
|
"$type": "color",
|
|
170
|
-
"$value": "hsl(
|
|
216
|
+
"$value": "hsl(151, 58%, 37%)"
|
|
171
217
|
},
|
|
172
218
|
"textSecondary": {
|
|
173
219
|
"$type": "color",
|
|
174
|
-
"$value": "hsl(
|
|
220
|
+
"$value": "hsl(155, 100%, 25%)"
|
|
175
221
|
},
|
|
176
222
|
"text": {
|
|
177
223
|
"$type": "color",
|
|
178
|
-
"$value": "hsl(
|
|
224
|
+
"$value": "hsl(146, 35%, 17%)"
|
|
179
225
|
}
|
|
180
226
|
}
|
|
181
227
|
},
|
|
@@ -183,51 +229,51 @@
|
|
|
183
229
|
"light": {
|
|
184
230
|
"bg": {
|
|
185
231
|
"$type": "color",
|
|
186
|
-
"$value": "hsl(
|
|
232
|
+
"$value": "hsl(0, 100%, 99%)"
|
|
187
233
|
},
|
|
188
234
|
"bgSecondary": {
|
|
189
235
|
"$type": "color",
|
|
190
|
-
"$value": "hsl(
|
|
236
|
+
"$value": "hsl(0, 100%, 98%)"
|
|
191
237
|
},
|
|
192
238
|
"componentBg": {
|
|
193
239
|
"$type": "color",
|
|
194
|
-
"$value": "hsl(
|
|
240
|
+
"$value": "hsl(2, 100%, 96%)"
|
|
195
241
|
},
|
|
196
242
|
"componentBgHover": {
|
|
197
243
|
"$type": "color",
|
|
198
|
-
"$value": "hsl(
|
|
244
|
+
"$value": "hsl(4, 100%, 93%)"
|
|
199
245
|
},
|
|
200
246
|
"componentBgActive": {
|
|
201
247
|
"$type": "color",
|
|
202
|
-
"$value": "hsl(
|
|
248
|
+
"$value": "hsl(3, 100%, 89%)"
|
|
203
249
|
},
|
|
204
250
|
"line": {
|
|
205
251
|
"$type": "color",
|
|
206
|
-
"$value": "hsl(
|
|
252
|
+
"$value": "hsl(3, 97%, 86%)"
|
|
207
253
|
},
|
|
208
254
|
"border": {
|
|
209
255
|
"$type": "color",
|
|
210
|
-
"$value": "hsl(
|
|
256
|
+
"$value": "hsl(2, 81%, 80%)"
|
|
211
257
|
},
|
|
212
258
|
"borderHover": {
|
|
213
259
|
"$type": "color",
|
|
214
|
-
"$value": "hsl(
|
|
260
|
+
"$value": "hsl(2, 71%, 73%)"
|
|
215
261
|
},
|
|
216
262
|
"solid": {
|
|
217
263
|
"$type": "color",
|
|
218
|
-
"$value": "hsl(358, 75
|
|
264
|
+
"$value": "hsl(358, 75%, 59%)"
|
|
219
265
|
},
|
|
220
266
|
"solidHover": {
|
|
221
267
|
"$type": "color",
|
|
222
|
-
"$value": "hsl(
|
|
268
|
+
"$value": "hsl(357, 66%, 53%)"
|
|
223
269
|
},
|
|
224
270
|
"textSecondary": {
|
|
225
271
|
"$type": "color",
|
|
226
|
-
"$value": "hsl(
|
|
272
|
+
"$value": "hsl(355, 64%, 49%)"
|
|
227
273
|
},
|
|
228
274
|
"text": {
|
|
229
275
|
"$type": "color",
|
|
230
|
-
"$value": "hsl(
|
|
276
|
+
"$value": "hsl(358, 62%, 24%)"
|
|
231
277
|
}
|
|
232
278
|
}
|
|
233
279
|
},
|
|
@@ -235,47 +281,48 @@
|
|
|
235
281
|
"light": {
|
|
236
282
|
"bg": {
|
|
237
283
|
"$type": "color",
|
|
238
|
-
"$value": "hsl(
|
|
284
|
+
"$value": "hsl(45, 60%, 99%)"
|
|
239
285
|
},
|
|
240
286
|
"bgSecondary": {
|
|
241
287
|
"$type": "color",
|
|
242
|
-
"$value": "hsl(
|
|
288
|
+
"$value": "hsl(53, 100%, 96%)"
|
|
243
289
|
},
|
|
244
290
|
"componentBg": {
|
|
245
291
|
"$type": "color",
|
|
246
|
-
"$value": "hsl(
|
|
292
|
+
"$value": "hsl(52, 100%, 88%)"
|
|
247
293
|
},
|
|
248
294
|
"componentBgHover": {
|
|
249
295
|
"$type": "color",
|
|
250
|
-
"$value": "hsl(
|
|
296
|
+
"$value": "hsl(50, 100%, 82%)"
|
|
251
297
|
},
|
|
252
298
|
"componentBgActive": {
|
|
253
299
|
"$type": "color",
|
|
254
|
-
"$value": "hsl(
|
|
300
|
+
"$value": "hsl(48, 100%, 76%)"
|
|
255
301
|
},
|
|
256
302
|
"line": {
|
|
257
303
|
"$type": "color",
|
|
258
|
-
"$value": "hsl(
|
|
304
|
+
"$value": "hsl(46, 87%, 73%)"
|
|
259
305
|
},
|
|
260
306
|
"border": {
|
|
261
307
|
"$type": "color",
|
|
262
|
-
"$value": "hsl(
|
|
308
|
+
"$value": "hsl(45, 67%, 67%)"
|
|
263
309
|
},
|
|
264
310
|
"borderHover": {
|
|
265
311
|
"$type": "color",
|
|
266
|
-
"$value": "hsl(
|
|
312
|
+
"$value": "hsl(44, 58%, 56%)"
|
|
267
313
|
},
|
|
268
314
|
"solidHover": {
|
|
269
315
|
"$type": "color",
|
|
270
|
-
"$value": "hsl(
|
|
316
|
+
"$value": "hsl(45, 89%, 58%)",
|
|
317
|
+
"$description": "Primary-button hover yellow for light mode."
|
|
271
318
|
},
|
|
272
319
|
"textSecondary": {
|
|
273
320
|
"$type": "color",
|
|
274
|
-
"$value": "hsl(
|
|
321
|
+
"$value": "hsl(46, 100%, 29%)"
|
|
275
322
|
},
|
|
276
323
|
"text": {
|
|
277
324
|
"$type": "color",
|
|
278
|
-
"$value": "hsl(
|
|
325
|
+
"$value": "hsl(43, 32%, 21%)"
|
|
279
326
|
}
|
|
280
327
|
}
|
|
281
328
|
},
|
|
@@ -516,7 +563,7 @@
|
|
|
516
563
|
},
|
|
517
564
|
"navItemBg": {
|
|
518
565
|
"$type": "color",
|
|
519
|
-
"$value": "
|
|
566
|
+
"$value": "hsla(0, 0%, 0%, 0)"
|
|
520
567
|
},
|
|
521
568
|
"navItemBgHover": {
|
|
522
569
|
"$type": "color",
|
|
@@ -528,7 +575,7 @@
|
|
|
528
575
|
},
|
|
529
576
|
"listItemBg": {
|
|
530
577
|
"$type": "color",
|
|
531
|
-
"$value": "
|
|
578
|
+
"$value": "hsla(0, 0%, 0%, 0)"
|
|
532
579
|
},
|
|
533
580
|
"listItemBgHover": {
|
|
534
581
|
"$type": "color",
|
|
@@ -576,7 +623,7 @@
|
|
|
576
623
|
},
|
|
577
624
|
"transparent": {
|
|
578
625
|
"$type": "color",
|
|
579
|
-
"$value": "
|
|
626
|
+
"$value": "hsla(0, 0%, 0%, 0)"
|
|
580
627
|
},
|
|
581
628
|
"overlayInline": {
|
|
582
629
|
"$type": "color",
|