lombokcss 0.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.
@@ -0,0 +1,151 @@
1
+ /* ==========================================================================
2
+ LombokCSS — variables.css
3
+ Token architecture. Every component reads SEMANTIC tokens only.
4
+ Themes (data-style) and dark mode (data-theme) just re-map these tokens.
5
+ --------------------------------------------------------------------------
6
+ Naming: all tokens are namespaced `--lc-*` to avoid collisions.
7
+ ========================================================================== */
8
+
9
+ :root {
10
+ /* ---- Color primitives (raw palette) ---- */
11
+ --lc-white: #ffffff;
12
+ --lc-black: #0a0a0a;
13
+
14
+ /* ---- Semantic surface & text (LIGHT default = corporate-flat) ---- */
15
+ --lc-bg: #f6f7f9; /* page background */
16
+ --lc-surface: #ffffff; /* cards, modals, inputs */
17
+ --lc-surface-2: #f1f3f5; /* subtle raised / hover */
18
+ --lc-text: #1a1d21; /* primary text */
19
+ --lc-text-muted: #5b6470; /* secondary text */
20
+ --lc-text-faint: #8a93a0; /* placeholders, captions */
21
+ --lc-border: #e2e6ea; /* hairline borders */
22
+ --lc-border-strong:#c8cfd6;
23
+
24
+ /* ---- Brand / accent ---- */
25
+ --lc-accent: #3b82f6;
26
+ --lc-accent-hover: #2f6fe0;
27
+ --lc-accent-active: #2861c9;
28
+ --lc-accent-text: #ffffff; /* text on accent surface */
29
+ --lc-accent-soft: #e8f0fe; /* soft accent background */
30
+ --lc-accent-soft-text: #1f5fd1;
31
+ --lc-ring: rgba(59,130,246,.45); /* focus ring color */
32
+
33
+ /* ---- Status colors (bg / text / soft) ---- */
34
+ --lc-success: #16a34a; --lc-success-soft:#e7f6ec; --lc-success-text:#0f7a37;
35
+ --lc-warning: #d97706; --lc-warning-soft:#fdf0dd; --lc-warning-text:#a85d05;
36
+ --lc-danger: #dc2626; --lc-danger-soft: #fde8e8; --lc-danger-text: #b21d1d;
37
+ --lc-info: #0ea5e9; --lc-info-soft: #e3f5fd; --lc-info-text: #0b7fb4;
38
+
39
+ /* ---- Typography ---- */
40
+ --lc-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
41
+ --lc-font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
42
+ --lc-font-display: var(--lc-font-sans);
43
+
44
+ --lc-text-xs: .75rem;
45
+ --lc-text-sm: .875rem;
46
+ --lc-text-base: 1rem;
47
+ --lc-text-lg: 1.125rem;
48
+ --lc-text-xl: 1.25rem;
49
+ --lc-text-2xl: 1.5rem;
50
+ --lc-text-3xl: 1.875rem;
51
+ --lc-text-4xl: 2.25rem;
52
+
53
+ --lc-leading-tight: 1.2;
54
+ --lc-leading-normal: 1.55;
55
+ --lc-leading-relaxed: 1.75;
56
+
57
+ --lc-weight-normal: 400;
58
+ --lc-weight-medium: 500;
59
+ --lc-weight-semibold: 600;
60
+ --lc-weight-bold: 700;
61
+ --lc-tracking: 0; /* letter-spacing for body */
62
+
63
+ /* ---- Spacing scale (used by utilities + components) ---- */
64
+ --lc-space-0: 0;
65
+ --lc-space-1: .25rem;
66
+ --lc-space-2: .5rem;
67
+ --lc-space-3: .75rem;
68
+ --lc-space-4: 1rem;
69
+ --lc-space-5: 1.25rem;
70
+ --lc-space-6: 1.5rem;
71
+ --lc-space-8: 2rem;
72
+ --lc-space-10: 2.5rem;
73
+ --lc-space-12: 3rem;
74
+
75
+ /* ---- Radius ---- */
76
+ --lc-radius-sm: 6px;
77
+ --lc-radius: 10px;
78
+ --lc-radius-lg: 16px;
79
+ --lc-radius-full: 9999px;
80
+
81
+ /* ---- Borders ---- */
82
+ --lc-border-width: 1px;
83
+
84
+ /* ---- Shadows ---- */
85
+ --lc-shadow-sm: 0 1px 2px rgba(16,24,40,.06);
86
+ --lc-shadow: 0 4px 12px rgba(16,24,40,.08);
87
+ --lc-shadow-lg: 0 12px 32px rgba(16,24,40,.12);
88
+ /* hard-offset shadow only used by neo-brutalism, kept here for consistency */
89
+ --lc-shadow-hard: none;
90
+
91
+ /* ---- Glass tokens (inert unless a glass theme turns blur on) ---- */
92
+ --lc-blur: none; /* backdrop-filter value */
93
+ --lc-glass-tint: var(--lc-surface);
94
+ --lc-glass-border: var(--lc-border);
95
+
96
+ /* ---- Motion ---- */
97
+ --lc-transition: 160ms cubic-bezier(.4,0,.2,1);
98
+
99
+ /* ---- Layout ---- */
100
+ --lc-container: 1120px;
101
+ --lc-navbar-h: 60px;
102
+ --lc-z-base: 1;
103
+ --lc-z-dropdown: 1000;
104
+ --lc-z-sticky: 1020;
105
+ --lc-z-modal: 1050;
106
+ --lc-z-toast: 1080;
107
+ --lc-z-tooltip: 1090;
108
+ }
109
+
110
+ /* ==========================================================================
111
+ DARK MODE (color-token overlay) — applies to default + corporate + glass.
112
+ Themes that are intrinsically dark (resonant-stark) set their own values.
113
+ ========================================================================== */
114
+ @media (prefers-color-scheme: dark) {
115
+ :root:not([data-theme="light"]) {
116
+ --lc-bg: #0f1115;
117
+ --lc-surface: #171a21;
118
+ --lc-surface-2: #1f242d;
119
+ --lc-text: #e7eaee;
120
+ --lc-text-muted: #9aa4b2;
121
+ --lc-text-faint: #6b7480;
122
+ --lc-border: #2a2f3a;
123
+ --lc-border-strong:#3a404d;
124
+ --lc-accent-soft: #16263f;
125
+ --lc-accent-soft-text:#8ab4ff;
126
+ --lc-shadow-sm: 0 1px 2px rgba(0,0,0,.4);
127
+ --lc-shadow: 0 4px 12px rgba(0,0,0,.45);
128
+ --lc-shadow-lg: 0 12px 32px rgba(0,0,0,.55);
129
+ --lc-success-soft:#10241a; --lc-warning-soft:#2a1f0d;
130
+ --lc-danger-soft:#2a1414; --lc-info-soft:#0c2530;
131
+ --lc-success-text:#6ee7a0; --lc-warning-text:#fbbf24; --lc-danger-text:#fca5a5; --lc-info-text:#67d3f7;
132
+ }
133
+ }
134
+ [data-theme="dark"] {
135
+ --lc-bg: #0f1115;
136
+ --lc-surface: #171a21;
137
+ --lc-surface-2: #1f242d;
138
+ --lc-text: #e7eaee;
139
+ --lc-text-muted: #9aa4b2;
140
+ --lc-text-faint: #6b7480;
141
+ --lc-border: #2a2f3a;
142
+ --lc-border-strong:#3a404d;
143
+ --lc-accent-soft: #16263f;
144
+ --lc-accent-soft-text:#8ab4ff;
145
+ --lc-shadow-sm: 0 1px 2px rgba(0,0,0,.4);
146
+ --lc-shadow: 0 4px 12px rgba(0,0,0,.45);
147
+ --lc-shadow-lg: 0 12px 32px rgba(0,0,0,.55);
148
+ --lc-success-soft:#10241a; --lc-warning-soft:#2a1f0d;
149
+ --lc-danger-soft:#2a1414; --lc-info-soft:#0c2530;
150
+ --lc-success-text:#6ee7a0; --lc-warning-text:#fbbf24; --lc-danger-text:#fca5a5; --lc-info-text:#67d3f7;
151
+ }