@jdcpuwiz/homelab-ui 0.9.4 → 0.10.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/globals.css +22 -0
- package/package.json +1 -1
package/globals.css
CHANGED
|
@@ -144,6 +144,13 @@
|
|
|
144
144
|
--hl-font-display: var(--font-orbitron, "Orbitron"), var(--hl-font-sans);
|
|
145
145
|
--hl-font-mono: var(--font-jetbrains-mono, "JetBrains Mono"), ui-monospace,
|
|
146
146
|
"SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
147
|
+
|
|
148
|
+
/* Fleet placeholder colour (refile of C489, found on the zoo-nanny UI
|
|
149
|
+
standards review). Nothing in this file declared an input placeholder
|
|
150
|
+
colour, so every consumer leaked Tailwind preflight's gray-400
|
|
151
|
+
(#9ca3af) instead of the fleet #7d838d. Override at :root to re-skin,
|
|
152
|
+
like every other token. */
|
|
153
|
+
--hl-placeholder: #7d838d;
|
|
147
154
|
}
|
|
148
155
|
|
|
149
156
|
html {
|
|
@@ -159,3 +166,18 @@ body {
|
|
|
159
166
|
line-height: 1.5;
|
|
160
167
|
-webkit-font-smoothing: antialiased;
|
|
161
168
|
}
|
|
169
|
+
|
|
170
|
+
/* Tailwind preflight ships `input::placeholder, textarea::placeholder` —
|
|
171
|
+
specificity (0,0,2) counting the pseudo-element — so a same-shaped rule
|
|
172
|
+
only TIES it, and the tie is decided by source order. That's not safe
|
|
173
|
+
to rely on here: every consumer imports this file BEFORE their own
|
|
174
|
+
`@tailwind base` (see the file-header note above and the README), which
|
|
175
|
+
puts preflight's rule LATER in the compiled bundle — a same-shaped rule
|
|
176
|
+
from this file would lose every time, order deciding against it. Prepend
|
|
177
|
+
`:root` (a pseudo-CLASS, not a type selector) to reach (0,1,2), which
|
|
178
|
+
beats preflight outright and stops depending on import order at all. */
|
|
179
|
+
:root input::placeholder,
|
|
180
|
+
:root textarea::placeholder {
|
|
181
|
+
color: var(--hl-placeholder);
|
|
182
|
+
opacity: 1; /* Firefox dims placeholders with its own default opacity */
|
|
183
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jdcpuwiz/homelab-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Shared dark-theme UI primitives for the JdCpuWiz homelab \u2014 Sidebar, Button, Modal, PageHeader, TagChips, plus the canonical Tailwind preset, CSS vars, and the sanctioned three-face typography (Poppins / Orbitron / JetBrains Mono) on one flat #f0f1f4 text color.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Wiz <shad@deckerzoo.com>",
|