@lumaui/tokens 0.1.0 → 0.1.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/package.json +4 -5
- package/src/components/badge/badge.dark.json +0 -11
- package/src/components/badge/badge.json +0 -36
- package/src/components/button/button.dark.json +0 -96
- package/src/components/button/button.json +0 -154
- package/src/components/card/card.dark.json +0 -81
- package/src/components/card/card.json +0 -111
- package/src/core/colors.dark.json +0 -154
- package/src/core/colors.json +0 -164
- package/src/core/spacing.json +0 -53
- package/src/core/transitions.json +0 -23
- package/src/core/typography.json +0 -64
- package/src/index.ts +0 -8
- package/src/luma-dark.css +0 -34
- package/src/luma.css +0 -273
- package/src/themes/dark.tokens.css +0 -55
- package/src/themes/light.tokens.css +0 -55
package/src/core/colors.json
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"luma": {
|
|
3
|
-
"color": {
|
|
4
|
-
"primary": {
|
|
5
|
-
"50": {
|
|
6
|
-
"value": "oklch(0.63 0.14 232.13)",
|
|
7
|
-
"type": "color",
|
|
8
|
-
"description": "Primary default - main brand color for buttons, links, actions"
|
|
9
|
-
},
|
|
10
|
-
"60": {
|
|
11
|
-
"value": "oklch(0.56 0.13 232.13)",
|
|
12
|
-
"type": "color",
|
|
13
|
-
"description": "Primary strong - emphasized elements"
|
|
14
|
-
},
|
|
15
|
-
"70": {
|
|
16
|
-
"value": "oklch(0.49 0.12 232.13)",
|
|
17
|
-
"type": "color",
|
|
18
|
-
"description": "Primary hover - hover state for primary elements"
|
|
19
|
-
},
|
|
20
|
-
"80": {
|
|
21
|
-
"value": "oklch(0.43 0.11 232.13)",
|
|
22
|
-
"type": "color",
|
|
23
|
-
"description": "Primary active - pressed/active state"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"neutral": {
|
|
27
|
-
"50": {
|
|
28
|
-
"value": "oklch(0.99 0 0)",
|
|
29
|
-
"type": "color",
|
|
30
|
-
"description": "Neutral lightest - nested card backgrounds, subtle surfaces"
|
|
31
|
-
},
|
|
32
|
-
"60": {
|
|
33
|
-
"value": "oklch(0.92 0.008 265)",
|
|
34
|
-
"type": "color",
|
|
35
|
-
"description": "Neutral light - borders, dividers"
|
|
36
|
-
},
|
|
37
|
-
"70": {
|
|
38
|
-
"value": "oklch(0.85 0.01 265)",
|
|
39
|
-
"type": "color",
|
|
40
|
-
"description": "Neutral medium - disabled text, placeholders"
|
|
41
|
-
},
|
|
42
|
-
"80": {
|
|
43
|
-
"value": "oklch(0.45 0.01 265)",
|
|
44
|
-
"type": "color",
|
|
45
|
-
"description": "Neutral dark - secondary text (WCAG AA compliant)"
|
|
46
|
-
},
|
|
47
|
-
"90": {
|
|
48
|
-
"value": "oklch(0.45 0.01 265)",
|
|
49
|
-
"type": "color",
|
|
50
|
-
"description": "Neutral darker - emphasized secondary text"
|
|
51
|
-
},
|
|
52
|
-
"100": {
|
|
53
|
-
"value": "oklch(0.22 0.01 265)",
|
|
54
|
-
"type": "color",
|
|
55
|
-
"description": "Neutral darkest - primary text, shadows"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"success": {
|
|
59
|
-
"50": {
|
|
60
|
-
"value": "oklch(0.72 0.08 150)",
|
|
61
|
-
"type": "color",
|
|
62
|
-
"description": "Success default - positive feedback, confirmations"
|
|
63
|
-
},
|
|
64
|
-
"60": {
|
|
65
|
-
"value": "oklch(0.65 0.07 150)",
|
|
66
|
-
"type": "color",
|
|
67
|
-
"description": "Success strong"
|
|
68
|
-
},
|
|
69
|
-
"70": {
|
|
70
|
-
"value": "oklch(0.58 0.06 150)",
|
|
71
|
-
"type": "color",
|
|
72
|
-
"description": "Success hover"
|
|
73
|
-
},
|
|
74
|
-
"80": {
|
|
75
|
-
"value": "oklch(0.52 0.05 150)",
|
|
76
|
-
"type": "color",
|
|
77
|
-
"description": "Success active"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"warning": {
|
|
81
|
-
"50": {
|
|
82
|
-
"value": "oklch(0.78 0.10 85)",
|
|
83
|
-
"type": "color",
|
|
84
|
-
"description": "Warning default - caution states, alerts"
|
|
85
|
-
},
|
|
86
|
-
"60": {
|
|
87
|
-
"value": "oklch(0.72 0.09 85)",
|
|
88
|
-
"type": "color",
|
|
89
|
-
"description": "Warning strong"
|
|
90
|
-
},
|
|
91
|
-
"70": {
|
|
92
|
-
"value": "oklch(0.65 0.08 85)",
|
|
93
|
-
"type": "color",
|
|
94
|
-
"description": "Warning hover"
|
|
95
|
-
},
|
|
96
|
-
"80": {
|
|
97
|
-
"value": "oklch(0.58 0.07 85)",
|
|
98
|
-
"type": "color",
|
|
99
|
-
"description": "Warning active"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"error": {
|
|
103
|
-
"50": {
|
|
104
|
-
"value": "oklch(0.62 0.11 25)",
|
|
105
|
-
"type": "color",
|
|
106
|
-
"description": "Error default - destructive actions, errors"
|
|
107
|
-
},
|
|
108
|
-
"60": {
|
|
109
|
-
"value": "oklch(0.56 0.10 25)",
|
|
110
|
-
"type": "color",
|
|
111
|
-
"description": "Error strong"
|
|
112
|
-
},
|
|
113
|
-
"70": {
|
|
114
|
-
"value": "oklch(0.50 0.09 25)",
|
|
115
|
-
"type": "color",
|
|
116
|
-
"description": "Error hover"
|
|
117
|
-
},
|
|
118
|
-
"80": {
|
|
119
|
-
"value": "oklch(0.44 0.08 25)",
|
|
120
|
-
"type": "color",
|
|
121
|
-
"description": "Error active"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"surface": {
|
|
125
|
-
"base": {
|
|
126
|
-
"value": "oklch(1 0 0)",
|
|
127
|
-
"type": "color",
|
|
128
|
-
"description": "Base surface background color (pure white avoided per Neo-Minimal)"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"text": {
|
|
132
|
-
"primary": {
|
|
133
|
-
"value": "{luma.color.neutral.100}",
|
|
134
|
-
"type": "color",
|
|
135
|
-
"description": "Primary text color - main body text"
|
|
136
|
-
},
|
|
137
|
-
"secondary": {
|
|
138
|
-
"value": "{luma.color.neutral.80}",
|
|
139
|
-
"type": "color",
|
|
140
|
-
"description": "Secondary text color - supporting text"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"focus": {
|
|
145
|
-
"ring": {
|
|
146
|
-
"color": {
|
|
147
|
-
"value": "oklch(0.63 0.14 232.13 / 0.45)",
|
|
148
|
-
"type": "color",
|
|
149
|
-
"description": "Global focus ring color - accessible, visible in both themes"
|
|
150
|
-
},
|
|
151
|
-
"width": {
|
|
152
|
-
"value": "2px",
|
|
153
|
-
"type": "dimension",
|
|
154
|
-
"description": "Focus ring width - WCAG 2.4.7 minimum"
|
|
155
|
-
},
|
|
156
|
-
"offset": {
|
|
157
|
-
"value": "2px",
|
|
158
|
-
"type": "dimension",
|
|
159
|
-
"description": "Focus ring offset from element"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
package/src/core/spacing.json
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"luma": {
|
|
3
|
-
"spacing": {
|
|
4
|
-
"xs": {
|
|
5
|
-
"value": "0.25rem",
|
|
6
|
-
"type": "dimension",
|
|
7
|
-
"description": "Extra small spacing (4px)"
|
|
8
|
-
},
|
|
9
|
-
"sm": {
|
|
10
|
-
"value": "0.5rem",
|
|
11
|
-
"type": "dimension",
|
|
12
|
-
"description": "Small spacing (8px)"
|
|
13
|
-
},
|
|
14
|
-
"md": {
|
|
15
|
-
"value": "1rem",
|
|
16
|
-
"type": "dimension",
|
|
17
|
-
"description": "Medium spacing (16px)"
|
|
18
|
-
},
|
|
19
|
-
"lg": {
|
|
20
|
-
"value": "1.5rem",
|
|
21
|
-
"type": "dimension",
|
|
22
|
-
"description": "Large spacing (24px)"
|
|
23
|
-
},
|
|
24
|
-
"xl": {
|
|
25
|
-
"value": "2.5rem",
|
|
26
|
-
"type": "dimension",
|
|
27
|
-
"description": "Extra large spacing (40px)"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"radius": {
|
|
31
|
-
"sm": {
|
|
32
|
-
"value": "6px",
|
|
33
|
-
"type": "dimension",
|
|
34
|
-
"description": "Small border radius"
|
|
35
|
-
},
|
|
36
|
-
"md": {
|
|
37
|
-
"value": "10px",
|
|
38
|
-
"type": "dimension",
|
|
39
|
-
"description": "Medium border radius"
|
|
40
|
-
},
|
|
41
|
-
"lg": {
|
|
42
|
-
"value": "18px",
|
|
43
|
-
"type": "dimension",
|
|
44
|
-
"description": "Large border radius"
|
|
45
|
-
},
|
|
46
|
-
"full": {
|
|
47
|
-
"value": "9999px",
|
|
48
|
-
"type": "dimension",
|
|
49
|
-
"description": "Full border radius (circular)"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"luma": {
|
|
3
|
-
"duration": {
|
|
4
|
-
"fast": {
|
|
5
|
-
"value": "150ms",
|
|
6
|
-
"type": "duration",
|
|
7
|
-
"description": "Fast transition duration"
|
|
8
|
-
},
|
|
9
|
-
"base": {
|
|
10
|
-
"value": "200ms",
|
|
11
|
-
"type": "duration",
|
|
12
|
-
"description": "Base transition duration"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"transition": {
|
|
16
|
-
"ease": {
|
|
17
|
-
"value": "ease-out",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "Default easing function"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
package/src/core/typography.json
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"luma": {
|
|
3
|
-
"font": {
|
|
4
|
-
"family": {
|
|
5
|
-
"base": {
|
|
6
|
-
"value": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
7
|
-
"type": "fontFamily",
|
|
8
|
-
"description": "Base font family"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"weight": {
|
|
12
|
-
"regular": {
|
|
13
|
-
"value": "400",
|
|
14
|
-
"type": "fontWeight",
|
|
15
|
-
"description": "Regular font weight"
|
|
16
|
-
},
|
|
17
|
-
"medium": {
|
|
18
|
-
"value": "500",
|
|
19
|
-
"type": "fontWeight",
|
|
20
|
-
"description": "Medium font weight"
|
|
21
|
-
},
|
|
22
|
-
"semibold": {
|
|
23
|
-
"value": "600",
|
|
24
|
-
"type": "fontWeight",
|
|
25
|
-
"description": "Semibold font weight"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"text": {
|
|
30
|
-
"sm": {
|
|
31
|
-
"value": "0.75rem",
|
|
32
|
-
"type": "dimension",
|
|
33
|
-
"description": "Small text size (12px)"
|
|
34
|
-
},
|
|
35
|
-
"base": {
|
|
36
|
-
"value": "1rem",
|
|
37
|
-
"type": "dimension",
|
|
38
|
-
"description": "Base text size (16px)"
|
|
39
|
-
},
|
|
40
|
-
"lg": {
|
|
41
|
-
"value": "1.875rem",
|
|
42
|
-
"type": "dimension",
|
|
43
|
-
"description": "Large text size (30px)"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"line-height": {
|
|
47
|
-
"none": {
|
|
48
|
-
"value": "1",
|
|
49
|
-
"type": "number",
|
|
50
|
-
"description": "No line height"
|
|
51
|
-
},
|
|
52
|
-
"snug": {
|
|
53
|
-
"value": "1.375",
|
|
54
|
-
"type": "number",
|
|
55
|
-
"description": "Snug line height"
|
|
56
|
-
},
|
|
57
|
-
"relaxed": {
|
|
58
|
-
"value": "1.625",
|
|
59
|
-
"type": "number",
|
|
60
|
-
"description": "Relaxed line height"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// Export design tokens
|
|
2
|
-
// Import these tokens in your application's CSS file
|
|
3
|
-
export const version = '0.0.1';
|
|
4
|
-
|
|
5
|
-
// CSS files are exported via package.json exports field
|
|
6
|
-
// Usage:
|
|
7
|
-
// @import '@lumaui/tokens/luma.css';
|
|
8
|
-
// @import '@lumaui/tokens/luma-dark.css';
|
package/src/luma-dark.css
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* Luma Design System - Dark Theme */
|
|
2
|
-
.dark {
|
|
3
|
-
--luma-color-primary: oklch(0.64 0.12 230);
|
|
4
|
-
--luma-color-primary-hover: oklch(0.58 0.11 230);
|
|
5
|
-
--luma-color-primary-active: oklch(0.52 0.1 230);
|
|
6
|
-
--luma-color-surface-base: oklch(0.15 0.005 0);
|
|
7
|
-
--luma-color-text-primary: oklch(0.98 0.002 0);
|
|
8
|
-
--luma-color-text-secondary: oklch(0.65 0.01 0);
|
|
9
|
-
--luma-card-background: oklch(0.17 0 0);
|
|
10
|
-
--luma-card-gradient-from: oklch(0.25 0.01 0 / 0.6);
|
|
11
|
-
--luma-card-gradient-to: oklch(0.2 0.008 0 / 0.6);
|
|
12
|
-
--luma-color-badge-bg: oklch(0.64 0.12 230 / 0.15);
|
|
13
|
-
|
|
14
|
-
/* Button - Dark Theme Overrides */
|
|
15
|
-
--luma-button-primary-bg: oklch(0.64 0.12 230);
|
|
16
|
-
--luma-button-primary-bg-hover: oklch(0.69 0.12 230);
|
|
17
|
-
--luma-button-primary-bg-active: oklch(0.74 0.13 230);
|
|
18
|
-
--luma-button-primary-text: oklch(0.1 0 0);
|
|
19
|
-
|
|
20
|
-
--luma-button-outline-border: oklch(0.65 0.01 0);
|
|
21
|
-
--luma-button-outline-border-hover: oklch(0.98 0.002 0);
|
|
22
|
-
--luma-button-outline-bg-hover: oklch(0.2 0.01 230);
|
|
23
|
-
--luma-button-outline-text: oklch(0.98 0.002 0);
|
|
24
|
-
|
|
25
|
-
--luma-button-ghost-bg-hover: oklch(0.2 0.01 230);
|
|
26
|
-
--luma-button-ghost-text: oklch(0.98 0.002 0);
|
|
27
|
-
|
|
28
|
-
--luma-button-danger-bg: oklch(0.6 0.24 25);
|
|
29
|
-
--luma-button-danger-bg-hover: oklch(0.65 0.25 25);
|
|
30
|
-
--luma-button-danger-bg-active: oklch(0.7 0.26 25);
|
|
31
|
-
--luma-button-danger-text: oklch(0.1 0 0);
|
|
32
|
-
|
|
33
|
-
--luma-button-focus-ring-color: oklch(0.64 0.12 230 / 0.25);
|
|
34
|
-
}
|
package/src/luma.css
DELETED
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
@import 'tailwindcss';
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
/* Luma UI Design Tokens */
|
|
5
|
-
|
|
6
|
-
/* Colors - Primary */
|
|
7
|
-
--luma-color-primary: oklch(0.54 0.1 230);
|
|
8
|
-
--luma-color-primary-hover: oklch(0.49 0.09 230);
|
|
9
|
-
--luma-color-primary-active: oklch(0.44 0.08 230);
|
|
10
|
-
|
|
11
|
-
/* Colors - Surface */
|
|
12
|
-
--luma-color-surface-base: oklch(1 0 0);
|
|
13
|
-
|
|
14
|
-
/* Colors - Text */
|
|
15
|
-
--luma-color-text-primary: oklch(0.2 0.005 0);
|
|
16
|
-
--luma-color-text-secondary: oklch(0.5 0.01 0);
|
|
17
|
-
|
|
18
|
-
/* Colors - Card */
|
|
19
|
-
--luma-card-background: oklch(0.99 0 0);
|
|
20
|
-
--luma-card-gradient-from: oklch(0.92 0.005 0 / 0.6);
|
|
21
|
-
--luma-card-gradient-to: oklch(0.96 0.003 0 / 0.6);
|
|
22
|
-
|
|
23
|
-
/* Colors - Badge */
|
|
24
|
-
--luma-color-badge: var(--luma-color-primary);
|
|
25
|
-
--luma-color-badge-bg: oklch(0.54 0.1 230 / 0.1);
|
|
26
|
-
|
|
27
|
-
/* Font Family */
|
|
28
|
-
--luma-font-family-base:
|
|
29
|
-
'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
30
|
-
|
|
31
|
-
/* Font Sizes */
|
|
32
|
-
--luma-text-sm: 0.75rem;
|
|
33
|
-
--luma-text-base: 1rem;
|
|
34
|
-
--luma-text-lg: 1.875rem;
|
|
35
|
-
|
|
36
|
-
/* Font Weights */
|
|
37
|
-
--luma-font-weight-regular: 400;
|
|
38
|
-
--luma-font-weight-medium: 500;
|
|
39
|
-
--luma-font-weight-semibold: 600;
|
|
40
|
-
|
|
41
|
-
/* Line Heights */
|
|
42
|
-
--luma-line-height-snug: 1.375;
|
|
43
|
-
--luma-line-height-relaxed: 1.625;
|
|
44
|
-
--luma-line-height-none: 1;
|
|
45
|
-
|
|
46
|
-
/* Spacing */
|
|
47
|
-
--luma-spacing-xs: 0.25rem;
|
|
48
|
-
--luma-spacing-sm: 0.5rem;
|
|
49
|
-
--luma-spacing-md: 1rem;
|
|
50
|
-
--luma-spacing-lg: 1.5rem;
|
|
51
|
-
--luma-spacing-xl: 2.5rem;
|
|
52
|
-
--luma-card-padding: 1.5rem;
|
|
53
|
-
|
|
54
|
-
/* Border Radius */
|
|
55
|
-
--radius-luma-sm: 6px;
|
|
56
|
-
--radius-luma-md: 10px;
|
|
57
|
-
--radius-luma-lg: 18px;
|
|
58
|
-
--radius-luma-full: 9999px;
|
|
59
|
-
|
|
60
|
-
/* Transitions */
|
|
61
|
-
--luma-duration-fast: 150ms;
|
|
62
|
-
--luma-duration-base: 200ms;
|
|
63
|
-
--luma-transition-ease: ease-out;
|
|
64
|
-
|
|
65
|
-
/* Badge */
|
|
66
|
-
--luma-badge-padding-x: 0.625rem;
|
|
67
|
-
--luma-badge-padding-y: 0.25rem;
|
|
68
|
-
--luma-badge-font-size: var(--luma-text-sm);
|
|
69
|
-
--luma-badge-font-weight: var(--luma-font-weight-medium);
|
|
70
|
-
|
|
71
|
-
/* Card */
|
|
72
|
-
--luma-card-border-width: 1px;
|
|
73
|
-
|
|
74
|
-
/* Button Tokens */
|
|
75
|
-
/* Primary */
|
|
76
|
-
--luma-button-primary-bg: oklch(0.54 0.1 230);
|
|
77
|
-
--luma-button-primary-bg-hover: oklch(0.49 0.09 230);
|
|
78
|
-
--luma-button-primary-bg-active: oklch(0.44 0.08 230);
|
|
79
|
-
--luma-button-primary-text: oklch(1 0 0);
|
|
80
|
-
|
|
81
|
-
/* Outline */
|
|
82
|
-
--luma-button-outline-border: oklch(0.5 0.01 0);
|
|
83
|
-
--luma-button-outline-border-hover: oklch(0.2 0.005 0);
|
|
84
|
-
--luma-button-outline-bg-hover: oklch(0.96 0.01 230);
|
|
85
|
-
--luma-button-outline-text: oklch(0.2 0.005 0);
|
|
86
|
-
|
|
87
|
-
/* Ghost */
|
|
88
|
-
--luma-button-ghost-bg: transparent;
|
|
89
|
-
--luma-button-ghost-bg-hover: oklch(0.96 0.01 230);
|
|
90
|
-
--luma-button-ghost-text: oklch(0.2 0.005 0);
|
|
91
|
-
|
|
92
|
-
/* Danger */
|
|
93
|
-
--luma-button-danger-bg: oklch(0.55 0.22 25);
|
|
94
|
-
--luma-button-danger-bg-hover: oklch(0.5 0.2 25);
|
|
95
|
-
--luma-button-danger-bg-active: oklch(0.45 0.18 25);
|
|
96
|
-
--luma-button-danger-text: oklch(1 0 0);
|
|
97
|
-
|
|
98
|
-
/* Button Layout */
|
|
99
|
-
--luma-button-padding-x-sm: 1rem;
|
|
100
|
-
--luma-button-padding-y-sm: 0.5rem;
|
|
101
|
-
--luma-button-padding-x-md: 1.5rem;
|
|
102
|
-
--luma-button-padding-y-md: 0.75rem;
|
|
103
|
-
--luma-button-padding-x-lg: 2rem;
|
|
104
|
-
--luma-button-padding-y-lg: 1rem;
|
|
105
|
-
--luma-button-radius: var(--luma-radius-md);
|
|
106
|
-
|
|
107
|
-
/* Button Focus */
|
|
108
|
-
--luma-button-focus-ring-width: 2px;
|
|
109
|
-
--luma-button-focus-ring-color: oklch(0.54 0.1 230 / 0.25);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Utilities - Background Colors */
|
|
113
|
-
@utility lm-bg-primary {
|
|
114
|
-
background-color: var(--luma-color-primary);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@utility lm-bg-surface-base {
|
|
118
|
-
background-color: var(--luma-color-surface-base);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@utility lm-bg-card-background {
|
|
122
|
-
background-color: var(--luma-card-background);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@utility lm-bg-badge-bg {
|
|
126
|
-
background-color: var(--luma-color-badge-bg);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/* Utilities - Text Colors */
|
|
130
|
-
@utility lm-text-primary {
|
|
131
|
-
color: var(--luma-color-text-primary);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@utility lm-text-secondary {
|
|
135
|
-
color: var(--luma-color-text-secondary);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@utility lm-text-badge {
|
|
139
|
-
color: var(--luma-color-badge);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/* Utilities - Border Colors */
|
|
143
|
-
@utility lm-border-text-primary {
|
|
144
|
-
border-color: var(--luma-color-text-primary);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@utility lm-border-text-secondary {
|
|
148
|
-
border-color: var(--luma-color-text-secondary);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/* Utilities - Border Radius */
|
|
152
|
-
@utility lm-rounded-sm {
|
|
153
|
-
border-radius: var(--luma-radius-sm);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
@utility lm-rounded-md {
|
|
157
|
-
border-radius: var(--luma-radius-md);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@utility lm-rounded-lg {
|
|
161
|
-
border-radius: var(--luma-radius-lg);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
/* Utilities - Font Sizes */
|
|
165
|
-
@utility lm-text-sm {
|
|
166
|
-
font-size: var(--luma-text-sm);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@utility lm-text-base {
|
|
170
|
-
font-size: var(--luma-text-base);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
@utility lm-text-lg {
|
|
174
|
-
font-size: var(--luma-text-lg);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/* Utilities - Transitions */
|
|
178
|
-
@utility lm-duration-fast {
|
|
179
|
-
transition-duration: var(--luma-duration-fast);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
@utility lm-duration-base {
|
|
183
|
-
transition-duration: var(--luma-duration-base);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/* Utilities - Gradient */
|
|
187
|
-
@utility lm-from-card-gradient-from {
|
|
188
|
-
--tw-gradient-from: var(--luma-card-gradient-from);
|
|
189
|
-
--tw-gradient-to: rgb(255 255 255 / 0);
|
|
190
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
@utility lm-to-card-gradient-to {
|
|
194
|
-
--tw-gradient-to: var(--luma-card-gradient-to);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/* Utilities - Padding */
|
|
198
|
-
@utility lm-p-card {
|
|
199
|
-
padding: var(--luma-card-padding);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/* ===== BUTTON UTILITIES ===== */
|
|
203
|
-
|
|
204
|
-
/* Primary Button */
|
|
205
|
-
@utility lm-bg-button-primary {
|
|
206
|
-
background-color: var(--luma-button-primary-bg);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@utility lm-bg-button-primary-hover {
|
|
210
|
-
background-color: var(--luma-button-primary-bg-hover);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@utility lm-bg-button-primary-active {
|
|
214
|
-
background-color: var(--luma-button-primary-bg-active);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@utility lm-text-button-primary-text {
|
|
218
|
-
color: var(--luma-button-primary-text);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/* Outline Button */
|
|
222
|
-
@utility lm-border-button-outline-border {
|
|
223
|
-
border-color: var(--luma-button-outline-border);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
@utility lm-border-button-outline-border-hover {
|
|
227
|
-
border-color: var(--luma-button-outline-border-hover);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@utility lm-bg-button-outline-bg-hover {
|
|
231
|
-
background-color: var(--luma-button-outline-bg-hover);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
@utility lm-button-outline-text {
|
|
235
|
-
color: var(--luma-button-outline-text);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/* Ghost Button */
|
|
239
|
-
@utility lm-button-ghost-bg {
|
|
240
|
-
background-color: var(--luma-button-ghost-bg);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
@utility lm-button-ghost-bg-hover {
|
|
244
|
-
background-color: var(--luma-button-ghost-bg-hover);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
@utility lm-button-ghost-text {
|
|
248
|
-
color: var(--luma-button-ghost-text);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/* Danger Button */
|
|
252
|
-
@utility lm-button-danger-bg {
|
|
253
|
-
background-color: var(--luma-button-danger-bg);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@utility lm-button-danger-bg-hover {
|
|
257
|
-
background-color: var(--luma-button-danger-bg-hover);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@utility lm-button-danger-bg-active {
|
|
261
|
-
background-color: var(--luma-button-danger-bg-active);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
@utility lm-button-danger-text {
|
|
265
|
-
color: var(--luma-button-danger-text);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/* Button Focus Ring */
|
|
269
|
-
@utility lm-ring-button-focus {
|
|
270
|
-
outline: var(--luma-button-focus-ring-width) solid
|
|
271
|
-
var(--luma-button-focus-ring-color);
|
|
272
|
-
outline-offset: 2px;
|
|
273
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
/* Cores - Primária (Blue Neo-Minimal) - Dark theme */
|
|
3
|
-
--lumo-color-primary: #5ca3d8;
|
|
4
|
-
--lumo-color-primary-hover: #4a91c6;
|
|
5
|
-
--lumo-color-primary-active: #387fb4;
|
|
6
|
-
--lumo-color-primary-focus: rgba(92, 163, 216, 0.3);
|
|
7
|
-
--lumo-color-primary-background: rgba(92, 163, 216, 0.15);
|
|
8
|
-
|
|
9
|
-
/* Cores - Neutros - Dark theme */
|
|
10
|
-
--lumo-color-surface-base: #0f1114;
|
|
11
|
-
--lumo-color-text-primary: #f9fafb;
|
|
12
|
-
--lumo-color-text-secondary: #9ca3af;
|
|
13
|
-
--lumo-color-gradient-from: rgba(39, 39, 42, 0.6);
|
|
14
|
-
--lumo-color-gradient-to: rgba(24, 24, 27, 0.6);
|
|
15
|
-
|
|
16
|
-
/* Tipografia permanece a mesma */
|
|
17
|
-
--lumo-font-family-base:
|
|
18
|
-
'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
19
|
-
--lumo-font-size-sm: 0.75rem;
|
|
20
|
-
--lumo-font-size-base: 1rem;
|
|
21
|
-
--lumo-font-size-lg: 1.875rem;
|
|
22
|
-
--lumo-font-weight-regular: 400;
|
|
23
|
-
--lumo-font-weight-medium: 500;
|
|
24
|
-
--lumo-font-weight-semibold: 600;
|
|
25
|
-
--lumo-line-height-snug: 1.375;
|
|
26
|
-
--lumo-line-height-relaxed: 1.625;
|
|
27
|
-
--lumo-line-height-none: 1;
|
|
28
|
-
|
|
29
|
-
/* Espaçamento permanece o mesmo */
|
|
30
|
-
--lumo-spacing-xs: 0.25rem;
|
|
31
|
-
--lumo-spacing-sm: 0.5rem;
|
|
32
|
-
--lumo-spacing-md: 1rem;
|
|
33
|
-
--lumo-spacing-lg: 1.5rem;
|
|
34
|
-
--lumo-spacing-xl: 2.5rem;
|
|
35
|
-
|
|
36
|
-
/* Border Radius permanece o mesmo */
|
|
37
|
-
--lumo-radius-sm: 6px;
|
|
38
|
-
--lumo-radius-md: 10px;
|
|
39
|
-
--lumo-radius-lg: 18px;
|
|
40
|
-
--lumo-radius-full: 9999px;
|
|
41
|
-
|
|
42
|
-
/* Transições permanecem as mesmas */
|
|
43
|
-
--lumo-transition-duration-fast: 150ms;
|
|
44
|
-
--lumo-transition-duration-base: 200ms;
|
|
45
|
-
--lumo-transition-ease: ease-out;
|
|
46
|
-
|
|
47
|
-
/* Badge - Dark theme */
|
|
48
|
-
--lumo-badge-background: var(--lumo-color-primary-background);
|
|
49
|
-
--lumo-badge-color: var(--lumo-color-primary);
|
|
50
|
-
--lumo-badge-padding-x: 0.625rem;
|
|
51
|
-
--lumo-badge-padding-y: 0.25rem;
|
|
52
|
-
--lumo-badge-radius: var(--lumo-radius-full);
|
|
53
|
-
--lumo-badge-font-size: var(--lumo-font-size-sm);
|
|
54
|
-
--lumo-badge-font-weight: var(--lumo-font-weight-medium);
|
|
55
|
-
}
|