@kolkrabbi/kol-theme 0.9.1 → 0.9.2
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/kol-color.css +5 -34
- package/package.json +1 -1
package/kol-color.css
CHANGED
|
@@ -73,42 +73,13 @@
|
|
|
73
73
|
|
|
74
74
|
/* =============================================================================
|
|
75
75
|
* DARK MODE
|
|
76
|
-
* Explicit dark-mode surface overrides ([data-theme="dark"], .dark)
|
|
77
|
-
*
|
|
78
|
-
*
|
|
76
|
+
* Explicit dark-mode surface overrides ([data-theme="dark"], .dark) come from
|
|
77
|
+
* kol-base-tokens.css. There is deliberately NO OS-preference auto-dark block:
|
|
78
|
+
* user ruling 2026-07-15 (ledger 2.4) — light mode first until migration
|
|
79
|
+
* completion; theme is decided only by an explicit data-theme. Reinstating
|
|
80
|
+
* OS-follow is a user ruling, not a cleanup.
|
|
79
81
|
* ============================================================================= */
|
|
80
82
|
|
|
81
|
-
/* =============================================================================
|
|
82
|
-
* SYSTEM PREFERENCE (Automatic Dark Mode)
|
|
83
|
-
*
|
|
84
|
-
* KEPT deliberately (ruling applied 2026-07-15, ledger-2.0 #2.4): KOL policy
|
|
85
|
-
* is light-first + FOLLOW-SYSTEM — an undecided page respects the visitor's
|
|
86
|
-
* OS preference; an explicit choice (app-set data-theme or a saved toggle)
|
|
87
|
-
* always wins because [data-theme="light"] opts out of this block and
|
|
88
|
-
* [data-theme="dark"] doesn't need it. A repo wanting hard light-always
|
|
89
|
-
* stamps data-theme="light" at boot — that's the per-repo seam, not a theme
|
|
90
|
-
* edit. ThemeToggle + useTheme implement the same policy JS-side.
|
|
91
|
-
* ============================================================================= */
|
|
92
|
-
|
|
93
|
-
@media (prefers-color-scheme: dark) {
|
|
94
|
-
:root:not([data-theme="light"]) {
|
|
95
|
-
--kol-link: #60A5FA;
|
|
96
|
-
--kol-link-hover: #93C5FD;
|
|
97
|
-
|
|
98
|
-
--kol-surface-primary: #121215;
|
|
99
|
-
--kol-surface-on-primary: #FAFAFA;
|
|
100
|
-
|
|
101
|
-
--kol-surface-secondary: #19191D;
|
|
102
|
-
--kol-surface-on-secondary: #F8F8F8;
|
|
103
|
-
|
|
104
|
-
--kol-surface-tertiary: #0E0E11;
|
|
105
|
-
--kol-surface-on-tertiary: #FFFFFF;
|
|
106
|
-
|
|
107
|
-
--kol-surface-inverse: #FCFBF8;
|
|
108
|
-
--kol-surface-on-inverse: #0E0E11;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
83
|
/* =============================================================================
|
|
113
84
|
* BASE ANCHOR RULE — unstyled links get the link color. Sits in the
|
|
114
85
|
* components layer, so any utility class or later-loading chrome sheet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|