@pepperui/css 2.0.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.
- package/README.md +123 -0
- package/dist/pepper-ui.css +5024 -0
- package/package.json +38 -0
- package/src/base.css +96 -0
- package/src/components/alert-dialog.css +50 -0
- package/src/components/alert.css +75 -0
- package/src/components/avatar.css +47 -0
- package/src/components/badge.css +61 -0
- package/src/components/breadcrumb.css +40 -0
- package/src/components/bullet-list.css +58 -0
- package/src/components/button-group.css +51 -0
- package/src/components/button.css +165 -0
- package/src/components/calendar.css +118 -0
- package/src/components/card.css +114 -0
- package/src/components/chat.css +473 -0
- package/src/components/checkbox.css +105 -0
- package/src/components/collapsible.css +121 -0
- package/src/components/combobox.css +71 -0
- package/src/components/command.css +62 -0
- package/src/components/date-picker.css +45 -0
- package/src/components/dialog.css +105 -0
- package/src/components/dropdown-menu.css +93 -0
- package/src/components/empty.css +67 -0
- package/src/components/field.css +68 -0
- package/src/components/footer.css +122 -0
- package/src/components/heading-pair.css +57 -0
- package/src/components/icon-button.css +29 -0
- package/src/components/icon-list.css +65 -0
- package/src/components/input-group.css +92 -0
- package/src/components/input.css +84 -0
- package/src/components/insight-block.css +63 -0
- package/src/components/item.css +67 -0
- package/src/components/kbd.css +36 -0
- package/src/components/kpi-tile.css +104 -0
- package/src/components/label.css +22 -0
- package/src/components/layout-utilities.css +115 -0
- package/src/components/logo-grid.css +125 -0
- package/src/components/native-select.css +78 -0
- package/src/components/navigation-menu.css +123 -0
- package/src/components/pagination.css +35 -0
- package/src/components/popover.css +48 -0
- package/src/components/progress.css +42 -0
- package/src/components/questionnaire.css +51 -0
- package/src/components/radio.css +41 -0
- package/src/components/select.css +179 -0
- package/src/components/sheet.css +67 -0
- package/src/components/sidebar.css +108 -0
- package/src/components/skeleton.css +38 -0
- package/src/components/slider.css +117 -0
- package/src/components/spinner.css +32 -0
- package/src/components/states.css +54 -0
- package/src/components/stepper.css +76 -0
- package/src/components/switch.css +98 -0
- package/src/components/table.css +139 -0
- package/src/components/tabs.css +104 -0
- package/src/components/textarea.css +16 -0
- package/src/components/toast.css +78 -0
- package/src/components/toggle-group.css +22 -0
- package/src/components/toggle.css +86 -0
- package/src/components/tooltip.css +54 -0
- package/src/components/topbar.css +36 -0
- package/src/components/typography.css +83 -0
- package/src/ground.css +78 -0
- package/src/index.css +77 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* footer.css — Footer (10_COMPONENTS.md § Shells and patterns).
|
|
2
|
+
*
|
|
3
|
+
* The site's dark card at the bottom of every page (global-2026.css:636 .footer-2026; S4's Footer 2116:5772 at
|
|
4
|
+
* 1296 × 366): surface/inverse at radius/16, padding space/64, three columns at space/40 — Menu, Terms over
|
|
5
|
+
* Subscription (three links; a heading, the social marks, the email field with its Subscribe button), the badges filling
|
|
6
|
+
* the rest, centred. Headings 14 SemiBold in nav/section/fg (the site's 600), links 14 Regular in nav/item/fg
|
|
7
|
+
* (neutral-300 for the site's 200 — stated), white on hover; the email field a 36-tall box at radius/8 in
|
|
8
|
+
* color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated), and its Subscribe
|
|
9
|
+
* button the field's own — 12 Regular on a 1.2 line in text/default on text/on-inverse, space/4 × space/8, radius/4, 22 tall —
|
|
10
|
+
* not the Button component. Web only. Figma 265:10. Contract: registry/footer/registry.json.
|
|
11
|
+
* 2.5.10 (2026-09-18): the field was drawn as a pill with the small Button in it and the headings at 500 from 2.2 on;
|
|
12
|
+
* the design lead's built footer (the prototypes' styles.css and the site's global-2026.css) is the spec, and the
|
|
13
|
+
* library's Footer already drew the box — the class keeps its 1.0 name, `__pill`.
|
|
14
|
+
* Every text inside states its own size, weight and line-height (2.4.2, Finding 43): on the production site the heading is an
|
|
15
|
+
* <h4> under Bootstrap's heading scale and the body is 20 px / 300 (layout.min.css) — inherited values are the consumer's.
|
|
16
|
+
*
|
|
17
|
+
* <footer class="pui-footer">
|
|
18
|
+
* <div class="pui-footer__column"><p class="pui-footer__heading">Menu</p><a class="pui-footer__link" href="…">Case studies</a> …</div>
|
|
19
|
+
* <div class="pui-footer__column pui-footer__column--stack"> …Terms… <div><p class="pui-footer__heading">Subscription</p>
|
|
20
|
+
* <label class="pui-footer__pill"><input placeholder="Enter your email"><button class="pui-footer__subscribe">Subscribe</button></label></div></div>
|
|
21
|
+
* <div class="pui-footer__badges"> …img… </div></footer>
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
.pui-footer {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
gap: var(--pui-space-40);
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
width: 100%;
|
|
30
|
+
padding: var(--pui-space-64);
|
|
31
|
+
border-radius: var(--pui-radius-16);
|
|
32
|
+
background: var(--pui-surface-inverse);
|
|
33
|
+
color: var(--pui-nav-item-fg);
|
|
34
|
+
font-family: var(--pui-font-family);
|
|
35
|
+
font-size: var(--pui-font-size-14);
|
|
36
|
+
font-weight: var(--pui-font-weight-400); /* stated: a consumer's body may be 300 (layout.min.css) — the pill's input inherited it (Finding 43) */
|
|
37
|
+
line-height: var(--pui-font-line-height-normal);
|
|
38
|
+
}
|
|
39
|
+
.pui-footer__column { display: flex; flex-direction: column; gap: var(--pui-space-4); flex: none; }
|
|
40
|
+
.pui-footer__column--stack { gap: var(--pui-space-32); }
|
|
41
|
+
.pui-footer__column--stack > div { display: flex; flex-direction: column; gap: var(--pui-space-4); }
|
|
42
|
+
.pui-footer__heading {
|
|
43
|
+
margin: 0;
|
|
44
|
+
color: var(--pui-nav-section-fg);
|
|
45
|
+
font-size: var(--pui-font-size-14); /* stated, not inherited: on a Bootstrap page an <h4> heading takes its h4 scale (2.4.2, Finding 43) */
|
|
46
|
+
font-weight: var(--pui-font-weight-600); /* the site's 600 (2.5.10) */
|
|
47
|
+
line-height: var(--pui-font-line-height-loose); /* the site's 1.7 — 24 tall (2.5.10) */
|
|
48
|
+
}
|
|
49
|
+
.pui-footer__link {
|
|
50
|
+
color: var(--pui-nav-item-fg);
|
|
51
|
+
font-size: var(--pui-font-size-14); /* stated: the site's <li> carries its own size (Finding 43) */
|
|
52
|
+
font-weight: var(--pui-font-weight-400);
|
|
53
|
+
line-height: var(--pui-font-line-height-relaxed); /* the site's 1.5 — rows 21 + space/4 = its 25 pitch (2.5.10) */
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
transition: color var(--pui-motion-state) var(--pui-motion-easing);
|
|
56
|
+
}
|
|
57
|
+
/* links in a list (the site's <ul class="footer__links">) keep the column's space/4 between rows */
|
|
58
|
+
.pui-footer__links { display: flex; flex-direction: column; gap: var(--pui-space-4); margin: 0; padding: 0; list-style: none; }
|
|
59
|
+
.pui-footer__link:hover { color: var(--pui-nav-item-fg-active); }
|
|
60
|
+
.pui-footer__link:focus-visible { outline: none; border-radius: var(--pui-radius-4); box-shadow: var(--pui-ring); }
|
|
61
|
+
.pui-footer__socials { display: flex; gap: var(--pui-space-12); margin-top: var(--pui-space-8); }
|
|
62
|
+
.pui-footer__pill { /* the email field — a box since 2.5.10; the name is 1.0's */
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: var(--pui-space-8);
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
height: var(--pui-size-control-medium);
|
|
68
|
+
margin-top: var(--pui-space-8);
|
|
69
|
+
padding: calc(var(--pui-space-4) - 1px) calc(var(--pui-space-8) - 1px) calc(var(--pui-space-4) - 1px) calc(var(--pui-space-12) - 1px);
|
|
70
|
+
border: 1px solid var(--pui-nav-item-bg-active);
|
|
71
|
+
border-radius: var(--pui-radius-8);
|
|
72
|
+
background: var(--pui-color-alpha-white-8);
|
|
73
|
+
}
|
|
74
|
+
.pui-footer__pill > input {
|
|
75
|
+
flex: 1 1 auto;
|
|
76
|
+
min-width: 0;
|
|
77
|
+
margin: 0;
|
|
78
|
+
padding: 0;
|
|
79
|
+
border: 0;
|
|
80
|
+
background: transparent;
|
|
81
|
+
color: var(--pui-nav-item-fg-active);
|
|
82
|
+
font-family: inherit;
|
|
83
|
+
font-size: var(--pui-font-size-12);
|
|
84
|
+
font-weight: var(--pui-font-weight-400);
|
|
85
|
+
line-height: var(--pui-font-line-height-normal);
|
|
86
|
+
outline: none;
|
|
87
|
+
}
|
|
88
|
+
.pui-footer__pill > input::placeholder { color: var(--pui-nav-section-fg); opacity: 1; }
|
|
89
|
+
/* 3.5.2 — the input clears its outline; the ring goes on the field. border/focus reads 3.72 against
|
|
90
|
+
surface/inverse, the footer's ground. */
|
|
91
|
+
.pui-footer__pill:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
92
|
+
/* The field's own Subscribe button (2.5.10, Figma 265:36): 12 Regular text/default on text/on-inverse, space/4 × space/8,
|
|
93
|
+
radius/4, on a 1.2 line so it is the site's 22 tall — the site's mini button, not the Button component (28 at its smallest). */
|
|
94
|
+
.pui-footer__subscribe {
|
|
95
|
+
flex: none;
|
|
96
|
+
margin: 0;
|
|
97
|
+
padding: var(--pui-space-4) var(--pui-space-8);
|
|
98
|
+
border: 0;
|
|
99
|
+
border-radius: var(--pui-radius-4);
|
|
100
|
+
background: var(--pui-text-on-inverse);
|
|
101
|
+
color: var(--pui-text-default);
|
|
102
|
+
font-family: inherit;
|
|
103
|
+
font-size: var(--pui-font-size-12);
|
|
104
|
+
font-weight: var(--pui-font-weight-400);
|
|
105
|
+
line-height: var(--pui-font-line-height-tight); /* the site's 14 px line on a 12 label — 22 tall (2.5.10) */
|
|
106
|
+
white-space: nowrap;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
}
|
|
109
|
+
.pui-footer__subscribe:disabled { opacity: 0.5; pointer-events: none; }
|
|
110
|
+
/* the inset ring: 4 px of field around a 25-tall button leaves the outer ring on the field's own dark fill, where its
|
|
111
|
+
change read 2.97 against 2.4.13's 3 (2.5.10); inside the white button it is the ring every clipped control takes */
|
|
112
|
+
.pui-footer__subscribe:focus-visible { outline: none; box-shadow: var(--pui-ring-inset); }
|
|
113
|
+
.pui-footer__badges {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex: 1 1 auto;
|
|
116
|
+
flex-wrap: wrap;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
align-self: stretch;
|
|
120
|
+
gap: var(--pui-space-24);
|
|
121
|
+
}
|
|
122
|
+
.pui-footer__badges > img { display: block; max-height: 64px; width: auto; }
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* heading-pair.css — Heading pair (10_COMPONENTS.md § Content blocks).
|
|
2
|
+
*
|
|
3
|
+
* A title and the line under it. Slide: Paggy's heading pair — the H1 in ink (headline/large: 66 on a slide, 65 web),
|
|
4
|
+
* the H2 subtitle headline/medium at Medium on accent/heading (the accent's light tint; grey on yellow and multicolor
|
|
5
|
+
* — U12 as the token). Web: the site's page head — an uppercase eyebrow (body/large, 6 % tracking, text/subtle — the build record's ink, Finding 51),
|
|
6
|
+
* the title, a lead line (body/large text/muted). Gap space/16. 64 below the pair before content is the layout's.
|
|
7
|
+
* Figma 157:15. Contract: registry/heading-pair/registry.json.
|
|
8
|
+
*
|
|
9
|
+
* <header class="pui-heading-pair"><h1 class="pui-heading-pair__title">Who is Mobupps</h1>
|
|
10
|
+
* <p class="pui-heading-pair__subtitle">Powered by verified MAFO performance</p></header>
|
|
11
|
+
* <header class="pui-heading-pair pui-heading-pair--web"><p class="pui-heading-pair__eyebrow">About us</p> …title, subtitle… </header>
|
|
12
|
+
*
|
|
13
|
+
* Style (none) slide · --web
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
.pui-heading-pair {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: var(--pui-space-16);
|
|
20
|
+
color: var(--pui-text-default);
|
|
21
|
+
font-family: var(--pui-font-family);
|
|
22
|
+
}
|
|
23
|
+
.pui-heading-pair__title {
|
|
24
|
+
margin: 0;
|
|
25
|
+
font-size: var(--pui-type-headline-large-font-size);
|
|
26
|
+
font-weight: var(--pui-type-headline-large-font-weight);
|
|
27
|
+
line-height: var(--pui-type-headline-large-line-height);
|
|
28
|
+
letter-spacing: var(--pui-type-headline-large-letter-spacing);
|
|
29
|
+
}
|
|
30
|
+
.pui-heading-pair__subtitle {
|
|
31
|
+
margin: 0;
|
|
32
|
+
color: var(--pui-accent-heading);
|
|
33
|
+
font-size: var(--pui-type-headline-medium-font-size);
|
|
34
|
+
font-weight: var(--pui-font-weight-500);
|
|
35
|
+
line-height: var(--pui-type-headline-medium-line-height);
|
|
36
|
+
/* D110 (2026-09-17): on a slide headline/medium is the deck's H2_46 — 46, tracked −0.46, the same −1 % the title carries;
|
|
37
|
+
on the web the role's tracking is 0, so nothing moves there. */
|
|
38
|
+
letter-spacing: var(--pui-type-headline-medium-letter-spacing);
|
|
39
|
+
}
|
|
40
|
+
.pui-heading-pair__eyebrow {
|
|
41
|
+
margin: 0;
|
|
42
|
+
/* text/subtle — the ink the component was built to (10_COMPONENTS.md:135: "uppercase Eyebrow on body/large
|
|
43
|
+
with 6% tracking in text/subtle"). It shipped text/muted; corrected in 2.4.6 (Finding 51). The site draws
|
|
44
|
+
neutral/300, which is text/disabled's value and scores 2.09 on white against the 3.0 large-text floor. */
|
|
45
|
+
color: var(--pui-text-subtle);
|
|
46
|
+
font-size: var(--pui-type-body-large-font-size);
|
|
47
|
+
font-weight: var(--pui-font-weight-400);
|
|
48
|
+
line-height: var(--pui-font-line-height-normal);
|
|
49
|
+
letter-spacing: var(--pui-font-letter-spacing-wide);
|
|
50
|
+
text-transform: uppercase;
|
|
51
|
+
}
|
|
52
|
+
.pui-heading-pair--web .pui-heading-pair__subtitle {
|
|
53
|
+
color: var(--pui-text-muted);
|
|
54
|
+
font-size: var(--pui-type-body-large-font-size);
|
|
55
|
+
font-weight: var(--pui-font-weight-400);
|
|
56
|
+
line-height: var(--pui-font-line-height-normal);
|
|
57
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* icon-button.css — Icon button · - secondary · - ghost (10_COMPONENTS.md § Actions).
|
|
2
|
+
*
|
|
3
|
+
* A button that is only its icon: Button's tokens on a square whose side is the control height — 28 / 36 / 44
|
|
4
|
+
* (Button's small / medium / large, Input's heights) with the glyph at 16 / 16 / 24; Material keeps it its own
|
|
5
|
+
* component (Type round / square), shadcn sizes it icon-sm 32 · icon 36 · icon-lg 40. Figma: 70:92 · 71:122 (secondary)
|
|
6
|
+
* · 72:152 (ghost) — Shape × Size × five states, an Icon swap. Contract: registry/icon-button/registry.json.
|
|
7
|
+
* The chrome (fills, states, variants) is button.css — every selector there is paired with `.pui-icon-button`.
|
|
8
|
+
*
|
|
9
|
+
* <button class="pui-icon-button pui-icon-button--ghost" aria-label="Close">
|
|
10
|
+
* <span class="pui-icon">…lucide x…</span></button>
|
|
11
|
+
*
|
|
12
|
+
* Shape (none) square, radius 8 · --round, radius full — for the one floating action, never the default
|
|
13
|
+
* Size --small 28 · (none) medium 36 · --large 44 (icon 24)
|
|
14
|
+
* Variant (none) primary · --secondary · --ghost · --danger
|
|
15
|
+
* Rule no label: aria-label in the markup and a Tooltip on hover — both, always.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
.pui-icon-button {
|
|
19
|
+
flex: none;
|
|
20
|
+
width: var(--pui-size-control-medium);
|
|
21
|
+
height: var(--pui-size-control-medium);
|
|
22
|
+
min-height: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
}
|
|
25
|
+
.pui-icon-button--round { border-radius: var(--pui-radius-full); }
|
|
26
|
+
.pui-icon-button--small { width: var(--pui-size-control-small); height: var(--pui-size-control-small); }
|
|
27
|
+
.pui-icon-button--large { width: var(--pui-size-control-large); height: var(--pui-size-control-large); }
|
|
28
|
+
.pui-icon-button > .pui-icon { width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); }
|
|
29
|
+
.pui-icon-button--large > .pui-icon { width: var(--pui-size-icon-24); height: var(--pui-size-icon-24); }
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* icon-list.css — Icon list (10_COMPONENTS.md § Content blocks).
|
|
2
|
+
*
|
|
3
|
+
* A row with a glyph and a point — Paggy's Icon list (the L2 / L2C rows), the site's .icon-list, the concepts'
|
|
4
|
+
* supporting lists. The glyph is the accent's LIGHT tint (icon-list/ink — red 300, blue 300, yellow keeps its main;
|
|
5
|
+
* Fedor 2026-08-10), never the accent itself; success and danger rows carry the status solids; a neutral row is ink.
|
|
6
|
+
* One colour per list on a blue, red or yellow slide; on a multicolor slide the deck cycles the glyphs red, yellow,
|
|
7
|
+
* blue, grey row by row (Paggy's seq_accent). Box: padding space/12, gap space/12, radius 8 (the sources' 9 — stated); the glyph sits 2 px
|
|
8
|
+
* down (the site's nudge). Medium = Title body/large Medium + Text body/small; small = one line body/medium. Rows stack
|
|
9
|
+
* at gap 0 — the padding is the rhythm. Figma 149:81. Contract: registry/icon-list/registry.json.
|
|
10
|
+
*
|
|
11
|
+
* <ul class="pui-icon-list">
|
|
12
|
+
* <li class="pui-icon-list__row"><span class="pui-icon pui-icon--24 pui-icon-list__icon">…</span>
|
|
13
|
+
* <div class="pui-icon-list__texts"><p class="pui-icon-list__title">Verified traffic</p><p class="pui-icon-list__text">…</p></div></li>
|
|
14
|
+
* <li class="pui-icon-list__row pui-icon-list__row--success">…</li></ul>
|
|
15
|
+
*
|
|
16
|
+
* Size (none) medium · --small (on the list)
|
|
17
|
+
* Tone (none) accent · __row--success · __row--danger · __row--neutral
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
.pui-icon-list {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
gap: 0;
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
list-style: none;
|
|
27
|
+
color: var(--pui-text-default);
|
|
28
|
+
font-family: var(--pui-font-family);
|
|
29
|
+
}
|
|
30
|
+
.pui-icon-list__row {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: flex-start;
|
|
33
|
+
gap: var(--pui-space-12);
|
|
34
|
+
padding: var(--pui-space-12);
|
|
35
|
+
border-radius: var(--pui-radius-8);
|
|
36
|
+
}
|
|
37
|
+
.pui-icon-list__icon {
|
|
38
|
+
flex: none;
|
|
39
|
+
width: var(--pui-size-icon-24);
|
|
40
|
+
height: var(--pui-size-icon-24);
|
|
41
|
+
margin-top: var(--pui-space-2);
|
|
42
|
+
color: var(--pui-icon-list-ink);
|
|
43
|
+
}
|
|
44
|
+
.pui-icon-list__row--success .pui-icon-list__icon { color: var(--pui-status-success-solid); }
|
|
45
|
+
.pui-icon-list__row--danger .pui-icon-list__icon { color: var(--pui-status-danger-solid); }
|
|
46
|
+
.pui-icon-list__row--neutral .pui-icon-list__icon { color: var(--pui-text-default); }
|
|
47
|
+
.pui-icon-list__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
|
|
48
|
+
.pui-icon-list__title {
|
|
49
|
+
margin: 0;
|
|
50
|
+
font-size: var(--pui-type-body-large-font-size);
|
|
51
|
+
font-weight: var(--pui-font-weight-500);
|
|
52
|
+
line-height: var(--pui-font-line-height-normal);
|
|
53
|
+
}
|
|
54
|
+
.pui-icon-list__text {
|
|
55
|
+
margin: 0;
|
|
56
|
+
font-size: var(--pui-type-body-small-font-size);
|
|
57
|
+
font-weight: var(--pui-font-weight-400);
|
|
58
|
+
line-height: var(--pui-font-line-height-normal);
|
|
59
|
+
}
|
|
60
|
+
.pui-icon-list--small .pui-icon-list__icon { margin-top: 0; }
|
|
61
|
+
.pui-icon-list--small .pui-icon-list__title {
|
|
62
|
+
font-size: var(--pui-type-body-medium-font-size);
|
|
63
|
+
font-weight: var(--pui-font-weight-400);
|
|
64
|
+
}
|
|
65
|
+
.pui-icon-list--small .pui-icon-list__text { display: none; }
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* input-group.css — Input group (10_COMPONENTS.md § Forms).
|
|
2
|
+
*
|
|
3
|
+
* Input with company — a prefix, a suffix, a leading icon, a button — inside one box that behaves like Input. The
|
|
4
|
+
* site's `.subscribe-field` (blog-article.css:730 — the shared 'white box = email input + black submit') made general:
|
|
5
|
+
* gap 8, padding 4 · 4 · 4 · 12 (D47: a nested control sits at one equal inset — 4 — on top, bottom and right), white,
|
|
6
|
+
* a 1 px border, radius 8, elevation/flat; the input inside is transparent and borderless; the button is the primary
|
|
7
|
+
* Button one size below the box at radius 4 (D47). shadcn input-group.tsx gives the API (D17). Figma 215:182: Size ×
|
|
8
|
+
* five states on the box. Contract: registry/input-group/registry.json.
|
|
9
|
+
*
|
|
10
|
+
* <label class="pui-input-group">
|
|
11
|
+
* <span class="pui-icon pui-input-group__icon">…search…</span>
|
|
12
|
+
* <span class="pui-input-group__prefix">https://</span>
|
|
13
|
+
* <input class="pui-input-group__control" type="text" placeholder="Your email">
|
|
14
|
+
* <span class="pui-input-group__suffix">.com</span>
|
|
15
|
+
* <button class="pui-button pui-button--small pui-input-group__button">Subscribe</button>
|
|
16
|
+
* </label>
|
|
17
|
+
*
|
|
18
|
+
* Size --small 28 (12 px, no button — no 20 px Button exists) · (none) medium 36 (button small) · --large 44
|
|
19
|
+
* (16 px, button medium)
|
|
20
|
+
* State :hover · :focus-within · error = --error or :has([aria-invalid="true"]) (+ the error ring when focused,
|
|
21
|
+
* 3.5.2) · disabled = --disabled or
|
|
22
|
+
* :has(:disabled)
|
|
23
|
+
* Parts __icon (16, text/muted) · __prefix / __suffix (the caption ink, the text's size) · __control · __button
|
|
24
|
+
* Rule one box, one border — never two bordered controls pretending to be one; the nested button takes
|
|
25
|
+
* radius 4 and the 4 px inset, never the text padding.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
.pui-input-group {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: var(--pui-space-8);
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
width: 100%;
|
|
34
|
+
min-height: var(--pui-size-control-medium);
|
|
35
|
+
padding: calc(var(--pui-space-4) - 1px);
|
|
36
|
+
padding-inline-start: calc(var(--pui-space-12) - 1px);
|
|
37
|
+
border: 1px solid var(--pui-border-default);
|
|
38
|
+
border-radius: var(--pui-radius-8);
|
|
39
|
+
background: var(--pui-surface-page);
|
|
40
|
+
box-shadow: var(--pui-elevation-flat);
|
|
41
|
+
color: var(--pui-text-default);
|
|
42
|
+
font-family: var(--pui-font-family);
|
|
43
|
+
font-size: var(--pui-font-size-14);
|
|
44
|
+
font-weight: var(--pui-font-weight-400);
|
|
45
|
+
line-height: var(--pui-font-line-height-normal);
|
|
46
|
+
cursor: text;
|
|
47
|
+
transition:
|
|
48
|
+
border-color var(--pui-motion-state) var(--pui-motion-easing),
|
|
49
|
+
box-shadow var(--pui-motion-state) var(--pui-motion-easing);
|
|
50
|
+
}
|
|
51
|
+
.pui-input-group:hover { border-color: var(--pui-border-strong); }
|
|
52
|
+
.pui-input-group:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
53
|
+
.pui-input-group--error,
|
|
54
|
+
.pui-input-group:has([aria-invalid="true"]) { border-color: var(--pui-border-error); box-shadow: var(--pui-ring-error); }
|
|
55
|
+
.pui-input-group--error:focus-within,
|
|
56
|
+
.pui-input-group:has([aria-invalid="true"]):focus-within { box-shadow: var(--pui-ring-error-focus); } /* 3.5.2 */
|
|
57
|
+
.pui-input-group--disabled,
|
|
58
|
+
.pui-input-group:has(.pui-input-group__control:disabled) { opacity: 0.5; cursor: not-allowed; }
|
|
59
|
+
|
|
60
|
+
.pui-input-group__control {
|
|
61
|
+
flex: 1 1 auto;
|
|
62
|
+
min-width: 0;
|
|
63
|
+
margin: 0;
|
|
64
|
+
padding: 0;
|
|
65
|
+
border: 0;
|
|
66
|
+
background: transparent;
|
|
67
|
+
color: inherit;
|
|
68
|
+
font: inherit;
|
|
69
|
+
letter-spacing: inherit;
|
|
70
|
+
outline: none;
|
|
71
|
+
-webkit-appearance: none;
|
|
72
|
+
appearance: none;
|
|
73
|
+
}
|
|
74
|
+
.pui-input-group__control::placeholder { color: var(--pui-text-caption); opacity: 1; }
|
|
75
|
+
.pui-input-group__icon { flex: none; width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); color: var(--pui-text-muted); }
|
|
76
|
+
.pui-input-group__prefix,
|
|
77
|
+
.pui-input-group__suffix { flex: none; color: var(--pui-text-caption); white-space: nowrap; }
|
|
78
|
+
.pui-input-group__suffix { padding-inline-end: var(--pui-space-8); }
|
|
79
|
+
.pui-input-group__button { flex: none; align-self: stretch; margin-inline-start: auto; border-radius: var(--pui-radius-4); }
|
|
80
|
+
.pui-input-group__button.pui-button:focus-visible { box-shadow: var(--pui-ring); }
|
|
81
|
+
|
|
82
|
+
.pui-input-group--small {
|
|
83
|
+
min-height: var(--pui-size-control-small);
|
|
84
|
+
padding: calc(var(--pui-space-4) - 1px) calc(var(--pui-space-12) - 1px);
|
|
85
|
+
font-size: var(--pui-font-size-12);
|
|
86
|
+
}
|
|
87
|
+
.pui-input-group--small .pui-input-group__button { display: none; }
|
|
88
|
+
.pui-input-group--large {
|
|
89
|
+
min-height: var(--pui-size-control-large);
|
|
90
|
+
padding-inline-start: calc(var(--pui-space-16) - 1px);
|
|
91
|
+
font-size: var(--pui-font-size-16);
|
|
92
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* input.css — Input (10_COMPONENTS.md § Forms).
|
|
2
|
+
*
|
|
3
|
+
* The bare text control, quoted from the site's `.field__control` (styles.css:627–651): 36 min-height, 12 horizontal
|
|
4
|
+
* padding, radius 8, 14 Regular, 1 px border, the 1/2 shadow (elevation/flat); focus = border/focus with the 3 px
|
|
5
|
+
* ring at 15 %; error = border/error with the ring at 10 %; hover darkens the border to border/strong (Pajamas and
|
|
6
|
+
* Material — shadcn has no hover, D17); disabled .5. Figma 33:2: three sizes × five states. G27: the site's shadcn
|
|
7
|
+
* neutrals (#e5e5e5, #737373) are border/default and the caption ink here. Contract: registry/input/registry.json.
|
|
8
|
+
*
|
|
9
|
+
* <input class="pui-input" type="text" aria-label="Search decks" placeholder="Search decks"> (a bare input needs a name: a <label for>, a Field, or aria-label)
|
|
10
|
+
* <input class="pui-input pui-input--small" aria-invalid="true">
|
|
11
|
+
*
|
|
12
|
+
* Size --small 28 (12 px, 4 / 12) · (none) medium 36 (14 px, 8 / 12) · --large 44 (16 px, 12 / 16)
|
|
13
|
+
* State :hover · :focus · error = [aria-invalid="true"], --error, :user-invalid (a red glow at rest, and the
|
|
14
|
+
* solid error ring when it also has focus — 3.5.2) · :disabled
|
|
15
|
+
* Icons an Input has no children in HTML — a leading or trailing glyph is Input group (input-group.css),
|
|
16
|
+
* the box that holds an input with company. Label, helper and error text are Field's.
|
|
17
|
+
*
|
|
18
|
+
* The placeholder is the caption ink (text/caption, D43 — the site's #737373 at the step that passes 4.5 at 14 px):
|
|
19
|
+
* the Figma Input binds it; its contract sentence said text/subtle and is corrected (Finding 32, closed 2026-09-08).
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
.pui-input,
|
|
23
|
+
.pui-textarea {
|
|
24
|
+
display: block;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
width: 100%;
|
|
27
|
+
min-height: var(--pui-size-control-medium);
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding: calc(var(--pui-space-8) - 1px) calc(var(--pui-space-12) - 1px);
|
|
30
|
+
border: 1px solid var(--pui-border-default);
|
|
31
|
+
border-radius: var(--pui-radius-8);
|
|
32
|
+
background: var(--pui-surface-page);
|
|
33
|
+
box-shadow: var(--pui-elevation-flat);
|
|
34
|
+
color: var(--pui-text-default);
|
|
35
|
+
font-family: var(--pui-font-family);
|
|
36
|
+
font-size: var(--pui-font-size-14);
|
|
37
|
+
font-weight: var(--pui-font-weight-400);
|
|
38
|
+
line-height: var(--pui-font-line-height-normal);
|
|
39
|
+
letter-spacing: var(--pui-font-letter-spacing-normal);
|
|
40
|
+
outline: none;
|
|
41
|
+
-webkit-appearance: none;
|
|
42
|
+
appearance: none;
|
|
43
|
+
transition:
|
|
44
|
+
border-color var(--pui-motion-state) var(--pui-motion-easing),
|
|
45
|
+
box-shadow var(--pui-motion-state) var(--pui-motion-easing);
|
|
46
|
+
}
|
|
47
|
+
.pui-input::placeholder,
|
|
48
|
+
.pui-textarea::placeholder { color: var(--pui-text-caption); opacity: 1; }
|
|
49
|
+
.pui-input:hover,
|
|
50
|
+
.pui-textarea:hover { border-color: var(--pui-border-strong); }
|
|
51
|
+
.pui-input:focus,
|
|
52
|
+
.pui-textarea:focus { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
53
|
+
.pui-input[aria-invalid="true"],
|
|
54
|
+
.pui-input--error,
|
|
55
|
+
.pui-input:user-invalid,
|
|
56
|
+
.pui-textarea[aria-invalid="true"],
|
|
57
|
+
.pui-textarea--error,
|
|
58
|
+
.pui-textarea:user-invalid { border-color: var(--pui-border-error); box-shadow: var(--pui-ring-error); }
|
|
59
|
+
/* 3.5.2 — the error rules above come after the focus rules and win at the same specificity, so an
|
|
60
|
+
invalid field showed nothing on focus. Focused, it keeps the error colour and gains the solid line. */
|
|
61
|
+
.pui-input[aria-invalid="true"]:focus,
|
|
62
|
+
.pui-input--error:focus,
|
|
63
|
+
.pui-input:user-invalid:focus,
|
|
64
|
+
.pui-textarea[aria-invalid="true"]:focus,
|
|
65
|
+
.pui-textarea--error:focus,
|
|
66
|
+
.pui-textarea:user-invalid:focus { box-shadow: var(--pui-ring-error-focus); }
|
|
67
|
+
.pui-input:disabled,
|
|
68
|
+
.pui-textarea:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
69
|
+
|
|
70
|
+
.pui-input--small {
|
|
71
|
+
min-height: var(--pui-size-control-small);
|
|
72
|
+
padding: calc(var(--pui-space-4) - 1px) calc(var(--pui-space-12) - 1px);
|
|
73
|
+
font-size: var(--pui-font-size-12);
|
|
74
|
+
}
|
|
75
|
+
.pui-input--large {
|
|
76
|
+
min-height: var(--pui-size-control-large);
|
|
77
|
+
padding: calc(var(--pui-space-8) - 1px) calc(var(--pui-space-16) - 1px); /* the height is size/control/large (D41) */
|
|
78
|
+
font-size: var(--pui-font-size-16);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* The browser's own bits inside a text input are chrome, not ours: Paggy hides the date indicator and draws a
|
|
82
|
+
Lucide calendar (date-picker.css); search cancel buttons go the same way. */
|
|
83
|
+
.pui-input::-webkit-search-cancel-button,
|
|
84
|
+
.pui-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* insight-block.css — Insight block (10_COMPONENTS.md § Content blocks).
|
|
2
|
+
*
|
|
3
|
+
* One sentence that says what the numbers mean — Paggy's .insight (the statement in the accent over a grey subline)
|
|
4
|
+
* and the Deck kit's Insight (an accent bar beside a dark statement). Never wider than three quarters of the canvas
|
|
5
|
+
* (Fedor 2026-08-18, locked — insight/max-width 1344 is the block's max-width, and the rules test reads it). Plain:
|
|
6
|
+
* Statement title/medium in accent/text (yellow flips to ink), Subtext body/small in the muted ink; gap space/12. Bar:
|
|
7
|
+
* a 12 px accent/main pill beside Statement headline/small and Subtext body/large, both text/default, padding space/12
|
|
8
|
+
* above and below. Figma 145:10. Contract: registry/insight-block/registry.json.
|
|
9
|
+
*
|
|
10
|
+
* <div class="pui-insight-block"><p class="pui-insight-block__statement">Supply-path optimisation cut costs 18 %.</p>
|
|
11
|
+
* <p class="pui-insight-block__subtext">MAFO · Q3 2026 · all publishers</p></div>
|
|
12
|
+
* <div class="pui-insight-block pui-insight-block--bar"> …the same two texts… </div>
|
|
13
|
+
*
|
|
14
|
+
* Style (none) plain · --bar
|
|
15
|
+
* Accent the Accent mode on the instance (data-accent); one insight, one accent
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
.pui-insight-block {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: var(--pui-space-12);
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
width: 100%;
|
|
24
|
+
max-width: var(--pui-insight-max-width);
|
|
25
|
+
color: var(--pui-text-default);
|
|
26
|
+
font-family: var(--pui-font-family);
|
|
27
|
+
}
|
|
28
|
+
.pui-insight-block__statement {
|
|
29
|
+
margin: 0;
|
|
30
|
+
color: var(--pui-accent-text);
|
|
31
|
+
font-size: var(--pui-type-title-medium-font-size);
|
|
32
|
+
font-weight: var(--pui-type-title-medium-font-weight);
|
|
33
|
+
line-height: var(--pui-type-title-medium-line-height);
|
|
34
|
+
}
|
|
35
|
+
.pui-insight-block__subtext {
|
|
36
|
+
margin: 0;
|
|
37
|
+
color: var(--pui-text-muted);
|
|
38
|
+
font-size: var(--pui-type-body-small-font-size);
|
|
39
|
+
font-weight: var(--pui-font-weight-400);
|
|
40
|
+
line-height: var(--pui-font-line-height-normal);
|
|
41
|
+
}
|
|
42
|
+
.pui-insight-block--bar {
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
padding: var(--pui-space-12) 0;
|
|
45
|
+
}
|
|
46
|
+
.pui-insight-block--bar::before {
|
|
47
|
+
content: "";
|
|
48
|
+
flex: none;
|
|
49
|
+
width: var(--pui-space-12);
|
|
50
|
+
border-radius: var(--pui-radius-full);
|
|
51
|
+
background: var(--pui-accent-main);
|
|
52
|
+
}
|
|
53
|
+
.pui-insight-block__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-12); }
|
|
54
|
+
.pui-insight-block--bar .pui-insight-block__statement {
|
|
55
|
+
color: var(--pui-text-default);
|
|
56
|
+
font-size: var(--pui-type-headline-small-font-size);
|
|
57
|
+
font-weight: var(--pui-type-headline-small-font-weight);
|
|
58
|
+
line-height: var(--pui-type-headline-small-line-height);
|
|
59
|
+
}
|
|
60
|
+
.pui-insight-block--bar .pui-insight-block__subtext {
|
|
61
|
+
color: var(--pui-text-default);
|
|
62
|
+
font-size: var(--pui-type-body-large-font-size);
|
|
63
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* item.css — Item (10_COMPONENTS.md § Content blocks).
|
|
2
|
+
*
|
|
3
|
+
* A list row: media, a title, a description, actions. Paggy's share rows and template-picker rows (app.css:1432
|
|
4
|
+
* .share-row, :272 .tpl-opt) on shadcn's item.tsx shape (D17): the title 14 Medium in text/default, the description 12
|
|
5
|
+
* text/subtle, radius/8, hover surface/sunken, the selected row on the Accent bg with a 16 px check in accent/main;
|
|
6
|
+
* Style default (no border) · outline (border/default) · muted (surface/sunken); Size default (space/16) · small
|
|
7
|
+
* (space/8 / space/12 — Paggy's). Rows stack at 0 or space/4 — no separators. Figma 256:462.
|
|
8
|
+
* Contract: registry/item/registry.json.
|
|
9
|
+
*
|
|
10
|
+
* <div class="pui-item pui-item--selected">
|
|
11
|
+
* <span class="pui-avatar pui-avatar--blue pui-item__media">FK</span>
|
|
12
|
+
* <div class="pui-item__texts"><p class="pui-item__title">Cover — split</p><p class="pui-item__description">Used 12 times</p></div>
|
|
13
|
+
* <span class="pui-icon pui-item__check">…check…</span>
|
|
14
|
+
* <button class="pui-button pui-button--secondary pui-button--small pui-item__button">Open</button>
|
|
15
|
+
* <button class="pui-icon-button pui-icon-button--ghost pui-icon-button--small pui-item__action" aria-label="More">…</button></div>
|
|
16
|
+
*
|
|
17
|
+
* Style (none) default · --outline · --muted
|
|
18
|
+
* Size (none) default · --small
|
|
19
|
+
* State :hover · :focus-visible (the hover surface plus the inset ring — the surface alone is 1.0 on a card, 3.5.2)
|
|
20
|
+
* · selected = --selected, or [aria-selected="true"] when the item is a role="option" inside a role="listbox" (aria-selected is not valid on a plain div — axe, M2.3.5)
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
.pui-item {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: var(--pui-space-16);
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
width: 100%;
|
|
29
|
+
padding: var(--pui-space-16);
|
|
30
|
+
border: 1px solid transparent;
|
|
31
|
+
border-radius: var(--pui-radius-8);
|
|
32
|
+
background: transparent;
|
|
33
|
+
color: var(--pui-text-default);
|
|
34
|
+
font-family: var(--pui-font-family);
|
|
35
|
+
font-size: var(--pui-font-size-14);
|
|
36
|
+
line-height: var(--pui-font-line-height-normal);
|
|
37
|
+
text-align: start;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
transition: background-color var(--pui-motion-state) var(--pui-motion-easing);
|
|
40
|
+
}
|
|
41
|
+
.pui-item:hover,
|
|
42
|
+
.pui-item:focus-visible { background: var(--pui-surface-sunken); outline: none; }
|
|
43
|
+
/* 3.5.2 — surface/sunken on a card is 1.0 against the ground: the focused state was invisible there.
|
|
44
|
+
The item fills its list, so the ring is the inset one. */
|
|
45
|
+
.pui-item:focus-visible { box-shadow: var(--pui-ring-inset); }
|
|
46
|
+
.pui-item[aria-selected="true"],
|
|
47
|
+
.pui-item--selected { background: var(--pui-accent-bg); }
|
|
48
|
+
.pui-item--outline { border-color: var(--pui-border-default); }
|
|
49
|
+
.pui-item--muted { background: var(--pui-surface-sunken); }
|
|
50
|
+
.pui-item--muted:hover { background: var(--pui-tint-neutral-bg); }
|
|
51
|
+
.pui-item--small { gap: var(--pui-space-12); padding: var(--pui-space-8) var(--pui-space-12); }
|
|
52
|
+
|
|
53
|
+
.pui-item__media { flex: none; }
|
|
54
|
+
.pui-item__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-2); }
|
|
55
|
+
.pui-item__title { margin: 0; font-weight: var(--pui-font-weight-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
56
|
+
.pui-item__description { margin: 0; color: var(--pui-text-caption); font-size: var(--pui-font-size-12); }
|
|
57
|
+
.pui-item__check {
|
|
58
|
+
flex: none;
|
|
59
|
+
width: var(--pui-size-icon-16);
|
|
60
|
+
height: var(--pui-size-icon-16);
|
|
61
|
+
color: var(--pui-accent-main);
|
|
62
|
+
visibility: hidden;
|
|
63
|
+
}
|
|
64
|
+
.pui-item[aria-selected="true"] .pui-item__check,
|
|
65
|
+
.pui-item--selected .pui-item__check { visibility: visible; }
|
|
66
|
+
.pui-item__button,
|
|
67
|
+
.pui-item__action { flex: none; }
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* kbd.css — Kbd (10_COMPONENTS.md § Feedback and status).
|
|
2
|
+
*
|
|
3
|
+
* A key cap in running text or beside a hint: ⌘K, Esc, Enter. Paggy's `.toast kbd` (app.css:1014 — 11 px on white at
|
|
4
|
+
* .16, radius 4, padding 1 / 6) and shadcn's kbd.tsx (20 tall, min-width 20, rounded-sm, muted ground and ink, 12
|
|
5
|
+
* Medium) — D17. One cap in two tones: light (surface/sunken, text/muted) for pages and menus, on-inverse
|
|
6
|
+
* (color/alpha/white-16, text/on-inverse) for the dark toast and the rail. Figma 239:13. Contract: registry/kbd/registry.json.
|
|
7
|
+
*
|
|
8
|
+
* <kbd class="pui-kbd">⌘K</kbd> <span class="pui-kbd-group"><kbd class="pui-kbd">⌘</kbd><kbd class="pui-kbd">⇧</kbd><kbd class="pui-kbd">K</kbd></span>
|
|
9
|
+
*
|
|
10
|
+
* Tone (none) light · --on-inverse
|
|
11
|
+
* Rule one key per cap; a shortcut is a row of caps at space/4 (.pui-kbd-group).
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
.pui-kbd {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
height: var(--pui-space-20);
|
|
20
|
+
min-width: var(--pui-space-20);
|
|
21
|
+
padding: 0 var(--pui-space-4);
|
|
22
|
+
border-radius: var(--pui-radius-4);
|
|
23
|
+
background: var(--pui-surface-sunken);
|
|
24
|
+
color: var(--pui-text-muted);
|
|
25
|
+
font-family: var(--pui-font-family);
|
|
26
|
+
font-size: var(--pui-font-size-12);
|
|
27
|
+
font-weight: var(--pui-font-weight-500);
|
|
28
|
+
line-height: 1;
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
}
|
|
31
|
+
.pui-kbd--on-inverse {
|
|
32
|
+
background: var(--pui-color-alpha-white-16);
|
|
33
|
+
color: var(--pui-text-on-inverse);
|
|
34
|
+
}
|
|
35
|
+
.pui-toast .pui-kbd { background: var(--pui-color-alpha-white-16); color: var(--pui-text-on-inverse); }
|
|
36
|
+
.pui-kbd-group { display: inline-flex; gap: var(--pui-space-4); vertical-align: middle; }
|