@atom63/styles 0.1.0-beta.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.
Files changed (74) hide show
  1. package/README.md +233 -0
  2. package/generated/atom63.figma-tokens.json +21650 -0
  3. package/generated/atom63.tokens.json +21909 -0
  4. package/package.json +116 -0
  5. package/src/animations/animations.css +55 -0
  6. package/src/animations/index.css +1 -0
  7. package/src/compat/a63-from-shadcn.css +141 -0
  8. package/src/compat/index.css +2 -0
  9. package/src/compat/mdx.css +13 -0
  10. package/src/compat/shadcn.css +52 -0
  11. package/src/contracts/action.css +31 -0
  12. package/src/contracts/badge.css +68 -0
  13. package/src/contracts/choice.css +32 -0
  14. package/src/contracts/control.css +102 -0
  15. package/src/contracts/environment.css +158 -0
  16. package/src/contracts/field.css +26 -0
  17. package/src/contracts/index.css +26 -0
  18. package/src/contracts/marker.css +23 -0
  19. package/src/contracts/menu.css +100 -0
  20. package/src/contracts/overlay.css +44 -0
  21. package/src/contracts/segment.css +100 -0
  22. package/src/contracts/selection.css +21 -0
  23. package/src/contracts/skeleton.css +14 -0
  24. package/src/contracts/surface.css +56 -0
  25. package/src/contracts/toggle.css +26 -0
  26. package/src/contracts/track.css +26 -0
  27. package/src/contracts/trigger.css +28 -0
  28. package/src/contracts/widget.css +196 -0
  29. package/src/index.css +17 -0
  30. package/src/manifest/types.ts +61 -0
  31. package/src/os/index.css +2 -0
  32. package/src/os/macos.css +54 -0
  33. package/src/os/windows.css +299 -0
  34. package/src/tailwind/animations.css +8 -0
  35. package/src/tailwind/index.css +4 -0
  36. package/src/tailwind/theme.css +516 -0
  37. package/src/tailwind/utilities.css +41 -0
  38. package/src/tailwind/variants.css +64 -0
  39. package/src/test/apply-styles.ts +30 -0
  40. package/src/themes/aqua.css +240 -0
  41. package/src/themes/index.css +4 -0
  42. package/src/themes/modern.css +55 -0
  43. package/src/themes/retro.css +112 -0
  44. package/src/themes/terminal.css +179 -0
  45. package/src/tokens/brand.css +148 -0
  46. package/src/tokens/contrast.browser.test.ts +140 -0
  47. package/src/tokens/font.css +24 -0
  48. package/src/tokens/foundation/aliases.css +28 -0
  49. package/src/tokens/foundation/effects.css +31 -0
  50. package/src/tokens/foundation/fonts.css +11 -0
  51. package/src/tokens/foundation/motion.css +19 -0
  52. package/src/tokens/foundation/palette.css +255 -0
  53. package/src/tokens/foundation/primitives.css +420 -0
  54. package/src/tokens/foundation/radius.css +36 -0
  55. package/src/tokens/foundation/typography.css +191 -0
  56. package/src/tokens/foundation.css +15 -0
  57. package/src/tokens/index.css +9 -0
  58. package/src/tokens/motion.css +27 -0
  59. package/src/tokens/personalization-axes.browser.test.ts +240 -0
  60. package/src/tokens/radius.css +35 -0
  61. package/src/tokens/semantics.css +157 -0
  62. package/src/tokens/space.css +21 -0
  63. package/src/tokens/surface.css +184 -0
  64. package/src/tokens/theme-overrides.browser.test.ts +140 -0
  65. package/src/tokens/type-scale.css +20 -0
  66. package/src/tokens/widget-chrome-signature.browser.test.ts +225 -0
  67. package/src/tokens/widget-paint.browser.test.ts +98 -0
  68. package/src/utils/code-highlighting.css +35 -0
  69. package/src/utils/debug.css +453 -0
  70. package/src/utils/index.css +9 -0
  71. package/src/utils/scroll-bar.css +78 -0
  72. package/src/utils/scroll-mask.css +119 -0
  73. package/src/utils/view-transition.css +16 -0
  74. package/src/z-layers.ts +40 -0
