@luxflow/tokens 0.2.1 → 1.1.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/README.md +82 -10
- package/package.json +7 -6
- package/src/compat.css +4 -1
- package/src/contract.css +126 -0
- package/src/theme.template.css +237 -100
- package/src/vendor-themes.css +0 -723
- package/src/vendor-variables.css +0 -98
package/src/vendor-variables.css
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/* Extended CSS Variables - Factorized values */
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
/* Animation variables - centralized timing */
|
|
5
|
-
--animation-duration: 0.2s;
|
|
6
|
-
--animation-duration-slow: 0.3s;
|
|
7
|
-
--animation-duration-fast: 0.15s;
|
|
8
|
-
--animation-easing: ease;
|
|
9
|
-
--animation-easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
10
|
-
--animation-easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
|
|
11
|
-
|
|
12
|
-
/* Shadow variables - consistent elevation */
|
|
13
|
-
--shadow-1: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
14
|
-
--shadow-2: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
|
15
|
-
--shadow-3: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
16
|
-
--shadow-4: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
17
|
-
--shadow-5: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
18
|
-
--shadow-6: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
19
|
-
|
|
20
|
-
/* Z-index scale - consistent layering */
|
|
21
|
-
--z-dropdown: 1000;
|
|
22
|
-
--z-sticky: 1020;
|
|
23
|
-
--z-fixed: 1030;
|
|
24
|
-
--z-modal-backdrop: 1040;
|
|
25
|
-
--z-modal: 1050;
|
|
26
|
-
--z-popover: 1060;
|
|
27
|
-
--z-tooltip: 1070;
|
|
28
|
-
--z-toast: 1080;
|
|
29
|
-
|
|
30
|
-
/* Border variables */
|
|
31
|
-
--border-width: 1px;
|
|
32
|
-
--border-width-thick: 2px;
|
|
33
|
-
--border-style: solid;
|
|
34
|
-
|
|
35
|
-
/* Opacity scale */
|
|
36
|
-
--opacity-disabled: 0.5;
|
|
37
|
-
--opacity-hover: 0.8;
|
|
38
|
-
--opacity-pressed: 0.9;
|
|
39
|
-
|
|
40
|
-
/* Transition patterns */
|
|
41
|
-
--transition-colors: color var(--animation-duration) var(--animation-easing),
|
|
42
|
-
background-color var(--animation-duration) var(--animation-easing),
|
|
43
|
-
border-color var(--animation-duration) var(--animation-easing);
|
|
44
|
-
|
|
45
|
-
--transition-transform: transform var(--animation-duration) var(--animation-easing);
|
|
46
|
-
|
|
47
|
-
--transition-opacity: opacity var(--animation-duration) var(--animation-easing);
|
|
48
|
-
|
|
49
|
-
--transition-all: all var(--animation-duration) var(--animation-easing);
|
|
50
|
-
|
|
51
|
-
/* Status colors - semantic meaning */
|
|
52
|
-
--color-success: #4ade80;
|
|
53
|
-
--color-success-bg: rgba(34, 197, 94, 0.15);
|
|
54
|
-
|
|
55
|
-
--color-warning: #fbbf24;
|
|
56
|
-
--color-warning-bg: rgba(245, 158, 11, 0.15);
|
|
57
|
-
|
|
58
|
-
--color-error: #f87171;
|
|
59
|
-
--color-error-bg: rgba(239, 68, 68, 0.15);
|
|
60
|
-
|
|
61
|
-
--color-info: #60a5fa;
|
|
62
|
-
--color-info-bg: rgba(59, 130, 246, 0.15);
|
|
63
|
-
|
|
64
|
-
/* Component sizing scale */
|
|
65
|
-
--size-xs: 1.5rem; /* 24px */
|
|
66
|
-
--size-sm: 2rem; /* 32px */
|
|
67
|
-
--size-md: 2.5rem; /* 40px */
|
|
68
|
-
--size-lg: 3rem; /* 48px */
|
|
69
|
-
--size-xl: 3.5rem; /* 56px */
|
|
70
|
-
--size-2xl: 4rem; /* 64px */
|
|
71
|
-
|
|
72
|
-
/* Content width constraints */
|
|
73
|
-
--content-width-xs: 20rem; /* 320px */
|
|
74
|
-
--content-width-sm: 24rem; /* 384px */
|
|
75
|
-
--content-width-md: 28rem; /* 448px */
|
|
76
|
-
--content-width-lg: 32rem; /* 512px */
|
|
77
|
-
--content-width-xl: 36rem; /* 576px */
|
|
78
|
-
--content-width-2xl: 42rem; /* 672px */
|
|
79
|
-
--content-width-3xl: 48rem; /* 768px */
|
|
80
|
-
--content-width-4xl: 56rem; /* 896px */
|
|
81
|
-
--content-width-5xl: 64rem; /* 1024px */
|
|
82
|
-
--content-width-6xl: 72rem; /* 1152px */
|
|
83
|
-
--content-width-7xl: 80rem; /* 1280px */
|
|
84
|
-
|
|
85
|
-
/* Aspect ratios */
|
|
86
|
-
--aspect-square: 1 / 1;
|
|
87
|
-
--aspect-video: 16 / 9;
|
|
88
|
-
--aspect-photo: 4 / 3;
|
|
89
|
-
--aspect-golden: 1.618 / 1;
|
|
90
|
-
|
|
91
|
-
/* Line heights - typography scale */
|
|
92
|
-
--leading-none: 1;
|
|
93
|
-
--leading-tight: 1.25;
|
|
94
|
-
--leading-snug: 1.375;
|
|
95
|
-
--leading-normal: 1.5;
|
|
96
|
-
--leading-relaxed: 1.625;
|
|
97
|
-
--leading-loose: 2;
|
|
98
|
-
}
|