@kinetixui/tokens 0.4.2 → 0.5.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/dist/android/Color.kt +15 -0
- package/dist/android/Theme.dark.kt +7 -4
- package/dist/android/Theme.kt +11 -8
- package/dist/android/res/values/colors.xml +26 -8
- package/dist/flutter/app_colors.dart +27 -9
- package/dist/flutter/app_theme.dart +12 -9
- package/dist/flutter/kinetix_color_scheme.dark.dart +7 -4
- package/dist/flutter/kinetix_color_scheme.dart +11 -8
- package/dist/ios/KinetixColors.swift +27 -9
- package/dist/ios/KinetixColorsSwiftUI.dark.swift +7 -4
- package/dist/ios/KinetixColorsSwiftUI.swift +11 -8
- package/dist/ios/Theme.swift +12 -9
- package/dist/web/extras.css +1 -1
- package/dist/web/extras.dark.css +1 -1
- package/dist/web/globals.css +27 -9
- package/dist/web/globals.dark.css +8 -5
- package/dist/web/tokens.d.ts +30 -10
- package/dist/web/tokens.js +30 -10
- package/dist/web/tokens.ts +30 -10
- package/package.json +1 -1
package/dist/android/Color.kt
CHANGED
|
@@ -25,6 +25,21 @@ object KinetixPalette {
|
|
|
25
25
|
val colorAmber850 = Color(0xff6a4b19)
|
|
26
26
|
val colorAmber900 = Color(0xff553a11)
|
|
27
27
|
val colorAmber950 = Color(0xff3f2a08)
|
|
28
|
+
val colorAzure0 = Color(0xfff7faff)
|
|
29
|
+
val colorAzure100 = Color(0xffdbeafe)
|
|
30
|
+
val colorAzure1000 = Color(0xff0f172a)
|
|
31
|
+
val colorAzure150 = Color(0xffcde1fd)
|
|
32
|
+
val colorAzure200 = Color(0xffbfdbfe)
|
|
33
|
+
val colorAzure300 = Color(0xff93c5fd)
|
|
34
|
+
val colorAzure400 = Color(0xff60a5fa)
|
|
35
|
+
val colorAzure50 = Color(0xffeff6ff)
|
|
36
|
+
val colorAzure500 = Color(0xff3b82f6)
|
|
37
|
+
val colorAzure600 = Color(0xff2563eb)
|
|
38
|
+
val colorAzure700 = Color(0xff1d4ed8)
|
|
39
|
+
val colorAzure800 = Color(0xff1e40af)
|
|
40
|
+
val colorAzure850 = Color(0xff1b3897)
|
|
41
|
+
val colorAzure900 = Color(0xff1e3a8a)
|
|
42
|
+
val colorAzure950 = Color(0xff172554)
|
|
28
43
|
val colorBlue0 = Color(0xfff6fbff)
|
|
29
44
|
val colorBlue100 = Color(0xff92b2c8)
|
|
30
45
|
val colorBlue1000 = Color(0xff000000)
|
|
@@ -21,6 +21,9 @@ object KinetixThemeDark {
|
|
|
21
21
|
val colorChart3 = Color(0xffffc975)
|
|
22
22
|
val colorChart4 = Color(0xffdd6a6a)
|
|
23
23
|
val colorChart5 = Color(0xffd2c1b6)
|
|
24
|
+
val colorChart6 = Color(0xff7495ab)
|
|
25
|
+
val colorChart7 = Color(0xffd13a3a)
|
|
26
|
+
val colorChart8 = Color(0xff748873)
|
|
24
27
|
val colorDestructive = Color(0xffdd6a6a)
|
|
25
28
|
val colorDestructiveForeground = Color(0xff280202)
|
|
26
29
|
val colorForeground = Color(0xfff0f7ff)
|
|
@@ -31,9 +34,9 @@ object KinetixThemeDark {
|
|
|
31
34
|
val colorMutedForeground = Color(0xff92b2c8)
|
|
32
35
|
val colorPopover = Color(0xff0b1821)
|
|
33
36
|
val colorPopoverForeground = Color(0xfff0f7ff)
|
|
34
|
-
val colorPrimary = Color(
|
|
37
|
+
val colorPrimary = Color(0xff60a5fa)
|
|
35
38
|
val colorPrimaryForeground = Color(0xff050c11)
|
|
36
|
-
val colorRing = Color(
|
|
39
|
+
val colorRing = Color(0xff60a5fa)
|
|
37
40
|
val colorSecondary = Color(0xff2e362e)
|
|
38
41
|
val colorSecondaryForeground = Color(0xffe3e7e3)
|
|
39
42
|
val colorSidebar = Color(0xff0b1821)
|
|
@@ -41,9 +44,9 @@ object KinetixThemeDark {
|
|
|
41
44
|
val colorSidebarAccentForeground = Color(0xfff0f7ff)
|
|
42
45
|
val colorSidebarBorder = Color(0xff395a70)
|
|
43
46
|
val colorSidebarForeground = Color(0xfff0f7ff)
|
|
44
|
-
val colorSidebarPrimary = Color(
|
|
47
|
+
val colorSidebarPrimary = Color(0xff60a5fa)
|
|
45
48
|
val colorSidebarPrimaryForeground = Color(0xff050c11)
|
|
46
|
-
val colorSidebarRing = Color(
|
|
49
|
+
val colorSidebarRing = Color(0xff60a5fa)
|
|
47
50
|
val colorSuccess = Color(0xff90a08f)
|
|
48
51
|
val colorSuccessForeground = Color(0xff171b17)
|
|
49
52
|
val colorTertiary = Color(0xff395a70)
|
package/dist/android/Theme.kt
CHANGED
|
@@ -11,7 +11,7 @@ import androidx.compose.ui.unit.*
|
|
|
11
11
|
|
|
12
12
|
object KinetixTheme {
|
|
13
13
|
val colorAccent = Color(0xfff0f7ff)
|
|
14
|
-
val colorAccentForeground = Color(
|
|
14
|
+
val colorAccentForeground = Color(0xff1d4ed8)
|
|
15
15
|
val colorBackground = Color(0xffffffff)
|
|
16
16
|
val colorBorder = Color(0xff92b2c8)
|
|
17
17
|
val colorCard = Color(0xffffffff)
|
|
@@ -21,6 +21,9 @@ object KinetixTheme {
|
|
|
21
21
|
val colorChart3 = Color(0xffffbc53)
|
|
22
22
|
val colorChart4 = Color(0xffd13a3a)
|
|
23
23
|
val colorChart5 = Color(0xffb4a499)
|
|
24
|
+
val colorChart6 = Color(0xff57778d)
|
|
25
|
+
val colorChart7 = Color(0xff9e0808)
|
|
26
|
+
val colorChart8 = Color(0xff465245)
|
|
24
27
|
val colorDestructive = Color(0xffc60a0a)
|
|
25
28
|
val colorDestructiveForeground = Color(0xfffef3f2)
|
|
26
29
|
val colorForeground = Color(0xff050c11)
|
|
@@ -31,11 +34,11 @@ object KinetixTheme {
|
|
|
31
34
|
val colorMutedForeground = Color(0xff6d6d6d)
|
|
32
35
|
val colorPopover = Color(0xffffffff)
|
|
33
36
|
val colorPopoverForeground = Color(0xff050c11)
|
|
34
|
-
val colorPrimary = Color(
|
|
37
|
+
val colorPrimary = Color(0xff1d4ed8)
|
|
35
38
|
val colorPrimaryForeground = Color(0xfff0f7ff)
|
|
36
|
-
val colorRing = Color(
|
|
37
|
-
val colorSecondary = Color(
|
|
38
|
-
val colorSecondaryForeground = Color(
|
|
39
|
+
val colorRing = Color(0xff1d4ed8)
|
|
40
|
+
val colorSecondary = Color(0xffc7cfc7)
|
|
41
|
+
val colorSecondaryForeground = Color(0xff465245)
|
|
39
42
|
val colorSemanticError = Color(0xffec5047)
|
|
40
43
|
val colorSemanticErrorContainer = Color(0xfffef3f2)
|
|
41
44
|
val colorSemanticInfoContainer = Color(0xfff0f7ff)
|
|
@@ -49,12 +52,12 @@ object KinetixTheme {
|
|
|
49
52
|
val colorSemanticWarningContainer = Color(0xfffff8eb)
|
|
50
53
|
val colorSidebar = Color(0xfffafafa)
|
|
51
54
|
val colorSidebarAccent = Color(0xfff0f7ff)
|
|
52
|
-
val colorSidebarAccentForeground = Color(
|
|
55
|
+
val colorSidebarAccentForeground = Color(0xff1d4ed8)
|
|
53
56
|
val colorSidebarBorder = Color(0xffe0e0e0)
|
|
54
57
|
val colorSidebarForeground = Color(0xff050c11)
|
|
55
|
-
val colorSidebarPrimary = Color(
|
|
58
|
+
val colorSidebarPrimary = Color(0xff1d4ed8)
|
|
56
59
|
val colorSidebarPrimaryForeground = Color(0xfff0f7ff)
|
|
57
|
-
val colorSidebarRing = Color(
|
|
60
|
+
val colorSidebarRing = Color(0xff1d4ed8)
|
|
58
61
|
val colorSuccess = Color(0xff5d6d5c)
|
|
59
62
|
val colorSuccessForeground = Color(0xfff1f3f1)
|
|
60
63
|
val colorTertiary = Color(0xffb0b0b0)
|
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
Do not edit directly, this file was auto-generated.
|
|
5
5
|
-->
|
|
6
6
|
<resources>
|
|
7
|
+
<color name="color_azure_0">#fff7faff</color>
|
|
8
|
+
<color name="color_azure_50">#ffeff6ff</color>
|
|
9
|
+
<color name="color_azure_100">#ffdbeafe</color>
|
|
10
|
+
<color name="color_azure_150">#ffcde1fd</color>
|
|
11
|
+
<color name="color_azure_200">#ffbfdbfe</color>
|
|
12
|
+
<color name="color_azure_300">#ff93c5fd</color>
|
|
13
|
+
<color name="color_azure_400">#ff60a5fa</color>
|
|
14
|
+
<color name="color_azure_500">#ff3b82f6</color>
|
|
15
|
+
<color name="color_azure_600">#ff2563eb</color>
|
|
16
|
+
<color name="color_azure_700">#ff1d4ed8</color>
|
|
17
|
+
<color name="color_azure_800">#ff1e40af</color>
|
|
18
|
+
<color name="color_azure_850">#ff1b3897</color>
|
|
19
|
+
<color name="color_azure_900">#ff1e3a8a</color>
|
|
20
|
+
<color name="color_azure_950">#ff172554</color>
|
|
21
|
+
<color name="color_azure_1000">#ff0f172a</color>
|
|
7
22
|
<color name="color_blue_0">#fff6fbff</color>
|
|
8
23
|
<color name="color_blue_50">#fff0f7ff</color>
|
|
9
24
|
<color name="color_blue_100">#ff92b2c8</color>
|
|
@@ -114,14 +129,14 @@
|
|
|
114
129
|
<color name="color_card_foreground">#ff050c11</color>
|
|
115
130
|
<color name="color_popover">#ffffffff</color>
|
|
116
131
|
<color name="color_popover_foreground">#ff050c11</color>
|
|
117
|
-
<color name="color_primary">#
|
|
132
|
+
<color name="color_primary">#ff1d4ed8</color>
|
|
118
133
|
<color name="color_primary_foreground">#fff0f7ff</color>
|
|
119
|
-
<color name="color_secondary">#
|
|
120
|
-
<color name="color_secondary_foreground">#
|
|
134
|
+
<color name="color_secondary">#ffc7cfc7</color>
|
|
135
|
+
<color name="color_secondary_foreground">#ff465245</color>
|
|
121
136
|
<color name="color_muted">#fff6f6f6</color>
|
|
122
137
|
<color name="color_muted_foreground">#ff6d6d6d</color>
|
|
123
138
|
<color name="color_accent">#fff0f7ff</color>
|
|
124
|
-
<color name="color_accent_foreground">#
|
|
139
|
+
<color name="color_accent_foreground">#ff1d4ed8</color>
|
|
125
140
|
<color name="color_destructive">#ffc60a0a</color>
|
|
126
141
|
<color name="color_destructive_foreground">#fffef3f2</color>
|
|
127
142
|
<color name="color_success">#ff5d6d5c</color>
|
|
@@ -130,7 +145,7 @@
|
|
|
130
145
|
<color name="color_warning_foreground">#fffff8eb</color>
|
|
131
146
|
<color name="color_border">#ff92b2c8</color>
|
|
132
147
|
<color name="color_input">#ff92b2c8</color>
|
|
133
|
-
<color name="color_ring">#
|
|
148
|
+
<color name="color_ring">#ff1d4ed8</color>
|
|
134
149
|
<color name="color_semantic_error">#ffec5047</color>
|
|
135
150
|
<color name="color_semantic_on_error">#fffef3f2</color>
|
|
136
151
|
<color name="color_semantic_error_container">#fffef3f2</color>
|
|
@@ -147,14 +162,17 @@
|
|
|
147
162
|
<color name="color_chart_3">#ffffbc53</color>
|
|
148
163
|
<color name="color_chart_4">#ffd13a3a</color>
|
|
149
164
|
<color name="color_chart_5">#ffb4a499</color>
|
|
165
|
+
<color name="color_chart_6">#ff57778d</color>
|
|
166
|
+
<color name="color_chart_7">#ff9e0808</color>
|
|
167
|
+
<color name="color_chart_8">#ff465245</color>
|
|
150
168
|
<color name="color_sidebar">#fffafafa</color>
|
|
151
169
|
<color name="color_sidebar_foreground">#ff050c11</color>
|
|
152
|
-
<color name="color_sidebar_primary">#
|
|
170
|
+
<color name="color_sidebar_primary">#ff1d4ed8</color>
|
|
153
171
|
<color name="color_sidebar_primary_foreground">#fff0f7ff</color>
|
|
154
172
|
<color name="color_sidebar_accent">#fff0f7ff</color>
|
|
155
|
-
<color name="color_sidebar_accent_foreground">#
|
|
173
|
+
<color name="color_sidebar_accent_foreground">#ff1d4ed8</color>
|
|
156
174
|
<color name="color_sidebar_border">#ffe0e0e0</color>
|
|
157
|
-
<color name="color_sidebar_ring">#
|
|
175
|
+
<color name="color_sidebar_ring">#ff1d4ed8</color>
|
|
158
176
|
<color name="color_tertiary">#ffb0b0b0</color>
|
|
159
177
|
<color name="color_tertiary_foreground">#fff0f7ff</color>
|
|
160
178
|
<color name="color_info">#ff57778d</color>
|
|
@@ -13,7 +13,7 @@ class KinetixColors {
|
|
|
13
13
|
KinetixColors._();
|
|
14
14
|
|
|
15
15
|
static const colorAccent = Color(0xFFF0F7FF); /** figma: 'LightBlue' #f0f7ff (the hover fill used by Outline/Ghost buttons) */
|
|
16
|
-
static const colorAccentForeground = Color(
|
|
16
|
+
static const colorAccentForeground = Color(0xFF1D4ED8); /** synth: = primary for readable text on accent (#1d4ed8 on accent #f0f7ff ~5.7:1) */
|
|
17
17
|
static const colorAmber0 = Color(0xFFFFFFFF);
|
|
18
18
|
static const colorAmber100 = Color(0xFFFFF2DD);
|
|
19
19
|
static const colorAmber1000 = Color(0xFF2A1A00);
|
|
@@ -29,6 +29,21 @@ class KinetixColors {
|
|
|
29
29
|
static const colorAmber850 = Color(0xFF6A4B19);
|
|
30
30
|
static const colorAmber900 = Color(0xFF553A11);
|
|
31
31
|
static const colorAmber950 = Color(0xFF3F2A08);
|
|
32
|
+
static const colorAzure0 = Color(0xFFF7FAFF);
|
|
33
|
+
static const colorAzure100 = Color(0xFFDBEAFE);
|
|
34
|
+
static const colorAzure1000 = Color(0xFF0F172A);
|
|
35
|
+
static const colorAzure150 = Color(0xFFCDE1FD);
|
|
36
|
+
static const colorAzure200 = Color(0xFFBFDBFE);
|
|
37
|
+
static const colorAzure300 = Color(0xFF93C5FD);
|
|
38
|
+
static const colorAzure400 = Color(0xFF60A5FA);
|
|
39
|
+
static const colorAzure50 = Color(0xFFEFF6FF);
|
|
40
|
+
static const colorAzure500 = Color(0xFF3B82F6);
|
|
41
|
+
static const colorAzure600 = Color(0xFF2563EB);
|
|
42
|
+
static const colorAzure700 = Color(0xFF1D4ED8);
|
|
43
|
+
static const colorAzure800 = Color(0xFF1E40AF);
|
|
44
|
+
static const colorAzure850 = Color(0xFF1B3897);
|
|
45
|
+
static const colorAzure900 = Color(0xFF1E3A8A);
|
|
46
|
+
static const colorAzure950 = Color(0xFF172554);
|
|
32
47
|
static const colorBackground = Color(0xFFFFFFFF); /** figma: surfaceContainerLowest #ffffff */
|
|
33
48
|
static const colorBlue0 = Color(0xFFF6FBFF);
|
|
34
49
|
static const colorBlue100 = Color(0xFF92B2C8);
|
|
@@ -53,6 +68,9 @@ class KinetixColors {
|
|
|
53
68
|
static const colorChart3 = Color(0xFFFFBC53);
|
|
54
69
|
static const colorChart4 = Color(0xFFD13A3A);
|
|
55
70
|
static const colorChart5 = Color(0xFFB4A499);
|
|
71
|
+
static const colorChart6 = Color(0xFF57778D); /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
72
|
+
static const colorChart7 = Color(0xFF9E0808); /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
73
|
+
static const colorChart8 = Color(0xFF465245); /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
56
74
|
static const colorCream0 = Color(0xFFFFFFFF);
|
|
57
75
|
static const colorCream100 = Color(0xFFFEFDFC);
|
|
58
76
|
static const colorCream1000 = Color(0xFF8C5734);
|
|
@@ -105,8 +123,8 @@ class KinetixColors {
|
|
|
105
123
|
static const colorNeutral900 = Color(0xFF1F1F1F);
|
|
106
124
|
static const colorPopover = Color(0xFFFFFFFF); /** synth: no Figma popover token; = background */
|
|
107
125
|
static const colorPopoverForeground = Color(0xFF050C11); /** synth: = foreground */
|
|
108
|
-
static const colorPrimary = Color(
|
|
109
|
-
static const colorPrimaryForeground = Color(0xFFF0F7FF); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
126
|
+
static const colorPrimary = Color(0xFF1D4ED8); /** was Figma 'Primay' navy (blue.500 -> blue.700). Swapped for a bright action blue #1d4ed8 (6.55:1 on bg) so primary buttons/links pop rather than reading as near-black. Dark uses a lighter step (#60a5fa) — navy/this hue would fail on the dark surface. */
|
|
127
|
+
static const colorPrimaryForeground = Color(0xFFF0F7FF); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground (on #1d4ed8 primary ~6:1) */
|
|
110
128
|
static const colorRed0 = Color(0xFFFFF9F9);
|
|
111
129
|
static const colorRed100 = Color(0xFFF4C9C9);
|
|
112
130
|
static const colorRed1000 = Color(0xFF000000);
|
|
@@ -122,9 +140,9 @@ class KinetixColors {
|
|
|
122
140
|
static const colorRed850 = Color(0xFF3B0303);
|
|
123
141
|
static const colorRed900 = Color(0xFF280202);
|
|
124
142
|
static const colorRed950 = Color(0xFF140101);
|
|
125
|
-
static const colorRing = Color(
|
|
126
|
-
static const colorSecondary = Color(
|
|
127
|
-
static const colorSecondaryForeground = Color(
|
|
143
|
+
static const colorRing = Color(0xFF1D4ED8); /** focus ring — tracks --primary (#1d4ed8, 6.55:1 on bg) */
|
|
144
|
+
static const colorSecondary = Color(0xFFC7CFC7); /** figma secondaryContainer was green.50 #f1f3f1 (invisible on bg); deepened to green.200 #c7cfc7 so a secondary button/chip clearly stands off the white page — same sage hue */
|
|
145
|
+
static const colorSecondaryForeground = Color(0xFF465245); /** green.700 #465245 on secondary green.200 #c7cfc7 clears ~5.2:1 */
|
|
128
146
|
static const colorSemanticError = Color(0xFFEC5047); /** figma: error (NOT red.500 #c60a0a — Figma keeps error as its own value) */
|
|
129
147
|
static const colorSemanticErrorContainer = Color(0xFFFEF3F2); /** figma: errorContainer */
|
|
130
148
|
static const colorSemanticInfoContainer = Color(0xFFF0F7FF);
|
|
@@ -138,12 +156,12 @@ class KinetixColors {
|
|
|
138
156
|
static const colorSemanticWarningContainer = Color(0xFFFFF8EB); /** figma: warningContainer */
|
|
139
157
|
static const colorSidebar = Color(0xFFFAFAFA);
|
|
140
158
|
static const colorSidebarAccent = Color(0xFFF0F7FF);
|
|
141
|
-
static const colorSidebarAccentForeground = Color(
|
|
159
|
+
static const colorSidebarAccentForeground = Color(0xFF1D4ED8);
|
|
142
160
|
static const colorSidebarBorder = Color(0xFFE0E0E0);
|
|
143
161
|
static const colorSidebarForeground = Color(0xFF050C11);
|
|
144
|
-
static const colorSidebarPrimary = Color(
|
|
162
|
+
static const colorSidebarPrimary = Color(0xFF1D4ED8);
|
|
145
163
|
static const colorSidebarPrimaryForeground = Color(0xFFF0F7FF);
|
|
146
|
-
static const colorSidebarRing = Color(
|
|
164
|
+
static const colorSidebarRing = Color(0xFF1D4ED8);
|
|
147
165
|
static const colorStaticBlack = Color(0xFF000000);
|
|
148
166
|
static const colorStaticWhite = Color(0xFFFFFFFF);
|
|
149
167
|
static const colorSuccess = Color(0xFF5D6D5C); /** synth: no Figma success token; green ramp step 6 (distinct from secondary) */
|
|
@@ -13,7 +13,7 @@ class KinetixTheme {
|
|
|
13
13
|
KinetixTheme._();
|
|
14
14
|
|
|
15
15
|
static const colorAccent = Color(0xFFF0F7FF); /** figma: 'LightBlue' #f0f7ff (the hover fill used by Outline/Ghost buttons) */
|
|
16
|
-
static const colorAccentForeground = Color(
|
|
16
|
+
static const colorAccentForeground = Color(0xFF1D4ED8); /** synth: = primary for readable text on accent (#1d4ed8 on accent #f0f7ff ~5.7:1) */
|
|
17
17
|
static const colorBackground = Color(0xFFFFFFFF); /** figma: surfaceContainerLowest #ffffff */
|
|
18
18
|
static const colorBorder = Color(0xFF92B2C8); /** figma: outline #92b2c8 */
|
|
19
19
|
static const colorCard = Color(0xFFFFFFFF); /** synth: no Figma card token; = background */
|
|
@@ -23,6 +23,9 @@ class KinetixTheme {
|
|
|
23
23
|
static const colorChart3 = Color(0xFFFFBC53);
|
|
24
24
|
static const colorChart4 = Color(0xFFD13A3A);
|
|
25
25
|
static const colorChart5 = Color(0xFFB4A499);
|
|
26
|
+
static const colorChart6 = Color(0xFF57778D); /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
27
|
+
static const colorChart7 = Color(0xFF9E0808); /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
28
|
+
static const colorChart8 = Color(0xFF465245); /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
26
29
|
static const colorDestructive = Color(0xFFC60A0A); /** a11y: figma error #ec5047 is 3.33:1 under on-error / 3.62:1 as text on the page — fails WCAG AA. red.500 #c60a0a clears 5.6:1 / 6.1:1. See ACCESSIBILITY-AUDIT.md. */
|
|
27
30
|
static const colorDestructiveForeground = Color(0xFFFEF3F2); /** figma: onError #fef3f2 */
|
|
28
31
|
static const colorForeground = Color(0xFF050C11); /** figma: onSurface #050c11 */
|
|
@@ -33,11 +36,11 @@ class KinetixTheme {
|
|
|
33
36
|
static const colorMutedForeground = Color(0xFF6D6D6D); /** figma: onSurfaceVariant #6d6d6d */
|
|
34
37
|
static const colorPopover = Color(0xFFFFFFFF); /** synth: no Figma popover token; = background */
|
|
35
38
|
static const colorPopoverForeground = Color(0xFF050C11); /** synth: = foreground */
|
|
36
|
-
static const colorPrimary = Color(
|
|
37
|
-
static const colorPrimaryForeground = Color(0xFFF0F7FF); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
38
|
-
static const colorRing = Color(
|
|
39
|
-
static const colorSecondary = Color(
|
|
40
|
-
static const colorSecondaryForeground = Color(
|
|
39
|
+
static const colorPrimary = Color(0xFF1D4ED8); /** was Figma 'Primay' navy (blue.500 -> blue.700). Swapped for a bright action blue #1d4ed8 (6.55:1 on bg) so primary buttons/links pop rather than reading as near-black. Dark uses a lighter step (#60a5fa) — navy/this hue would fail on the dark surface. */
|
|
40
|
+
static const colorPrimaryForeground = Color(0xFFF0F7FF); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground (on #1d4ed8 primary ~6:1) */
|
|
41
|
+
static const colorRing = Color(0xFF1D4ED8); /** focus ring — tracks --primary (#1d4ed8, 6.55:1 on bg) */
|
|
42
|
+
static const colorSecondary = Color(0xFFC7CFC7); /** figma secondaryContainer was green.50 #f1f3f1 (invisible on bg); deepened to green.200 #c7cfc7 so a secondary button/chip clearly stands off the white page — same sage hue */
|
|
43
|
+
static const colorSecondaryForeground = Color(0xFF465245); /** green.700 #465245 on secondary green.200 #c7cfc7 clears ~5.2:1 */
|
|
41
44
|
static const colorSemanticError = Color(0xFFEC5047); /** figma: error (NOT red.500 #c60a0a — Figma keeps error as its own value) */
|
|
42
45
|
static const colorSemanticErrorContainer = Color(0xFFFEF3F2); /** figma: errorContainer */
|
|
43
46
|
static const colorSemanticInfoContainer = Color(0xFFF0F7FF);
|
|
@@ -51,12 +54,12 @@ class KinetixTheme {
|
|
|
51
54
|
static const colorSemanticWarningContainer = Color(0xFFFFF8EB); /** figma: warningContainer */
|
|
52
55
|
static const colorSidebar = Color(0xFFFAFAFA);
|
|
53
56
|
static const colorSidebarAccent = Color(0xFFF0F7FF);
|
|
54
|
-
static const colorSidebarAccentForeground = Color(
|
|
57
|
+
static const colorSidebarAccentForeground = Color(0xFF1D4ED8);
|
|
55
58
|
static const colorSidebarBorder = Color(0xFFE0E0E0);
|
|
56
59
|
static const colorSidebarForeground = Color(0xFF050C11);
|
|
57
|
-
static const colorSidebarPrimary = Color(
|
|
60
|
+
static const colorSidebarPrimary = Color(0xFF1D4ED8);
|
|
58
61
|
static const colorSidebarPrimaryForeground = Color(0xFFF0F7FF);
|
|
59
|
-
static const colorSidebarRing = Color(
|
|
62
|
+
static const colorSidebarRing = Color(0xFF1D4ED8);
|
|
60
63
|
static const colorSuccess = Color(0xFF5D6D5C); /** synth: no Figma success token; green ramp step 6 (distinct from secondary) */
|
|
61
64
|
static const colorSuccessForeground = Color(0xFFF1F3F1); /** synth */
|
|
62
65
|
static const colorTertiary = Color(0xFFB0B0B0); /** figma: tertiary — switch off-track */
|
|
@@ -13,7 +13,7 @@ class KinetixColorSchemeDark {
|
|
|
13
13
|
static const cardForeground = Color(0xFFF0F7FF);
|
|
14
14
|
static const popover = Color(0xFF0B1821);
|
|
15
15
|
static const popoverForeground = Color(0xFFF0F7FF);
|
|
16
|
-
static const primary = Color(
|
|
16
|
+
static const primary = Color(0xFF60A5FA);
|
|
17
17
|
static const primaryForeground = Color(0xFF050C11);
|
|
18
18
|
static const secondary = Color(0xFF2E362E);
|
|
19
19
|
static const secondaryForeground = Color(0xFFE3E7E3);
|
|
@@ -29,20 +29,23 @@ class KinetixColorSchemeDark {
|
|
|
29
29
|
static const warningForeground = Color(0xFF2A1A00);
|
|
30
30
|
static const border = Color(0xFF395A70);
|
|
31
31
|
static const input = Color(0xFF395A70);
|
|
32
|
-
static const ring = Color(
|
|
32
|
+
static const ring = Color(0xFF60A5FA);
|
|
33
33
|
static const chart1 = Color(0xFF92B2C8);
|
|
34
34
|
static const chart2 = Color(0xFF90A08F);
|
|
35
35
|
static const chart3 = Color(0xFFFFC975);
|
|
36
36
|
static const chart4 = Color(0xFFDD6A6A);
|
|
37
37
|
static const chart5 = Color(0xFFD2C1B6);
|
|
38
|
+
static const chart6 = Color(0xFF7495AB);
|
|
39
|
+
static const chart7 = Color(0xFFD13A3A);
|
|
40
|
+
static const chart8 = Color(0xFF748873);
|
|
38
41
|
static const sidebar = Color(0xFF0B1821);
|
|
39
42
|
static const sidebarForeground = Color(0xFFF0F7FF);
|
|
40
|
-
static const sidebarPrimary = Color(
|
|
43
|
+
static const sidebarPrimary = Color(0xFF60A5FA);
|
|
41
44
|
static const sidebarPrimaryForeground = Color(0xFF050C11);
|
|
42
45
|
static const sidebarAccent = Color(0xFF102432);
|
|
43
46
|
static const sidebarAccentForeground = Color(0xFFF0F7FF);
|
|
44
47
|
static const sidebarBorder = Color(0xFF395A70);
|
|
45
|
-
static const sidebarRing = Color(
|
|
48
|
+
static const sidebarRing = Color(0xFF60A5FA);
|
|
46
49
|
static const tertiary = Color(0xFF395A70);
|
|
47
50
|
static const tertiaryForeground = Color(0xFFF0F7FF);
|
|
48
51
|
static const info = Color(0xFF92B2C8);
|
|
@@ -13,14 +13,14 @@ class KinetixColorScheme {
|
|
|
13
13
|
static const cardForeground = Color(0xFF050C11);
|
|
14
14
|
static const popover = Color(0xFFFFFFFF);
|
|
15
15
|
static const popoverForeground = Color(0xFF050C11);
|
|
16
|
-
static const primary = Color(
|
|
16
|
+
static const primary = Color(0xFF1D4ED8);
|
|
17
17
|
static const primaryForeground = Color(0xFFF0F7FF);
|
|
18
|
-
static const secondary = Color(
|
|
19
|
-
static const secondaryForeground = Color(
|
|
18
|
+
static const secondary = Color(0xFFC7CFC7);
|
|
19
|
+
static const secondaryForeground = Color(0xFF465245);
|
|
20
20
|
static const muted = Color(0xFFF6F6F6);
|
|
21
21
|
static const mutedForeground = Color(0xFF6D6D6D);
|
|
22
22
|
static const accent = Color(0xFFF0F7FF);
|
|
23
|
-
static const accentForeground = Color(
|
|
23
|
+
static const accentForeground = Color(0xFF1D4ED8);
|
|
24
24
|
static const destructive = Color(0xFFC60A0A);
|
|
25
25
|
static const destructiveForeground = Color(0xFFFEF3F2);
|
|
26
26
|
static const success = Color(0xFF5D6D5C);
|
|
@@ -29,20 +29,23 @@ class KinetixColorScheme {
|
|
|
29
29
|
static const warningForeground = Color(0xFFFFF8EB);
|
|
30
30
|
static const border = Color(0xFF92B2C8);
|
|
31
31
|
static const input = Color(0xFF92B2C8);
|
|
32
|
-
static const ring = Color(
|
|
32
|
+
static const ring = Color(0xFF1D4ED8);
|
|
33
33
|
static const chart1 = Color(0xFF1B3C53);
|
|
34
34
|
static const chart2 = Color(0xFF748873);
|
|
35
35
|
static const chart3 = Color(0xFFFFBC53);
|
|
36
36
|
static const chart4 = Color(0xFFD13A3A);
|
|
37
37
|
static const chart5 = Color(0xFFB4A499);
|
|
38
|
+
static const chart6 = Color(0xFF57778D);
|
|
39
|
+
static const chart7 = Color(0xFF9E0808);
|
|
40
|
+
static const chart8 = Color(0xFF465245);
|
|
38
41
|
static const sidebar = Color(0xFFFAFAFA);
|
|
39
42
|
static const sidebarForeground = Color(0xFF050C11);
|
|
40
|
-
static const sidebarPrimary = Color(
|
|
43
|
+
static const sidebarPrimary = Color(0xFF1D4ED8);
|
|
41
44
|
static const sidebarPrimaryForeground = Color(0xFFF0F7FF);
|
|
42
45
|
static const sidebarAccent = Color(0xFFF0F7FF);
|
|
43
|
-
static const sidebarAccentForeground = Color(
|
|
46
|
+
static const sidebarAccentForeground = Color(0xFF1D4ED8);
|
|
44
47
|
static const sidebarBorder = Color(0xFFE0E0E0);
|
|
45
|
-
static const sidebarRing = Color(
|
|
48
|
+
static const sidebarRing = Color(0xFF1D4ED8);
|
|
46
49
|
static const tertiary = Color(0xFFB0B0B0);
|
|
47
50
|
static const tertiaryForeground = Color(0xFFF0F7FF);
|
|
48
51
|
static const info = Color(0xFF57778D);
|
|
@@ -10,7 +10,7 @@ import SwiftUI
|
|
|
10
10
|
|
|
11
11
|
public enum KinetixColor {
|
|
12
12
|
public static let colorAccent = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1) /** figma: 'LightBlue' #f0f7ff (the hover fill used by Outline/Ghost buttons) */
|
|
13
|
-
public static let colorAccentForeground = UIColor(red: 0.
|
|
13
|
+
public static let colorAccentForeground = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1) /** synth: = primary for readable text on accent (#1d4ed8 on accent #f0f7ff ~5.7:1) */
|
|
14
14
|
public static let colorAmber0 = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
15
15
|
public static let colorAmber100 = UIColor(red: 1.000, green: 0.949, blue: 0.867, alpha: 1)
|
|
16
16
|
public static let colorAmber1000 = UIColor(red: 0.165, green: 0.102, blue: 0.000, alpha: 1)
|
|
@@ -26,6 +26,21 @@ public enum KinetixColor {
|
|
|
26
26
|
public static let colorAmber850 = UIColor(red: 0.416, green: 0.294, blue: 0.098, alpha: 1)
|
|
27
27
|
public static let colorAmber900 = UIColor(red: 0.333, green: 0.227, blue: 0.067, alpha: 1)
|
|
28
28
|
public static let colorAmber950 = UIColor(red: 0.247, green: 0.165, blue: 0.031, alpha: 1)
|
|
29
|
+
public static let colorAzure0 = UIColor(red: 0.969, green: 0.980, blue: 1.000, alpha: 1)
|
|
30
|
+
public static let colorAzure100 = UIColor(red: 0.859, green: 0.918, blue: 0.996, alpha: 1)
|
|
31
|
+
public static let colorAzure1000 = UIColor(red: 0.059, green: 0.090, blue: 0.165, alpha: 1)
|
|
32
|
+
public static let colorAzure150 = UIColor(red: 0.804, green: 0.882, blue: 0.992, alpha: 1)
|
|
33
|
+
public static let colorAzure200 = UIColor(red: 0.749, green: 0.859, blue: 0.996, alpha: 1)
|
|
34
|
+
public static let colorAzure300 = UIColor(red: 0.576, green: 0.773, blue: 0.992, alpha: 1)
|
|
35
|
+
public static let colorAzure400 = UIColor(red: 0.376, green: 0.647, blue: 0.980, alpha: 1)
|
|
36
|
+
public static let colorAzure50 = UIColor(red: 0.937, green: 0.965, blue: 1.000, alpha: 1)
|
|
37
|
+
public static let colorAzure500 = UIColor(red: 0.231, green: 0.510, blue: 0.965, alpha: 1)
|
|
38
|
+
public static let colorAzure600 = UIColor(red: 0.145, green: 0.388, blue: 0.922, alpha: 1)
|
|
39
|
+
public static let colorAzure700 = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
40
|
+
public static let colorAzure800 = UIColor(red: 0.118, green: 0.251, blue: 0.686, alpha: 1)
|
|
41
|
+
public static let colorAzure850 = UIColor(red: 0.106, green: 0.220, blue: 0.592, alpha: 1)
|
|
42
|
+
public static let colorAzure900 = UIColor(red: 0.118, green: 0.227, blue: 0.541, alpha: 1)
|
|
43
|
+
public static let colorAzure950 = UIColor(red: 0.090, green: 0.145, blue: 0.329, alpha: 1)
|
|
29
44
|
public static let colorBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1) /** figma: surfaceContainerLowest #ffffff */
|
|
30
45
|
public static let colorBlue0 = UIColor(red: 0.965, green: 0.984, blue: 1.000, alpha: 1)
|
|
31
46
|
public static let colorBlue100 = UIColor(red: 0.573, green: 0.698, blue: 0.784, alpha: 1)
|
|
@@ -50,6 +65,9 @@ public enum KinetixColor {
|
|
|
50
65
|
public static let colorChart3 = UIColor(red: 1.000, green: 0.737, blue: 0.325, alpha: 1)
|
|
51
66
|
public static let colorChart4 = UIColor(red: 0.820, green: 0.227, blue: 0.227, alpha: 1)
|
|
52
67
|
public static let colorChart5 = UIColor(red: 0.706, green: 0.643, blue: 0.600, alpha: 1)
|
|
68
|
+
public static let colorChart6 = UIColor(red: 0.341, green: 0.467, blue: 0.553, alpha: 1) /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
69
|
+
public static let colorChart7 = UIColor(red: 0.620, green: 0.031, blue: 0.031, alpha: 1) /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
70
|
+
public static let colorChart8 = UIColor(red: 0.275, green: 0.322, blue: 0.271, alpha: 1) /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
53
71
|
public static let colorCream0 = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
54
72
|
public static let colorCream100 = UIColor(red: 0.996, green: 0.992, blue: 0.988, alpha: 1)
|
|
55
73
|
public static let colorCream1000 = UIColor(red: 0.549, green: 0.341, blue: 0.204, alpha: 1)
|
|
@@ -102,8 +120,8 @@ public enum KinetixColor {
|
|
|
102
120
|
public static let colorNeutral900 = UIColor(red: 0.122, green: 0.122, blue: 0.122, alpha: 1)
|
|
103
121
|
public static let colorPopover = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1) /** synth: no Figma popover token; = background */
|
|
104
122
|
public static let colorPopoverForeground = UIColor(red: 0.020, green: 0.047, blue: 0.067, alpha: 1) /** synth: = foreground */
|
|
105
|
-
public static let colorPrimary = UIColor(red: 0.
|
|
106
|
-
public static let colorPrimaryForeground = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1) /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
123
|
+
public static let colorPrimary = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1) /** was Figma 'Primay' navy (blue.500 -> blue.700). Swapped for a bright action blue #1d4ed8 (6.55:1 on bg) so primary buttons/links pop rather than reading as near-black. Dark uses a lighter step (#60a5fa) — navy/this hue would fail on the dark surface. */
|
|
124
|
+
public static let colorPrimaryForeground = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1) /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground (on #1d4ed8 primary ~6:1) */
|
|
107
125
|
public static let colorRed0 = UIColor(red: 1.000, green: 0.976, blue: 0.976, alpha: 1)
|
|
108
126
|
public static let colorRed100 = UIColor(red: 0.957, green: 0.788, blue: 0.788, alpha: 1)
|
|
109
127
|
public static let colorRed1000 = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
@@ -119,9 +137,9 @@ public enum KinetixColor {
|
|
|
119
137
|
public static let colorRed850 = UIColor(red: 0.231, green: 0.012, blue: 0.012, alpha: 1)
|
|
120
138
|
public static let colorRed900 = UIColor(red: 0.157, green: 0.008, blue: 0.008, alpha: 1)
|
|
121
139
|
public static let colorRed950 = UIColor(red: 0.078, green: 0.004, blue: 0.004, alpha: 1)
|
|
122
|
-
public static let colorRing = UIColor(red: 0.
|
|
123
|
-
public static let colorSecondary = UIColor(red: 0.
|
|
124
|
-
public static let colorSecondaryForeground = UIColor(red: 0.
|
|
140
|
+
public static let colorRing = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1) /** focus ring — tracks --primary (#1d4ed8, 6.55:1 on bg) */
|
|
141
|
+
public static let colorSecondary = UIColor(red: 0.780, green: 0.812, blue: 0.780, alpha: 1) /** figma secondaryContainer was green.50 #f1f3f1 (invisible on bg); deepened to green.200 #c7cfc7 so a secondary button/chip clearly stands off the white page — same sage hue */
|
|
142
|
+
public static let colorSecondaryForeground = UIColor(red: 0.275, green: 0.322, blue: 0.271, alpha: 1) /** green.700 #465245 on secondary green.200 #c7cfc7 clears ~5.2:1 */
|
|
125
143
|
public static let colorSemanticError = UIColor(red: 0.925, green: 0.314, blue: 0.278, alpha: 1) /** figma: error (NOT red.500 #c60a0a — Figma keeps error as its own value) */
|
|
126
144
|
public static let colorSemanticErrorContainer = UIColor(red: 0.996, green: 0.953, blue: 0.949, alpha: 1) /** figma: errorContainer */
|
|
127
145
|
public static let colorSemanticInfoContainer = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
|
@@ -135,12 +153,12 @@ public enum KinetixColor {
|
|
|
135
153
|
public static let colorSemanticWarningContainer = UIColor(red: 1.000, green: 0.973, blue: 0.922, alpha: 1) /** figma: warningContainer */
|
|
136
154
|
public static let colorSidebar = UIColor(red: 0.980, green: 0.980, blue: 0.980, alpha: 1)
|
|
137
155
|
public static let colorSidebarAccent = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
|
138
|
-
public static let colorSidebarAccentForeground = UIColor(red: 0.
|
|
156
|
+
public static let colorSidebarAccentForeground = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
139
157
|
public static let colorSidebarBorder = UIColor(red: 0.878, green: 0.878, blue: 0.878, alpha: 1)
|
|
140
158
|
public static let colorSidebarForeground = UIColor(red: 0.020, green: 0.047, blue: 0.067, alpha: 1)
|
|
141
|
-
public static let colorSidebarPrimary = UIColor(red: 0.
|
|
159
|
+
public static let colorSidebarPrimary = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
142
160
|
public static let colorSidebarPrimaryForeground = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
|
143
|
-
public static let colorSidebarRing = UIColor(red: 0.
|
|
161
|
+
public static let colorSidebarRing = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
144
162
|
public static let colorStaticBlack = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
145
163
|
public static let colorStaticWhite = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
146
164
|
public static let colorSuccess = UIColor(red: 0.365, green: 0.427, blue: 0.361, alpha: 1) /** synth: no Figma success token; green ramp step 6 (distinct from secondary) */
|
|
@@ -11,7 +11,7 @@ public enum KinetixColorsSwiftUIDark {
|
|
|
11
11
|
public static let cardForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
12
12
|
public static let popover = Color(red: 0.043, green: 0.094, blue: 0.129)
|
|
13
13
|
public static let popoverForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
14
|
-
public static let primary = Color(red: 0.
|
|
14
|
+
public static let primary = Color(red: 0.376, green: 0.647, blue: 0.98)
|
|
15
15
|
public static let primaryForeground = Color(red: 0.02, green: 0.047, blue: 0.067)
|
|
16
16
|
public static let secondary = Color(red: 0.18, green: 0.212, blue: 0.18)
|
|
17
17
|
public static let secondaryForeground = Color(red: 0.89, green: 0.906, blue: 0.89)
|
|
@@ -27,20 +27,23 @@ public enum KinetixColorsSwiftUIDark {
|
|
|
27
27
|
public static let warningForeground = Color(red: 0.165, green: 0.102, blue: 0)
|
|
28
28
|
public static let border = Color(red: 0.224, green: 0.353, blue: 0.439)
|
|
29
29
|
public static let input = Color(red: 0.224, green: 0.353, blue: 0.439)
|
|
30
|
-
public static let ring = Color(red: 0.
|
|
30
|
+
public static let ring = Color(red: 0.376, green: 0.647, blue: 0.98)
|
|
31
31
|
public static let chart1 = Color(red: 0.573, green: 0.698, blue: 0.784)
|
|
32
32
|
public static let chart2 = Color(red: 0.565, green: 0.627, blue: 0.561)
|
|
33
33
|
public static let chart3 = Color(red: 1, green: 0.788, blue: 0.459)
|
|
34
34
|
public static let chart4 = Color(red: 0.867, green: 0.416, blue: 0.416)
|
|
35
35
|
public static let chart5 = Color(red: 0.824, green: 0.757, blue: 0.714)
|
|
36
|
+
public static let chart6 = Color(red: 0.455, green: 0.584, blue: 0.671)
|
|
37
|
+
public static let chart7 = Color(red: 0.82, green: 0.227, blue: 0.227)
|
|
38
|
+
public static let chart8 = Color(red: 0.455, green: 0.533, blue: 0.451)
|
|
36
39
|
public static let sidebar = Color(red: 0.043, green: 0.094, blue: 0.129)
|
|
37
40
|
public static let sidebarForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
38
|
-
public static let sidebarPrimary = Color(red: 0.
|
|
41
|
+
public static let sidebarPrimary = Color(red: 0.376, green: 0.647, blue: 0.98)
|
|
39
42
|
public static let sidebarPrimaryForeground = Color(red: 0.02, green: 0.047, blue: 0.067)
|
|
40
43
|
public static let sidebarAccent = Color(red: 0.063, green: 0.141, blue: 0.196)
|
|
41
44
|
public static let sidebarAccentForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
42
45
|
public static let sidebarBorder = Color(red: 0.224, green: 0.353, blue: 0.439)
|
|
43
|
-
public static let sidebarRing = Color(red: 0.
|
|
46
|
+
public static let sidebarRing = Color(red: 0.376, green: 0.647, blue: 0.98)
|
|
44
47
|
public static let tertiary = Color(red: 0.224, green: 0.353, blue: 0.439)
|
|
45
48
|
public static let tertiaryForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
46
49
|
public static let info = Color(red: 0.573, green: 0.698, blue: 0.784)
|
|
@@ -11,14 +11,14 @@ public enum KinetixColorsSwiftUI {
|
|
|
11
11
|
public static let cardForeground = Color(red: 0.02, green: 0.047, blue: 0.067)
|
|
12
12
|
public static let popover = Color(red: 1, green: 1, blue: 1)
|
|
13
13
|
public static let popoverForeground = Color(red: 0.02, green: 0.047, blue: 0.067)
|
|
14
|
-
public static let primary = Color(red: 0.
|
|
14
|
+
public static let primary = Color(red: 0.114, green: 0.306, blue: 0.847)
|
|
15
15
|
public static let primaryForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
16
|
-
public static let secondary = Color(red: 0.
|
|
17
|
-
public static let secondaryForeground = Color(red: 0.
|
|
16
|
+
public static let secondary = Color(red: 0.78, green: 0.812, blue: 0.78)
|
|
17
|
+
public static let secondaryForeground = Color(red: 0.275, green: 0.322, blue: 0.271)
|
|
18
18
|
public static let muted = Color(red: 0.965, green: 0.965, blue: 0.965)
|
|
19
19
|
public static let mutedForeground = Color(red: 0.427, green: 0.427, blue: 0.427)
|
|
20
20
|
public static let accent = Color(red: 0.941, green: 0.969, blue: 1)
|
|
21
|
-
public static let accentForeground = Color(red: 0.
|
|
21
|
+
public static let accentForeground = Color(red: 0.114, green: 0.306, blue: 0.847)
|
|
22
22
|
public static let destructive = Color(red: 0.776, green: 0.039, blue: 0.039)
|
|
23
23
|
public static let destructiveForeground = Color(red: 0.996, green: 0.953, blue: 0.949)
|
|
24
24
|
public static let success = Color(red: 0.365, green: 0.427, blue: 0.361)
|
|
@@ -27,20 +27,23 @@ public enum KinetixColorsSwiftUI {
|
|
|
27
27
|
public static let warningForeground = Color(red: 1, green: 0.973, blue: 0.922)
|
|
28
28
|
public static let border = Color(red: 0.573, green: 0.698, blue: 0.784)
|
|
29
29
|
public static let input = Color(red: 0.573, green: 0.698, blue: 0.784)
|
|
30
|
-
public static let ring = Color(red: 0.
|
|
30
|
+
public static let ring = Color(red: 0.114, green: 0.306, blue: 0.847)
|
|
31
31
|
public static let chart1 = Color(red: 0.106, green: 0.235, blue: 0.325)
|
|
32
32
|
public static let chart2 = Color(red: 0.455, green: 0.533, blue: 0.451)
|
|
33
33
|
public static let chart3 = Color(red: 1, green: 0.737, blue: 0.325)
|
|
34
34
|
public static let chart4 = Color(red: 0.82, green: 0.227, blue: 0.227)
|
|
35
35
|
public static let chart5 = Color(red: 0.706, green: 0.643, blue: 0.6)
|
|
36
|
+
public static let chart6 = Color(red: 0.341, green: 0.467, blue: 0.553)
|
|
37
|
+
public static let chart7 = Color(red: 0.62, green: 0.031, blue: 0.031)
|
|
38
|
+
public static let chart8 = Color(red: 0.275, green: 0.322, blue: 0.271)
|
|
36
39
|
public static let sidebar = Color(red: 0.98, green: 0.98, blue: 0.98)
|
|
37
40
|
public static let sidebarForeground = Color(red: 0.02, green: 0.047, blue: 0.067)
|
|
38
|
-
public static let sidebarPrimary = Color(red: 0.
|
|
41
|
+
public static let sidebarPrimary = Color(red: 0.114, green: 0.306, blue: 0.847)
|
|
39
42
|
public static let sidebarPrimaryForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
40
43
|
public static let sidebarAccent = Color(red: 0.941, green: 0.969, blue: 1)
|
|
41
|
-
public static let sidebarAccentForeground = Color(red: 0.
|
|
44
|
+
public static let sidebarAccentForeground = Color(red: 0.114, green: 0.306, blue: 0.847)
|
|
42
45
|
public static let sidebarBorder = Color(red: 0.878, green: 0.878, blue: 0.878)
|
|
43
|
-
public static let sidebarRing = Color(red: 0.
|
|
46
|
+
public static let sidebarRing = Color(red: 0.114, green: 0.306, blue: 0.847)
|
|
44
47
|
public static let tertiary = Color(red: 0.69, green: 0.69, blue: 0.69)
|
|
45
48
|
public static let tertiaryForeground = Color(red: 0.941, green: 0.969, blue: 1)
|
|
46
49
|
public static let info = Color(red: 0.341, green: 0.467, blue: 0.553)
|
package/dist/ios/Theme.swift
CHANGED
|
@@ -10,7 +10,7 @@ import SwiftUI
|
|
|
10
10
|
|
|
11
11
|
public class KinetixTheme {
|
|
12
12
|
public static let colorAccent = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1) /** figma: 'LightBlue' #f0f7ff (the hover fill used by Outline/Ghost buttons) */
|
|
13
|
-
public static let colorAccentForeground = UIColor(red: 0.
|
|
13
|
+
public static let colorAccentForeground = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1) /** synth: = primary for readable text on accent (#1d4ed8 on accent #f0f7ff ~5.7:1) */
|
|
14
14
|
public static let colorBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1) /** figma: surfaceContainerLowest #ffffff */
|
|
15
15
|
public static let colorBorder = UIColor(red: 0.573, green: 0.698, blue: 0.784, alpha: 1) /** figma: outline #92b2c8 */
|
|
16
16
|
public static let colorCard = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1) /** synth: no Figma card token; = background */
|
|
@@ -20,6 +20,9 @@ public class KinetixTheme {
|
|
|
20
20
|
public static let colorChart3 = UIColor(red: 1.000, green: 0.737, blue: 0.325, alpha: 1)
|
|
21
21
|
public static let colorChart4 = UIColor(red: 0.820, green: 0.227, blue: 0.227, alpha: 1)
|
|
22
22
|
public static let colorChart5 = UIColor(red: 0.706, green: 0.643, blue: 0.600, alpha: 1)
|
|
23
|
+
public static let colorChart6 = UIColor(red: 0.341, green: 0.467, blue: 0.553, alpha: 1) /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
24
|
+
public static let colorChart7 = UIColor(red: 0.620, green: 0.031, blue: 0.031, alpha: 1) /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
25
|
+
public static let colorChart8 = UIColor(red: 0.275, green: 0.322, blue: 0.271, alpha: 1) /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
23
26
|
public static let colorDestructive = UIColor(red: 0.776, green: 0.039, blue: 0.039, alpha: 1) /** a11y: figma error #ec5047 is 3.33:1 under on-error / 3.62:1 as text on the page — fails WCAG AA. red.500 #c60a0a clears 5.6:1 / 6.1:1. See ACCESSIBILITY-AUDIT.md. */
|
|
24
27
|
public static let colorDestructiveForeground = UIColor(red: 0.996, green: 0.953, blue: 0.949, alpha: 1) /** figma: onError #fef3f2 */
|
|
25
28
|
public static let colorForeground = UIColor(red: 0.020, green: 0.047, blue: 0.067, alpha: 1) /** figma: onSurface #050c11 */
|
|
@@ -30,11 +33,11 @@ public class KinetixTheme {
|
|
|
30
33
|
public static let colorMutedForeground = UIColor(red: 0.427, green: 0.427, blue: 0.427, alpha: 1) /** figma: onSurfaceVariant #6d6d6d */
|
|
31
34
|
public static let colorPopover = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1) /** synth: no Figma popover token; = background */
|
|
32
35
|
public static let colorPopoverForeground = UIColor(red: 0.020, green: 0.047, blue: 0.067, alpha: 1) /** synth: = foreground */
|
|
33
|
-
public static let colorPrimary = UIColor(red: 0.
|
|
34
|
-
public static let colorPrimaryForeground = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1) /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
35
|
-
public static let colorRing = UIColor(red: 0.
|
|
36
|
-
public static let colorSecondary = UIColor(red: 0.
|
|
37
|
-
public static let colorSecondaryForeground = UIColor(red: 0.
|
|
36
|
+
public static let colorPrimary = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1) /** was Figma 'Primay' navy (blue.500 -> blue.700). Swapped for a bright action blue #1d4ed8 (6.55:1 on bg) so primary buttons/links pop rather than reading as near-black. Dark uses a lighter step (#60a5fa) — navy/this hue would fail on the dark surface. */
|
|
37
|
+
public static let colorPrimaryForeground = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1) /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground (on #1d4ed8 primary ~6:1) */
|
|
38
|
+
public static let colorRing = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1) /** focus ring — tracks --primary (#1d4ed8, 6.55:1 on bg) */
|
|
39
|
+
public static let colorSecondary = UIColor(red: 0.780, green: 0.812, blue: 0.780, alpha: 1) /** figma secondaryContainer was green.50 #f1f3f1 (invisible on bg); deepened to green.200 #c7cfc7 so a secondary button/chip clearly stands off the white page — same sage hue */
|
|
40
|
+
public static let colorSecondaryForeground = UIColor(red: 0.275, green: 0.322, blue: 0.271, alpha: 1) /** green.700 #465245 on secondary green.200 #c7cfc7 clears ~5.2:1 */
|
|
38
41
|
public static let colorSemanticError = UIColor(red: 0.925, green: 0.314, blue: 0.278, alpha: 1) /** figma: error (NOT red.500 #c60a0a — Figma keeps error as its own value) */
|
|
39
42
|
public static let colorSemanticErrorContainer = UIColor(red: 0.996, green: 0.953, blue: 0.949, alpha: 1) /** figma: errorContainer */
|
|
40
43
|
public static let colorSemanticInfoContainer = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
|
@@ -48,12 +51,12 @@ public class KinetixTheme {
|
|
|
48
51
|
public static let colorSemanticWarningContainer = UIColor(red: 1.000, green: 0.973, blue: 0.922, alpha: 1) /** figma: warningContainer */
|
|
49
52
|
public static let colorSidebar = UIColor(red: 0.980, green: 0.980, blue: 0.980, alpha: 1)
|
|
50
53
|
public static let colorSidebarAccent = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
|
51
|
-
public static let colorSidebarAccentForeground = UIColor(red: 0.
|
|
54
|
+
public static let colorSidebarAccentForeground = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
52
55
|
public static let colorSidebarBorder = UIColor(red: 0.878, green: 0.878, blue: 0.878, alpha: 1)
|
|
53
56
|
public static let colorSidebarForeground = UIColor(red: 0.020, green: 0.047, blue: 0.067, alpha: 1)
|
|
54
|
-
public static let colorSidebarPrimary = UIColor(red: 0.
|
|
57
|
+
public static let colorSidebarPrimary = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
55
58
|
public static let colorSidebarPrimaryForeground = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
|
56
|
-
public static let colorSidebarRing = UIColor(red: 0.
|
|
59
|
+
public static let colorSidebarRing = UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1)
|
|
57
60
|
public static let colorSuccess = UIColor(red: 0.365, green: 0.427, blue: 0.361, alpha: 1) /** synth: no Figma success token; green ramp step 6 (distinct from secondary) */
|
|
58
61
|
public static let colorSuccessForeground = UIColor(red: 0.945, green: 0.953, blue: 0.945, alpha: 1) /** synth */
|
|
59
62
|
public static let colorTertiary = UIColor(red: 0.690, green: 0.690, blue: 0.690, alpha: 1) /** figma: tertiary — switch off-track */
|
package/dist/web/extras.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--shadow-md: 0 1px 1px 0 #0000001f, 0 2px 5px 0 #676e7614;
|
|
6
6
|
--shadow-lg: 0 4px 6px -1px #00000012, 0 2px 4px -2px #0000000f;
|
|
7
7
|
--shadow-xl: 0 4px 24px 0 #0000001f;
|
|
8
|
-
--shadow-focus: 0 0 0 1px #
|
|
8
|
+
--shadow-focus: 0 0 0 1px #1d4ed8, 0 0 0 4px #1d4ed833;
|
|
9
9
|
--shadow-focus-destructive: 0 0 0 1px #ec5047, 0 0 0 4px #ec504733;
|
|
10
10
|
--shadow-focus-success: 0 0 0 1px #5d6d5c, 0 0 0 4px #5d6d5c33;
|
|
11
11
|
--shadow-focus-warning: 0 0 0 1px #f97907, 0 0 0 4px #f9790733;
|
package/dist/web/extras.dark.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Generated by Style Dictionary — shadow + typography composites. */
|
|
2
2
|
|
|
3
3
|
.dark {
|
|
4
|
-
--shadow-focus: 0 0 0 1px #
|
|
4
|
+
--shadow-focus: 0 0 0 1px #60a5fa, 0 0 0 4px #60a5fa52;
|
|
5
5
|
--shadow-focus-destructive: 0 0 0 1px #dd6a6a, 0 0 0 4px #dd6a6a52;
|
|
6
6
|
--shadow-focus-success: 0 0 0 1px #90a08f, 0 0 0 4px #90a08f52;
|
|
7
7
|
--shadow-focus-warning: 0 0 0 1px #ffc975, 0 0 0 4px #ffc97552;
|
package/dist/web/globals.css
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
+
--azure-0: 218 100% 98%;
|
|
7
|
+
--azure-50: 214 100% 97%;
|
|
8
|
+
--azure-100: 214 95% 93%;
|
|
9
|
+
--azure-150: 215 92% 90%;
|
|
10
|
+
--azure-200: 213 97% 87%;
|
|
11
|
+
--azure-300: 212 96% 78%;
|
|
12
|
+
--azure-400: 213 94% 68%;
|
|
13
|
+
--azure-500: 217 91% 60%;
|
|
14
|
+
--azure-600: 221 83% 53%;
|
|
15
|
+
--azure-700: 224 76% 48%;
|
|
16
|
+
--azure-800: 226 71% 40%;
|
|
17
|
+
--azure-850: 226 70% 35%;
|
|
18
|
+
--azure-900: 224 64% 33%;
|
|
19
|
+
--azure-950: 226 57% 21%;
|
|
20
|
+
--azure-1000: 222 47% 11%;
|
|
6
21
|
--blue-0: 207 100% 98%;
|
|
7
22
|
--blue-50: 212 100% 97%;
|
|
8
23
|
--blue-100: 204 33% 68%;
|
|
@@ -184,14 +199,14 @@
|
|
|
184
199
|
--card-foreground: var(--blue-900); /** synth: = foreground */
|
|
185
200
|
--popover: var(--neutral-0); /** synth: no Figma popover token; = background */
|
|
186
201
|
--popover-foreground: var(--blue-900); /** synth: = foreground */
|
|
187
|
-
--primary: var(--
|
|
188
|
-
--primary-foreground: var(--blue-50); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
189
|
-
--secondary: var(--green-
|
|
190
|
-
--secondary-foreground: var(--green-
|
|
202
|
+
--primary: var(--azure-700); /** was Figma 'Primay' navy (blue.500 -> blue.700). Swapped for a bright action blue #1d4ed8 (6.55:1 on bg) so primary buttons/links pop rather than reading as near-black. Dark uses a lighter step (#60a5fa) — navy/this hue would fail on the dark surface. */
|
|
203
|
+
--primary-foreground: var(--blue-50); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground (on #1d4ed8 primary ~6:1) */
|
|
204
|
+
--secondary: var(--green-200); /** figma secondaryContainer was green.50 #f1f3f1 (invisible on bg); deepened to green.200 #c7cfc7 so a secondary button/chip clearly stands off the white page — same sage hue */
|
|
205
|
+
--secondary-foreground: var(--green-700); /** green.700 #465245 on secondary green.200 #c7cfc7 clears ~5.2:1 */
|
|
191
206
|
--muted: var(--neutral-100); /** figma: surfaceContainer #f6f6f6 */
|
|
192
207
|
--muted-foreground: var(--neutral-600); /** figma: onSurfaceVariant #6d6d6d */
|
|
193
208
|
--accent: var(--blue-50); /** figma: 'LightBlue' #f0f7ff (the hover fill used by Outline/Ghost buttons) */
|
|
194
|
-
--accent-foreground: var(--
|
|
209
|
+
--accent-foreground: var(--azure-700); /** synth: = primary for readable text on accent (#1d4ed8 on accent #f0f7ff ~5.7:1) */
|
|
195
210
|
--destructive: var(--red-500); /** a11y: figma error #ec5047 is 3.33:1 under on-error / 3.62:1 as text on the page — fails WCAG AA. red.500 #c60a0a clears 5.6:1 / 6.1:1. See ACCESSIBILITY-AUDIT.md. */
|
|
196
211
|
--destructive-foreground: var(--semantic-on-error); /** figma: onError #fef3f2 */
|
|
197
212
|
--success: var(--green-600); /** synth: no Figma success token; green ramp step 6 (distinct from secondary) */
|
|
@@ -200,20 +215,23 @@
|
|
|
200
215
|
--warning-foreground: var(--semantic-warning-container); /** figma: warningContainer #fff8eb */
|
|
201
216
|
--border: var(--blue-100); /** figma: outline #92b2c8 */
|
|
202
217
|
--input: var(--blue-100); /** figma: outline #92b2c8 (same as border) */
|
|
203
|
-
--ring: var(--
|
|
218
|
+
--ring: var(--azure-700); /** focus ring — tracks --primary (#1d4ed8, 6.55:1 on bg) */
|
|
204
219
|
--chart-1: var(--blue-500); /** synth: brand ramps for data viz */
|
|
205
220
|
--chart-2: var(--green-500);
|
|
206
221
|
--chart-3: var(--amber-500);
|
|
207
222
|
--chart-4: var(--red-400);
|
|
208
223
|
--chart-5: var(--taupe-600);
|
|
224
|
+
--chart-6: var(--blue-300); /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
225
|
+
--chart-7: var(--red-600); /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
226
|
+
--chart-8: var(--green-700); /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
209
227
|
--sidebar: var(--neutral-50);
|
|
210
228
|
--sidebar-foreground: var(--blue-900);
|
|
211
|
-
--sidebar-primary: var(--
|
|
229
|
+
--sidebar-primary: var(--azure-700);
|
|
212
230
|
--sidebar-primary-foreground: var(--blue-50);
|
|
213
231
|
--sidebar-accent: var(--blue-50);
|
|
214
|
-
--sidebar-accent-foreground: var(--
|
|
232
|
+
--sidebar-accent-foreground: var(--azure-700);
|
|
215
233
|
--sidebar-border: var(--neutral-300);
|
|
216
|
-
--sidebar-ring: var(--
|
|
234
|
+
--sidebar-ring: var(--azure-700);
|
|
217
235
|
--tertiary-foreground: var(--blue-50);
|
|
218
236
|
--info: var(--blue-300); /** synth: steel blue, distinct from navy primary */
|
|
219
237
|
--info-foreground: var(--blue-50);
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
--card-foreground: 212 100% 97%;
|
|
10
10
|
--popover: 205 50% 9%;
|
|
11
11
|
--popover-foreground: 212 100% 97%;
|
|
12
|
-
--primary:
|
|
13
|
-
--primary-foreground: 205 55% 4%;
|
|
12
|
+
--primary: 213 94% 68%; /** light-theme primary is a bright #1d4ed8; on the near-black dark surface that would be ~2.9:1, so dark uses a lighter step of the same blue (#60a5fa, ~7.6:1 on bg). Two independent palettes — this is not a flip of the light value. */
|
|
13
|
+
--primary-foreground: 205 55% 4%; /** near-black text on the light-blue dark --primary (~7:1) */
|
|
14
14
|
--secondary: 120 8% 20%;
|
|
15
15
|
--secondary-foreground: 120 8% 90%;
|
|
16
16
|
--muted: 205 52% 13%;
|
|
@@ -25,20 +25,23 @@
|
|
|
25
25
|
--warning-foreground: 37 100% 8%;
|
|
26
26
|
--border: 204 33% 33%;
|
|
27
27
|
--input: 204 33% 33%;
|
|
28
|
-
--ring:
|
|
28
|
+
--ring: 213 94% 68%; /** focus ring — tracks dark --primary (#60a5fa) */
|
|
29
29
|
--chart-1: 204 33% 68%;
|
|
30
30
|
--chart-2: 116 8% 59%;
|
|
31
31
|
--chart-3: 37 100% 73%;
|
|
32
32
|
--chart-4: 0 63% 64%;
|
|
33
33
|
--chart-5: 24 24% 77%;
|
|
34
|
+
--chart-6: 204 25% 56%;
|
|
35
|
+
--chart-7: 0 62% 52%;
|
|
36
|
+
--chart-8: 117 8% 49%;
|
|
34
37
|
--sidebar: 205 50% 9%;
|
|
35
38
|
--sidebar-foreground: 212 100% 97%;
|
|
36
|
-
--sidebar-primary:
|
|
39
|
+
--sidebar-primary: 213 94% 68%;
|
|
37
40
|
--sidebar-primary-foreground: 205 55% 4%;
|
|
38
41
|
--sidebar-accent: 205 52% 13%;
|
|
39
42
|
--sidebar-accent-foreground: 212 100% 97%;
|
|
40
43
|
--sidebar-border: 204 33% 33%;
|
|
41
|
-
--sidebar-ring:
|
|
44
|
+
--sidebar-ring: 213 94% 68%;
|
|
42
45
|
--tertiary: 204 33% 33%;
|
|
43
46
|
--tertiary-foreground: 212 100% 97%;
|
|
44
47
|
--info: 204 33% 68%;
|
package/dist/web/tokens.d.ts
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
// Generated by pnpm build:tokens — do not edit.
|
|
2
2
|
declare const tokens: {
|
|
3
3
|
"color": {
|
|
4
|
+
"azure": {
|
|
5
|
+
"0": "#f7faff",
|
|
6
|
+
"50": "#eff6ff",
|
|
7
|
+
"100": "#dbeafe",
|
|
8
|
+
"150": "#cde1fd",
|
|
9
|
+
"200": "#bfdbfe",
|
|
10
|
+
"300": "#93c5fd",
|
|
11
|
+
"400": "#60a5fa",
|
|
12
|
+
"500": "#3b82f6",
|
|
13
|
+
"600": "#2563eb",
|
|
14
|
+
"700": "#1d4ed8",
|
|
15
|
+
"800": "#1e40af",
|
|
16
|
+
"850": "#1b3897",
|
|
17
|
+
"900": "#1e3a8a",
|
|
18
|
+
"950": "#172554",
|
|
19
|
+
"1000": "#0f172a"
|
|
20
|
+
},
|
|
4
21
|
"blue": {
|
|
5
22
|
"0": "#f6fbff",
|
|
6
23
|
"50": "#f0f7ff",
|
|
@@ -127,14 +144,14 @@ declare const tokens: {
|
|
|
127
144
|
"card-foreground": "#050c11",
|
|
128
145
|
"popover": "#ffffff",
|
|
129
146
|
"popover-foreground": "#050c11",
|
|
130
|
-
"primary": "#
|
|
147
|
+
"primary": "#1d4ed8",
|
|
131
148
|
"primary-foreground": "#f0f7ff",
|
|
132
|
-
"secondary": "#
|
|
133
|
-
"secondary-foreground": "#
|
|
149
|
+
"secondary": "#c7cfc7",
|
|
150
|
+
"secondary-foreground": "#465245",
|
|
134
151
|
"muted": "#f6f6f6",
|
|
135
152
|
"muted-foreground": "#6d6d6d",
|
|
136
153
|
"accent": "#f0f7ff",
|
|
137
|
-
"accent-foreground": "#
|
|
154
|
+
"accent-foreground": "#1d4ed8",
|
|
138
155
|
"destructive": "#c60a0a",
|
|
139
156
|
"destructive-foreground": "#fef3f2",
|
|
140
157
|
"success": "#5d6d5c",
|
|
@@ -143,7 +160,7 @@ declare const tokens: {
|
|
|
143
160
|
"warning-foreground": "#fff8eb",
|
|
144
161
|
"border": "#92b2c8",
|
|
145
162
|
"input": "#92b2c8",
|
|
146
|
-
"ring": "#
|
|
163
|
+
"ring": "#1d4ed8",
|
|
147
164
|
"semantic": {
|
|
148
165
|
"error": "#ec5047",
|
|
149
166
|
"on-error": "#fef3f2",
|
|
@@ -162,14 +179,17 @@ declare const tokens: {
|
|
|
162
179
|
"chart-3": "#ffbc53",
|
|
163
180
|
"chart-4": "#d13a3a",
|
|
164
181
|
"chart-5": "#b4a499",
|
|
182
|
+
"chart-6": "#57778d",
|
|
183
|
+
"chart-7": "#9e0808",
|
|
184
|
+
"chart-8": "#465245",
|
|
165
185
|
"sidebar": "#fafafa",
|
|
166
186
|
"sidebar-foreground": "#050c11",
|
|
167
|
-
"sidebar-primary": "#
|
|
187
|
+
"sidebar-primary": "#1d4ed8",
|
|
168
188
|
"sidebar-primary-foreground": "#f0f7ff",
|
|
169
189
|
"sidebar-accent": "#f0f7ff",
|
|
170
|
-
"sidebar-accent-foreground": "#
|
|
190
|
+
"sidebar-accent-foreground": "#1d4ed8",
|
|
171
191
|
"sidebar-border": "#e0e0e0",
|
|
172
|
-
"sidebar-ring": "#
|
|
192
|
+
"sidebar-ring": "#1d4ed8",
|
|
173
193
|
"tertiary": "#b0b0b0",
|
|
174
194
|
"tertiary-foreground": "#f0f7ff",
|
|
175
195
|
"info": "#57778d",
|
|
@@ -305,14 +325,14 @@ declare const tokens: {
|
|
|
305
325
|
],
|
|
306
326
|
"focus": [
|
|
307
327
|
{
|
|
308
|
-
"color": "#
|
|
328
|
+
"color": "#1d4ed8",
|
|
309
329
|
"offsetX": "0",
|
|
310
330
|
"offsetY": "0",
|
|
311
331
|
"blur": "0",
|
|
312
332
|
"spread": "1"
|
|
313
333
|
},
|
|
314
334
|
{
|
|
315
|
-
"color": "#
|
|
335
|
+
"color": "#1d4ed833",
|
|
316
336
|
"offsetX": "0",
|
|
317
337
|
"offsetY": "0",
|
|
318
338
|
"blur": "0",
|
package/dist/web/tokens.js
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
// Generated by pnpm build:tokens — do not edit.
|
|
2
2
|
export const tokens = {
|
|
3
3
|
"color": {
|
|
4
|
+
"azure": {
|
|
5
|
+
"0": "#f7faff",
|
|
6
|
+
"50": "#eff6ff",
|
|
7
|
+
"100": "#dbeafe",
|
|
8
|
+
"150": "#cde1fd",
|
|
9
|
+
"200": "#bfdbfe",
|
|
10
|
+
"300": "#93c5fd",
|
|
11
|
+
"400": "#60a5fa",
|
|
12
|
+
"500": "#3b82f6",
|
|
13
|
+
"600": "#2563eb",
|
|
14
|
+
"700": "#1d4ed8",
|
|
15
|
+
"800": "#1e40af",
|
|
16
|
+
"850": "#1b3897",
|
|
17
|
+
"900": "#1e3a8a",
|
|
18
|
+
"950": "#172554",
|
|
19
|
+
"1000": "#0f172a"
|
|
20
|
+
},
|
|
4
21
|
"blue": {
|
|
5
22
|
"0": "#f6fbff",
|
|
6
23
|
"50": "#f0f7ff",
|
|
@@ -127,14 +144,14 @@ export const tokens = {
|
|
|
127
144
|
"card-foreground": "#050c11",
|
|
128
145
|
"popover": "#ffffff",
|
|
129
146
|
"popover-foreground": "#050c11",
|
|
130
|
-
"primary": "#
|
|
147
|
+
"primary": "#1d4ed8",
|
|
131
148
|
"primary-foreground": "#f0f7ff",
|
|
132
|
-
"secondary": "#
|
|
133
|
-
"secondary-foreground": "#
|
|
149
|
+
"secondary": "#c7cfc7",
|
|
150
|
+
"secondary-foreground": "#465245",
|
|
134
151
|
"muted": "#f6f6f6",
|
|
135
152
|
"muted-foreground": "#6d6d6d",
|
|
136
153
|
"accent": "#f0f7ff",
|
|
137
|
-
"accent-foreground": "#
|
|
154
|
+
"accent-foreground": "#1d4ed8",
|
|
138
155
|
"destructive": "#c60a0a",
|
|
139
156
|
"destructive-foreground": "#fef3f2",
|
|
140
157
|
"success": "#5d6d5c",
|
|
@@ -143,7 +160,7 @@ export const tokens = {
|
|
|
143
160
|
"warning-foreground": "#fff8eb",
|
|
144
161
|
"border": "#92b2c8",
|
|
145
162
|
"input": "#92b2c8",
|
|
146
|
-
"ring": "#
|
|
163
|
+
"ring": "#1d4ed8",
|
|
147
164
|
"semantic": {
|
|
148
165
|
"error": "#ec5047",
|
|
149
166
|
"on-error": "#fef3f2",
|
|
@@ -162,14 +179,17 @@ export const tokens = {
|
|
|
162
179
|
"chart-3": "#ffbc53",
|
|
163
180
|
"chart-4": "#d13a3a",
|
|
164
181
|
"chart-5": "#b4a499",
|
|
182
|
+
"chart-6": "#57778d",
|
|
183
|
+
"chart-7": "#9e0808",
|
|
184
|
+
"chart-8": "#465245",
|
|
165
185
|
"sidebar": "#fafafa",
|
|
166
186
|
"sidebar-foreground": "#050c11",
|
|
167
|
-
"sidebar-primary": "#
|
|
187
|
+
"sidebar-primary": "#1d4ed8",
|
|
168
188
|
"sidebar-primary-foreground": "#f0f7ff",
|
|
169
189
|
"sidebar-accent": "#f0f7ff",
|
|
170
|
-
"sidebar-accent-foreground": "#
|
|
190
|
+
"sidebar-accent-foreground": "#1d4ed8",
|
|
171
191
|
"sidebar-border": "#e0e0e0",
|
|
172
|
-
"sidebar-ring": "#
|
|
192
|
+
"sidebar-ring": "#1d4ed8",
|
|
173
193
|
"tertiary": "#b0b0b0",
|
|
174
194
|
"tertiary-foreground": "#f0f7ff",
|
|
175
195
|
"info": "#57778d",
|
|
@@ -305,14 +325,14 @@ export const tokens = {
|
|
|
305
325
|
],
|
|
306
326
|
"focus": [
|
|
307
327
|
{
|
|
308
|
-
"color": "#
|
|
328
|
+
"color": "#1d4ed8",
|
|
309
329
|
"offsetX": "0",
|
|
310
330
|
"offsetY": "0",
|
|
311
331
|
"blur": "0",
|
|
312
332
|
"spread": "1"
|
|
313
333
|
},
|
|
314
334
|
{
|
|
315
|
-
"color": "#
|
|
335
|
+
"color": "#1d4ed833",
|
|
316
336
|
"offsetX": "0",
|
|
317
337
|
"offsetY": "0",
|
|
318
338
|
"blur": "0",
|
package/dist/web/tokens.ts
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
export const tokens = {
|
|
4
4
|
"color": {
|
|
5
|
+
"azure": {
|
|
6
|
+
"0": "#f7faff",
|
|
7
|
+
"50": "#eff6ff",
|
|
8
|
+
"100": "#dbeafe",
|
|
9
|
+
"150": "#cde1fd",
|
|
10
|
+
"200": "#bfdbfe",
|
|
11
|
+
"300": "#93c5fd",
|
|
12
|
+
"400": "#60a5fa",
|
|
13
|
+
"500": "#3b82f6",
|
|
14
|
+
"600": "#2563eb",
|
|
15
|
+
"700": "#1d4ed8",
|
|
16
|
+
"800": "#1e40af",
|
|
17
|
+
"850": "#1b3897",
|
|
18
|
+
"900": "#1e3a8a",
|
|
19
|
+
"950": "#172554",
|
|
20
|
+
"1000": "#0f172a"
|
|
21
|
+
},
|
|
5
22
|
"blue": {
|
|
6
23
|
"0": "#f6fbff",
|
|
7
24
|
"50": "#f0f7ff",
|
|
@@ -128,14 +145,14 @@ export const tokens = {
|
|
|
128
145
|
"card-foreground": "#050c11",
|
|
129
146
|
"popover": "#ffffff",
|
|
130
147
|
"popover-foreground": "#050c11",
|
|
131
|
-
"primary": "#
|
|
148
|
+
"primary": "#1d4ed8",
|
|
132
149
|
"primary-foreground": "#f0f7ff",
|
|
133
|
-
"secondary": "#
|
|
134
|
-
"secondary-foreground": "#
|
|
150
|
+
"secondary": "#c7cfc7",
|
|
151
|
+
"secondary-foreground": "#465245",
|
|
135
152
|
"muted": "#f6f6f6",
|
|
136
153
|
"muted-foreground": "#6d6d6d",
|
|
137
154
|
"accent": "#f0f7ff",
|
|
138
|
-
"accent-foreground": "#
|
|
155
|
+
"accent-foreground": "#1d4ed8",
|
|
139
156
|
"destructive": "#c60a0a",
|
|
140
157
|
"destructive-foreground": "#fef3f2",
|
|
141
158
|
"success": "#5d6d5c",
|
|
@@ -144,7 +161,7 @@ export const tokens = {
|
|
|
144
161
|
"warning-foreground": "#fff8eb",
|
|
145
162
|
"border": "#92b2c8",
|
|
146
163
|
"input": "#92b2c8",
|
|
147
|
-
"ring": "#
|
|
164
|
+
"ring": "#1d4ed8",
|
|
148
165
|
"semantic": {
|
|
149
166
|
"error": "#ec5047",
|
|
150
167
|
"on-error": "#fef3f2",
|
|
@@ -163,14 +180,17 @@ export const tokens = {
|
|
|
163
180
|
"chart-3": "#ffbc53",
|
|
164
181
|
"chart-4": "#d13a3a",
|
|
165
182
|
"chart-5": "#b4a499",
|
|
183
|
+
"chart-6": "#57778d",
|
|
184
|
+
"chart-7": "#9e0808",
|
|
185
|
+
"chart-8": "#465245",
|
|
166
186
|
"sidebar": "#fafafa",
|
|
167
187
|
"sidebar-foreground": "#050c11",
|
|
168
|
-
"sidebar-primary": "#
|
|
188
|
+
"sidebar-primary": "#1d4ed8",
|
|
169
189
|
"sidebar-primary-foreground": "#f0f7ff",
|
|
170
190
|
"sidebar-accent": "#f0f7ff",
|
|
171
|
-
"sidebar-accent-foreground": "#
|
|
191
|
+
"sidebar-accent-foreground": "#1d4ed8",
|
|
172
192
|
"sidebar-border": "#e0e0e0",
|
|
173
|
-
"sidebar-ring": "#
|
|
193
|
+
"sidebar-ring": "#1d4ed8",
|
|
174
194
|
"tertiary": "#b0b0b0",
|
|
175
195
|
"tertiary-foreground": "#f0f7ff",
|
|
176
196
|
"info": "#57778d",
|
|
@@ -306,14 +326,14 @@ export const tokens = {
|
|
|
306
326
|
],
|
|
307
327
|
"focus": [
|
|
308
328
|
{
|
|
309
|
-
"color": "#
|
|
329
|
+
"color": "#1d4ed8",
|
|
310
330
|
"offsetX": "0",
|
|
311
331
|
"offsetY": "0",
|
|
312
332
|
"blur": "0",
|
|
313
333
|
"spread": "1"
|
|
314
334
|
},
|
|
315
335
|
{
|
|
316
|
-
"color": "#
|
|
336
|
+
"color": "#1d4ed833",
|
|
317
337
|
"offsetX": "0",
|
|
318
338
|
"offsetY": "0",
|
|
319
339
|
"blur": "0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinetixui/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "KinetixUI design tokens — CSS variables, a TypeScript object, and native SwiftUI / Jetpack Compose / Flutter text styles, compiled by Style Dictionary.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-tokens",
|