alope-ui 1.2.40 → 1.2.42
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/theme.css +168 -0
- package/package.json +1 -1
package/dist/theme.css
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/* lib/theme.css */
|
|
2
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
3
|
+
|
|
4
|
+
@theme {
|
|
5
|
+
/* Primary - Vibrant Lime (#80C41C) */
|
|
6
|
+
--color-primary: #80c41c;
|
|
7
|
+
--color-primary-dark: #65a30d;
|
|
8
|
+
--color-primary-700: #4d7c0f;
|
|
9
|
+
--color-primary-dark-700: #365314;
|
|
10
|
+
--color-primary-30: #d9f99d;
|
|
11
|
+
--color-primary-dark-30: #a3e635;
|
|
12
|
+
--color-primary-30-50: #ecfccb;
|
|
13
|
+
--color-primary-dark-30-50: #bef264;
|
|
14
|
+
--color-primary-dark-30-20: #1a2e05;
|
|
15
|
+
|
|
16
|
+
/* Secondary - Cool Slate */
|
|
17
|
+
--color-secondary: #e2e8f0;
|
|
18
|
+
--color-secondary-dark: #94a3b8;
|
|
19
|
+
--color-secondary-foreground: #475569;
|
|
20
|
+
--color-secondary-foreground-dark: #cbd5e1;
|
|
21
|
+
--color-secondary-700: #64748b;
|
|
22
|
+
--color-secondary-dark-700: #334155;
|
|
23
|
+
--color-secondary-30: #f1f5f9;
|
|
24
|
+
--color-secondary-dark-30: #cbd5e1;
|
|
25
|
+
--color-secondary-30-50: #f8fafc;
|
|
26
|
+
--color-secondary-dark-30-50: #94a3b8;
|
|
27
|
+
--color-secondary-dark-30-20: #1e293b;
|
|
28
|
+
|
|
29
|
+
/* Success - Modern Teal */
|
|
30
|
+
--color-success: #14b8a6;
|
|
31
|
+
--color-success-dark: #0d9488;
|
|
32
|
+
--color-success-700: #0f766e;
|
|
33
|
+
--color-success-dark-700: #115e59;
|
|
34
|
+
--color-success-30: #99f6e4;
|
|
35
|
+
--color-success-dark-30: #5eead4;
|
|
36
|
+
--color-success-30-50: #ccfbf1;
|
|
37
|
+
--color-success-dark-30-50: #2dd4bf;
|
|
38
|
+
--color-success-dark-30-20: #042f2e;
|
|
39
|
+
|
|
40
|
+
/* Info - Ocean Sky */
|
|
41
|
+
--color-info: #0ea5e9;
|
|
42
|
+
--color-info-dark: #0284c7;
|
|
43
|
+
--color-info-700: #0369a1;
|
|
44
|
+
--color-info-dark-700: #0c4a6e;
|
|
45
|
+
--color-info-30: #bae6fd;
|
|
46
|
+
--color-info-dark-30: #7dd3fc;
|
|
47
|
+
--color-info-30-50: #e0f2fe;
|
|
48
|
+
--color-info-dark-30-50: #38bdf8;
|
|
49
|
+
--color-info-dark-30-20: #082f49;
|
|
50
|
+
|
|
51
|
+
/* Warning - Warm Amber */
|
|
52
|
+
--color-warning: #f59e0b;
|
|
53
|
+
--color-warning-dark: #d97706;
|
|
54
|
+
--color-warning-700: #b45309;
|
|
55
|
+
--color-warning-dark-700: #78350f;
|
|
56
|
+
--color-warning-30: #fde68a;
|
|
57
|
+
--color-warning-dark-30: #fcd34d;
|
|
58
|
+
--color-warning-30-50: #fef3c7;
|
|
59
|
+
--color-warning-dark-30-50: #fbbf24;
|
|
60
|
+
--color-warning-dark-30-20: #451a03;
|
|
61
|
+
|
|
62
|
+
/* Error - Crisp Rose */
|
|
63
|
+
--color-error: #f43f5e;
|
|
64
|
+
--color-error-dark: #e11d48;
|
|
65
|
+
--color-error-700: #be123c;
|
|
66
|
+
--color-error-dark-700: #881337;
|
|
67
|
+
--color-error-30: #fecdd3;
|
|
68
|
+
--color-error-dark-30: #fda4af;
|
|
69
|
+
--color-error-30-50: #ffe4e6;
|
|
70
|
+
--color-error-dark-30-50: #fb7185;
|
|
71
|
+
--color-error-dark-30-20: #4c0519;
|
|
72
|
+
|
|
73
|
+
/* Shimmer / Skeleton Tokens */
|
|
74
|
+
--color-flash-light-0: hsla(215, 20%, 75%, 0.5);
|
|
75
|
+
--color-flash-light-100: hsla(215, 20%, 90%, 0.7);
|
|
76
|
+
--background-shimmer-light: linear-gradient(90deg,
|
|
77
|
+
hsla(215, 20%, 82%, 0.6) 25%,
|
|
78
|
+
hsla(215, 20%, 94%, 0.9) 50%,
|
|
79
|
+
hsla(215, 20%, 82%, 0.6) 75%);
|
|
80
|
+
|
|
81
|
+
--color-flash-dark-0: hsla(222, 22%, 22%, 0.6);
|
|
82
|
+
--color-flash-dark-100: hsla(222, 22%, 34%, 0.7);
|
|
83
|
+
--background-shimmer-dark: linear-gradient(90deg,
|
|
84
|
+
hsla(222, 22%, 24%, 0.6) 25%,
|
|
85
|
+
hsla(222, 22%, 36%, 0.85) 50%,
|
|
86
|
+
hsla(222, 22%, 24%, 0.6) 75%);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@layer components {
|
|
90
|
+
@keyframes flash-anim {
|
|
91
|
+
0% {
|
|
92
|
+
background-color: var(--flash-anim-start);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
100% {
|
|
96
|
+
background-color: var(--flash-anim-end);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.flash {
|
|
101
|
+
animation: flash-anim 800ms linear infinite alternate;
|
|
102
|
+
--flash-anim-start: var(--color-flash-light-0);
|
|
103
|
+
--flash-anim-end: var(--color-flash-light-100);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.dark .flash {
|
|
107
|
+
--flash-anim-start: var(--color-flash-dark-0);
|
|
108
|
+
--flash-anim-end: var(--color-flash-dark-100);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@keyframes shimmer-anim {
|
|
112
|
+
0% {
|
|
113
|
+
background-position: -200% 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
100% {
|
|
117
|
+
background-position: 200% 0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.shimmer {
|
|
122
|
+
position: relative;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
background: var(--background-shimmer-light);
|
|
125
|
+
background-size: 200% 100%;
|
|
126
|
+
animation: shimmer-anim 2.5s infinite linear;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.dark .shimmer {
|
|
130
|
+
position: relative;
|
|
131
|
+
overflow: hidden;
|
|
132
|
+
background: var(--background-shimmer-dark);
|
|
133
|
+
background-size: 200% 100%;
|
|
134
|
+
animation: shimmer-anim 2.5s infinite linear;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@keyframes pop {
|
|
138
|
+
0% {
|
|
139
|
+
transform: scale(0);
|
|
140
|
+
opacity: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
100% {
|
|
144
|
+
transform: scale(1);
|
|
145
|
+
opacity: 1;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@keyframes pop-out {
|
|
150
|
+
0% {
|
|
151
|
+
transform: scale(1);
|
|
152
|
+
opacity: 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
100% {
|
|
156
|
+
transform: scale(0);
|
|
157
|
+
opacity: 0;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.animate-pop {
|
|
162
|
+
animation: pop 0.3s ease forwards;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.animate-pop-out {
|
|
166
|
+
animation: pop-out 0.1s ease forwards;
|
|
167
|
+
}
|
|
168
|
+
}
|