@astryxdesign/theme-butter 0.7.11 → 0.7.12-canary.0f28099
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/dist/butter.d.ts +2 -2
- package/dist/butter.js +3 -4
- package/dist/butter.variants.d.ts +2 -2
- package/dist/butterTheme.d.ts.map +1 -1
- package/dist/source.js +4 -2
- package/dist/source.mjs +4 -2
- package/dist/theme.css +11 -4
- package/dist/theme.css.d.ts +2 -2
- package/package.json +3 -3
- package/src/butterTheme.ts +3 -2
package/dist/butter.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/// <reference path="./butter.variants.d.ts" />
|
package/dist/butter.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { butterIconRegistry } from "./icons.mjs";
|
|
@@ -60,7 +60,7 @@ export const butterTheme = {
|
|
|
60
60
|
"--text-code-size": "var(--font-size-base)",
|
|
61
61
|
"--text-code-weight": "var(--font-weight-normal)",
|
|
62
62
|
"--text-code-leading": "1.4286",
|
|
63
|
-
"--text-supporting-size": "
|
|
63
|
+
"--text-supporting-size": "0.75rem",
|
|
64
64
|
"--text-supporting-weight": "var(--font-weight-normal)",
|
|
65
65
|
"--text-supporting-leading": "1.4545",
|
|
66
66
|
"--text-display-1-size": "var(--font-size-5xl)",
|
|
@@ -337,7 +337,6 @@ export const butterTheme = {
|
|
|
337
337
|
},
|
|
338
338
|
"button": {
|
|
339
339
|
"base": {
|
|
340
|
-
"paddingBlock": "var(--spacing-3)",
|
|
341
340
|
"paddingInline": "var(--spacing-4)"
|
|
342
341
|
},
|
|
343
342
|
"variant:secondary": {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Generated by astryx theme build
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"butterTheme.d.ts","sourceRoot":"","sources":["../src/butterTheme.ts"],"names":[],"mappings":"AAgIA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"butterTheme.d.ts","sourceRoot":"","sources":["../src/butterTheme.ts"],"names":[],"mappings":"AAgIA,eAAO,MAAM,WAAW,gEAkiBtB,CAAC;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmUjB,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -322,7 +322,8 @@ var butterTheme = (0, import_theme.defineTheme)({
|
|
|
322
322
|
],
|
|
323
323
|
"--color-tint-hover": [neutral.light[0], neutral.dark[100]],
|
|
324
324
|
// Typography override
|
|
325
|
-
"--text-supporting-size": "
|
|
325
|
+
"--text-supporting-size": "0.75rem",
|
|
326
|
+
// 12px at the default root size
|
|
326
327
|
// Element sizes — slightly taller defaults so the new input padding
|
|
327
328
|
// (--spacing-2 block) has room to breathe.
|
|
328
329
|
"--size-element-sm": "32px",
|
|
@@ -443,8 +444,9 @@ var butterTheme = (0, import_theme.defineTheme)({
|
|
|
443
444
|
// Radius intentionally not pinned, so buttons keep core's
|
|
444
445
|
// `var(--_button-radius, --radius-element)`: standalone buttons stay 8px,
|
|
445
446
|
// while the chat composer (which sets --_button-radius) rounds them fully.
|
|
447
|
+
// Inline padding only: a labelled button's size is its minimum height,
|
|
448
|
+
// and block padding would add to it.
|
|
446
449
|
base: {
|
|
447
|
-
paddingBlock: "var(--spacing-3)",
|
|
448
450
|
paddingInline: "var(--spacing-4)"
|
|
449
451
|
},
|
|
450
452
|
"variant:secondary": SECONDARY_BUTTON,
|
package/dist/source.mjs
CHANGED
|
@@ -324,7 +324,8 @@ var butterTheme = defineTheme({
|
|
|
324
324
|
],
|
|
325
325
|
"--color-tint-hover": [neutral.light[0], neutral.dark[100]],
|
|
326
326
|
// Typography override
|
|
327
|
-
"--text-supporting-size": "
|
|
327
|
+
"--text-supporting-size": "0.75rem",
|
|
328
|
+
// 12px at the default root size
|
|
328
329
|
// Element sizes — slightly taller defaults so the new input padding
|
|
329
330
|
// (--spacing-2 block) has room to breathe.
|
|
330
331
|
"--size-element-sm": "32px",
|
|
@@ -445,8 +446,9 @@ var butterTheme = defineTheme({
|
|
|
445
446
|
// Radius intentionally not pinned, so buttons keep core's
|
|
446
447
|
// `var(--_button-radius, --radius-element)`: standalone buttons stay 8px,
|
|
447
448
|
// while the chat composer (which sets --_button-radius) rounds them fully.
|
|
449
|
+
// Inline padding only: a labelled button's size is its minimum height,
|
|
450
|
+
// and block padding would add to it.
|
|
448
451
|
base: {
|
|
449
|
-
paddingBlock: "var(--spacing-3)",
|
|
450
452
|
paddingInline: "var(--spacing-4)"
|
|
451
453
|
},
|
|
452
454
|
"variant:secondary": SECONDARY_BUTTON,
|
package/dist/theme.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@layer reset, astryx-base, astryx-theme;
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
--text-code-size: var(--font-size-base);
|
|
129
129
|
--text-code-weight: var(--font-weight-normal);
|
|
130
130
|
--text-code-leading: 1.4286;
|
|
131
|
-
--text-supporting-size:
|
|
131
|
+
--text-supporting-size: 0.75rem;
|
|
132
132
|
--text-supporting-weight: var(--font-weight-normal);
|
|
133
133
|
--text-supporting-leading: 1.4545;
|
|
134
134
|
--text-display-1-size: var(--font-size-5xl);
|
|
@@ -427,12 +427,19 @@
|
|
|
427
427
|
background-color: var(--color-overlay-hover);
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
+
@media not all and (pointer: coarse) {
|
|
430
431
|
.astryx-top-nav-item[data-selected="selected"]:active {
|
|
431
432
|
background-color: var(--color-overlay-pressed);
|
|
432
433
|
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
@media (pointer: coarse) {
|
|
437
|
+
.astryx-top-nav-item[data-selected="selected"]:is([data-astryx-press="on"], [data-astryx-press="on"] :where(:not([data-astryx-pressable], [data-astryx-press="on"] [data-astryx-pressable] *)), :where(:not([data-astryx-pressable])):has([data-astryx-press="on"])) {
|
|
438
|
+
background-color: var(--color-overlay-pressed);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
433
441
|
|
|
434
442
|
.astryx-button {
|
|
435
|
-
padding-block: var(--spacing-3);
|
|
436
443
|
padding-inline: var(--spacing-4);
|
|
437
444
|
}
|
|
438
445
|
|
package/dist/theme.css.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-butter",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12-canary.0f28099",
|
|
4
4
|
"displayName": "Butter Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Warm, creamy yellows with a friendly blue accent. Playful enough for consumer surfaces, soft enough to stay readable.",
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"lucide-react": "^1.18.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@astryxdesign/core": "0.7.
|
|
74
|
+
"@astryxdesign/core": "0.7.12-canary.0f28099",
|
|
75
75
|
"react": ">=19"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@astryxdesign/cli": "0.7.
|
|
78
|
+
"@astryxdesign/cli": "0.7.12-canary.0f28099"
|
|
79
79
|
},
|
|
80
80
|
"module": "./dist/source.mjs",
|
|
81
81
|
"scripts": {
|
package/src/butterTheme.ts
CHANGED
|
@@ -260,7 +260,7 @@ export const butterTheme = defineTheme({
|
|
|
260
260
|
'--color-tint-hover': [neutral.light[0], neutral.dark[100]],
|
|
261
261
|
|
|
262
262
|
// Typography override
|
|
263
|
-
'--text-supporting-size': '
|
|
263
|
+
'--text-supporting-size': '0.75rem', // 12px at the default root size
|
|
264
264
|
|
|
265
265
|
// Element sizes — slightly taller defaults so the new input padding
|
|
266
266
|
// (--spacing-2 block) has room to breathe.
|
|
@@ -394,8 +394,9 @@ export const butterTheme = defineTheme({
|
|
|
394
394
|
// Radius intentionally not pinned, so buttons keep core's
|
|
395
395
|
// `var(--_button-radius, --radius-element)`: standalone buttons stay 8px,
|
|
396
396
|
// while the chat composer (which sets --_button-radius) rounds them fully.
|
|
397
|
+
// Inline padding only: a labelled button's size is its minimum height,
|
|
398
|
+
// and block padding would add to it.
|
|
397
399
|
base: {
|
|
398
|
-
paddingBlock: 'var(--spacing-3)',
|
|
399
400
|
paddingInline: 'var(--spacing-4)',
|
|
400
401
|
},
|
|
401
402
|
'variant:secondary': SECONDARY_BUTTON,
|