@atom63/styles 0.1.0-beta.8 → 0.1.0-beta.9
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 +1 -1
- package/generated/atom63.figma-sync.json +177 -17
- package/generated/atom63.tokens.json +265 -7
- package/package.json +4 -4
- package/src/compat/a63-from-shadcn.css +260 -0
- package/src/contracts/skeleton.css +7 -2
- package/src/contracts/skeleton.resolver.json +21 -30
- package/src/contracts/toggle.css +18 -3
- package/src/contracts/toggle.resolver.json +123 -0
- package/src/themes/terminal.css +5 -0
- package/src/themes/terminal.resolver.json +25 -0
- package/src/tokens/contrast.browser.test.ts +52 -2
- package/src/tokens/semantics.css +16 -1
- package/src/tokens/semantics.resolver.json +48 -1
- package/src/contracts/toggle.tokens.json +0 -49
package/README.md
CHANGED
|
@@ -173,7 +173,7 @@ ramp). Together these are the single source of semantic truth.
|
|
|
173
173
|
| Text | `--a63-text-primary`, `--a63-text-secondary`, `--a63-text-danger` (error and destructive text; `--a63-action-danger` is the fill) | `semantics.css` |
|
|
174
174
|
| Border | `--a63-border-subtle`, `--a63-border-control` | `semantics.css` |
|
|
175
175
|
| Action | `--a63-action-primary` (+ `-hover`, `-foreground`), `--a63-action-danger` (+ `-hover`, `-foreground`), `--a63-action-neutral` (+ `-foreground`) | primary in `brand-action.css`; danger/neutral in `semantics.css` |
|
|
176
|
-
| Status | `--a63-status-info`, `--a63-status-success`, `--a63-status-warning` (+ `-foreground`) | `semantics.css` |
|
|
176
|
+
| Status | `--a63-status-info`, `--a63-status-success`, `--a63-status-warning`, `--a63-status-danger` (+ `-foreground`) | `semantics.css` |
|
|
177
177
|
| Focus | `--a63-focus-ring` (brand step 600 in light, 400 in dark: 3:1 against surfaces, WCAG 1.4.11) | `semantics.css` |
|
|
178
178
|
| Scrim | `--a63-scrim` | `semantics.css` |
|
|
179
179
|
| Media | `--a63-media-stage`, `--a63-media-scrim` (behind full-screen photos and video, black in every theme) | `semantics.css` |
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"derivedFrom": "packages/styles/generated/atom63.tokens.json",
|
|
5
5
|
"summary": {
|
|
6
6
|
"collections": 14,
|
|
7
|
-
"variables":
|
|
8
|
-
"aliasValues":
|
|
7
|
+
"variables": 1150,
|
|
8
|
+
"aliasValues": 806,
|
|
9
9
|
"skipped": 279,
|
|
10
10
|
"computed": 64
|
|
11
11
|
},
|
|
@@ -1579,6 +1579,77 @@
|
|
|
1579
1579
|
"TEXT_FILL"
|
|
1580
1580
|
]
|
|
1581
1581
|
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "toggle/on/background",
|
|
1584
|
+
"token": "--a63-toggle-on-background",
|
|
1585
|
+
"type": "COLOR",
|
|
1586
|
+
"values": {
|
|
1587
|
+
"modern-light": {
|
|
1588
|
+
"alias": "--a63-action-neutral"
|
|
1589
|
+
},
|
|
1590
|
+
"modern-dark": {
|
|
1591
|
+
"alias": "--a63-action-neutral"
|
|
1592
|
+
},
|
|
1593
|
+
"aqua-light": {
|
|
1594
|
+
"alias": "--a63-action-neutral"
|
|
1595
|
+
},
|
|
1596
|
+
"aqua-dark": {
|
|
1597
|
+
"alias": "--a63-action-neutral"
|
|
1598
|
+
},
|
|
1599
|
+
"retro-light": {
|
|
1600
|
+
"alias": "--a63-action-neutral"
|
|
1601
|
+
},
|
|
1602
|
+
"retro-dark": {
|
|
1603
|
+
"alias": "--a63-action-neutral"
|
|
1604
|
+
},
|
|
1605
|
+
"terminal-light": {
|
|
1606
|
+
"alias": "--a63-text-primary"
|
|
1607
|
+
},
|
|
1608
|
+
"terminal-dark": {
|
|
1609
|
+
"alias": "--a63-text-primary"
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1612
|
+
"codeSyntax": "var(--a63-toggle-on-background)",
|
|
1613
|
+
"scopes": [
|
|
1614
|
+
"FRAME_FILL",
|
|
1615
|
+
"SHAPE_FILL"
|
|
1616
|
+
]
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"name": "toggle/on/foreground",
|
|
1620
|
+
"token": "--a63-toggle-on-foreground",
|
|
1621
|
+
"type": "COLOR",
|
|
1622
|
+
"values": {
|
|
1623
|
+
"modern-light": {
|
|
1624
|
+
"alias": "--a63-action-neutral-foreground"
|
|
1625
|
+
},
|
|
1626
|
+
"modern-dark": {
|
|
1627
|
+
"alias": "--a63-action-neutral-foreground"
|
|
1628
|
+
},
|
|
1629
|
+
"aqua-light": {
|
|
1630
|
+
"alias": "--a63-action-neutral-foreground"
|
|
1631
|
+
},
|
|
1632
|
+
"aqua-dark": {
|
|
1633
|
+
"alias": "--a63-action-neutral-foreground"
|
|
1634
|
+
},
|
|
1635
|
+
"retro-light": {
|
|
1636
|
+
"alias": "--a63-action-neutral-foreground"
|
|
1637
|
+
},
|
|
1638
|
+
"retro-dark": {
|
|
1639
|
+
"alias": "--a63-action-neutral-foreground"
|
|
1640
|
+
},
|
|
1641
|
+
"terminal-light": {
|
|
1642
|
+
"alias": "--a63-surface-page"
|
|
1643
|
+
},
|
|
1644
|
+
"terminal-dark": {
|
|
1645
|
+
"alias": "--a63-surface-page"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"codeSyntax": "var(--a63-toggle-on-foreground)",
|
|
1649
|
+
"scopes": [
|
|
1650
|
+
"TEXT_FILL"
|
|
1651
|
+
]
|
|
1652
|
+
},
|
|
1582
1653
|
{
|
|
1583
1654
|
"name": "track/shadow",
|
|
1584
1655
|
"token": "--a63-track-shadow",
|
|
@@ -2723,21 +2794,6 @@
|
|
|
2723
2794
|
"TEXT_FILL"
|
|
2724
2795
|
]
|
|
2725
2796
|
},
|
|
2726
|
-
{
|
|
2727
|
-
"name": "skeleton/base",
|
|
2728
|
-
"token": "--a63-skeleton-base",
|
|
2729
|
-
"type": "COLOR",
|
|
2730
|
-
"values": {
|
|
2731
|
-
"Value": {
|
|
2732
|
-
"alias": "--a63-surface-muted"
|
|
2733
|
-
}
|
|
2734
|
-
},
|
|
2735
|
-
"codeSyntax": "var(--a63-skeleton-base)",
|
|
2736
|
-
"scopes": [
|
|
2737
|
-
"FRAME_FILL",
|
|
2738
|
-
"SHAPE_FILL"
|
|
2739
|
-
]
|
|
2740
|
-
},
|
|
2741
2797
|
{
|
|
2742
2798
|
"name": "surface/inner/shadow",
|
|
2743
2799
|
"token": "--a63-surface-inner-shadow",
|
|
@@ -17008,6 +17064,24 @@
|
|
|
17008
17064
|
"TEXT_FILL"
|
|
17009
17065
|
]
|
|
17010
17066
|
},
|
|
17067
|
+
{
|
|
17068
|
+
"name": "skeleton/base",
|
|
17069
|
+
"token": "--a63-skeleton-base",
|
|
17070
|
+
"type": "COLOR",
|
|
17071
|
+
"values": {
|
|
17072
|
+
"light": {
|
|
17073
|
+
"alias": "--a63-surface-muted"
|
|
17074
|
+
},
|
|
17075
|
+
"dark": {
|
|
17076
|
+
"alias": "--a63-surface-muted"
|
|
17077
|
+
}
|
|
17078
|
+
},
|
|
17079
|
+
"codeSyntax": "var(--a63-skeleton-base)",
|
|
17080
|
+
"scopes": [
|
|
17081
|
+
"FRAME_FILL",
|
|
17082
|
+
"SHAPE_FILL"
|
|
17083
|
+
]
|
|
17084
|
+
},
|
|
17011
17085
|
{
|
|
17012
17086
|
"name": "skeleton/highlight",
|
|
17013
17087
|
"token": "--a63-skeleton-highlight",
|
|
@@ -17026,6 +17100,92 @@
|
|
|
17026
17100
|
"SHAPE_FILL"
|
|
17027
17101
|
]
|
|
17028
17102
|
},
|
|
17103
|
+
{
|
|
17104
|
+
"name": "status/danger",
|
|
17105
|
+
"token": "--a63-status-danger",
|
|
17106
|
+
"type": "COLOR",
|
|
17107
|
+
"values": {
|
|
17108
|
+
"light": {
|
|
17109
|
+
"alias": "--color-danger-600"
|
|
17110
|
+
},
|
|
17111
|
+
"dark": {
|
|
17112
|
+
"alias": "--color-danger-500"
|
|
17113
|
+
}
|
|
17114
|
+
},
|
|
17115
|
+
"codeSyntax": "var(--a63-status-danger)",
|
|
17116
|
+
"scopes": [
|
|
17117
|
+
"FRAME_FILL",
|
|
17118
|
+
"SHAPE_FILL"
|
|
17119
|
+
]
|
|
17120
|
+
},
|
|
17121
|
+
{
|
|
17122
|
+
"name": "status/danger/foreground",
|
|
17123
|
+
"token": "--a63-status-danger-foreground",
|
|
17124
|
+
"type": "COLOR",
|
|
17125
|
+
"values": {
|
|
17126
|
+
"light": {
|
|
17127
|
+
"value": {
|
|
17128
|
+
"r": 1,
|
|
17129
|
+
"g": 0.970073,
|
|
17130
|
+
"b": 0.964795,
|
|
17131
|
+
"a": 1
|
|
17132
|
+
}
|
|
17133
|
+
},
|
|
17134
|
+
"dark": {
|
|
17135
|
+
"value": {
|
|
17136
|
+
"r": 0.062357,
|
|
17137
|
+
"g": 0.036228,
|
|
17138
|
+
"b": 0.033422,
|
|
17139
|
+
"a": 1
|
|
17140
|
+
}
|
|
17141
|
+
}
|
|
17142
|
+
},
|
|
17143
|
+
"codeSyntax": "var(--a63-status-danger-foreground)",
|
|
17144
|
+
"scopes": [
|
|
17145
|
+
"TEXT_FILL"
|
|
17146
|
+
]
|
|
17147
|
+
},
|
|
17148
|
+
{
|
|
17149
|
+
"name": "status/danger/subtle",
|
|
17150
|
+
"token": "--a63-status-danger-subtle",
|
|
17151
|
+
"type": "COLOR",
|
|
17152
|
+
"values": {
|
|
17153
|
+
"light": {
|
|
17154
|
+
"composed": {
|
|
17155
|
+
"alias": "--a63-status-danger",
|
|
17156
|
+
"opacity": 14
|
|
17157
|
+
}
|
|
17158
|
+
},
|
|
17159
|
+
"dark": {
|
|
17160
|
+
"composed": {
|
|
17161
|
+
"alias": "--a63-status-danger",
|
|
17162
|
+
"opacity": 14
|
|
17163
|
+
}
|
|
17164
|
+
}
|
|
17165
|
+
},
|
|
17166
|
+
"codeSyntax": "var(--a63-status-danger-subtle)",
|
|
17167
|
+
"scopes": [
|
|
17168
|
+
"FRAME_FILL",
|
|
17169
|
+
"SHAPE_FILL"
|
|
17170
|
+
]
|
|
17171
|
+
},
|
|
17172
|
+
{
|
|
17173
|
+
"name": "status/danger/subtle/foreground",
|
|
17174
|
+
"token": "--a63-status-danger-subtle-foreground",
|
|
17175
|
+
"type": "COLOR",
|
|
17176
|
+
"values": {
|
|
17177
|
+
"light": {
|
|
17178
|
+
"alias": "--color-danger-700"
|
|
17179
|
+
},
|
|
17180
|
+
"dark": {
|
|
17181
|
+
"alias": "--color-danger-400"
|
|
17182
|
+
}
|
|
17183
|
+
},
|
|
17184
|
+
"codeSyntax": "var(--a63-status-danger-subtle-foreground)",
|
|
17185
|
+
"scopes": [
|
|
17186
|
+
"TEXT_FILL"
|
|
17187
|
+
]
|
|
17188
|
+
},
|
|
17029
17189
|
{
|
|
17030
17190
|
"name": "status/info",
|
|
17031
17191
|
"token": "--a63-status-info",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
],
|
|
63
63
|
"summary": {
|
|
64
64
|
"sourceFiles": 57,
|
|
65
|
-
"declarations":
|
|
66
|
-
"uniqueCssVariables":
|
|
67
|
-
"figmaMappedDeclarations":
|
|
65
|
+
"declarations": 2031,
|
|
66
|
+
"uniqueCssVariables": 1207,
|
|
67
|
+
"figmaMappedDeclarations": 1969
|
|
68
68
|
},
|
|
69
69
|
"entries": [
|
|
70
70
|
{
|
|
@@ -10563,11 +10563,28 @@
|
|
|
10563
10563
|
"layer": "contract",
|
|
10564
10564
|
"figma": {
|
|
10565
10565
|
"collection": "Contract",
|
|
10566
|
-
"path": "skeleton/base"
|
|
10566
|
+
"path": "skeleton/base",
|
|
10567
|
+
"mode": "Dark"
|
|
10567
10568
|
},
|
|
10568
10569
|
"lifecycle": "preview",
|
|
10569
10570
|
"aliases": ["--a63-surface-muted"],
|
|
10570
|
-
"scope": ":
|
|
10571
|
+
"scope": ":is(.dark, [data-a63-mode='dark'])"
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"name": "a63-skeleton-base",
|
|
10575
|
+
"cssVar": "--a63-skeleton-base",
|
|
10576
|
+
"type": "color",
|
|
10577
|
+
"value": "var(--a63-surface-muted)",
|
|
10578
|
+
"sourceFile": "packages/styles/src/contracts/skeleton.css",
|
|
10579
|
+
"layer": "contract",
|
|
10580
|
+
"figma": {
|
|
10581
|
+
"collection": "Contract",
|
|
10582
|
+
"path": "skeleton/base",
|
|
10583
|
+
"mode": "Light"
|
|
10584
|
+
},
|
|
10585
|
+
"lifecycle": "preview",
|
|
10586
|
+
"aliases": ["--a63-surface-muted"],
|
|
10587
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
10571
10588
|
},
|
|
10572
10589
|
{
|
|
10573
10590
|
"name": "a63-skeleton-highlight",
|
|
@@ -10594,11 +10611,12 @@
|
|
|
10594
10611
|
"layer": "contract",
|
|
10595
10612
|
"figma": {
|
|
10596
10613
|
"collection": "Contract",
|
|
10597
|
-
"path": "skeleton/highlight"
|
|
10614
|
+
"path": "skeleton/highlight",
|
|
10615
|
+
"mode": "Light"
|
|
10598
10616
|
},
|
|
10599
10617
|
"lifecycle": "preview",
|
|
10600
10618
|
"aliases": ["--color-white-60"],
|
|
10601
|
-
"scope": ":root"
|
|
10619
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
10602
10620
|
},
|
|
10603
10621
|
{
|
|
10604
10622
|
"name": "a63-space-0_5",
|
|
@@ -10947,6 +10965,118 @@
|
|
|
10947
10965
|
"aliases": ["--spacing-1"],
|
|
10948
10966
|
"scope": ":root"
|
|
10949
10967
|
},
|
|
10968
|
+
{
|
|
10969
|
+
"name": "a63-status-danger",
|
|
10970
|
+
"cssVar": "--a63-status-danger",
|
|
10971
|
+
"type": "color",
|
|
10972
|
+
"value": "var(--color-danger-500)",
|
|
10973
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
10974
|
+
"layer": "semantic",
|
|
10975
|
+
"figma": {
|
|
10976
|
+
"collection": "Semantic",
|
|
10977
|
+
"path": "status/danger",
|
|
10978
|
+
"mode": "Dark"
|
|
10979
|
+
},
|
|
10980
|
+
"lifecycle": "preview",
|
|
10981
|
+
"aliases": ["--color-danger-500"],
|
|
10982
|
+
"scope": ":is(.dark, [data-a63-mode='dark'])"
|
|
10983
|
+
},
|
|
10984
|
+
{
|
|
10985
|
+
"name": "a63-status-danger",
|
|
10986
|
+
"cssVar": "--a63-status-danger",
|
|
10987
|
+
"type": "color",
|
|
10988
|
+
"value": "var(--color-danger-600)",
|
|
10989
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
10990
|
+
"layer": "semantic",
|
|
10991
|
+
"figma": {
|
|
10992
|
+
"collection": "Semantic",
|
|
10993
|
+
"path": "status/danger",
|
|
10994
|
+
"mode": "Light"
|
|
10995
|
+
},
|
|
10996
|
+
"lifecycle": "preview",
|
|
10997
|
+
"aliases": ["--color-danger-600"],
|
|
10998
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
10999
|
+
},
|
|
11000
|
+
{
|
|
11001
|
+
"name": "a63-status-danger-foreground",
|
|
11002
|
+
"cssVar": "--a63-status-danger-foreground",
|
|
11003
|
+
"type": "color",
|
|
11004
|
+
"value": "oklch( from var(--a63-status-danger) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h )",
|
|
11005
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
11006
|
+
"layer": "semantic",
|
|
11007
|
+
"figma": {
|
|
11008
|
+
"collection": "Semantic",
|
|
11009
|
+
"path": "status/danger/foreground",
|
|
11010
|
+
"mode": "Light"
|
|
11011
|
+
},
|
|
11012
|
+
"lifecycle": "preview",
|
|
11013
|
+
"aliases": ["--a63-status-danger"],
|
|
11014
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
11015
|
+
},
|
|
11016
|
+
{
|
|
11017
|
+
"name": "a63-status-danger-subtle",
|
|
11018
|
+
"cssVar": "--a63-status-danger-subtle",
|
|
11019
|
+
"type": "color",
|
|
11020
|
+
"value": "color-mix(in oklab, var(--a63-status-danger) 14%, transparent)",
|
|
11021
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
11022
|
+
"layer": "semantic",
|
|
11023
|
+
"figma": {
|
|
11024
|
+
"collection": "Semantic",
|
|
11025
|
+
"path": "status/danger/subtle",
|
|
11026
|
+
"mode": "Dark"
|
|
11027
|
+
},
|
|
11028
|
+
"lifecycle": "preview",
|
|
11029
|
+
"aliases": ["--a63-status-danger"],
|
|
11030
|
+
"scope": ":is(.dark, [data-a63-mode='dark'])"
|
|
11031
|
+
},
|
|
11032
|
+
{
|
|
11033
|
+
"name": "a63-status-danger-subtle",
|
|
11034
|
+
"cssVar": "--a63-status-danger-subtle",
|
|
11035
|
+
"type": "color",
|
|
11036
|
+
"value": "color-mix(in oklab, var(--a63-status-danger) 14%, transparent)",
|
|
11037
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
11038
|
+
"layer": "semantic",
|
|
11039
|
+
"figma": {
|
|
11040
|
+
"collection": "Semantic",
|
|
11041
|
+
"path": "status/danger/subtle",
|
|
11042
|
+
"mode": "Light"
|
|
11043
|
+
},
|
|
11044
|
+
"lifecycle": "preview",
|
|
11045
|
+
"aliases": ["--a63-status-danger"],
|
|
11046
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
11047
|
+
},
|
|
11048
|
+
{
|
|
11049
|
+
"name": "a63-status-danger-subtle-foreground",
|
|
11050
|
+
"cssVar": "--a63-status-danger-subtle-foreground",
|
|
11051
|
+
"type": "color",
|
|
11052
|
+
"value": "var(--color-danger-400)",
|
|
11053
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
11054
|
+
"layer": "semantic",
|
|
11055
|
+
"figma": {
|
|
11056
|
+
"collection": "Semantic",
|
|
11057
|
+
"path": "status/danger/subtle/foreground",
|
|
11058
|
+
"mode": "Dark"
|
|
11059
|
+
},
|
|
11060
|
+
"lifecycle": "preview",
|
|
11061
|
+
"aliases": ["--color-danger-400"],
|
|
11062
|
+
"scope": ":is(.dark, [data-a63-mode='dark'])"
|
|
11063
|
+
},
|
|
11064
|
+
{
|
|
11065
|
+
"name": "a63-status-danger-subtle-foreground",
|
|
11066
|
+
"cssVar": "--a63-status-danger-subtle-foreground",
|
|
11067
|
+
"type": "color",
|
|
11068
|
+
"value": "var(--color-danger-700)",
|
|
11069
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
11070
|
+
"layer": "semantic",
|
|
11071
|
+
"figma": {
|
|
11072
|
+
"collection": "Semantic",
|
|
11073
|
+
"path": "status/danger/subtle/foreground",
|
|
11074
|
+
"mode": "Light"
|
|
11075
|
+
},
|
|
11076
|
+
"lifecycle": "preview",
|
|
11077
|
+
"aliases": ["--color-danger-700"],
|
|
11078
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
11079
|
+
},
|
|
10950
11080
|
{
|
|
10951
11081
|
"name": "a63-status-info",
|
|
10952
11082
|
"cssVar": "--a63-status-info",
|
|
@@ -12455,6 +12585,134 @@
|
|
|
12455
12585
|
"aliases": ["--a63-segment-gap"],
|
|
12456
12586
|
"scope": ":root"
|
|
12457
12587
|
},
|
|
12588
|
+
{
|
|
12589
|
+
"name": "a63-toggle-on-background",
|
|
12590
|
+
"cssVar": "--a63-toggle-on-background",
|
|
12591
|
+
"type": "color",
|
|
12592
|
+
"value": "var(--a63-action-neutral)",
|
|
12593
|
+
"sourceFile": "packages/styles/src/contracts/toggle.css",
|
|
12594
|
+
"layer": "contract",
|
|
12595
|
+
"figma": {
|
|
12596
|
+
"collection": "Contract",
|
|
12597
|
+
"path": "toggle/on/background",
|
|
12598
|
+
"mode": "Dark"
|
|
12599
|
+
},
|
|
12600
|
+
"lifecycle": "preview",
|
|
12601
|
+
"aliases": ["--a63-action-neutral"],
|
|
12602
|
+
"scope": ":is(.dark, [data-a63-mode='dark'])"
|
|
12603
|
+
},
|
|
12604
|
+
{
|
|
12605
|
+
"name": "a63-toggle-on-background",
|
|
12606
|
+
"cssVar": "--a63-toggle-on-background",
|
|
12607
|
+
"type": "color",
|
|
12608
|
+
"value": "var(--a63-action-neutral)",
|
|
12609
|
+
"sourceFile": "packages/styles/src/contracts/toggle.css",
|
|
12610
|
+
"layer": "contract",
|
|
12611
|
+
"figma": {
|
|
12612
|
+
"collection": "Contract",
|
|
12613
|
+
"path": "toggle/on/background",
|
|
12614
|
+
"mode": "Light"
|
|
12615
|
+
},
|
|
12616
|
+
"lifecycle": "preview",
|
|
12617
|
+
"aliases": ["--a63-action-neutral"],
|
|
12618
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
12619
|
+
},
|
|
12620
|
+
{
|
|
12621
|
+
"name": "a63-toggle-on-background",
|
|
12622
|
+
"cssVar": "--a63-toggle-on-background",
|
|
12623
|
+
"type": "color",
|
|
12624
|
+
"value": "var(--a63-text-primary)",
|
|
12625
|
+
"sourceFile": "packages/styles/src/themes/terminal.css",
|
|
12626
|
+
"layer": "theme",
|
|
12627
|
+
"figma": {
|
|
12628
|
+
"collection": "Theme",
|
|
12629
|
+
"path": "toggle/on/background",
|
|
12630
|
+
"mode": "Light"
|
|
12631
|
+
},
|
|
12632
|
+
"lifecycle": "preview",
|
|
12633
|
+
"aliases": ["--a63-text-primary"],
|
|
12634
|
+
"scope": "[data-a63-theme='terminal']:is(:root, .light, [data-a63-mode='light']), [data-a63-theme='terminal'] :is(.light, [data-a63-mode='light'])"
|
|
12635
|
+
},
|
|
12636
|
+
{
|
|
12637
|
+
"name": "a63-toggle-on-background",
|
|
12638
|
+
"cssVar": "--a63-toggle-on-background",
|
|
12639
|
+
"type": "color",
|
|
12640
|
+
"value": "var(--a63-text-primary)",
|
|
12641
|
+
"sourceFile": "packages/styles/src/themes/terminal.css",
|
|
12642
|
+
"layer": "theme",
|
|
12643
|
+
"figma": {
|
|
12644
|
+
"collection": "Theme",
|
|
12645
|
+
"path": "toggle/on/background",
|
|
12646
|
+
"mode": "Dark"
|
|
12647
|
+
},
|
|
12648
|
+
"lifecycle": "preview",
|
|
12649
|
+
"aliases": ["--a63-text-primary"],
|
|
12650
|
+
"scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])"
|
|
12651
|
+
},
|
|
12652
|
+
{
|
|
12653
|
+
"name": "a63-toggle-on-foreground",
|
|
12654
|
+
"cssVar": "--a63-toggle-on-foreground",
|
|
12655
|
+
"type": "color",
|
|
12656
|
+
"value": "var(--a63-action-neutral-foreground)",
|
|
12657
|
+
"sourceFile": "packages/styles/src/contracts/toggle.css",
|
|
12658
|
+
"layer": "contract",
|
|
12659
|
+
"figma": {
|
|
12660
|
+
"collection": "Contract",
|
|
12661
|
+
"path": "toggle/on/foreground",
|
|
12662
|
+
"mode": "Dark"
|
|
12663
|
+
},
|
|
12664
|
+
"lifecycle": "preview",
|
|
12665
|
+
"aliases": ["--a63-action-neutral-foreground"],
|
|
12666
|
+
"scope": ":is(.dark, [data-a63-mode='dark'])"
|
|
12667
|
+
},
|
|
12668
|
+
{
|
|
12669
|
+
"name": "a63-toggle-on-foreground",
|
|
12670
|
+
"cssVar": "--a63-toggle-on-foreground",
|
|
12671
|
+
"type": "color",
|
|
12672
|
+
"value": "var(--a63-action-neutral-foreground)",
|
|
12673
|
+
"sourceFile": "packages/styles/src/contracts/toggle.css",
|
|
12674
|
+
"layer": "contract",
|
|
12675
|
+
"figma": {
|
|
12676
|
+
"collection": "Contract",
|
|
12677
|
+
"path": "toggle/on/foreground",
|
|
12678
|
+
"mode": "Light"
|
|
12679
|
+
},
|
|
12680
|
+
"lifecycle": "preview",
|
|
12681
|
+
"aliases": ["--a63-action-neutral-foreground"],
|
|
12682
|
+
"scope": ":root, .light, [data-a63-mode='light']"
|
|
12683
|
+
},
|
|
12684
|
+
{
|
|
12685
|
+
"name": "a63-toggle-on-foreground",
|
|
12686
|
+
"cssVar": "--a63-toggle-on-foreground",
|
|
12687
|
+
"type": "color",
|
|
12688
|
+
"value": "var(--a63-surface-page)",
|
|
12689
|
+
"sourceFile": "packages/styles/src/themes/terminal.css",
|
|
12690
|
+
"layer": "theme",
|
|
12691
|
+
"figma": {
|
|
12692
|
+
"collection": "Theme",
|
|
12693
|
+
"path": "toggle/on/foreground",
|
|
12694
|
+
"mode": "Light"
|
|
12695
|
+
},
|
|
12696
|
+
"lifecycle": "preview",
|
|
12697
|
+
"aliases": ["--a63-surface-page"],
|
|
12698
|
+
"scope": "[data-a63-theme='terminal']:is(:root, .light, [data-a63-mode='light']), [data-a63-theme='terminal'] :is(.light, [data-a63-mode='light'])"
|
|
12699
|
+
},
|
|
12700
|
+
{
|
|
12701
|
+
"name": "a63-toggle-on-foreground",
|
|
12702
|
+
"cssVar": "--a63-toggle-on-foreground",
|
|
12703
|
+
"type": "color",
|
|
12704
|
+
"value": "var(--a63-surface-page)",
|
|
12705
|
+
"sourceFile": "packages/styles/src/themes/terminal.css",
|
|
12706
|
+
"layer": "theme",
|
|
12707
|
+
"figma": {
|
|
12708
|
+
"collection": "Theme",
|
|
12709
|
+
"path": "toggle/on/foreground",
|
|
12710
|
+
"mode": "Dark"
|
|
12711
|
+
},
|
|
12712
|
+
"lifecycle": "preview",
|
|
12713
|
+
"aliases": ["--a63-surface-page"],
|
|
12714
|
+
"scope": "[data-a63-theme='terminal']:is(.dark, [data-a63-mode='dark']), [data-a63-theme='terminal'] :is(.dark, [data-a63-mode='dark'])"
|
|
12715
|
+
},
|
|
12458
12716
|
{
|
|
12459
12717
|
"name": "a63-toggle-radius",
|
|
12460
12718
|
"cssVar": "--a63-toggle-radius",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom63/styles",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.9",
|
|
4
4
|
"description": "CSS tokens, themes, contracts, and utilities for the Atom63 design system",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
"tw-animate-css": "1.4.0"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@vitest/browser": "
|
|
110
|
-
"@vitest/browser-playwright": "
|
|
109
|
+
"@vitest/browser": "5.1.1",
|
|
110
|
+
"@vitest/browser-playwright": "5.1.1",
|
|
111
111
|
"eslint": "10.14.0",
|
|
112
112
|
"playwright": "1.65.0",
|
|
113
|
-
"vitest": "
|
|
113
|
+
"vitest": "5.1.1",
|
|
114
114
|
"@atom63/eslint-config": "0.1.0"
|
|
115
115
|
},
|
|
116
116
|
"scripts": {
|