@kinetixui/tokens 0.4.2 → 0.4.3
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/Theme.dark.kt +3 -0
- package/dist/android/Theme.kt +3 -0
- package/dist/android/res/values/colors.xml +3 -0
- package/dist/flutter/app_colors.dart +3 -0
- package/dist/flutter/app_theme.dart +3 -0
- package/dist/flutter/kinetix_color_scheme.dark.dart +3 -0
- package/dist/flutter/kinetix_color_scheme.dart +3 -0
- package/dist/ios/KinetixColors.swift +3 -0
- package/dist/ios/KinetixColorsSwiftUI.dark.swift +3 -0
- package/dist/ios/KinetixColorsSwiftUI.swift +3 -0
- package/dist/ios/Theme.swift +3 -0
- package/dist/web/globals.css +3 -0
- package/dist/web/globals.dark.css +3 -0
- package/dist/web/tokens.d.ts +3 -0
- package/dist/web/tokens.js +3 -0
- package/dist/web/tokens.ts +3 -0
- package/package.json +1 -1
|
@@ -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)
|
package/dist/android/Theme.kt
CHANGED
|
@@ -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)
|
|
@@ -147,6 +147,9 @@
|
|
|
147
147
|
<color name="color_chart_3">#ffffbc53</color>
|
|
148
148
|
<color name="color_chart_4">#ffd13a3a</color>
|
|
149
149
|
<color name="color_chart_5">#ffb4a499</color>
|
|
150
|
+
<color name="color_chart_6">#ff57778d</color>
|
|
151
|
+
<color name="color_chart_7">#ff9e0808</color>
|
|
152
|
+
<color name="color_chart_8">#ff465245</color>
|
|
150
153
|
<color name="color_sidebar">#fffafafa</color>
|
|
151
154
|
<color name="color_sidebar_foreground">#ff050c11</color>
|
|
152
155
|
<color name="color_sidebar_primary">#ff1b3c53</color>
|
|
@@ -53,6 +53,9 @@ class KinetixColors {
|
|
|
53
53
|
static const colorChart3 = Color(0xFFFFBC53);
|
|
54
54
|
static const colorChart4 = Color(0xFFD13A3A);
|
|
55
55
|
static const colorChart5 = Color(0xFFB4A499);
|
|
56
|
+
static const colorChart6 = Color(0xFF57778D); /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
57
|
+
static const colorChart7 = Color(0xFF9E0808); /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
58
|
+
static const colorChart8 = Color(0xFF465245); /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
56
59
|
static const colorCream0 = Color(0xFFFFFFFF);
|
|
57
60
|
static const colorCream100 = Color(0xFFFEFDFC);
|
|
58
61
|
static const colorCream1000 = Color(0xFF8C5734);
|
|
@@ -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 */
|
|
@@ -35,6 +35,9 @@ class KinetixColorSchemeDark {
|
|
|
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
43
|
static const sidebarPrimary = Color(0xFF92B2C8);
|
|
@@ -35,6 +35,9 @@ class KinetixColorScheme {
|
|
|
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
43
|
static const sidebarPrimary = Color(0xFF1B3C53);
|
|
@@ -50,6 +50,9 @@ public enum KinetixColor {
|
|
|
50
50
|
public static let colorChart3 = UIColor(red: 1.000, green: 0.737, blue: 0.325, alpha: 1)
|
|
51
51
|
public static let colorChart4 = UIColor(red: 0.820, green: 0.227, blue: 0.227, alpha: 1)
|
|
52
52
|
public static let colorChart5 = UIColor(red: 0.706, green: 0.643, blue: 0.600, alpha: 1)
|
|
53
|
+
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 */
|
|
54
|
+
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 */
|
|
55
|
+
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
56
|
public static let colorCream0 = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
54
57
|
public static let colorCream100 = UIColor(red: 0.996, green: 0.992, blue: 0.988, alpha: 1)
|
|
55
58
|
public static let colorCream1000 = UIColor(red: 0.549, green: 0.341, blue: 0.204, alpha: 1)
|
|
@@ -33,6 +33,9 @@ public enum KinetixColorsSwiftUIDark {
|
|
|
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
41
|
public static let sidebarPrimary = Color(red: 0.573, green: 0.698, blue: 0.784)
|
|
@@ -33,6 +33,9 @@ public enum KinetixColorsSwiftUI {
|
|
|
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
41
|
public static let sidebarPrimary = Color(red: 0.106, green: 0.235, blue: 0.325)
|
package/dist/ios/Theme.swift
CHANGED
|
@@ -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 */
|
package/dist/web/globals.css
CHANGED
|
@@ -206,6 +206,9 @@
|
|
|
206
206
|
--chart-3: var(--amber-500);
|
|
207
207
|
--chart-4: var(--red-400);
|
|
208
208
|
--chart-5: var(--taupe-600);
|
|
209
|
+
--chart-6: var(--blue-300); /** synth: 6th data-viz hue — steel blue, distinct from the navy chart-1 */
|
|
210
|
+
--chart-7: var(--red-600); /** synth: 7th data-viz hue — deep red, distinct from chart-4 */
|
|
211
|
+
--chart-8: var(--green-700); /** synth: 8th data-viz hue — deep green, distinct from chart-2 */
|
|
209
212
|
--sidebar: var(--neutral-50);
|
|
210
213
|
--sidebar-foreground: var(--blue-900);
|
|
211
214
|
--sidebar-primary: var(--blue-500);
|
package/dist/web/tokens.d.ts
CHANGED
|
@@ -162,6 +162,9 @@ declare const tokens: {
|
|
|
162
162
|
"chart-3": "#ffbc53",
|
|
163
163
|
"chart-4": "#d13a3a",
|
|
164
164
|
"chart-5": "#b4a499",
|
|
165
|
+
"chart-6": "#57778d",
|
|
166
|
+
"chart-7": "#9e0808",
|
|
167
|
+
"chart-8": "#465245",
|
|
165
168
|
"sidebar": "#fafafa",
|
|
166
169
|
"sidebar-foreground": "#050c11",
|
|
167
170
|
"sidebar-primary": "#1b3c53",
|
package/dist/web/tokens.js
CHANGED
|
@@ -162,6 +162,9 @@ export const tokens = {
|
|
|
162
162
|
"chart-3": "#ffbc53",
|
|
163
163
|
"chart-4": "#d13a3a",
|
|
164
164
|
"chart-5": "#b4a499",
|
|
165
|
+
"chart-6": "#57778d",
|
|
166
|
+
"chart-7": "#9e0808",
|
|
167
|
+
"chart-8": "#465245",
|
|
165
168
|
"sidebar": "#fafafa",
|
|
166
169
|
"sidebar-foreground": "#050c11",
|
|
167
170
|
"sidebar-primary": "#1b3c53",
|
package/dist/web/tokens.ts
CHANGED
|
@@ -163,6 +163,9 @@ export const tokens = {
|
|
|
163
163
|
"chart-3": "#ffbc53",
|
|
164
164
|
"chart-4": "#d13a3a",
|
|
165
165
|
"chart-5": "#b4a499",
|
|
166
|
+
"chart-6": "#57778d",
|
|
167
|
+
"chart-7": "#9e0808",
|
|
168
|
+
"chart-8": "#465245",
|
|
166
169
|
"sidebar": "#fafafa",
|
|
167
170
|
"sidebar-foreground": "#050c11",
|
|
168
171
|
"sidebar-primary": "#1b3c53",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinetixui/tokens",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
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",
|