@kinetixui/tokens 0.1.0 → 0.3.1
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 +53 -0
- package/dist/android/Theme.kt +1 -1
- package/dist/android/res/values/colors.xml +1 -1
- package/dist/flutter/app_colors.dart +1 -1
- package/dist/flutter/app_theme.dart +1 -1
- package/dist/ios/KinetixColors.swift +1 -1
- package/dist/ios/Theme.swift +1 -1
- package/dist/web/globals.css +1 -1
- package/dist/web/tokens.d.ts +1 -1
- package/dist/web/tokens.js +1 -1
- package/dist/web/tokens.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
// Do not edit directly, this file was auto-generated.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
package com.kinetixui.tokens
|
|
8
|
+
|
|
9
|
+
import androidx.compose.ui.graphics.Color
|
|
10
|
+
import androidx.compose.ui.unit.*
|
|
11
|
+
|
|
12
|
+
object KinetixThemeDark {
|
|
13
|
+
val colorAccent = Color(0xff102432)
|
|
14
|
+
val colorAccentForeground = Color(0xfff0f7ff)
|
|
15
|
+
val colorBackground = Color(0xff050c11)
|
|
16
|
+
val colorBorder = Color(0xff395a70)
|
|
17
|
+
val colorCard = Color(0xff0b1821)
|
|
18
|
+
val colorCardForeground = Color(0xfff0f7ff)
|
|
19
|
+
val colorChart1 = Color(0xff92b2c8)
|
|
20
|
+
val colorChart2 = Color(0xff90a08f)
|
|
21
|
+
val colorChart3 = Color(0xffffc975)
|
|
22
|
+
val colorChart4 = Color(0xffdd6a6a)
|
|
23
|
+
val colorChart5 = Color(0xffd2c1b6)
|
|
24
|
+
val colorDestructive = Color(0xffdd6a6a)
|
|
25
|
+
val colorDestructiveForeground = Color(0xff280202)
|
|
26
|
+
val colorForeground = Color(0xfff0f7ff)
|
|
27
|
+
val colorInfo = Color(0xff92b2c8)
|
|
28
|
+
val colorInfoForeground = Color(0xff050c11)
|
|
29
|
+
val colorInput = Color(0xff395a70)
|
|
30
|
+
val colorMuted = Color(0xff102432)
|
|
31
|
+
val colorMutedForeground = Color(0xff92b2c8)
|
|
32
|
+
val colorPopover = Color(0xff0b1821)
|
|
33
|
+
val colorPopoverForeground = Color(0xfff0f7ff)
|
|
34
|
+
val colorPrimary = Color(0xff92b2c8)
|
|
35
|
+
val colorPrimaryForeground = Color(0xff050c11)
|
|
36
|
+
val colorRing = Color(0xff92b2c8)
|
|
37
|
+
val colorSecondary = Color(0xff2e362e)
|
|
38
|
+
val colorSecondaryForeground = Color(0xffe3e7e3)
|
|
39
|
+
val colorSidebar = Color(0xff0b1821)
|
|
40
|
+
val colorSidebarAccent = Color(0xff102432)
|
|
41
|
+
val colorSidebarAccentForeground = Color(0xfff0f7ff)
|
|
42
|
+
val colorSidebarBorder = Color(0xff395a70)
|
|
43
|
+
val colorSidebarForeground = Color(0xfff0f7ff)
|
|
44
|
+
val colorSidebarPrimary = Color(0xff92b2c8)
|
|
45
|
+
val colorSidebarPrimaryForeground = Color(0xff050c11)
|
|
46
|
+
val colorSidebarRing = Color(0xff92b2c8)
|
|
47
|
+
val colorSuccess = Color(0xff90a08f)
|
|
48
|
+
val colorSuccessForeground = Color(0xff171b17)
|
|
49
|
+
val colorTertiary = Color(0xff395a70)
|
|
50
|
+
val colorTertiaryForeground = Color(0xfff0f7ff)
|
|
51
|
+
val colorWarning = Color(0xffffc975)
|
|
52
|
+
val colorWarningForeground = Color(0xff2a1a00)
|
|
53
|
+
}
|
package/dist/android/Theme.kt
CHANGED
|
@@ -35,7 +35,7 @@ object KinetixTheme {
|
|
|
35
35
|
val colorPrimaryForeground = Color(0xfff0f7ff)
|
|
36
36
|
val colorRing = Color(0xff1b3c53)
|
|
37
37
|
val colorSecondary = Color(0xfff1f3f1)
|
|
38
|
-
val colorSecondaryForeground = Color(
|
|
38
|
+
val colorSecondaryForeground = Color(0xff5d6d5c)
|
|
39
39
|
val colorSemanticError = Color(0xffec5047)
|
|
40
40
|
val colorSemanticErrorContainer = Color(0xfffef3f2)
|
|
41
41
|
val colorSemanticInfoContainer = Color(0xfff0f7ff)
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
<color name="color_primary">#ff1b3c53</color>
|
|
118
118
|
<color name="color_primary_foreground">#fff0f7ff</color>
|
|
119
119
|
<color name="color_secondary">#fff1f3f1</color>
|
|
120
|
-
<color name="color_secondary_foreground">#
|
|
120
|
+
<color name="color_secondary_foreground">#ff5d6d5c</color>
|
|
121
121
|
<color name="color_muted">#fff6f6f6</color>
|
|
122
122
|
<color name="color_muted_foreground">#ff6d6d6d</color>
|
|
123
123
|
<color name="color_accent">#fff0f7ff</color>
|
|
@@ -124,7 +124,7 @@ class KinetixColors {
|
|
|
124
124
|
static const colorRed950 = Color(0xFF140101);
|
|
125
125
|
static const colorRing = Color(0xFF1B3C53); /** figma: focus state draws a 2px 'Primay' border */
|
|
126
126
|
static const colorSecondary = Color(0xFFF1F3F1); /** figma: secondaryContainer #f1f3f1 (our 'secondary' == Figma container role) */
|
|
127
|
-
static const colorSecondaryForeground = Color(
|
|
127
|
+
static const colorSecondaryForeground = Color(0xFF5D6D5C); /** figma onSecondaryContainer was green.500 (#748873) = 3.42:1 on secondary (AA-large only); green.600 (#5d6d5c) = 4.95:1 */
|
|
128
128
|
static const colorSemanticError = Color(0xFFEC5047); /** figma: error (NOT red.500 #c60a0a — Figma keeps error as its own value) */
|
|
129
129
|
static const colorSemanticErrorContainer = Color(0xFFFEF3F2); /** figma: errorContainer */
|
|
130
130
|
static const colorSemanticInfoContainer = Color(0xFFF0F7FF);
|
|
@@ -37,7 +37,7 @@ class KinetixTheme {
|
|
|
37
37
|
static const colorPrimaryForeground = Color(0xFFF0F7FF); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
38
38
|
static const colorRing = Color(0xFF1B3C53); /** figma: focus state draws a 2px 'Primay' border */
|
|
39
39
|
static const colorSecondary = Color(0xFFF1F3F1); /** figma: secondaryContainer #f1f3f1 (our 'secondary' == Figma container role) */
|
|
40
|
-
static const colorSecondaryForeground = Color(
|
|
40
|
+
static const colorSecondaryForeground = Color(0xFF5D6D5C); /** figma onSecondaryContainer was green.500 (#748873) = 3.42:1 on secondary (AA-large only); green.600 (#5d6d5c) = 4.95:1 */
|
|
41
41
|
static const colorSemanticError = Color(0xFFEC5047); /** figma: error (NOT red.500 #c60a0a — Figma keeps error as its own value) */
|
|
42
42
|
static const colorSemanticErrorContainer = Color(0xFFFEF3F2); /** figma: errorContainer */
|
|
43
43
|
static const colorSemanticInfoContainer = Color(0xFFF0F7FF);
|
|
@@ -121,7 +121,7 @@ public enum KinetixColor {
|
|
|
121
121
|
public static let colorRed950 = UIColor(red: 0.078, green: 0.004, blue: 0.004, alpha: 1)
|
|
122
122
|
public static let colorRing = UIColor(red: 0.106, green: 0.235, blue: 0.325, alpha: 1) /** figma: focus state draws a 2px 'Primay' border */
|
|
123
123
|
public static let colorSecondary = UIColor(red: 0.945, green: 0.953, blue: 0.945, alpha: 1) /** figma: secondaryContainer #f1f3f1 (our 'secondary' == Figma container role) */
|
|
124
|
-
public static let colorSecondaryForeground = UIColor(red: 0.
|
|
124
|
+
public static let colorSecondaryForeground = UIColor(red: 0.365, green: 0.427, blue: 0.361, alpha: 1) /** figma onSecondaryContainer was green.500 (#748873) = 3.42:1 on secondary (AA-large only); green.600 (#5d6d5c) = 4.95:1 */
|
|
125
125
|
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
126
|
public static let colorSemanticErrorContainer = UIColor(red: 0.996, green: 0.953, blue: 0.949, alpha: 1) /** figma: errorContainer */
|
|
127
127
|
public static let colorSemanticInfoContainer = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
package/dist/ios/Theme.swift
CHANGED
|
@@ -34,7 +34,7 @@ public class KinetixTheme {
|
|
|
34
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
35
|
public static let colorRing = UIColor(red: 0.106, green: 0.235, blue: 0.325, alpha: 1) /** figma: focus state draws a 2px 'Primay' border */
|
|
36
36
|
public static let colorSecondary = UIColor(red: 0.945, green: 0.953, blue: 0.945, alpha: 1) /** figma: secondaryContainer #f1f3f1 (our 'secondary' == Figma container role) */
|
|
37
|
-
public static let colorSecondaryForeground = UIColor(red: 0.
|
|
37
|
+
public static let colorSecondaryForeground = UIColor(red: 0.365, green: 0.427, blue: 0.361, alpha: 1) /** figma onSecondaryContainer was green.500 (#748873) = 3.42:1 on secondary (AA-large only); green.600 (#5d6d5c) = 4.95:1 */
|
|
38
38
|
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
39
|
public static let colorSemanticErrorContainer = UIColor(red: 0.996, green: 0.953, blue: 0.949, alpha: 1) /** figma: errorContainer */
|
|
40
40
|
public static let colorSemanticInfoContainer = UIColor(red: 0.941, green: 0.969, blue: 1.000, alpha: 1)
|
package/dist/web/globals.css
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
--primary: var(--blue-500); /** figma: 'Primay' (sic) #1b3c53 -> renamed primary */
|
|
188
188
|
--primary-foreground: var(--blue-50); /** figma: 'On Primary' #f0f7ff -> renamed primary-foreground */
|
|
189
189
|
--secondary: var(--green-50); /** figma: secondaryContainer #f1f3f1 (our 'secondary' == Figma container role) */
|
|
190
|
-
--secondary-foreground: var(--green-
|
|
190
|
+
--secondary-foreground: var(--green-600); /** figma onSecondaryContainer was green.500 (#748873) = 3.42:1 on secondary (AA-large only); green.600 (#5d6d5c) = 4.95:1 */
|
|
191
191
|
--muted: var(--neutral-100); /** figma: surfaceContainer #f6f6f6 */
|
|
192
192
|
--muted-foreground: var(--neutral-600); /** figma: onSurfaceVariant #6d6d6d */
|
|
193
193
|
--accent: var(--blue-50); /** figma: 'LightBlue' #f0f7ff (the hover fill used by Outline/Ghost buttons) */
|
package/dist/web/tokens.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ declare const tokens: {
|
|
|
130
130
|
"primary": "#1b3c53",
|
|
131
131
|
"primary-foreground": "#f0f7ff",
|
|
132
132
|
"secondary": "#f1f3f1",
|
|
133
|
-
"secondary-foreground": "#
|
|
133
|
+
"secondary-foreground": "#5d6d5c",
|
|
134
134
|
"muted": "#f6f6f6",
|
|
135
135
|
"muted-foreground": "#6d6d6d",
|
|
136
136
|
"accent": "#f0f7ff",
|
package/dist/web/tokens.js
CHANGED
|
@@ -130,7 +130,7 @@ export const tokens = {
|
|
|
130
130
|
"primary": "#1b3c53",
|
|
131
131
|
"primary-foreground": "#f0f7ff",
|
|
132
132
|
"secondary": "#f1f3f1",
|
|
133
|
-
"secondary-foreground": "#
|
|
133
|
+
"secondary-foreground": "#5d6d5c",
|
|
134
134
|
"muted": "#f6f6f6",
|
|
135
135
|
"muted-foreground": "#6d6d6d",
|
|
136
136
|
"accent": "#f0f7ff",
|
package/dist/web/tokens.ts
CHANGED
|
@@ -131,7 +131,7 @@ export const tokens = {
|
|
|
131
131
|
"primary": "#1b3c53",
|
|
132
132
|
"primary-foreground": "#f0f7ff",
|
|
133
133
|
"secondary": "#f1f3f1",
|
|
134
|
-
"secondary-foreground": "#
|
|
134
|
+
"secondary-foreground": "#5d6d5c",
|
|
135
135
|
"muted": "#f6f6f6",
|
|
136
136
|
"muted-foreground": "#6d6d6d",
|
|
137
137
|
"accent": "#f0f7ff",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinetixui/tokens",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.3.1",
|
|
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",
|