@@ -0,0 +1,196 @@
1
+ /*
2
+ * Widget contract — a persistent floating surface hosted on a desktop, card
3
+ * flow, or agent surface. Defaults compose the overlay archetype; widget kinds
4
+ * can specialize the material without replacing surface anatomy.
5
+ */
6
+
7
+ :root {
8
+ --a63-widget-background-color: color-mix(in oklch, var(--a63-surface-overlay) 82%, transparent);
9
+ --a63-widget-background-image: var(--a63-overlay-gloss), var(--a63-overlay-texture-image);
10
+ --a63-widget-background-blend: normal, var(--a63-overlay-texture-blend);
11
+ --a63-widget-foreground: var(--a63-text-primary);
12
+ --a63-widget-border-color: var(--a63-border-subtle);
13
+ --a63-widget-border-style: var(--a63-overlay-border-style);
14
+ /* No border by default: the rim IS the tile's edge. A hairline on the face
15
+ inside a 4px rim reads as a second concentric ring. */
16
+ --a63-widget-border-width: 0px;
17
+ --a63-widget-radius: var(--a63-overlay-radius, var(--radius-xl));
18
+ /* Flat by default: the 4px rim already separates the tile from the page, so a
19
+ drop shadow on top of it reads as a second edge rather than as height. The
20
+ shadow stays available as a STATE — sticky-note focus and drag both raise
21
+ it — and each skin still opts into its own resting elevation (retro's hard
22
+ offset, terminal's phosphor glow, aqua's gel drop) on its theme scope.
23
+ `none` is safe as the sole value here; it would only be invalid if composed
24
+ into a comma-separated list. */
25
+ --a63-widget-shadow: none;
26
+ --a63-widget-backdrop: var(--a63-overlay-backdrop);
27
+
28
+ /* Rim = the padded outer shell between the tile edge and the card face. A
29
+ padded rim can carry a gradient across the whole frame; a box-shadow inset
30
+ cannot. Themes fill it via --a63-widget-rim-image. */
31
+ --a63-widget-rim-width: 4px;
32
+ --a63-widget-rim-color: var(--a63-border-subtle);
33
+ --a63-widget-rim-image: none;
34
+ --a63-widget-rim-backdrop: none;
35
+ /* Per-side rim color. The rim is a border, so this mitres around the corner
36
+ arc at ANY radius — which is how a bevel theme lights top+left and darkens
37
+ bottom+right without breaking when the radius axis is turned up. Transparent
38
+ by default so gradient rims show through from --a63-widget-rim-image. */
39
+ --a63-widget-rim-border-color: transparent;
40
+
41
+ /* Weather defaults preserve live condition color in the neutral theme. */
42
+ --a63-weather-background-color: transparent;
43
+ /* --a63-weather-background-image is intentionally optional. When a theme
44
+ leaves it unset, the weather element resolves its local condition image. */
45
+ --a63-weather-background-blend: normal;
46
+ --a63-weather-foreground: white;
47
+ --a63-weather-muted-foreground: rgb(255 255 255 / 0.7);
48
+ --a63-weather-divider-color: rgb(255 255 255 / 0.2);
49
+ --a63-weather-text-shadow: none;
50
+ --a63-weather-border-color: transparent;
51
+ /* No --a63-weather-shadow knob: weather specializes the FACE only. Outer
52
+ chrome (rim + drop) stays on the shared widget system so every tile reads as
53
+ one desktop — see the weather case in widget-chrome-signature.browser.test. */
54
+ --a63-weather-backdrop: none;
55
+ --a63-weather-condition-mode-color: transparent;
56
+ --a63-weather-condition-color-strength: 100%;
57
+ }
58
+
59
+ /*
60
+ * Raised media sitting ON a widget face — poster-fan prints, stacked cards.
61
+ *
62
+ * Deliberately heavier than --a63-widget-shadow: the tile floats above the
63
+ * desktop, but this is print stock resting on the tile, so it needs a near
64
+ * contact throw plus a far soft one to read as a physical object rather than a
65
+ * second pane. `-raised` is the focused/centered print; the base token is the
66
+ * resting one.
67
+ *
68
+ * Each stack carries its own hairline rim and specular inset, so the consumer
69
+ * paints ONE box-shadow. A separate `ring` utility is composed into box-shadow
70
+ * as well, so it would clobber the whole stack rather than sit beside it.
71
+ *
72
+ * Mode-split like semantics.css: the throw is far stronger on a dark face, and
73
+ * the hairline rim flips from a white specular edge to a dark hairline.
74
+ */
75
+ :root,
76
+ .light,
77
+ [data-a63-mode='light'] {
78
+ --a63-widget-media-shadow:
79
+ 0 0 0 1px color-mix(in oklch, black 8%, transparent),
80
+ 0 1px 0 color-mix(in oklch, white 45%, transparent) inset,
81
+ 0 10px 16px -10px color-mix(in oklch, black 22%, transparent),
82
+ 0 22px 34px -16px color-mix(in oklch, black 26%, transparent);
83
+ --a63-widget-media-shadow-raised:
84
+ 0 0 0 1px color-mix(in oklch, black 12%, transparent),
85
+ 0 1px 0 color-mix(in oklch, white 60%, transparent) inset,
86
+ 0 1px 1px color-mix(in oklch, black 12%, transparent),
87
+ 0 14px 22px -10px color-mix(in oklch, black 26%, transparent),
88
+ 0 32px 48px -18px color-mix(in oklch, black 30%, transparent);
89
+ }
90
+
91
+ :is(.dark, [data-a63-mode='dark']) {
92
+ --a63-widget-media-shadow:
93
+ 0 0 0 1px color-mix(in oklch, white 10%, transparent),
94
+ 0 1px 0 color-mix(in oklch, white 8%, transparent) inset,
95
+ 0 10px 16px -10px color-mix(in oklch, black 50%, transparent),
96
+ 0 22px 34px -16px color-mix(in oklch, black 62%, transparent);
97
+ --a63-widget-media-shadow-raised:
98
+ 0 0 0 1px color-mix(in oklch, white 16%, transparent),
99
+ 0 1px 0 color-mix(in oklch, white 12%, transparent) inset,
100
+ 0 1px 1px color-mix(in oklch, black 35%, transparent),
101
+ 0 14px 22px -10px color-mix(in oklch, black 58%, transparent),
102
+ 0 32px 48px -18px color-mix(in oklch, black 72%, transparent);
103
+ }
104
+
105
+ /*
106
+ * Weather FACE material — shared by the weather tile and by Location when it
107
+ * carries a condition tone. Outer chrome (rim + drop shadow) stays on the
108
+ * shared widget defaults so every tile reads as one system; only the face
109
+ * fill / foreground specialize.
110
+ */
111
+ [data-widget-kind='weather'],
112
+ [data-widget-kind='location'][data-weather-tone] {
113
+ --a63-widget-background-color: var(--a63-weather-background-color);
114
+ --a63-widget-background-image: var(
115
+ --a63-weather-background-image,
116
+ var(--a63-weather-condition-background-image)
117
+ );
118
+ --a63-widget-background-blend: var(--a63-weather-background-blend);
119
+ --a63-widget-foreground: var(--a63-weather-foreground);
120
+ --a63-widget-backdrop: var(--a63-weather-backdrop);
121
+ --a63-weather-condition-background-image: linear-gradient(
122
+ 135deg,
123
+ color-mix(
124
+ in oklch,
125
+ var(--a63-weather-condition-start) var(--a63-weather-condition-color-strength),
126
+ var(--a63-weather-condition-mode-color)
127
+ ),
128
+ color-mix(
129
+ in oklch,
130
+ var(--a63-weather-condition-end) var(--a63-weather-condition-color-strength),
131
+ var(--a63-weather-condition-mode-color)
132
+ )
133
+ );
134
+ }
135
+
136
+ [data-weather-tone='clear-day'] {
137
+ --a63-weather-condition-start: var(--color-sky-400);
138
+ --a63-weather-condition-end: var(--color-blue-500);
139
+ }
140
+
141
+ [data-weather-tone='clear-night'] {
142
+ --a63-weather-condition-start: var(--color-indigo-800);
143
+ --a63-weather-condition-end: var(--color-slate-800);
144
+ }
145
+
146
+ [data-weather-tone='partly-cloudy-day'] {
147
+ --a63-weather-condition-start: var(--color-sky-300);
148
+ --a63-weather-condition-end: var(--color-blue-400);
149
+ }
150
+
151
+ [data-weather-tone='partly-cloudy-night'] {
152
+ --a63-weather-condition-start: var(--color-indigo-700);
153
+ --a63-weather-condition-end: var(--color-slate-700);
154
+ }
155
+
156
+ [data-weather-tone='overcast'] {
157
+ --a63-weather-condition-start: var(--color-slate-400);
158
+ --a63-weather-condition-end: var(--color-slate-500);
159
+ }
160
+
161
+ [data-weather-tone='fog'] {
162
+ --a63-weather-condition-start: var(--color-gray-400);
163
+ --a63-weather-condition-end: var(--color-gray-500);
164
+ }
165
+
166
+ [data-weather-tone='rain'] {
167
+ --a63-weather-condition-start: var(--color-slate-500);
168
+ --a63-weather-condition-end: var(--color-blue-600);
169
+ }
170
+
171
+ [data-weather-tone='snow'] {
172
+ --a63-weather-condition-start: var(--color-slate-300);
173
+ --a63-weather-condition-end: var(--color-blue-300);
174
+ }
175
+
176
+ [data-weather-tone='storm'] {
177
+ --a63-weather-condition-start: var(--color-slate-600);
178
+ --a63-weather-condition-end: var(--color-slate-800);
179
+ }
180
+
181
+ :where(.light, [data-a63-mode='light']) [data-weather-tone] {
182
+ --a63-weather-condition-mode-color: white;
183
+ --a63-weather-condition-color-strength: 82%;
184
+ }
185
+
186
+ :where(.dark, [data-a63-mode='dark']) [data-weather-tone] {
187
+ --a63-weather-condition-mode-color: black;
188
+ --a63-weather-condition-color-strength: 88%;
189
+ }
190
+
191
+ /* Sticky note focus: lift the shared rim shadow while editing. The variable
192
+ lives on the shell (where box-shadow is painted), so it must be set there —
193
+ a face-only className cannot reach it. */
194
+ [data-widget-kind='sticky-note'][data-focused] {
195
+ --a63-widget-shadow: var(--a63-overlay-drag-shadow);
196
+ }
package/src/index.css ADDED
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Atom63 executable style-system contract.
3
+ *
4
+ * This package is the canonical token, contract, theme, and OS style layer.
5
+ */
6
+ @import './tokens/index.css';
7
+ /* Contracts (archetype defaults) MUST load before themes: a theme overrides an
8
+ archetype token (e.g. --a63-control-shadow) at the SAME specificity as the
9
+ contract's :root default, so source order decides — themes must come last to
10
+ win. Loading contracts after themes silently killed every theme's tactile
11
+ character (all controls looked identical across themes). */
12
+ @import './contracts/index.css';
13
+ @import './themes/index.css';
14
+ /* OS is a peer of themes: chrome structure under [data-a63-os], not paint. */
15
+ @import './os/index.css';
16
+ @import './animations/index.css';
17
+ @import './utils/index.css';
@@ -0,0 +1,61 @@
1
+ export type Atom63TokenLifecycle = 'internal' | 'preview' | 'stable' | 'deprecated'
2
+
3
+ export type Atom63TokenType =
4
+ | 'color'
5
+ | 'dimension'
6
+ | 'radius'
7
+ | 'typography'
8
+ | 'shadow'
9
+ | 'blur'
10
+ | 'motion'
11
+ | 'z-index'
12
+ | 'string'
13
+
14
+ export type Atom63TokenLayer = 'foundation' | 'semantic' | 'contract' | 'theme' | 'os' | 'utility'
15
+
16
+ export interface Atom63TokenFigmaMapping {
17
+ collection: string
18
+ path: string
19
+ mode?: string
20
+ }
21
+
22
+ export interface Atom63TokenManifestEntry {
23
+ name: string
24
+ cssVar: string
25
+ type: Atom63TokenType
26
+ value: string
27
+ sourceFile: string
28
+ layer: Atom63TokenLayer
29
+ figma?: Atom63TokenFigmaMapping
30
+ lifecycle: Atom63TokenLifecycle
31
+ description?: string
32
+ aliases?: string[]
33
+ /** Selector that owns this declaration. Required when a token has scoped values. */
34
+ scope?: string
35
+ /** At-rules, outermost first, that condition this declaration. */
36
+ conditions?: string[]
37
+ }
38
+
39
+ export interface Atom63TokenManifest {
40
+ schemaVersion: 1
41
+ generatedBy: string
42
+ generatedFrom: string[]
43
+ summary: {
44
+ sourceFiles: number
45
+ declarations: number
46
+ uniqueCssVariables: number
47
+ figmaMappedDeclarations: number
48
+ }
49
+ entries: Atom63TokenManifestEntry[]
50
+ }
51
+
52
+ export type Atom63FigmaTokenManifestEntry = Atom63TokenManifestEntry & {
53
+ figma: Atom63TokenFigmaMapping
54
+ }
55
+
56
+ export interface Atom63FigmaTokenManifest {
57
+ schemaVersion: 1
58
+ generatedBy: string
59
+ derivedFrom: string
60
+ entries: Atom63FigmaTokenManifestEntry[]
61
+ }
@@ -0,0 +1,2 @@
1
+ @import './macos.css';
2
+ @import './windows.css';
@@ -0,0 +1,54 @@
1
+ /*
2
+ * macOS OS sheet — chrome *structure* for [data-a63-os='macos'].
3
+ *
4
+ * Peer of themes/*: themes own visual skin (paint); OS owns window/launcher
5
+ * geometry. Defaults also apply on :root so unset roots behave like macOS.
6
+ *
7
+ * Canonical tokens are --a63-os-*. Legacy --os-window-* / --os-launcher-*
8
+ * aliases keep OS63 chrome working until recipes migrate.
9
+ */
10
+
11
+ :root,
12
+ [data-a63-os='macos'] {
13
+ /* Window titlebar + traffic lights */
14
+ --a63-os-window-titlebar-height: 2.75rem;
15
+ --a63-os-window-action-size: 1.5rem;
16
+ --a63-os-window-action-width: 1.5rem;
17
+ --a63-os-window-action-height: 1.5rem;
18
+ --a63-os-window-action-gap: 0.5rem;
19
+ --a63-os-window-action-indicator-size: 0.875rem;
20
+ --a63-os-window-action-icon-size: 1rem;
21
+ --a63-os-control-side: left;
22
+ --a63-os-window-control-style: traffic;
23
+
24
+ /* Dock-ish launcher structure (apps often override height/item size inline) */
25
+ --a63-os-launcher-height: 3.5rem;
26
+ --a63-os-launcher-item-size: 3rem;
27
+ --a63-os-launcher-icon-size: 100%;
28
+ --a63-os-launcher-taskbar-padding-block: 0.25rem;
29
+ --a63-os-launcher-taskbar-padding-inline: 0.5rem;
30
+ --a63-os-launcher-indicator-width-active: 0.25rem;
31
+ --a63-os-launcher-indicator-width-inactive: 0.25rem;
32
+ --a63-os-launcher-indicator-height: 0.25rem;
33
+
34
+ /* Apps / flyout (Windows start-menu width is OS-specific; macOS stays unset) */
35
+ --a63-os-flyout-width-start-menu: unset;
36
+
37
+ /* Compat aliases — OS63 window + dock/taskbar consumers */
38
+ --os-window-titlebar-height: var(--a63-os-window-titlebar-height);
39
+ --os-window-action-size: var(--a63-os-window-action-size);
40
+ --os-window-action-width: var(--a63-os-window-action-width);
41
+ --os-window-action-height: var(--a63-os-window-action-height);
42
+ --os-window-action-gap: var(--a63-os-window-action-gap);
43
+ --os-window-action-indicator-size: var(--a63-os-window-action-indicator-size);
44
+ --os-window-action-icon-size: var(--a63-os-window-action-icon-size);
45
+ --os-launcher-height: var(--a63-os-launcher-height);
46
+ --os-launcher-item-size: var(--a63-os-launcher-item-size);
47
+ --os-launcher-icon-size: var(--a63-os-launcher-icon-size);
48
+ --os-launcher-taskbar-padding-block: var(--a63-os-launcher-taskbar-padding-block);
49
+ --os-launcher-taskbar-padding-inline: var(--a63-os-launcher-taskbar-padding-inline);
50
+ --os-launcher-indicator-width-active: var(--a63-os-launcher-indicator-width-active);
51
+ --os-launcher-indicator-width-inactive: var(--a63-os-launcher-indicator-width-inactive);
52
+ --os-launcher-indicator-height: var(--a63-os-launcher-indicator-height);
53
+ --os-flyout-width-start-menu: var(--a63-os-flyout-width-start-menu);
54
+ }
@@ -0,0 +1,299 @@
1
+ /*
2
+ * Windows OS sheet — chrome structure + chrome paint tokens for
3
+ * [data-a63-os='windows'].
4
+ *
5
+ * Peer of themes/*: themes own product visual skin (gloss, bevel, CRT). This
6
+ * sheet owns window/launcher geometry AND platform-conventional chrome paint
7
+ * tokens (`--a63-os-caption-*`, `--a63-os-launcher-*`) that compose from
8
+ * semantic roles (--a63-text-*, --a63-action-*). Slot recipes below only wire
9
+ * those tokens onto caption/taskbar anatomy — they do not invent a second
10
+ * theme.
11
+ *
12
+ * Intentionally omitted (product material, not OS chrome):
13
+ * - Modern-only Mica widget/taskbar paint (--theme-windows11-*, backdrop mica)
14
+ * - Weather/widget material overrides
15
+ *
16
+ * Caption colors use --a63-os-caption-* (semantic mixes), not legacy
17
+ * --theme-window-caption-*.
18
+ */
19
+
20
+ [data-a63-os='windows'] {
21
+ /* ── Geometry (archive shell block) ───────────────────────────────────── */
22
+ --a63-os-window-titlebar-height: 2.75rem;
23
+ --a63-os-window-action-size: 2.75rem;
24
+ --a63-os-window-action-width: 2.875rem;
25
+ --a63-os-window-action-height: 100%;
26
+ --a63-os-window-action-gap: 0rem;
27
+ --a63-os-window-action-indicator-size: 100%;
28
+ --a63-os-window-action-icon-size: 0.75rem;
29
+ --a63-os-control-side: right;
30
+ --a63-os-window-control-style: caption;
31
+
32
+ --a63-os-launcher-height: 3rem;
33
+ --a63-os-launcher-item-size: 2.5rem;
34
+ --a63-os-launcher-icon-size: 1.5rem;
35
+ --a63-os-launcher-taskbar-padding-block: 0.25rem;
36
+ --a63-os-launcher-taskbar-padding-inline: 0.5rem;
37
+ --a63-os-launcher-indicator-width-active: 1rem;
38
+ --a63-os-launcher-indicator-width-inactive: 0.5rem;
39
+ --a63-os-launcher-indicator-height: 3px;
40
+
41
+ /* Start menu / flyout */
42
+ --a63-os-flyout-width-start-menu: 42rem;
43
+
44
+ /* Caption buttons — Win11 intent on a63 semantics */
45
+ --a63-os-caption-foreground: var(--a63-text-secondary);
46
+ --a63-os-caption-hover-background: color-mix(in oklch, var(--a63-text-primary) 9%, transparent);
47
+ --a63-os-caption-hover-foreground: var(--a63-text-primary);
48
+ --a63-os-caption-hover-shadow: none;
49
+ --a63-os-caption-pressed-background: color-mix(
50
+ in oklch,
51
+ var(--a63-text-primary) 14%,
52
+ transparent
53
+ );
54
+ --a63-os-caption-pressed-shadow: none;
55
+ --a63-os-caption-close-hover-background: var(--a63-action-danger);
56
+ --a63-os-caption-close-hover-shadow: none;
57
+ --a63-os-caption-close-foreground: var(--a63-action-danger-foreground);
58
+ --a63-os-caption-close-pressed-background: var(--a63-action-danger-hover);
59
+ --a63-os-caption-close-pressed-shadow: none;
60
+
61
+ /* Taskbar item chrome (structure + quiet fill — not Mica) */
62
+ --a63-os-launcher-item-radius: 0.375rem;
63
+ --a63-os-launcher-item-hover-background: color-mix(
64
+ in oklch,
65
+ var(--a63-text-primary) 9%,
66
+ transparent
67
+ );
68
+ --a63-os-launcher-item-active-background: color-mix(
69
+ in oklch,
70
+ var(--a63-text-primary) 12%,
71
+ transparent
72
+ );
73
+ --a63-os-launcher-item-active-shadow: inset 0 0 0 1px color-mix(in oklch, white 8%, transparent);
74
+ --a63-os-launcher-indicator-active: var(--a63-action-primary);
75
+ --a63-os-launcher-indicator-inactive: color-mix(
76
+ in oklch,
77
+ var(--a63-text-secondary) 32%,
78
+ transparent
79
+ );
80
+
81
+ /* Compat aliases — OS63 consumers */
82
+ --os-window-titlebar-height: var(--a63-os-window-titlebar-height);
83
+ --os-window-action-size: var(--a63-os-window-action-size);
84
+ --os-window-action-width: var(--a63-os-window-action-width);
85
+ --os-window-action-height: var(--a63-os-window-action-height);
86
+ --os-window-action-gap: var(--a63-os-window-action-gap);
87
+ --os-window-action-indicator-size: var(--a63-os-window-action-indicator-size);
88
+ --os-window-action-icon-size: var(--a63-os-window-action-icon-size);
89
+ --os-launcher-height: var(--a63-os-launcher-height);
90
+ --os-launcher-item-size: var(--a63-os-launcher-item-size);
91
+ --os-launcher-icon-size: var(--a63-os-launcher-icon-size);
92
+ --os-launcher-taskbar-padding-block: var(--a63-os-launcher-taskbar-padding-block);
93
+ --os-launcher-taskbar-padding-inline: var(--a63-os-launcher-taskbar-padding-inline);
94
+ --os-launcher-indicator-width-active: var(--a63-os-launcher-indicator-width-active);
95
+ --os-launcher-indicator-width-inactive: var(--a63-os-launcher-indicator-width-inactive);
96
+ --os-launcher-indicator-height: var(--a63-os-launcher-indicator-height);
97
+ --os-flyout-width-start-menu: var(--a63-os-flyout-width-start-menu);
98
+ }
99
+
100
+ /* ── Title bar: caption side flush, title left-aligned ───────────────────── */
101
+
102
+ [data-a63-os='windows'] [data-slot='window-title-bar'] {
103
+ padding-inline-end: 0;
104
+ }
105
+
106
+ [data-a63-os='windows']
107
+ [data-slot='window-title-bar'][data-control-side='right']
108
+ > .shrink-0:first-child {
109
+ display: none;
110
+ }
111
+
112
+ [data-a63-os='windows'] [data-slot='window-title-bar'][data-control-side='right'] > .min-w-0 {
113
+ padding-inline-start: var(--a63-space-2);
114
+ text-align: start;
115
+ }
116
+
117
+ /* ── Caption buttons: full-height squares, Win11 order ───────────────────── */
118
+
119
+ [data-a63-os='windows'] [data-slot='window-action-group'] {
120
+ align-self: stretch;
121
+ }
122
+
123
+ [data-a63-os='windows'] [data-slot='window-action-button'] {
124
+ height: auto;
125
+ min-height: 100%;
126
+ border-radius: 0;
127
+ color: var(--a63-os-caption-foreground);
128
+ transition:
129
+ background 120ms ease-out,
130
+ color 120ms ease-out;
131
+ }
132
+
133
+ [data-a63-os='windows'] [data-slot='window-action-button'][data-window-action='minimize'] {
134
+ order: 1;
135
+ }
136
+
137
+ [data-a63-os='windows']
138
+ [data-slot='window-action-button']:is(
139
+ [data-window-action='maximize'],
140
+ [data-window-action='restore']
141
+ ) {
142
+ order: 2;
143
+ }
144
+
145
+ [data-a63-os='windows'] [data-slot='window-action-button'][data-window-action='close'] {
146
+ order: 3;
147
+ }
148
+
149
+ [data-a63-os='windows'] [data-slot='window-action-button']:hover {
150
+ background: var(--a63-os-caption-hover-background);
151
+ box-shadow: var(--a63-os-caption-hover-shadow);
152
+ color: var(--a63-os-caption-hover-foreground);
153
+ }
154
+
155
+ [data-a63-os='windows'] [data-slot='window-action-button']:active {
156
+ background: var(--a63-os-caption-pressed-background);
157
+ box-shadow: var(--a63-os-caption-pressed-shadow);
158
+ }
159
+
160
+ [data-a63-os='windows'] [data-slot='window-action-button'][data-window-action='close']:hover {
161
+ background: var(--a63-os-caption-close-hover-background);
162
+ box-shadow: var(--a63-os-caption-close-hover-shadow);
163
+ color: var(--a63-os-caption-close-foreground);
164
+ }
165
+
166
+ [data-a63-os='windows'] [data-slot='window-action-button'][data-window-action='close']:active {
167
+ background: var(--a63-os-caption-close-pressed-background);
168
+ box-shadow: var(--a63-os-caption-close-pressed-shadow);
169
+ }
170
+
171
+ [data-a63-os='windows'] [data-slot='window-action-indicator'] {
172
+ border-radius: 0;
173
+ background: transparent;
174
+ box-shadow: none;
175
+ }
176
+
177
+ [data-a63-os='windows'] [data-slot='window-action-indicator'] svg {
178
+ color: currentColor;
179
+ opacity: 1;
180
+ transform: none;
181
+ }
182
+
183
+ /* ── Taskbar launcher structure ──────────────────────────────────────────── */
184
+
185
+ [data-a63-os='windows'] [data-slot='os-launcher-container'][data-dock-presence='taskbar'] {
186
+ padding-right: 0;
187
+ padding-bottom: 0;
188
+ padding-left: 0;
189
+ z-index: var(--z-layer-dock);
190
+ }
191
+
192
+ [data-a63-os='windows'] [data-slot='os-launcher'][data-launcher-variant='taskbar'] {
193
+ position: relative;
194
+ z-index: var(--z-layer-launcher);
195
+ box-sizing: border-box;
196
+ align-items: center;
197
+ height: var(--a63-os-launcher-height);
198
+ max-height: var(--a63-os-launcher-height);
199
+ min-height: var(--a63-os-launcher-height);
200
+ inline-size: 100%;
201
+ min-inline-size: 0;
202
+ overflow-x: auto;
203
+ overflow-y: hidden;
204
+ overscroll-behavior-x: contain;
205
+ scrollbar-width: none;
206
+ border-right-width: 0;
207
+ border-bottom-width: 0;
208
+ border-left-width: 0;
209
+ border-radius: 0;
210
+ padding-block: var(--a63-os-launcher-taskbar-padding-block);
211
+ padding-inline: var(--a63-os-launcher-taskbar-padding-inline);
212
+ }
213
+
214
+ [data-a63-os='windows']
215
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']::-webkit-scrollbar {
216
+ display: none;
217
+ }
218
+
219
+ [data-a63-os='windows']
220
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
221
+ [data-slot='os-launcher-item'],
222
+ [data-a63-os='windows'] [data-slot='os-app-center-trigger'][data-app-center-variant='start-menu'],
223
+ [data-a63-os='windows'] [data-slot='os-launcher-widgets'],
224
+ [data-a63-os='windows'] [data-slot='os-launcher-quick-settings'],
225
+ [data-a63-os='windows'] [data-slot='os-launcher-clock'] {
226
+ background-color: transparent;
227
+ border-radius: var(--a63-os-launcher-item-radius);
228
+ box-shadow: none;
229
+ transition:
230
+ background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
231
+ box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
232
+ }
233
+
234
+ [data-a63-os='windows']
235
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
236
+ [data-slot='os-launcher-item']:is(:hover, :focus-visible),
237
+ [data-a63-os='windows']
238
+ [data-slot='os-app-center-trigger'][data-app-center-variant='start-menu']:is(
239
+ :hover,
240
+ :focus-visible
241
+ ),
242
+ [data-a63-os='windows'] [data-slot='os-launcher-widgets']:is(:hover, :focus-visible),
243
+ [data-a63-os='windows'] [data-slot='os-launcher-quick-settings']:is(:hover, :focus-visible),
244
+ [data-a63-os='windows'] [data-slot='os-launcher-clock']:is(:hover, :focus-visible) {
245
+ background-color: var(--a63-os-launcher-item-hover-background);
246
+ }
247
+
248
+ [data-a63-os='windows']
249
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
250
+ [data-slot='os-launcher-item'][data-focused],
251
+ [data-a63-os='windows']
252
+ [data-slot='os-app-center-trigger'][data-app-center-variant='start-menu'][data-active],
253
+ [data-a63-os='windows'] [data-slot='os-launcher-widgets'][data-active],
254
+ [data-a63-os='windows'] [data-slot='os-launcher-quick-settings'][data-active],
255
+ [data-a63-os='windows'] [data-slot='os-launcher-clock'][data-active] {
256
+ background-color: var(--a63-os-launcher-item-active-background);
257
+ box-shadow: var(--a63-os-launcher-item-active-shadow);
258
+ }
259
+
260
+ [data-a63-os='windows']
261
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
262
+ [data-slot='os-launcher-icon'] {
263
+ border-radius: calc(var(--radius-sm) + 2px);
264
+ }
265
+
266
+ [data-a63-os='windows']
267
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
268
+ [data-slot='os-launcher-icon'][data-launcher-icon-presentation='glyph'] {
269
+ background: transparent;
270
+ box-shadow: none;
271
+ }
272
+
273
+ [data-a63-os='windows']
274
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
275
+ [data-slot='os-launcher-indicator-track'] {
276
+ bottom: calc(-1 * var(--a63-space-unit) + 4.5px);
277
+ }
278
+
279
+ [data-a63-os='windows']
280
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
281
+ [data-slot='os-launcher-indicator'] {
282
+ height: var(--a63-os-launcher-indicator-height);
283
+ }
284
+
285
+ [data-a63-os='windows']
286
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
287
+ [data-slot='os-launcher-indicator'][data-active] {
288
+ background: var(--a63-os-launcher-indicator-active);
289
+ }
290
+
291
+ [data-a63-os='windows']
292
+ [data-slot='os-launcher'][data-launcher-variant='taskbar']
293
+ [data-slot='os-launcher-indicator']:not([data-active]) {
294
+ background: var(--a63-os-launcher-indicator-inactive);
295
+ }
296
+
297
+ [data-a63-os='windows'] [data-slot='os-app-center'][data-app-center-variant='start-menu'] {
298
+ border-radius: var(--radius-lg);
299
+ }
@@ -0,0 +1,8 @@
1
+ @import 'tw-animate-css';
2
+
3
+ @media (prefers-reduced-motion: reduce) {
4
+ .animate-in,
5
+ .animate-out {
6
+ animation-duration: 0.01ms !important;
7
+ }
8
+ }
@@ -0,0 +1,4 @@
1
+ @import './animations.css';
2
+ @import './theme.css';
3
+ @import './variants.css';
4
+ @import './utilities.css';