@slashsuite/themes 0.7.0 → 0.7.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 +5 -4
- package/package.json +1 -2
- package/slash-suite.css +26 -26
- package/slash-suite.native.json +16 -16
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ edited by hand; `themes.test.ts` fails on a stale one. Import it as
|
|
|
17
17
|
| Thrifty Paper | `thrifty-paper.css` | `.thrifty-paper` | light: cream paper, ink text, clay accent |
|
|
18
18
|
| Thriftloop | `thriftloop.css` | `.thriftloop` | light: butter paper, brown ink, clay accent |
|
|
19
19
|
| Thriftloop Dark | `thriftloop-dark.css` | `.thriftloop-dark` | dark: deep teal night, lit-window clay; declares the `dark` variant on its own scope |
|
|
20
|
-
| Slash suite | `slash-suite.css` | `.slash-suite` | light: Slash Day, a cool blue-grey canvas, navy ink,
|
|
20
|
+
| Slash suite | `slash-suite.css` | `.slash-suite` | light: Slash Day, a cool blue-grey canvas, navy ink, orange accent |
|
|
21
21
|
| Slash suite dark | `slash-suite-dark.css` | `.slash-suite-dark` | dark: Slash Night, a deep navy ground, peach pastel accent; declares the `dark` variant on its own scope |
|
|
22
22
|
|
|
23
23
|
Status: `0.x`. License: MIT.
|
|
@@ -166,14 +166,15 @@ positive `#047857` / `#ecfdf5` · warn `#b45309` / `#fffbeb` · note `#0f766e` /
|
|
|
166
166
|
### Slash suite and Slash suite dark
|
|
167
167
|
|
|
168
168
|
The Slash suite pair, built from Catppuccin Latte and Mocha (the credit is the same, see above), with
|
|
169
|
-
the suite's peach as the accent. Slash Day is the light ground: canvas `#eef2f9` · card `#ffffff` ·
|
|
169
|
+
the suite's peach as the accent (an orange on the light ground). Slash Day is the light ground: canvas `#eef2f9` · card `#ffffff` ·
|
|
170
170
|
subtle `#e6e9f1` · deep `#dee1ea` · lines `#d8dbe5`, `#c6c9d5`, `#b4b7c5` · ink `#24273a` (Macchiato's
|
|
171
171
|
base) · ink-2 `#3a3d52` · mute `#5b5e74` · faint `#85879c`. Slash Night is the dark one: crust
|
|
172
172
|
`#080d1c` · canvas `#0d1326` · card `#19233e` · s0 `#25304d` · s1 `#374463` · s2 `#485574` · ink
|
|
173
173
|
`#e2e8fc` · ink-2 `#ccd4ee` · mute `#c6cce2` · faint `#b1b8d0`.
|
|
174
174
|
|
|
175
|
-
|
|
176
|
-
edges and focus rings
|
|
175
|
+
On Night the fills take the Mocha peach pastel `#fab387`, with a dark label. On Day the fill is a vivid
|
|
176
|
+
orange `#e0660c` with the same dark label, its edges and focus rings the hovered tone `#d2600a`, so a
|
|
177
|
+
button reads as one shape, and the accent text is the deep orange `#9e3b00`. The
|
|
177
178
|
status tones stay Latte's; the avatar initials are the accent's label, so on Day the avatar fills, the
|
|
178
179
|
positive button among them, are Latte's own colours, which the dark label clears. On Night everything is
|
|
179
180
|
the pastel, except the accent text (`#fbc5a1`, lifted so it clears AA on the Callout tints), and the status tones are Mocha's.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashsuite/themes",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "The UISlash themes: one CSS file per theme, each remapping the Tailwind utilities @slashsuite/ui-react is written against.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dark-mode",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/bun": "1.4.5",
|
|
52
|
-
"tailwindcss": "^4.3.5",
|
|
53
52
|
"vitest": "5.1.1"
|
|
54
53
|
},
|
|
55
54
|
"peerDependencies": {
|
package/slash-suite.css
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
Built from Catppuccin Latte. The neutrals are the Slash Day ground: a cool
|
|
15
15
|
blue-grey canvas, white cards and a navy ink (#24273a, Catppuccin Macchiato's
|
|
16
|
-
base). The accent is the suite's
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Latte's deep ones. The avatar initials are the accent's label, now dark, so
|
|
16
|
+
base). The accent is the suite's orange: a vivid #e0660c fill with dark ink
|
|
17
|
+
labels and an edge of its hovered tone #d2600a, so a button reads as one
|
|
18
|
+
shape, and a deep orange #9e3b00 for text and links, which hold 4.5:1. The
|
|
19
|
+
status tones stay Latte's deep ones. The avatar initials are the accent's label, now dark, so
|
|
20
20
|
the avatar fills (the green and yellow ones are also the positive button and
|
|
21
21
|
the progress bars) are Latte's own colours, which the dark label clears, not
|
|
22
22
|
the white-label darkened ones.
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
base (canvas) #eef2f9 · mantle (subtle) #e6e9f1 · crust (deep) #dee1ea
|
|
26
26
|
surface0 (line) #d8dbe5 · surface1 #c6c9d5 · surface2 #b4b7c5
|
|
27
27
|
text (ink) #24273a · subtext1 #3a3d52 · subtext0 (mute) #5b5e74 · overlay1 (faint) #85879c
|
|
28
|
-
|
|
28
|
+
orange #e0660c · deep orange #9e3b00 · flamingo #dd7878 · red #d20f39 · maroon #e64553
|
|
29
29
|
yellow #df8e1d · green #40a02b · teal #179299 · sky #04a5e5
|
|
30
30
|
sapphire #209fb5 · blue #1e66f5 · lavender #7287fd · pink #ea76cb
|
|
31
31
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
--hc-line: #d8dbe5; /* border-slate-200 */
|
|
58
58
|
--hc-ink: #24273a; /* text-slate-900 */
|
|
59
59
|
--hc-mute: #5b5e74; /* text-slate-500 */
|
|
60
|
-
--hc-accent: #
|
|
60
|
+
--hc-accent: #9e3b00; /* text-violet-600 */
|
|
61
61
|
--hc-cat-1: #1a60f8; /* text-indigo-600 */
|
|
62
62
|
--hc-cat-2: #e94e05; /* text-orange-600 */
|
|
63
63
|
--hc-cat-3: #2a8c98; /* text-teal-600 */
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
to AA, so a highlight reads in the theme's accent rather than the browser's blue. */
|
|
73
73
|
.slash-suite ::selection,
|
|
74
74
|
.slash-suite::selection {
|
|
75
|
-
background-color: #
|
|
75
|
+
background-color: #e0660c;
|
|
76
76
|
color: #080d1c;
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -200,40 +200,40 @@
|
|
|
200
200
|
|
|
201
201
|
/* Accent: buttons, focus, controls */
|
|
202
202
|
.slash-suite .bg-violet-600 {
|
|
203
|
-
background-color: #
|
|
203
|
+
background-color: #e0660c; /* orange */
|
|
204
204
|
}
|
|
205
205
|
.slash-suite .hover\:bg-violet-700:hover {
|
|
206
|
-
background-color: #
|
|
206
|
+
background-color: #d2600a; /* orange, one step darker; the dark label keeps 4.5:1 */
|
|
207
207
|
}
|
|
208
208
|
.slash-suite .text-violet-50 {
|
|
209
|
-
color: #080d1c; /* Slash Night crust: dark ink on the
|
|
209
|
+
color: #080d1c; /* Slash Night crust: dark ink on the orange button */
|
|
210
210
|
}
|
|
211
211
|
.slash-suite .hover\:text-violet-700:hover {
|
|
212
|
-
color: #8a2e03; /* deep
|
|
212
|
+
color: #8a2e03; /* deep orange, darkened: the hovered link */
|
|
213
213
|
}
|
|
214
214
|
.slash-suite .hover\:bg-violet-50:hover {
|
|
215
|
-
background-color: rgba(
|
|
215
|
+
background-color: rgba(224, 102, 12, 0.12); /* orange tint: deep orange text keeps 4.5:1 on it */
|
|
216
216
|
}
|
|
217
217
|
.slash-suite .border-violet-600 {
|
|
218
|
-
border-color: #
|
|
218
|
+
border-color: #d2600a; /* the hovered fill's tone: the button's edge matches its fill */
|
|
219
219
|
}
|
|
220
220
|
.slash-suite .hover\:border-violet-400:hover {
|
|
221
|
-
border-color:
|
|
221
|
+
border-color: #d2600a; /* opaque: a hovered field edge needs 3:1 */
|
|
222
222
|
}
|
|
223
223
|
.slash-suite .outline-violet-600 {
|
|
224
|
-
outline-color: #
|
|
224
|
+
outline-color: #d2600a; /* the edge */
|
|
225
225
|
}
|
|
226
226
|
.slash-suite .target\:outline-violet-600:target {
|
|
227
|
-
outline-color: #
|
|
227
|
+
outline-color: #d2600a; /* the edge */
|
|
228
228
|
}
|
|
229
229
|
.slash-suite .focus-visible\:outline-violet-600:focus-visible {
|
|
230
|
-
outline-color: #
|
|
230
|
+
outline-color: #d2600a; /* the edge */
|
|
231
231
|
}
|
|
232
232
|
.slash-suite .has-focus-visible\:outline-violet-600:has(:focus-visible) {
|
|
233
|
-
outline-color: #
|
|
233
|
+
outline-color: #d2600a; /* the edge */
|
|
234
234
|
}
|
|
235
235
|
.slash-suite .accent-violet-600 {
|
|
236
|
-
accent-color: #
|
|
236
|
+
accent-color: #d2600a; /* the edge */
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
/* Danger button (Button tone="danger"): solid, outline and ghost */
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
background-color: rgba(30, 102, 245, 0.06); /* blue tint */
|
|
338
338
|
}
|
|
339
339
|
.slash-suite .bg-violet-50 {
|
|
340
|
-
background-color: rgba(
|
|
340
|
+
background-color: rgba(224, 102, 12, 0.12); /* orange tint */
|
|
341
341
|
}
|
|
342
342
|
.slash-suite .bg-sky-50 {
|
|
343
343
|
background-color: rgba(4, 165, 229, 0.06); /* sky tint */
|
|
@@ -364,18 +364,18 @@
|
|
|
364
364
|
}
|
|
365
365
|
.slash-suite .text-violet-600,
|
|
366
366
|
.slash-suite .text-violet-700 {
|
|
367
|
-
color: #
|
|
367
|
+
color: #9e3b00; /* deep orange */
|
|
368
368
|
}
|
|
369
369
|
.slash-suite .text-sky-700 {
|
|
370
370
|
color: #046b96; /* sky #04a5e5 */
|
|
371
371
|
}
|
|
372
|
-
/* Chart-only tones (StackedBar, Legend): neutral is a grey apart from muted, violet is the
|
|
373
|
-
|
|
372
|
+
/* Chart-only tones (StackedBar, Legend): neutral is a grey apart from muted, violet is the
|
|
373
|
+
accent's edge. */
|
|
374
374
|
.slash-suite .text-neutral-500 {
|
|
375
375
|
color: #808397; /* overlay1 #85879c, darkened: a chart tone needs 3:1 */
|
|
376
376
|
}
|
|
377
377
|
.slash-suite .text-purple-700 {
|
|
378
|
-
color: #
|
|
378
|
+
color: #d2600a; /* the accent's edge */
|
|
379
379
|
}
|
|
380
380
|
/* The categorical scale (cat1 to cat8): one colour per category where the colour carries no
|
|
381
381
|
meaning, for a chart and its key. Each starts from this theme's own hue and moved only as far as
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
TextLink (text-violet-600, hover:text-violet-700, remapped above), kept for consumers that still
|
|
438
438
|
write class="link" on a bare <a>. */
|
|
439
439
|
.slash-suite .link {
|
|
440
|
-
color: #
|
|
440
|
+
color: #9e3b00; /* deep orange */
|
|
441
441
|
font-weight: 500;
|
|
442
442
|
text-underline-offset: 2px;
|
|
443
443
|
transition: color 0.12s ease;
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
/* The hero glow (Hero): three ribbons behind a landing page's title, the accent, teal and pink kept faint
|
|
450
450
|
on the light base. Decoration: the contrast contract holds the hero's text over all three at once. */
|
|
451
451
|
.slash-suite .bg-indigo-400\/25 {
|
|
452
|
-
background-color: rgba(
|
|
452
|
+
background-color: rgba(224, 102, 12, 0.1); /* orange */
|
|
453
453
|
}
|
|
454
454
|
.slash-suite .bg-teal-400\/25 {
|
|
455
455
|
background-color: rgba(23, 146, 153, 0.045); /* teal */
|
package/slash-suite.native.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"headingFontFamily": null
|
|
11
11
|
},
|
|
12
12
|
"selection": {
|
|
13
|
-
"backgroundColor": "#
|
|
13
|
+
"backgroundColor": "#e0660c",
|
|
14
14
|
"color": "#080d1c"
|
|
15
15
|
},
|
|
16
16
|
"utilities": {
|
|
@@ -114,19 +114,19 @@
|
|
|
114
114
|
"backgroundColor": "#c6c9d5"
|
|
115
115
|
},
|
|
116
116
|
"bg-violet-600": {
|
|
117
|
-
"backgroundColor": "#
|
|
117
|
+
"backgroundColor": "#e0660c"
|
|
118
118
|
},
|
|
119
119
|
"text-violet-50": {
|
|
120
120
|
"color": "#080d1c"
|
|
121
121
|
},
|
|
122
122
|
"border-violet-600": {
|
|
123
|
-
"borderColor": "#
|
|
123
|
+
"borderColor": "#d2600a"
|
|
124
124
|
},
|
|
125
125
|
"outline-violet-600": {
|
|
126
|
-
"outlineColor": "#
|
|
126
|
+
"outlineColor": "#d2600a"
|
|
127
127
|
},
|
|
128
128
|
"accent-violet-600": {
|
|
129
|
-
"accentColor": "#
|
|
129
|
+
"accentColor": "#d2600a"
|
|
130
130
|
},
|
|
131
131
|
"bg-red-600": {
|
|
132
132
|
"backgroundColor": "#d20f39"
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"backgroundColor": "rgba(30, 102, 245, 0.06)"
|
|
181
181
|
},
|
|
182
182
|
"bg-violet-50": {
|
|
183
|
-
"backgroundColor": "rgba(
|
|
183
|
+
"backgroundColor": "rgba(224, 102, 12, 0.12)"
|
|
184
184
|
},
|
|
185
185
|
"bg-sky-50": {
|
|
186
186
|
"backgroundColor": "rgba(4, 165, 229, 0.06)"
|
|
@@ -222,10 +222,10 @@
|
|
|
222
222
|
"color": "#1e5bd4"
|
|
223
223
|
},
|
|
224
224
|
"text-violet-600": {
|
|
225
|
-
"color": "#
|
|
225
|
+
"color": "#9e3b00"
|
|
226
226
|
},
|
|
227
227
|
"text-violet-700": {
|
|
228
|
-
"color": "#
|
|
228
|
+
"color": "#9e3b00"
|
|
229
229
|
},
|
|
230
230
|
"text-sky-700": {
|
|
231
231
|
"color": "#046b96"
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"color": "#808397"
|
|
235
235
|
},
|
|
236
236
|
"text-purple-700": {
|
|
237
|
-
"color": "#
|
|
237
|
+
"color": "#d2600a"
|
|
238
238
|
},
|
|
239
239
|
"text-indigo-600": {
|
|
240
240
|
"color": "#1a60f8"
|
|
@@ -282,11 +282,11 @@
|
|
|
282
282
|
"borderColor": "rgba(30, 102, 245, 0.4)"
|
|
283
283
|
},
|
|
284
284
|
"link": {
|
|
285
|
-
"color": "#
|
|
285
|
+
"color": "#9e3b00",
|
|
286
286
|
"fontWeight": "500"
|
|
287
287
|
},
|
|
288
288
|
"bg-indigo-400/25": {
|
|
289
|
-
"backgroundColor": "rgba(
|
|
289
|
+
"backgroundColor": "rgba(224, 102, 12, 0.1)"
|
|
290
290
|
},
|
|
291
291
|
"bg-teal-400/25": {
|
|
292
292
|
"backgroundColor": "rgba(23, 146, 153, 0.045)"
|
|
@@ -340,16 +340,16 @@
|
|
|
340
340
|
"backgroundColor": "rgba(238, 242, 249, 0.12)"
|
|
341
341
|
},
|
|
342
342
|
"bg-violet-700": {
|
|
343
|
-
"backgroundColor": "#
|
|
343
|
+
"backgroundColor": "#d2600a"
|
|
344
344
|
},
|
|
345
345
|
"text-violet-700": {
|
|
346
346
|
"color": "#8a2e03"
|
|
347
347
|
},
|
|
348
348
|
"bg-violet-50": {
|
|
349
|
-
"backgroundColor": "rgba(
|
|
349
|
+
"backgroundColor": "rgba(224, 102, 12, 0.12)"
|
|
350
350
|
},
|
|
351
351
|
"border-violet-400": {
|
|
352
|
-
"borderColor": "
|
|
352
|
+
"borderColor": "#d2600a"
|
|
353
353
|
},
|
|
354
354
|
"bg-red-700": {
|
|
355
355
|
"backgroundColor": "#d43f4d"
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"outlineColor": "#eef2f9"
|
|
379
379
|
},
|
|
380
380
|
"outline-violet-600": {
|
|
381
|
-
"outlineColor": "#
|
|
381
|
+
"outlineColor": "#d2600a"
|
|
382
382
|
}
|
|
383
383
|
},
|
|
384
384
|
"placeholderTextColor": {
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
},
|
|
400
400
|
"target": {
|
|
401
401
|
"outline-violet-600": {
|
|
402
|
-
"outlineColor": "#
|
|
402
|
+
"outlineColor": "#d2600a"
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
},
|