@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.
Files changed (64) hide show
  1. package/README.md +123 -0
  2. package/dist/pepper-ui.css +5024 -0
  3. package/package.json +38 -0
  4. package/src/base.css +96 -0
  5. package/src/components/alert-dialog.css +50 -0
  6. package/src/components/alert.css +75 -0
  7. package/src/components/avatar.css +47 -0
  8. package/src/components/badge.css +61 -0
  9. package/src/components/breadcrumb.css +40 -0
  10. package/src/components/bullet-list.css +58 -0
  11. package/src/components/button-group.css +51 -0
  12. package/src/components/button.css +165 -0
  13. package/src/components/calendar.css +118 -0
  14. package/src/components/card.css +114 -0
  15. package/src/components/chat.css +473 -0
  16. package/src/components/checkbox.css +105 -0
  17. package/src/components/collapsible.css +121 -0
  18. package/src/components/combobox.css +71 -0
  19. package/src/components/command.css +62 -0
  20. package/src/components/date-picker.css +45 -0
  21. package/src/components/dialog.css +105 -0
  22. package/src/components/dropdown-menu.css +93 -0
  23. package/src/components/empty.css +67 -0
  24. package/src/components/field.css +68 -0
  25. package/src/components/footer.css +122 -0
  26. package/src/components/heading-pair.css +57 -0
  27. package/src/components/icon-button.css +29 -0
  28. package/src/components/icon-list.css +65 -0
  29. package/src/components/input-group.css +92 -0
  30. package/src/components/input.css +84 -0
  31. package/src/components/insight-block.css +63 -0
  32. package/src/components/item.css +67 -0
  33. package/src/components/kbd.css +36 -0
  34. package/src/components/kpi-tile.css +104 -0
  35. package/src/components/label.css +22 -0
  36. package/src/components/layout-utilities.css +115 -0
  37. package/src/components/logo-grid.css +125 -0
  38. package/src/components/native-select.css +78 -0
  39. package/src/components/navigation-menu.css +123 -0
  40. package/src/components/pagination.css +35 -0
  41. package/src/components/popover.css +48 -0
  42. package/src/components/progress.css +42 -0
  43. package/src/components/questionnaire.css +51 -0
  44. package/src/components/radio.css +41 -0
  45. package/src/components/select.css +179 -0
  46. package/src/components/sheet.css +67 -0
  47. package/src/components/sidebar.css +108 -0
  48. package/src/components/skeleton.css +38 -0
  49. package/src/components/slider.css +117 -0
  50. package/src/components/spinner.css +32 -0
  51. package/src/components/states.css +54 -0
  52. package/src/components/stepper.css +76 -0
  53. package/src/components/switch.css +98 -0
  54. package/src/components/table.css +139 -0
  55. package/src/components/tabs.css +104 -0
  56. package/src/components/textarea.css +16 -0
  57. package/src/components/toast.css +78 -0
  58. package/src/components/toggle-group.css +22 -0
  59. package/src/components/toggle.css +86 -0
  60. package/src/components/tooltip.css +54 -0
  61. package/src/components/topbar.css +36 -0
  62. package/src/components/typography.css +83 -0
  63. package/src/ground.css +78 -0
  64. package/src/index.css +77 -0
