@acorex/styles 22.0.0-next.9 → 22.0.1-next.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/components/_action-item.css +0 -4
- package/components/_actionsheet.css +20 -3
- package/components/_drop-down.css +42 -17
- package/components/_editor-container.css +177 -10
- package/components/_floating-surface.css +24 -0
- package/components/_list.css +2 -5
- package/components/index.css +2 -2
- package/icons/lucide/_variables.css +229 -0
- package/icons/lucide/index.css +543 -0
- package/package.json +72 -1
- package/themes/appearance.css +15 -0
- package/themes/appearances/depth.css +377 -0
- package/themes/appearances/flat.css +63 -0
- package/themes/appearances/index.css +73 -0
- package/themes/appearances/translucent.css +77 -0
- package/themes/contrast/enhanced.css +85 -0
- package/themes/contrast/high.css +131 -0
- package/themes/contrast/index.css +10 -0
- package/themes/default.css +430 -62
- package/components/_conversation-picker-popup.css +0 -34
- package/icons/lucide/_variables.scss +0 -227
- package/icons/lucide/index.scss +0 -693
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* High Contrast — composable contrast profile (not an Appearance).
|
|
3
|
+
* Activate with .ax-contrast-high on <html> or any subtree.
|
|
4
|
+
*
|
|
5
|
+
* Ownership:
|
|
6
|
+
* - Contrast owns boundaries, focus, field discoverability, disabled clarity
|
|
7
|
+
* - Appearance owns gradient, bevel, shadow, depth, translucency, surface fill
|
|
8
|
+
*
|
|
9
|
+
* High must not redefine Depth or Translucent identity in ordinary rendering.
|
|
10
|
+
* Decorative neutralization belongs under forced-colors only.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
.ax-contrast-high {
|
|
14
|
+
--ax-sys-contrast-inner-border-control: inset 0 0 0 1px rgb(15 23 42 / 0.75);
|
|
15
|
+
--ax-sys-contrast-inner-border-field: inset 0 0 0 1px rgb(15 23 42 / 0.78);
|
|
16
|
+
--ax-sys-contrast-inner-border-surface: inset 0 0 0 1px rgb(15 23 42 / 0.65);
|
|
17
|
+
|
|
18
|
+
--ax-sys-contrast-border-control: rgb(15 23 42 / 0.75);
|
|
19
|
+
--ax-sys-contrast-border-field: rgb(15 23 42 / 0.78);
|
|
20
|
+
--ax-sys-contrast-border-surface: rgb(15 23 42 / 0.65);
|
|
21
|
+
|
|
22
|
+
--ax-sys-contrast-focus-ring: 0 0 0 2px rgb(15 23 42 / 0.95);
|
|
23
|
+
--ax-sys-contrast-focus-ring-offset: 0 0 0 2px rgb(255 255 255 / 1);
|
|
24
|
+
|
|
25
|
+
/* Controls — boundary/focus only; do not recolor Button fills. */
|
|
26
|
+
--ax-sys-contrast-surface-overlay-control: transparent;
|
|
27
|
+
--ax-sys-contrast-surface-overlay-field: rgb(15 23 42 / 0.045);
|
|
28
|
+
--ax-sys-contrast-surface-overlay-surface: rgb(15 23 42 / 0.016);
|
|
29
|
+
|
|
30
|
+
--ax-sys-contrast-disabled-opacity: 0.62;
|
|
31
|
+
|
|
32
|
+
--ax-sys-contrast-inner-border-invalid: inset 0 0 0 2px rgba(var(--ax-sys-color-danger-600));
|
|
33
|
+
--ax-sys-contrast-border-invalid: rgba(var(--ax-sys-color-danger-600));
|
|
34
|
+
--ax-sys-contrast-focus-ring-invalid: 0 0 0 2px rgba(var(--ax-sys-color-danger-600) / 0.65);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Dark — High Contrast */
|
|
38
|
+
|
|
39
|
+
.ax-dark.ax-contrast-high,
|
|
40
|
+
.ax-dark .ax-contrast-high,
|
|
41
|
+
.ax-contrast-high .ax-dark {
|
|
42
|
+
--ax-sys-contrast-inner-border-control: inset 0 0 0 1px rgb(255 255 255 / 0.78);
|
|
43
|
+
--ax-sys-contrast-inner-border-field: inset 0 0 0 1px rgb(255 255 255 / 0.82);
|
|
44
|
+
--ax-sys-contrast-inner-border-surface: inset 0 0 0 1px rgb(255 255 255 / 0.65);
|
|
45
|
+
|
|
46
|
+
--ax-sys-contrast-border-control: rgb(255 255 255 / 0.78);
|
|
47
|
+
--ax-sys-contrast-border-field: rgb(255 255 255 / 0.82);
|
|
48
|
+
--ax-sys-contrast-border-surface: rgb(255 255 255 / 0.65);
|
|
49
|
+
|
|
50
|
+
--ax-sys-contrast-focus-ring: 0 0 0 2px rgb(255 255 255 / 0.95);
|
|
51
|
+
--ax-sys-contrast-focus-ring-offset: 0 0 0 2px rgb(15 23 42 / 1);
|
|
52
|
+
|
|
53
|
+
--ax-sys-contrast-surface-overlay-control: transparent;
|
|
54
|
+
--ax-sys-contrast-surface-overlay-field: rgb(255 255 255 / 0.06);
|
|
55
|
+
--ax-sys-contrast-surface-overlay-surface: rgb(255 255 255 / 0.02);
|
|
56
|
+
|
|
57
|
+
--ax-sys-contrast-inner-border-invalid: inset 0 0 0 2px rgba(var(--ax-sys-color-danger-600));
|
|
58
|
+
--ax-sys-contrast-border-invalid: rgba(var(--ax-sys-color-danger-600));
|
|
59
|
+
--ax-sys-contrast-focus-ring-invalid: 0 0 0 2px rgba(var(--ax-sys-color-danger-600) / 0.65);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Nested Light inside Dark — restore Light High Contrast */
|
|
63
|
+
|
|
64
|
+
.ax-dark .ax-light.ax-contrast-high,
|
|
65
|
+
.ax-dark .ax-contrast-high .ax-light,
|
|
66
|
+
.ax-contrast-high .ax-dark .ax-light {
|
|
67
|
+
--ax-sys-contrast-inner-border-control: inset 0 0 0 1px rgb(15 23 42 / 0.75);
|
|
68
|
+
--ax-sys-contrast-inner-border-field: inset 0 0 0 1px rgb(15 23 42 / 0.78);
|
|
69
|
+
--ax-sys-contrast-inner-border-surface: inset 0 0 0 1px rgb(15 23 42 / 0.65);
|
|
70
|
+
|
|
71
|
+
--ax-sys-contrast-border-control: rgb(15 23 42 / 0.75);
|
|
72
|
+
--ax-sys-contrast-border-field: rgb(15 23 42 / 0.78);
|
|
73
|
+
--ax-sys-contrast-border-surface: rgb(15 23 42 / 0.65);
|
|
74
|
+
|
|
75
|
+
--ax-sys-contrast-focus-ring: 0 0 0 2px rgb(15 23 42 / 0.95);
|
|
76
|
+
--ax-sys-contrast-focus-ring-offset: 0 0 0 2px rgb(255 255 255 / 1);
|
|
77
|
+
|
|
78
|
+
--ax-sys-contrast-surface-overlay-control: transparent;
|
|
79
|
+
--ax-sys-contrast-surface-overlay-field: rgb(15 23 42 / 0.045);
|
|
80
|
+
--ax-sys-contrast-surface-overlay-surface: rgb(15 23 42 / 0.016);
|
|
81
|
+
|
|
82
|
+
--ax-sys-contrast-inner-border-invalid: inset 0 0 0 2px rgba(var(--ax-sys-color-danger-600));
|
|
83
|
+
--ax-sys-contrast-border-invalid: rgba(var(--ax-sys-color-danger-600));
|
|
84
|
+
--ax-sys-contrast-focus-ring-invalid: 0 0 0 2px rgba(var(--ax-sys-color-danger-600) / 0.65);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/*
|
|
88
|
+
* Forced colors — decorative Appearance treatments may be neutralized here.
|
|
89
|
+
* Ordinary .ax-contrast-high must not behave like Forced Colors.
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
@media (forced-colors: active) {
|
|
93
|
+
.ax-contrast-high,
|
|
94
|
+
.ax-contrast-high * {
|
|
95
|
+
forced-color-adjust: auto;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ax-contrast-high {
|
|
99
|
+
--ax-sys-gradient-control-rest: none;
|
|
100
|
+
--ax-sys-gradient-control-hover: none;
|
|
101
|
+
--ax-sys-gradient-control-active: none;
|
|
102
|
+
--ax-sys-gradient-control-neutral-rest: none;
|
|
103
|
+
--ax-sys-gradient-control-neutral-hover: none;
|
|
104
|
+
--ax-sys-gradient-control-neutral-active: none;
|
|
105
|
+
--ax-sys-gradient-surface: none;
|
|
106
|
+
|
|
107
|
+
--ax-sys-highlight-control: 0 0 #0000;
|
|
108
|
+
--ax-sys-highlight-control-subtle: 0 0 #0000;
|
|
109
|
+
|
|
110
|
+
--ax-sys-bevel-control-rest: var(--ax-sys-contrast-inner-border-control);
|
|
111
|
+
--ax-sys-bevel-control-hover: var(--ax-sys-contrast-inner-border-control);
|
|
112
|
+
--ax-sys-bevel-control-active: var(--ax-sys-contrast-inner-border-control);
|
|
113
|
+
--ax-sys-bevel-control-disabled: 0 0 #0000;
|
|
114
|
+
--ax-sys-bevel-control-neutral-rest: var(--ax-sys-contrast-inner-border-control);
|
|
115
|
+
--ax-sys-bevel-control-neutral-hover: var(--ax-sys-contrast-inner-border-control);
|
|
116
|
+
--ax-sys-bevel-control-neutral-active: var(--ax-sys-contrast-inner-border-control);
|
|
117
|
+
|
|
118
|
+
--ax-sys-effect-control-rest: 0 0 #0000;
|
|
119
|
+
--ax-sys-effect-control-hover: 0 0 #0000;
|
|
120
|
+
--ax-sys-effect-control-active: 0 0 #0000;
|
|
121
|
+
--ax-sys-effect-field-rest: 0 0 #0000;
|
|
122
|
+
--ax-sys-effect-surface: 0 0 #0000;
|
|
123
|
+
--ax-sys-effect-floating: 0 0 #0000;
|
|
124
|
+
--ax-sys-effect-overlay: 0 0 #0000;
|
|
125
|
+
--ax-sys-effect-modal: 0 0 #0000;
|
|
126
|
+
|
|
127
|
+
--ax-sys-backdrop-filter-surface: none;
|
|
128
|
+
--ax-sys-surface-fill-opacity: 1;
|
|
129
|
+
--ax-sys-filter-surface: none;
|
|
130
|
+
}
|
|
131
|
+
}
|