@birdycom/omniaui 0.11.1 → 0.11.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/dist/components.css +21 -15
- package/dist/components.min.css +1 -1
- package/dist/oc-theme.css +1 -1
- package/dist/parts/site-fact-list.css +1 -1
- package/dist/parts/site-link-arrow.css +1 -1
- package/dist/parts/site-next-teaser.css +2 -2
- package/dist/parts/site-product-mark.css +1 -1
- package/dist/parts/site-project-card.css +2 -2
- package/dist/parts/site-stack-list.css +1 -1
- package/dist/parts/site-timeline.css +1 -1
- package/dist/showcase.css +11 -5
- package/package.json +2 -2
package/dist/oc-theme.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* File: oc-theme.css — generated from tokens/semantic.json by @birdycom/omniacss 0.11.
|
|
1
|
+
/* File: oc-theme.css — generated from tokens/semantic.json by @birdycom/omniacss 0.11.2. Do not edit. */
|
|
2
2
|
/* Semantic theme tokens: every color is light-dark() of an Omnia palette token (oc-colors.css). */
|
|
3
3
|
/* Same source as the desktop export: npx omniacss tokens --format json|dtcg|python */
|
|
4
4
|
:root {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.oc-fact-list--stacked dd { text-align: start; }
|
|
20
20
|
|
|
21
21
|
/* Values in the accent color. */
|
|
22
|
-
.oc-fact-list--accent dd { color: var(--oc-accent-from); }
|
|
22
|
+
.oc-fact-list--accent dd { color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h)); }
|
|
23
23
|
|
|
24
24
|
/* Very narrow containers: wrap instead of squeezing label and value together. */
|
|
25
25
|
.oc-fact-list > div { flex-wrap: wrap; }
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.oc-link-arrow--external:is(:hover, :focus-visible)::after { translate: 3px -3px; }
|
|
21
21
|
|
|
22
22
|
/* Colors: accent of the element, or muted text that turns to the foreground color on hover. */
|
|
23
|
-
.oc-link-arrow--accent { color: var(--oc-accent-from); }
|
|
23
|
+
.oc-link-arrow--accent { color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h)); }
|
|
24
24
|
.oc-link-arrow--muted { color: var(--oc-muted-foreground); font-weight: 500; transition: color 0.2s; }
|
|
25
25
|
.oc-link-arrow--muted:hover { color: var(--oc-foreground); }
|
|
26
26
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
.oc-next-teaser__tagline::after {
|
|
49
49
|
content: "→";
|
|
50
|
-
color: var(--oc-accent-from);
|
|
50
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
51
51
|
transition: translate 0.25s var(--oc-ease-out);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
.oc-next-teaser--prev .oc-next-teaser__tagline::after { content: none; }
|
|
56
56
|
.oc-next-teaser--prev .oc-next-teaser__tagline::before {
|
|
57
57
|
content: "←";
|
|
58
|
-
color: var(--oc-accent-from);
|
|
58
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
59
59
|
transition: translate 0.25s var(--oc-ease-out);
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
.oc-product-mark--soft {
|
|
59
59
|
border: 1px solid color-mix(in oklch, var(--oc-accent-from) 40%, transparent);
|
|
60
60
|
background: color-mix(in oklch, var(--oc-accent-from) 16%, var(--oc-card));
|
|
61
|
-
color: var(--oc-accent-from);
|
|
61
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
62
62
|
box-shadow: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
padding: 0.2rem 0.6rem;
|
|
67
67
|
border-radius: 999px;
|
|
68
68
|
background: color-mix(in oklch, var(--oc-accent-from) 14%, transparent);
|
|
69
|
-
color: var(--oc-accent-from);
|
|
69
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
70
70
|
font-size: 0.75rem;
|
|
71
71
|
font-weight: 600;
|
|
72
72
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
gap: 0.4rem;
|
|
88
88
|
margin-block-start: auto;
|
|
89
89
|
padding-block-start: 0.6rem;
|
|
90
|
-
color: var(--oc-accent-from);
|
|
90
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
91
91
|
font-size: 0.9rem;
|
|
92
92
|
font-weight: 600;
|
|
93
93
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
display: inline-grid;
|
|
33
33
|
place-items: center;
|
|
34
34
|
inline-size: 1.1em;
|
|
35
|
-
color: var(--oc-accent-from);
|
|
35
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
36
36
|
}
|
|
37
37
|
.oc-stack-list__icon > :is(img, svg) { inline-size: 100%; block-size: auto; }
|
|
38
38
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
/* Date or year label (use a <time> element when it is a real date).
|
|
25
25
|
Scoped under .oc-timeline so it wins over the showcase rules ".oc-timeline span / strong". */
|
|
26
26
|
.oc-timeline .oc-timeline__date {
|
|
27
|
-
color: var(--oc-accent-from);
|
|
27
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
28
28
|
font-family: var(--oc-font-mono);
|
|
29
29
|
font-size: 0.85rem;
|
|
30
30
|
}
|
package/dist/showcase.css
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
fact/tag/check lists -> site header -> site footer -> reveal on scroll */
|
|
5
5
|
/* Showcase components — modern site/marketing building blocks, pure CSS (no JavaScript).
|
|
6
6
|
Colors: Omnia palette tokens only (OKLCH), via the theme tokens of components.css.
|
|
7
|
-
Accent per element: --oc-accent-from / --oc-accent-to (or an .oc-accent--* preset).
|
|
7
|
+
Accent per element: --oc-accent-from / --oc-accent-to (or an .oc-accent--* preset).
|
|
8
|
+
Accent as text color: in dark mode lifted to at least OKLCH L 0.72, so a dark custom accent stays readable. */
|
|
8
9
|
|
|
9
10
|
:root {
|
|
10
11
|
--oc-accent-from: var(--oc-brand-1);
|
|
@@ -173,7 +174,7 @@
|
|
|
173
174
|
background:
|
|
174
175
|
linear-gradient(135deg, oklch(from var(--oc-accent-from) l c h / 0.3), oklch(from var(--oc-accent-to) l c h / 0.18)),
|
|
175
176
|
var(--oc-card);
|
|
176
|
-
color: var(--oc-accent-from);
|
|
177
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
177
178
|
font-size: calc(var(--oc-tile-size) * 0.45);
|
|
178
179
|
line-height: 1;
|
|
179
180
|
}
|
|
@@ -213,7 +214,7 @@
|
|
|
213
214
|
}
|
|
214
215
|
.oc-product-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-block-end: 0.75rem; }
|
|
215
216
|
.oc-product-card__name { margin: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
|
|
216
|
-
.oc-product-card__tagline { margin: 0; color: var(--oc-accent-from); font-weight: 600; font-size: 0.95rem; }
|
|
217
|
+
.oc-product-card__tagline { margin: 0; color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h)); font-weight: 600; font-size: 0.95rem; }
|
|
217
218
|
.oc-product-card__summary { margin: 0; color: var(--oc-muted-foreground); font-size: 0.95rem; flex-grow: 1; }
|
|
218
219
|
.oc-product-card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-block-start: 0.75rem; font-weight: 600; font-size: 0.92rem; }
|
|
219
220
|
.oc-product-card__more::after { content: "→"; transition: translate 0.25s var(--oc-ease-out); }
|
|
@@ -235,7 +236,7 @@
|
|
|
235
236
|
.oc-pill--accent {
|
|
236
237
|
border-color: oklch(from var(--oc-accent-from) l c h / 0.45);
|
|
237
238
|
background: oklch(from var(--oc-accent-from) l c h / 0.14);
|
|
238
|
-
color: var(--oc-accent-from);
|
|
239
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
239
240
|
}
|
|
240
241
|
.oc-status-dot {
|
|
241
242
|
inline-size: 0.5rem;
|
|
@@ -277,7 +278,7 @@
|
|
|
277
278
|
var(--oc-card);
|
|
278
279
|
}
|
|
279
280
|
.oc-spotlight__title { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 0.5rem; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
|
|
280
|
-
.oc-spotlight__tagline { color: var(--oc-accent-from); font-size: 1.2rem; font-weight: 600; }
|
|
281
|
+
.oc-spotlight__tagline { color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h)); font-size: 1.2rem; font-weight: 600; }
|
|
281
282
|
.oc-spotlight__modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
|
|
282
283
|
.oc-spotlight__modules > li { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem; border: 1px solid var(--oc-border); border-radius: var(--oc-radius-md); background: var(--oc-surface); font-size: 0.95rem; }
|
|
283
284
|
|
|
@@ -352,9 +353,14 @@
|
|
|
352
353
|
}
|
|
353
354
|
@media (max-width: 860px) {
|
|
354
355
|
.oc-site-header__toggle { display: block; }
|
|
356
|
+
/* The author rule display:flex above beats the UA rule that hides a closed popover. */
|
|
357
|
+
.oc-site-header__nav[popover]:not(:popover-open) { display: none; }
|
|
355
358
|
.oc-site-header__nav[popover]:popover-open {
|
|
356
359
|
position: fixed;
|
|
357
360
|
inset: 4.5rem 0 auto;
|
|
361
|
+
/* The UA popover style sizes to fit-content; let inset span the full width. */
|
|
362
|
+
inline-size: auto;
|
|
363
|
+
block-size: auto;
|
|
358
364
|
display: flex;
|
|
359
365
|
flex-direction: column;
|
|
360
366
|
align-items: stretch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@birdycom/omniaui",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "OmniaUI components: CSS-first UI built on native HTML (dialog, popover, details) with light-dark() theming — no JavaScript required. Includes the omniaui CLI (add/list).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"omniaui": "./bin/omniaui.mjs"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@birdycom/omniacss": "^0.11.
|
|
59
|
+
"@birdycom/omniacss": "^0.11.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@birdycom/omniacss": {
|