@@ -0,0 +1,165 @@
1
+ /* button.css — Button · Button - secondary · Button - ghost · Button - danger (10_COMPONENTS.md § Actions).
2
+ *
3
+ * Source: the site's `.btn.btn--dark` (styles.css:527–563): 36 min-height, 8 / 16 padding, radius 8, 14 Medium 500,
4
+ * hover on the darker fill, :active scale(.99), disabled at .5. Paggy's `.btn` (app.css) is the same button and adds
5
+ * `--red` (danger) and `--ghost`. Figma: Button 18:183 · secondary 19:92 · ghost 19:183 · danger 208:5 — three sizes
6
+ * × five states each, Label, leading / trailing icon slots. Contract: packages/react/registry/button/registry.json.
7
+ *
8
+ * <button class="pui-button">Save</button>
9
+ * <button class="pui-button pui-button--secondary pui-button--small">
10
+ * <span class="pui-icon pui-button__icon">…lucide svg…</span>Back</button>
11
+ * <a class="pui-button pui-button--ghost" href="…">Skip</a>
12
+ *
13
+ * Variant (none) primary · --secondary · --ghost · --danger ← the four Figma sets; the registry's `variant`
14
+ * Size --small 28 · (none) medium 36 · --large 44 ← size/control/* (D41); font 12 / 14 / 16
15
+ * State :hover · :focus-visible · :active · :disabled, [aria-disabled="true"]
16
+ * Parts __icon — a 16 px glyph before or after the label (Has icon leading / trailing)
17
+ * Extra --block — width 100 % (the site's .btn--block)
18
+ *
19
+ * Two things stated against the sources: the Figma pressed state paints the hover fill at .92 — the web sources press
20
+ * with scale(.99) (styles.css:561, app.css .btn:active) and this file follows them; the ghost's rest fill is
21
+ * surface/page in Figma and transparent here, so a ghost on a card is not a white box.
22
+ *
23
+ * Icon button shares every rule below (its geometry is in icon-button.css), which is why the selectors are paired.
24
+ *
25
+ * Rule beside inputs or selects (the end of a filter row, a form's inline action) the button is the black one, never
26
+ * the outlined secondary — an outline next to outlined controls reads as one more control (D59, Fedor 2026-09-09).
27
+ */
28
+
29
+ .pui-button,
30
+ .pui-icon-button {
31
+ display: inline-flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ gap: var(--pui-space-8);
35
+ box-sizing: border-box;
36
+ min-height: var(--pui-size-control-medium);
37
+ margin: 0;
38
+ /* Figma strokes sit inside the box; a CSS border sits outside the padding. One transparent pixel on every
39
+ button (secondary paints it) keeps all four variants the same size to the pixel. */
40
+ padding: calc(var(--pui-space-8) - 1px) calc(var(--pui-space-16) - 1px);
41
+ border: 1px solid transparent;
42
+ border-radius: var(--pui-radius-8);
43
+ background: var(--pui-action-primary-bg);
44
+ color: var(--pui-action-primary-fg);
45
+ font-family: var(--pui-font-family);
46
+ font-size: var(--pui-font-size-14);
47
+ font-weight: var(--pui-font-weight-500);
48
+ line-height: var(--pui-font-line-height-normal);
49
+ letter-spacing: var(--pui-font-letter-spacing-normal);
50
+ text-decoration: none;
51
+ white-space: nowrap;
52
+ cursor: pointer;
53
+ user-select: none;
54
+ -webkit-appearance: none;
55
+ appearance: none;
56
+ transition:
57
+ background-color var(--pui-motion-state) var(--pui-motion-easing),
58
+ border-color var(--pui-motion-state) var(--pui-motion-easing),
59
+ box-shadow var(--pui-motion-state) var(--pui-motion-easing),
60
+ transform var(--pui-duration-instant);
61
+ }
62
+ /* An <a> keeps its ink through :link / :visited — the site's lesson (styles.css:555–559). */
63
+ .pui-button:is(:link, :visited),
64
+ .pui-icon-button:is(:link, :visited) { color: var(--pui-action-primary-fg); }
65
+
66
+ .pui-button:hover,
67
+ .pui-icon-button:hover { background: var(--pui-action-primary-bg-hover); }
68
+ .pui-button:focus-visible,
69
+ .pui-icon-button:focus-visible { outline: none; box-shadow: var(--pui-ring); }
70
+ .pui-button:active,
71
+ .pui-icon-button:active { background: var(--pui-action-primary-bg-hover); transform: scale(0.99); }
72
+ .pui-button:disabled,
73
+ .pui-button[aria-disabled="true"],
74
+ .pui-icon-button:disabled,
75
+ .pui-icon-button[aria-disabled="true"] {
76
+ background: var(--pui-action-disabled-bg);
77
+ color: var(--pui-action-disabled-fg);
78
+ opacity: 0.5;
79
+ cursor: not-allowed;
80
+ transform: none;
81
+ pointer-events: none;
82
+ }
83
+
84
+ /* ── Secondary: outlined ─────────────────────────────────────────────────────────────────────── */
85
+ .pui-button--secondary,
86
+ .pui-icon-button--secondary {
87
+ background: var(--pui-action-secondary-bg);
88
+ border-color: var(--pui-action-secondary-border);
89
+ color: var(--pui-action-secondary-fg);
90
+ }
91
+ .pui-button--secondary:is(:link, :visited),
92
+ .pui-icon-button--secondary:is(:link, :visited) { color: var(--pui-action-secondary-fg); }
93
+ .pui-button--secondary:hover,
94
+ .pui-button--secondary:active,
95
+ .pui-icon-button--secondary:hover,
96
+ .pui-icon-button--secondary:active { background: var(--pui-action-secondary-bg-hover); }
97
+ .pui-button--secondary:focus-visible,
98
+ .pui-icon-button--secondary:focus-visible { border-color: var(--pui-border-focus); background: var(--pui-action-secondary-bg); }
99
+ .pui-button--secondary:disabled,
100
+ .pui-button--secondary[aria-disabled="true"],
101
+ .pui-icon-button--secondary:disabled,
102
+ .pui-icon-button--secondary[aria-disabled="true"] {
103
+ background: var(--pui-action-disabled-bg);
104
+ border-color: var(--pui-border-default);
105
+ color: var(--pui-action-disabled-fg);
106
+ }
107
+
108
+ /* ── Ghost: no chrome until hovered ──────────────────────────────────────────────────────────── */
109
+ .pui-button--ghost,
110
+ .pui-icon-button--ghost {
111
+ background: transparent;
112
+ color: var(--pui-action-secondary-fg);
113
+ }
114
+ .pui-button--ghost:is(:link, :visited),
115
+ .pui-icon-button--ghost:is(:link, :visited) { color: var(--pui-action-secondary-fg); }
116
+ .pui-button--ghost:hover,
117
+ .pui-button--ghost:active,
118
+ .pui-icon-button--ghost:hover,
119
+ .pui-icon-button--ghost:active { background: var(--pui-surface-sunken); }
120
+ .pui-button--ghost:focus-visible,
121
+ .pui-icon-button--ghost:focus-visible { border-color: var(--pui-border-focus); background: transparent; }
122
+ .pui-button--ghost:disabled,
123
+ .pui-button--ghost[aria-disabled="true"],
124
+ .pui-icon-button--ghost:disabled,
125
+ .pui-icon-button--ghost[aria-disabled="true"] {
126
+ background: transparent;
127
+ color: var(--pui-action-disabled-fg);
128
+ }
129
+
130
+ /* ── Danger: the red button (Paggy .btn--red, brand red — D35) ───────────────────────────────── */
131
+ .pui-button--danger,
132
+ .pui-icon-button--danger {
133
+ background: var(--pui-action-danger-bg);
134
+ color: var(--pui-action-danger-fg);
135
+ }
136
+ .pui-button--danger:is(:link, :visited),
137
+ .pui-icon-button--danger:is(:link, :visited) { color: var(--pui-action-danger-fg); }
138
+ .pui-button--danger:hover,
139
+ .pui-button--danger:active,
140
+ .pui-icon-button--danger:hover,
141
+ .pui-icon-button--danger:active { background: var(--pui-action-danger-bg-hover); }
142
+ .pui-button--danger:disabled,
143
+ .pui-button--danger[aria-disabled="true"],
144
+ .pui-icon-button--danger:disabled,
145
+ .pui-icon-button--danger[aria-disabled="true"] {
146
+ background: var(--pui-action-disabled-bg);
147
+ color: var(--pui-action-disabled-fg);
148
+ }
149
+
150
+ /* ── Sizes (Button's padding steps: 4/12 · 8/16 · 8/24; the icon stays 16) ──────────────────────
151
+ The height is size/control/* (D41), so the vertical padding only has to stay under it: large keeps
152
+ medium's 8 because Figma's 12 on a fixed 44 box would make a hugging CSS box 46 (Finding 10's overshoot). */
153
+ .pui-button--small {
154
+ min-height: var(--pui-size-control-small);
155
+ padding: calc(var(--pui-space-4) - 1px) calc(var(--pui-space-12) - 1px);
156
+ font-size: var(--pui-font-size-12);
157
+ }
158
+ .pui-button--large {
159
+ min-height: var(--pui-size-control-large);
160
+ padding: calc(var(--pui-space-8) - 1px) calc(var(--pui-space-24) - 1px);
161
+ font-size: var(--pui-font-size-16);
162
+ }
163
+
164
+ .pui-button__icon { flex: none; width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); }
165
+ .pui-button--block { display: flex; width: 100%; }
@@ -0,0 +1,118 @@
1
+ /* calendar.css — Calendar · Calendar day (10_COMPONENTS.md § Forms).
2
+ *
3
+ * The month grid a date is picked on: Paggy's `.pgy-cal` popup (app.css:1580–1620, datepicker.js): a white panel,
4
+ * radius/16, elevation/card, padding 16 (Paggy's 14 — stated); the head with the month in SemiBold 14 and two 28 px
5
+ * ghost icon buttons; the Monday-first weekday row in SemiBold 12 text/subtle; six weeks of 32 px cells at a 4 px gap
6
+ * (7 × 32 + 6 × 4 + 2 × 16 = 280); a foot with Clear and Today as ghost buttons. A day is Paggy's `.pgy-cal__d`
7
+ * (app.css:1598): 32 × 32, radius/8, the number in Medium 12, hover surface/sunken, outside days text/disabled, today
8
+ * an inset 1 px border/strong ring, the selected day action/primary/bg on fg; the range middle is surface/sunken with
9
+ * square corners so the band runs unbroken. Figma: Calendar 227:5 · Calendar day 226:49.
10
+ * Contracts: registry/calendar/registry.json.
11
+ *
12
+ * <div class="pui-calendar">
13
+ * <div class="pui-calendar__head"><button class="pui-icon-button pui-icon-button--ghost pui-icon-button--small">…</button>
14
+ * <span class="pui-calendar__month">September 2026</span> …</div>
15
+ * <div class="pui-calendar__weekdays"><span>Mo</span>…</div>
16
+ * <div class="pui-calendar__grid" role="grid"><div class="pui-calendar__row" role="row">
17
+ * <button class="pui-calendar-day pui-calendar-day--outside">31</button>
18
+ * <button class="pui-calendar-day pui-calendar-day--today">7</button>
19
+ * <button class="pui-calendar-day" role="gridcell" aria-selected="true">14</button> …</div> …</div>
20
+ * (a grid owns rows, a row owns gridcells — aria-selected is only valid on a gridcell; axe, M2.3.5)
21
+ * <div class="pui-calendar__foot"><button class="pui-button pui-button--ghost pui-button--small">Clear</button>…</div></div>
22
+ *
23
+ * Day Kind (none) default · --today · --selected / [aria-selected="true"] · --range · --outside
24
+ * Day State :hover · :focus-visible (the ring, on a selected day too — 3.5.2) · :disabled (.5)
25
+ * Rules Monday first; six rows always; no leading zero; a unicode arrow never in the head.
26
+ * Keyboard ONE tab stop in the grid: the selected day, else today, else the first of the month, takes
27
+ * tabindex="0" and every other cell tabindex="-1" — a range marks two days selected and still exposes
28
+ * one stop (3.5.3). The script owes the arrow keys by day and week, Home / End, PageUp / PageDown by
29
+ * month, Shift+PageUp / PageDown by year, Enter / Space to select.
30
+ */
31
+
32
+ .pui-calendar {
33
+ display: flex;
34
+ flex-direction: column;
35
+ gap: var(--pui-space-8);
36
+ box-sizing: border-box;
37
+ width: 280px; /* 7 × 32 + 6 × 4 + 2 × 16 — derived from the day and the gap */
38
+ padding: var(--pui-space-16);
39
+ border-radius: var(--pui-radius-16);
40
+ background: var(--pui-surface-page);
41
+ box-shadow: var(--pui-elevation-card);
42
+ color: var(--pui-text-default);
43
+ font-family: var(--pui-font-family);
44
+ font-size: var(--pui-font-size-12);
45
+ line-height: var(--pui-font-line-height-normal);
46
+ }
47
+ .pui-calendar__head {
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: space-between;
51
+ min-height: var(--pui-size-control-small);
52
+ }
53
+ .pui-calendar__month {
54
+ font-size: var(--pui-font-size-14);
55
+ font-weight: var(--pui-font-weight-600);
56
+ }
57
+ .pui-calendar__weekdays,
58
+ .pui-calendar__row {
59
+ display: grid;
60
+ grid-template-columns: repeat(7, var(--pui-space-32));
61
+ gap: var(--pui-space-4);
62
+ }
63
+ /* The grid is a stack of rows (role="row" → role="gridcell"), the same 4px gap between them. */
64
+ .pui-calendar__grid {
65
+ display: grid;
66
+ gap: var(--pui-space-4);
67
+ }
68
+ .pui-calendar__weekdays {
69
+ padding: var(--pui-space-4) 0;
70
+ color: var(--pui-text-caption);
71
+ font-weight: var(--pui-font-weight-600);
72
+ text-align: center;
73
+ }
74
+ .pui-calendar__foot {
75
+ display: flex;
76
+ justify-content: space-between;
77
+ padding-top: var(--pui-space-4);
78
+ }
79
+
80
+ .pui-calendar-day {
81
+ display: inline-flex;
82
+ align-items: center;
83
+ justify-content: center;
84
+ box-sizing: border-box;
85
+ width: var(--pui-space-32);
86
+ height: var(--pui-space-32);
87
+ margin: 0;
88
+ padding: 0;
89
+ border: 0;
90
+ border-radius: var(--pui-radius-8);
91
+ background: transparent;
92
+ color: var(--pui-text-default);
93
+ font-family: var(--pui-font-family);
94
+ font-size: var(--pui-font-size-12);
95
+ font-weight: var(--pui-font-weight-500);
96
+ line-height: 1;
97
+ cursor: pointer;
98
+ outline: none;
99
+ transition: background-color var(--pui-motion-state) var(--pui-motion-easing);
100
+ }
101
+ .pui-calendar-day:hover { background: var(--pui-surface-sunken); }
102
+ .pui-calendar-day:focus-visible { box-shadow: var(--pui-ring); }
103
+ .pui-calendar-day--today { box-shadow: inset 0 0 0 1px var(--pui-border-strong); }
104
+ .pui-calendar-day--today:focus-visible { box-shadow: inset 0 0 0 1px var(--pui-border-strong), var(--pui-ring); }
105
+ .pui-calendar-day--outside { color: var(--pui-text-disabled); }
106
+ .pui-calendar-day--range { border-radius: 0; background: var(--pui-surface-sunken); }
107
+ .pui-calendar-day--selected,
108
+ .pui-calendar-day[aria-selected="true"] {
109
+ background: var(--pui-action-primary-bg);
110
+ color: var(--pui-action-primary-fg);
111
+ box-shadow: none;
112
+ }
113
+ .pui-calendar-day--selected:hover,
114
+ .pui-calendar-day[aria-selected="true"]:hover { background: var(--pui-action-primary-bg-hover); }
115
+ /* 3.5.2 — the selected day sets `box-shadow: none` to drop the today ring, and that killed the focus
116
+ ring with it: the one day a date picker puts keyboard focus on had no indicator at all. */
117
+ .pui-calendar-day[aria-selected="true"]:focus-visible { box-shadow: var(--pui-ring); }
118
+ .pui-calendar-day:disabled { opacity: 0.5; cursor: not-allowed; }
@@ -0,0 +1,114 @@
1
+ /* card.css — Card (10_COMPONENTS.md § Content blocks).
2
+ *
3
+ * Fedor's card (D45) — the Deck kit's Card/Basic anatomy (8010:5150 · 8010:5277 · 8011:5691 · 8010:5518): a 64 icon
4
+ * box with a 32 glyph, the title at body/large's size at Medium (22 web · 18 mobile · 26 slide — the site's card
5
+ * master 2051:1569 and .ui-form__title), an optional grey subtitle band on card/band, the white slot at radius 8, the
6
+ * accent head block of Filled header; padding space/20 and gap space/12 (Paggy's --card-pad / --card-gap, the kit's);
7
+ * nested blocks radius/8 inside radius/16. Six finishes, each from a source: basic (Card/Basic/Main, Paggy's .card),
8
+ * plain (the concepts' white dashboard card), border (the blog card's 1 px line), soft (the accent tint — the site's
9
+ * stat cards), colour (the accent itself; ink flips on yellow through the Accent mode, D24), filled-header (the grey
10
+ * card with an accent head). Slots follow the inversion rule: white on grey, grey on white. Figma 133:2.
11
+ * Contract: registry/card/registry.json.
12
+ *
13
+ * <div class="pui-card">
14
+ * <div class="pui-card__media"><img src="…" alt=""></div>
15
+ * <div class="pui-card__header"><span class="pui-card__icon"><span class="pui-icon pui-icon--32">…</span></span>
16
+ * <div class="pui-card__texts"><h3 class="pui-card__title">Supply-path optimisation</h3></div>
17
+ * <button class="pui-icon-button pui-icon-button--ghost pui-icon-button--small pui-card__action" aria-label="More">…</button></div>
18
+ * <div class="pui-card__band">When to scale or slow down</div>
19
+ * <div class="pui-card__slot">…</div>
20
+ * <div class="pui-button-group pui-card__footer">…</div></div>
21
+ * <div class="pui-card pui-card--filled-header"><div class="pui-card__head"> …the header parts… </div> …</div>
22
+ *
23
+ * Style (none) basic · --plain · --border · --soft · --colour · --filled-header
24
+ * Accent set data-accent on the card or a parent (blue / red / yellow / multicolor) — soft, colour and
25
+ * filled-header follow it; yellow's ink is the token's, never a hand override
26
+ * Canvas the title and band scale with data-canvas (D36) — 22 / 18 on the web, 26 / 20 on a slide
27
+ */
28
+
29
+ .pui-card {
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: var(--pui-layout-card-gap);
33
+ box-sizing: border-box;
34
+ padding: var(--pui-layout-card-padding);
35
+ border: 1px solid transparent;
36
+ border-radius: var(--pui-radius-16);
37
+ background: var(--pui-surface-card);
38
+ color: var(--pui-text-default);
39
+ font-family: var(--pui-font-family);
40
+ font-size: var(--pui-type-body-medium-font-size);
41
+ line-height: var(--pui-font-line-height-normal);
42
+ --pui-card-slot: var(--pui-surface-slot);
43
+ }
44
+ .pui-card--plain,
45
+ .pui-card--border { background: var(--pui-surface-page); --pui-card-slot: var(--pui-surface-card); }
46
+ .pui-card--border { border-color: var(--pui-border-default); }
47
+ .pui-card--soft { background: var(--pui-accent-bg); }
48
+ .pui-card--colour { background: var(--pui-accent-main); color: var(--pui-accent-on-accent); }
49
+
50
+ .pui-card__media {
51
+ overflow: hidden;
52
+ aspect-ratio: 16 / 9;
53
+ border-radius: var(--pui-radius-8);
54
+ background: var(--pui-surface-sunken);
55
+ }
56
+ .pui-card__media > img,
57
+ .pui-card__media > video { display: block; width: 100%; height: 100%; object-fit: cover; }
58
+
59
+ .pui-card__header,
60
+ .pui-card__head {
61
+ display: flex;
62
+ align-items: center;
63
+ gap: var(--pui-layout-card-padding);
64
+ }
65
+ .pui-card__head {
66
+ gap: var(--pui-space-20);
67
+ padding: var(--pui-space-8) var(--pui-space-12);
68
+ border-radius: var(--pui-radius-8);
69
+ background: var(--pui-accent-main);
70
+ color: var(--pui-accent-on-accent);
71
+ }
72
+ .pui-card__icon {
73
+ display: inline-flex;
74
+ align-items: center;
75
+ justify-content: center;
76
+ flex: none;
77
+ width: var(--pui-space-64);
78
+ height: var(--pui-space-64);
79
+ border-radius: var(--pui-radius-8);
80
+ background: var(--pui-accent-main);
81
+ color: var(--pui-accent-on-accent);
82
+ }
83
+ .pui-card--colour .pui-card__icon,
84
+ .pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-main); }
85
+ .pui-card__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
86
+ .pui-card__title {
87
+ margin: 0;
88
+ font-size: var(--pui-type-body-large-font-size);
89
+ font-weight: var(--pui-font-weight-500);
90
+ line-height: var(--pui-font-line-height-normal);
91
+ }
92
+ .pui-card__description { margin: 0; color: var(--pui-text-muted); font-size: var(--pui-type-body-x-small-font-size); }
93
+ .pui-card--colour .pui-card__description,
94
+ .pui-card__head .pui-card__description { color: inherit; }
95
+ .pui-card__action { flex: none; align-self: flex-start; }
96
+
97
+ .pui-card__band {
98
+ padding: var(--pui-space-12);
99
+ border-radius: var(--pui-radius-8);
100
+ background: var(--pui-card-band);
101
+ color: var(--pui-text-default);
102
+ font-size: var(--pui-type-body-medium-font-size);
103
+ }
104
+ .pui-card__slot {
105
+ display: flex;
106
+ flex-direction: column;
107
+ gap: var(--pui-space-12);
108
+ padding: var(--pui-space-12);
109
+ border-radius: var(--pui-radius-8);
110
+ background: var(--pui-card-slot);
111
+ color: var(--pui-text-default);
112
+ }
113
+ .pui-card--filled-header .pui-card__slot { background: transparent; padding: 0; }
114
+ .pui-card__footer { align-self: flex-start; }