@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/components.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 {
|
|
@@ -3502,7 +3502,8 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
|
|
|
3502
3502
|
fact/tag/check lists -> site header -> site footer -> reveal on scroll */
|
|
3503
3503
|
/* Showcase components — modern site/marketing building blocks, pure CSS (no JavaScript).
|
|
3504
3504
|
Colors: Omnia palette tokens only (OKLCH), via the theme tokens of components.css.
|
|
3505
|
-
Accent per element: --oc-accent-from / --oc-accent-to (or an .oc-accent--* preset).
|
|
3505
|
+
Accent per element: --oc-accent-from / --oc-accent-to (or an .oc-accent--* preset).
|
|
3506
|
+
Accent as text color: in dark mode lifted to at least OKLCH L 0.72, so a dark custom accent stays readable. */
|
|
3506
3507
|
|
|
3507
3508
|
:root {
|
|
3508
3509
|
--oc-accent-from: var(--oc-brand-1);
|
|
@@ -3671,7 +3672,7 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
|
|
|
3671
3672
|
background:
|
|
3672
3673
|
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)),
|
|
3673
3674
|
var(--oc-card);
|
|
3674
|
-
color: var(--oc-accent-from);
|
|
3675
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
3675
3676
|
font-size: calc(var(--oc-tile-size) * 0.45);
|
|
3676
3677
|
line-height: 1;
|
|
3677
3678
|
}
|
|
@@ -3711,7 +3712,7 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
|
|
|
3711
3712
|
}
|
|
3712
3713
|
.oc-product-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-block-end: 0.75rem; }
|
|
3713
3714
|
.oc-product-card__name { margin: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
|
|
3714
|
-
.oc-product-card__tagline { margin: 0; color: var(--oc-accent-from); font-weight: 600; font-size: 0.95rem; }
|
|
3715
|
+
.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; }
|
|
3715
3716
|
.oc-product-card__summary { margin: 0; color: var(--oc-muted-foreground); font-size: 0.95rem; flex-grow: 1; }
|
|
3716
3717
|
.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; }
|
|
3717
3718
|
.oc-product-card__more::after { content: "→"; transition: translate 0.25s var(--oc-ease-out); }
|
|
@@ -3733,7 +3734,7 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
|
|
|
3733
3734
|
.oc-pill--accent {
|
|
3734
3735
|
border-color: oklch(from var(--oc-accent-from) l c h / 0.45);
|
|
3735
3736
|
background: oklch(from var(--oc-accent-from) l c h / 0.14);
|
|
3736
|
-
color: var(--oc-accent-from);
|
|
3737
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
3737
3738
|
}
|
|
3738
3739
|
.oc-status-dot {
|
|
3739
3740
|
inline-size: 0.5rem;
|
|
@@ -3775,7 +3776,7 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
|
|
|
3775
3776
|
var(--oc-card);
|
|
3776
3777
|
}
|
|
3777
3778
|
.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; }
|
|
3778
|
-
.oc-spotlight__tagline { color: var(--oc-accent-from); font-size: 1.2rem; font-weight: 600; }
|
|
3779
|
+
.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; }
|
|
3779
3780
|
.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; }
|
|
3780
3781
|
.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; }
|
|
3781
3782
|
|
|
@@ -3850,9 +3851,14 @@ details.oc-collapsible[open]::details-content { block-size: auto; }
|
|
|
3850
3851
|
}
|
|
3851
3852
|
@media (max-width: 860px) {
|
|
3852
3853
|
.oc-site-header__toggle { display: block; }
|
|
3854
|
+
/* The author rule display:flex above beats the UA rule that hides a closed popover. */
|
|
3855
|
+
.oc-site-header__nav[popover]:not(:popover-open) { display: none; }
|
|
3853
3856
|
.oc-site-header__nav[popover]:popover-open {
|
|
3854
3857
|
position: fixed;
|
|
3855
3858
|
inset: 4.5rem 0 auto;
|
|
3859
|
+
/* The UA popover style sizes to fit-content; let inset span the full width. */
|
|
3860
|
+
inline-size: auto;
|
|
3861
|
+
block-size: auto;
|
|
3856
3862
|
display: flex;
|
|
3857
3863
|
flex-direction: column;
|
|
3858
3864
|
align-items: stretch;
|
|
@@ -9346,7 +9352,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9346
9352
|
.oc-fact-list--stacked dd { text-align: start; }
|
|
9347
9353
|
|
|
9348
9354
|
/* Values in the accent color. */
|
|
9349
|
-
.oc-fact-list--accent dd { color: var(--oc-accent-from); }
|
|
9355
|
+
.oc-fact-list--accent dd { color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h)); }
|
|
9350
9356
|
|
|
9351
9357
|
/* Very narrow containers: wrap instead of squeezing label and value together. */
|
|
9352
9358
|
.oc-fact-list > div { flex-wrap: wrap; }
|
|
@@ -9374,7 +9380,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9374
9380
|
.oc-link-arrow--external:is(:hover, :focus-visible)::after { translate: 3px -3px; }
|
|
9375
9381
|
|
|
9376
9382
|
/* Colors: accent of the element, or muted text that turns to the foreground color on hover. */
|
|
9377
|
-
.oc-link-arrow--accent { color: var(--oc-accent-from); }
|
|
9383
|
+
.oc-link-arrow--accent { color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h)); }
|
|
9378
9384
|
.oc-link-arrow--muted { color: var(--oc-muted-foreground); font-weight: 500; transition: color 0.2s; }
|
|
9379
9385
|
.oc-link-arrow--muted:hover { color: var(--oc-foreground); }
|
|
9380
9386
|
|
|
@@ -9473,7 +9479,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9473
9479
|
}
|
|
9474
9480
|
.oc-next-teaser__tagline::after {
|
|
9475
9481
|
content: "→";
|
|
9476
|
-
color: var(--oc-accent-from);
|
|
9482
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9477
9483
|
transition: translate 0.25s var(--oc-ease-out);
|
|
9478
9484
|
}
|
|
9479
9485
|
|
|
@@ -9481,7 +9487,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9481
9487
|
.oc-next-teaser--prev .oc-next-teaser__tagline::after { content: none; }
|
|
9482
9488
|
.oc-next-teaser--prev .oc-next-teaser__tagline::before {
|
|
9483
9489
|
content: "←";
|
|
9484
|
-
color: var(--oc-accent-from);
|
|
9490
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9485
9491
|
transition: translate 0.25s var(--oc-ease-out);
|
|
9486
9492
|
}
|
|
9487
9493
|
|
|
@@ -9654,7 +9660,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9654
9660
|
.oc-product-mark--soft {
|
|
9655
9661
|
border: 1px solid color-mix(in oklch, var(--oc-accent-from) 40%, transparent);
|
|
9656
9662
|
background: color-mix(in oklch, var(--oc-accent-from) 16%, var(--oc-card));
|
|
9657
|
-
color: var(--oc-accent-from);
|
|
9663
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9658
9664
|
box-shadow: none;
|
|
9659
9665
|
}
|
|
9660
9666
|
|
|
@@ -9730,7 +9736,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9730
9736
|
padding: 0.2rem 0.6rem;
|
|
9731
9737
|
border-radius: 999px;
|
|
9732
9738
|
background: color-mix(in oklch, var(--oc-accent-from) 14%, transparent);
|
|
9733
|
-
color: var(--oc-accent-from);
|
|
9739
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9734
9740
|
font-size: 0.75rem;
|
|
9735
9741
|
font-weight: 600;
|
|
9736
9742
|
}
|
|
@@ -9751,7 +9757,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9751
9757
|
gap: 0.4rem;
|
|
9752
9758
|
margin-block-start: auto;
|
|
9753
9759
|
padding-block-start: 0.6rem;
|
|
9754
|
-
color: var(--oc-accent-from);
|
|
9760
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9755
9761
|
font-size: 0.9rem;
|
|
9756
9762
|
font-weight: 600;
|
|
9757
9763
|
}
|
|
@@ -9935,7 +9941,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9935
9941
|
display: inline-grid;
|
|
9936
9942
|
place-items: center;
|
|
9937
9943
|
inline-size: 1.1em;
|
|
9938
|
-
color: var(--oc-accent-from);
|
|
9944
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9939
9945
|
}
|
|
9940
9946
|
.oc-stack-list__icon > :is(img, svg) { inline-size: 100%; block-size: auto; }
|
|
9941
9947
|
|
|
@@ -9977,7 +9983,7 @@ a.oc-message__quote:focus-visible { outline: 2px solid var(--oc-ring); outline-o
|
|
|
9977
9983
|
/* Date or year label (use a <time> element when it is a real date).
|
|
9978
9984
|
Scoped under .oc-timeline so it wins over the showcase rules ".oc-timeline span / strong". */
|
|
9979
9985
|
.oc-timeline .oc-timeline__date {
|
|
9980
|
-
color: var(--oc-accent-from);
|
|
9986
|
+
color: light-dark(var(--oc-accent-from), oklch(from var(--oc-accent-from) max(l, 0.72) c h));
|
|
9981
9987
|
font-family: var(--oc-font-mono);
|
|
9982
9988
|
font-size: 0.85rem;
|
|
9983
9989
|
}
|