@hattisar/design-tokens 0.3.18 → 0.3.20

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 (2) hide show
  1. package/package.json +1 -1
  2. package/tokens.css +200 -82
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hattisar/design-tokens",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
4
4
  "description": "Shared design tokens (colors, type, radius, spacing, motion) and base primitives (reset, buttons, inputs, cards, modals, auth shell) for every Hattisar frontend.",
5
5
  "main": "tokens.css",
6
6
  "files": [
package/tokens.css CHANGED
@@ -109,31 +109,19 @@
109
109
  --color-brand-active: color-mix(in srgb, var(--color-brand) 70%, black);
110
110
  --color-brand-text: #ffffff;
111
111
 
112
- /* The main call to action.
113
- Asked for by hex: "main CTA color #4285f4". It is the one place in
114
- this palette with a hue — greys carry structure, colour carries
115
- status, and now one blue carries "this is the button you press".
116
- --color-brand stays charcoal ink: it is the focus ring, the active
117
- tab marker and the checkbox tick, and turning all of those blue is
118
- a bigger change than a call-to-action colour.
119
-
120
- White on #4285f4 measures 3.56:1, below the 4.5:1 this file
121
- promises everywhere else. It is recorded as a deliberate exception
122
- in check-contrast.mjs rather than quietly left out of it — the
123
- nearest shade that passes is #1a73e8 at 4.51:1, visually the same
124
- blue, if the ratio matters more than the exact hex. */
125
- --color-cta: #4285f4;
126
- /* The call-to-action blue as *text* on a surface, which is a
127
- stricter bar than as a fill. #4285f4 carries white at 3.56:1 — the
128
- one documented exception in check-contrast.mjs — and reusing it for
129
- text would spread that exception instead of containing it. Scaled
130
- 13% darker it reaches 4.59:1 on a white card while reading as the
131
- same blue. Dark mode needs no adjustment: #4285f4 already measures
132
- 4.61:1 on #1f1f23, so it keeps the brand hex exactly. */
133
- --color-cta-on-surface: #3973d4;
134
- --color-cta-hover: color-mix(in srgb, var(--color-cta) 88%, black);
135
- --color-cta-active: color-mix(in srgb, var(--color-cta) 76%, black);
136
- --color-cta-text: #ffffff;
112
+ /* The main call to action — charcoal ink, the same as --color-brand,
113
+ not a hue of its own. Used to be a blue chosen by hex; asked for
114
+ directly to remove ("just keep our dark color"). Kept as its own
115
+ token rather than collapsed into --color-brand directly, since the
116
+ handful of places that render it as text on a raised surface
117
+ (sidebar current-row, a link's hover state, an input's focus
118
+ border) still reach for --color-cta-on-surface/--color-cta by
119
+ name, and this way none of them had to change. */
120
+ --color-cta: var(--color-brand);
121
+ --color-cta-on-surface: var(--color-brand);
122
+ --color-cta-hover: var(--color-brand-hover);
123
+ --color-cta-active: var(--color-brand-active);
124
+ --color-cta-text: var(--color-brand-text);
137
125
 
138
126
 
139
127
  /* Secondary button — bordered light-gray fill. Reuses
@@ -144,10 +132,12 @@
144
132
  --color-secondary-border: var(--color-border-strong);
145
133
  --color-secondary-text: var(--color-text-primary);
146
134
  --color-secondary-hover: color-mix(in srgb, var(--color-text-primary) 6%, var(--color-secondary-fill));
135
+ --color-secondary-active: color-mix(in srgb, var(--color-text-primary) 12%, var(--color-secondary-fill));
147
136
 
148
137
  /* Destructive button — irreversible actions only (delete, void). */
149
138
  --color-destructive-fill: #c70a24;
150
139
  --color-destructive-hover: #a30a24;
140
+ --color-destructive-active: color-mix(in srgb, black 15%, var(--color-destructive-hover));
151
141
  --color-destructive-text: #ffffff;
152
142
 
153
143
  /* General-purpose semantic text/icon colors (form errors, savebar
@@ -219,13 +209,58 @@
219
209
  remove-buttons inside chips, the settings toggle switch) — never
220
210
  applied to a badge/tag/chip just for a rounder look; those use
221
211
  --radius-sm like everything else (see .status-badge and friends). */
222
- --radius-xs: 5px;
223
- --radius-sm: 7px;
224
- --radius-md: 10px;
225
- --radius-lg: 13px;
226
- --radius-xl: 16px;
212
+ --radius-xs: 6px;
213
+ --radius-sm: 8px;
214
+ --radius-md: 11px;
215
+ --radius-lg: 14px;
216
+ --radius-xl: 17px;
227
217
  --radius-full: 9999px;
228
218
 
219
+ /* The horizontal tab block (Tabs.tsx) — one frame for every context it
220
+ appears in, whether wrapped in .card (document forms) or
221
+ .form-section-tabs (Customer/Vendor/Item). Transparent on purpose:
222
+ the frame shows the page canvas, so the strip reads as a gray band
223
+ and the active tab's white pill and the white panel below stand out
224
+ against it. A .card frame (white) hid both. */
225
+ --tabs-frame-bg: transparent;
226
+ --tabs-frame-border: 1px solid var(--color-border);
227
+ --tabs-frame-radius: var(--radius-sm);
228
+
229
+ /* Anything that floats over the page: dropdown and action menus, the
230
+ global-search results, combobox lists, the profile/notification
231
+ drawer, tooltips and modal dialogs. Their surface already had a
232
+ border and a shadow but no radius, so every popup was a hard
233
+ rectangle beside the rounded buttons and cards that opened it. */
234
+ --popup-radius: var(--radius-sm);
235
+
236
+ /* The header row shared by every titled card (WidgetCard) and the tab
237
+ strip that stands in for one, and the control that sits inside it (a
238
+ "+" button, a filter select). Two numbers so the strip and the card
239
+ header can't drift apart, and so a control added to a header is sized
240
+ to fit it rather than stretching it. */
241
+ --card-header-height: 36px;
242
+ --card-header-control-height: 24px;
243
+
244
+ /* Colours that must not follow the theme, named instead of repeated as
245
+ hex. White on a saturated fill (an org tile, an integration logo)
246
+ stays white in dark mode; the scrim dims the page behind a modal or
247
+ the mobile nav; a video letterbox is black either way; a printed
248
+ page is always paper and ink. */
249
+ --color-on-accent: #ffffff;
250
+ --color-logo-backdrop: #ffffff;
251
+ --color-scrim: rgba(26, 26, 26, 0.45);
252
+ --color-media-backdrop: #000000;
253
+ --print-paper: #ffffff;
254
+ --print-ink: #0f172a;
255
+
256
+ /* The row a list page's summary tiles and search/filter toolbar share.
257
+ 48px, not the 36px table-header/tab-strip row: those are dense
258
+ header bands; this one holds a text field and a view switcher you
259
+ click into, and at 36px the icon and text sat against the card edge
260
+ and the gray column-header band right below ("search area look very
261
+ tight"). One token so the tiles and the toolbar can't drift apart. */
262
+ --toolbar-row-height: 48px;
263
+
229
264
  /* Depth, deliberately restrained. These were all `none`, which left
230
265
  every surface separated by border alone — correct, legible, and
231
266
  completely flat: a card, a dropdown and a modal all sat on the page
@@ -256,6 +291,19 @@
256
291
  be able to open on top of a dialog it lives inside. */
257
292
  --z-dropdown: 110;
258
293
  --z-modal: 100;
294
+ /* The app shell's own layers, bottom to top. Named with the values
295
+ they always had, so nothing restacks: the docked support panel sits
296
+ under the sidebar rail, both under the banners and the header, and
297
+ the mobile nav (with its backdrop just beneath it) over everything
298
+ but a dropdown or dialog. Component-local stacking (1, 2, 5, 15, 20
299
+ inside a table, a tooltip, a timeline) stays a literal — it only
300
+ orders a component's own children, not the page. */
301
+ --z-support-panel: 40;
302
+ --z-sidebar: 50;
303
+ --z-banner: 59;
304
+ --z-header: 60;
305
+ --z-mobile-backdrop: 150;
306
+ --z-mobile-nav: 200;
259
307
 
260
308
  /* 4px-based spacing scale — new markup (bento tiles, order cards)
261
309
  should reach for these instead of new magic numbers. Existing
@@ -300,6 +348,15 @@
300
348
  of a header row. Narrower than a control that owns its row, because
301
349
  three of those do not fit and a date needs far less than 340px. */
302
350
  --form-control-width-compact: 200px;
351
+ /* The label beside it. Fixed rather than sized to each label's own
352
+ text — "Order date", "Due date" and "Tax rate" all sit in this
353
+ position on different rows of the same header, and letting each
354
+ size itself put their inputs at three different starting points
355
+ down the card, the one thing --form-label-width above exists to
356
+ prevent for the row's first field. 120px is measured to the
357
+ longest label that lives here today, "Invoice date *" at ~97px,
358
+ with room to spare. */
359
+ --form-label-width-compact: 120px;
303
360
  --form-control-width-wide: 520px;
304
361
  --field-min-width-narrow: 140px;
305
362
 
@@ -409,6 +466,20 @@
409
466
  --page-width-medium: var(--page-width-content);
410
467
  --page-width-large: var(--page-width-content);
411
468
 
469
+ /* A second, wider cap for a list/table page (Items, Sales Orders,
470
+ Purchase Orders, ...) — reported directly ("keep wide page width
471
+ for tables... another page width for form which is shorter in
472
+ centered like now"). --page-width-content stays the form width
473
+ (a column you can read across); a table wants more of the room a
474
+ wide monitor actually has, so this is capped further out instead
475
+ of sharing the form's own number. Used by the one rule that caps
476
+ a plain list page's root <div> (.page-content-scroll, further
477
+ down) — forms keep their own narrower cap untouched.
478
+
479
+ 1440 → 1680: asked for directly ("more wide than 1440px") right
480
+ after the first pass shipped. */
481
+ --page-width-wide: 1680px;
482
+
412
483
  color-scheme: light dark;
413
484
  }
414
485
 
@@ -468,13 +539,13 @@
468
539
  --color-brand-hover: color-mix(in srgb, var(--color-brand) 90%, black);
469
540
  --color-brand-active: color-mix(in srgb, var(--color-brand) 75%, black);
470
541
  --color-brand-text: #09090b;
471
- --color-cta: #4285f4;
472
- /* Light mode darkens this for contrast; on a dark surface the brand
473
- blue already clears AA, so it stands unmodified. */
474
- --color-cta-on-surface: #4285f4;
475
- --color-cta-hover: color-mix(in srgb, var(--color-cta) 88%, black);
476
- --color-cta-active: color-mix(in srgb, var(--color-cta) 76%, black);
477
- --color-cta-text: #ffffff;
542
+ /* See :root's own --color-cta for why this is brand ink and not a
543
+ hue of its own. */
544
+ --color-cta: var(--color-brand);
545
+ --color-cta-on-surface: var(--color-brand);
546
+ --color-cta-hover: var(--color-brand-hover);
547
+ --color-cta-active: var(--color-brand-active);
548
+ --color-cta-text: var(--color-brand-text);
478
549
 
479
550
  --shadow-btn-primary: 0 1px 2px rgba(9, 9, 11, 0.12);
480
551
  --shadow-btn-secondary: 0 1px 2px rgba(9, 9, 11, 0.05);
@@ -483,9 +554,11 @@
483
554
  --color-secondary-border: var(--color-border-strong);
484
555
  --color-secondary-text: var(--color-text-primary);
485
556
  --color-secondary-hover: color-mix(in srgb, white 6%, var(--color-secondary-fill));
557
+ --color-secondary-active: color-mix(in srgb, white 12%, var(--color-secondary-fill));
486
558
 
487
559
  --color-destructive-fill: #a30a24;
488
560
  --color-destructive-hover: #c70a24;
561
+ --color-destructive-active: color-mix(in srgb, white 15%, var(--color-destructive-hover));
489
562
  --color-destructive-text: #ffffff;
490
563
 
491
564
  --color-warning: var(--accent-amber);
@@ -544,9 +617,9 @@
544
617
  --sidebar-text-muted: var(--color-text-muted);
545
618
  --sidebar-active-text: var(--color-text-primary);
546
619
  --sidebar-hover-bg: rgba(255, 255, 255, 0.06);
547
- /* --color-cta unmodified here: on #18181b it measures 4.97:1, where
548
- the on-surface variant light theme uses is tuned for a white
549
- ground. See the light block above for what this token is. */
620
+ /* --color-cta is brand ink now (see :root's own --color-cta) — this
621
+ "current row" marker used to lean on the accent blue clearing AA
622
+ on #18181b without the on-surface variant's extra darkening. */
550
623
  --sidebar-active-ink: var(--color-cta);
551
624
  --sidebar-rail-bg: #18181b;
552
625
 
@@ -577,18 +650,13 @@
577
650
  --color-brand-hover: color-mix(in srgb, var(--color-brand) 85%, black);
578
651
  --color-brand-active: color-mix(in srgb, var(--color-brand) 70%, black);
579
652
  --color-brand-text: #ffffff;
580
- --color-cta: #4285f4;
581
- /* The call-to-action blue as *text* on a surface, which is a
582
- stricter bar than as a fill. #4285f4 carries white at 3.56:1 — the
583
- one documented exception in check-contrast.mjs — and reusing it for
584
- text would spread that exception instead of containing it. Scaled
585
- 13% darker it reaches 4.59:1 on a white card while reading as the
586
- same blue. Dark mode needs no adjustment: #4285f4 already measures
587
- 4.61:1 on #1f1f23, so it keeps the brand hex exactly. */
588
- --color-cta-on-surface: #3973d4;
589
- --color-cta-hover: color-mix(in srgb, var(--color-cta) 88%, black);
590
- --color-cta-active: color-mix(in srgb, var(--color-cta) 76%, black);
591
- --color-cta-text: #ffffff;
653
+ /* See :root's own --color-cta for why this is brand ink and not a
654
+ hue of its own. */
655
+ --color-cta: var(--color-brand);
656
+ --color-cta-on-surface: var(--color-brand);
657
+ --color-cta-hover: var(--color-brand-hover);
658
+ --color-cta-active: var(--color-brand-active);
659
+ --color-cta-text: var(--color-brand-text);
592
660
 
593
661
  --shadow-btn-primary: 0 1px 2px rgba(0, 0, 0, 0.4);
594
662
  --shadow-btn-secondary: 0 1px 2px rgba(0, 0, 0, 0.3);
@@ -597,9 +665,11 @@
597
665
  --color-secondary-border: var(--color-border-strong);
598
666
  --color-secondary-text: var(--color-text-primary);
599
667
  --color-secondary-hover: color-mix(in srgb, var(--color-text-primary) 6%, var(--color-secondary-fill));
668
+ --color-secondary-active: color-mix(in srgb, var(--color-text-primary) 12%, var(--color-secondary-fill));
600
669
 
601
670
  --color-destructive-fill: #c70a24;
602
671
  --color-destructive-hover: #a30a24;
672
+ --color-destructive-active: color-mix(in srgb, black 15%, var(--color-destructive-hover));
603
673
  --color-destructive-text: #ffffff;
604
674
 
605
675
  --color-warning: #8a6600;
@@ -683,7 +753,6 @@
683
753
 
684
754
  *::-webkit-scrollbar-thumb {
685
755
  background: var(--color-border-strong);
686
- border-radius: var(--radius-full);
687
756
  border: 2px solid transparent;
688
757
  background-clip: padding-box;
689
758
  }
@@ -752,11 +821,19 @@ a {
752
821
  text-decoration: none;
753
822
  }
754
823
 
755
- /* The app's one accent blue — same token as the sidebar's current-row
756
- ink and the active document tab. Not .card: a card-styled link is a
757
- clickable surface, not inline text, and turning its whole contents
758
- blue on hover would tint every stat number/label inside a dashboard
759
- tile along with it (see a.card below, which keeps its own hover
824
+ /* Color shift only, no underline. Nav rows, table rows, menu items and
825
+ every other structural link declare their own higher-specificity
826
+ :hover with a background fill, so this rule never actually paints on
827
+ them — an underline here used to show through anyway, stacked on
828
+ top of that fill, which read as two hover cues on one row instead of
829
+ one. What's left is what a bare inline-text link (no background
830
+ treatment of its own) gets, and a color change is enough there.
831
+
832
+ Not .card: a card-styled link is a clickable surface, not inline
833
+ text, and most of what's inside one already carries its own explicit
834
+ color — but any incidental text that doesn't would pick up this
835
+ tint on hover, which reads as random flicker rather than a link
836
+ changing color (see a.card below, which keeps its own hover
760
837
  treatment instead). */
761
838
  a:hover:not(.card) {
762
839
  color: var(--color-cta-on-surface);
@@ -765,7 +842,6 @@ a:hover:not(.card) {
765
842
  a:focus-visible {
766
843
  outline: 1.5px dashed var(--color-brand);
767
844
  outline-offset: 4px;
768
- border-radius: var(--radius-full);
769
845
  }
770
846
 
771
847
  /* A label should recede so the value it names is what gets scanned.
@@ -788,16 +864,16 @@ label[data-required]::after {
788
864
  font-weight: var(--font-weight-regular);
789
865
  }
790
866
 
791
- /* Primary action — the call-to-action fill. Charcoal until it was
792
- given a colour of its own; --color-brand still carries structure
793
- (focus ring, active tab, checkbox tick) and is deliberately not
794
- this. */
867
+ /* Primary action — the call-to-action fill. Charcoal, the same ink as
868
+ --color-brand (see --color-cta above): had a hue of its own for a
869
+ while, removed to keep color reserved for status/data, same as
870
+ everywhere else in this palette. */
795
871
  button {
796
872
  font: inherit;
797
873
  cursor: pointer;
798
874
  border: none;
799
- border-radius: var(--radius-sm);
800
- padding: 5px 10px;
875
+ border-radius: var(--radius-xs);
876
+ padding: 4px 10px;
801
877
  font-size: var(--text-base);
802
878
  font-weight: 400;
803
879
  background: var(--color-cta);
@@ -858,8 +934,8 @@ button:focus-visible {
858
934
  font: inherit;
859
935
  cursor: pointer;
860
936
  border: none;
861
- border-radius: var(--radius-sm);
862
- padding: 5px 10px;
937
+ border-radius: var(--radius-xs);
938
+ padding: 4px 10px;
863
939
  font-size: var(--text-base);
864
940
  font-weight: 400;
865
941
  background: var(--color-secondary-fill);
@@ -873,6 +949,16 @@ button:focus-visible {
873
949
  opacity: 1;
874
950
  }
875
951
 
952
+ /* Needed despite the bare button:active rule above already setting a
953
+ background on press — button:active's specificity (an element plus
954
+ a pseudo-class) beats .btn-secondary's own single class regardless
955
+ of source order, so without this, pressing a secondary button
956
+ flashed the *primary* button's dark --color-cta-active fill instead
957
+ of staying in its own secondary color family. */
958
+ .btn-secondary:active {
959
+ background: var(--color-secondary-active);
960
+ }
961
+
876
962
  /* Destructive action — irreversible operations only (delete, void,
877
963
  permanently remove). Not the default for every "Delete" button in
878
964
  an app; opt in per call site where the action truly can't be
@@ -884,8 +970,8 @@ button:focus-visible {
884
970
  font: inherit;
885
971
  cursor: pointer;
886
972
  border: none;
887
- border-radius: var(--radius-sm);
888
- padding: 5px 10px;
973
+ border-radius: var(--radius-xs);
974
+ padding: 4px 10px;
889
975
  font-size: var(--text-base);
890
976
  font-weight: 400;
891
977
  background: var(--color-destructive-fill);
@@ -902,6 +988,14 @@ button:focus-visible {
902
988
  background: var(--color-destructive-hover);
903
989
  }
904
990
 
991
+ /* Same reason .btn-secondary:active exists above — button:active's
992
+ own specificity would otherwise win with the primary button's
993
+ --color-cta-active fill instead of a darker/lighter shade of this
994
+ button's own red. */
995
+ .btn-danger:active {
996
+ background: var(--color-destructive-active);
997
+ }
998
+
905
999
  /* font-family is inherited; size, weight and colour are stated.
906
1000
  `font: inherit` alone meant a field took its type from whatever
907
1001
  wrapped it — and most fields in this app are wrapped in their own
@@ -1143,11 +1237,9 @@ label:has(:required) .combobox-input {
1143
1237
  color: var(--color-text-primary);
1144
1238
  }
1145
1239
 
1146
- /* The app's one accent blue, not --color-brand — asked for directly.
1147
- --color-brand still does the same job for the controls that used to
1148
- share this border with it (checkbox tick, a:focus-visible's outline),
1149
- so it stays defined as-is; this just stops reading its (near-black)
1150
- value for the field border specifically.
1240
+ /* --color-cta-on-surface is brand ink now (see :root's own --color-cta)
1241
+ — this used to read a separate accent blue here, kept as its own
1242
+ token in case the two ever need to diverge again.
1151
1243
 
1152
1244
  No box-shadow ring — asked for directly ("we do not need out shadow
1153
1245
  on input area when typing"). :focus and :focus-visible used to carry
@@ -1213,18 +1305,44 @@ input[type="radio"] {
1213
1305
  accent-color: var(--color-brand);
1214
1306
  }
1215
1307
 
1216
- /* Shadow-based elevation, plus a hairline border — the card surface
1217
- and page canvas are close enough in lightness that shadow alone
1218
- doesn't read as a distinct edge, so the border carries definition
1219
- while the shadow carries depth. */
1308
+ /* Shadow-based elevation, plus a real border — the card surface and
1309
+ page canvas are close enough in lightness that shadow alone doesn't
1310
+ read as a distinct edge, so the border carries definition while the
1311
+ shadow carries depth. 1px border-strong, not the old 0.5px border —
1312
+ unified with .widget-card (tokens.css), which had already moved to
1313
+ the crisper weight and color and left plain .card as the one place
1314
+ still drawing a thinner, lighter line for what is the same "a card"
1315
+ job. */
1220
1316
  .card {
1221
1317
  background: var(--color-background-card);
1222
- border: 0.5px solid var(--color-border);
1223
- border-radius: var(--radius-lg);
1318
+ border: 1px solid var(--color-border-strong);
1319
+ border-radius: var(--radius-sm);
1224
1320
  box-shadow: var(--shadow-sm);
1225
1321
  padding: 16px;
1226
1322
  }
1227
1323
 
1324
+ /* The standard gap between two vertically stacked cards — asked for
1325
+ directly, "organize" the pages that each hand-rolled their own
1326
+ marginBottom for this (16px and 20px both showed up for the same
1327
+ "space before the next card" job, no rule for which).
1328
+
1329
+ Opt-in via .card-stack on the shared parent, not a blanket
1330
+ `.card + .card` — a margin-top here would land on the cross axis,
1331
+ not stack spacing, wherever two cards sit in a flex row/wrap
1332
+ instead of a vertical flow (confirmed at least one such case:
1333
+ BillingPage's plan-comparison grid), silently misaligning them.
1334
+ .card-stack marks "these siblings really are a vertical stack" so
1335
+ the rule only ever fires where that is true. Un-opted-in card
1336
+ sequences keep whatever spacing they already declare.
1337
+
1338
+ .widget-card counts as a card here. It didn't, and once the
1339
+ integration pages' Connection card became a WidgetCard the Orders
1340
+ card sat flush against it ("add some space on top of order card") —
1341
+ the rule only knew .card + .card. */
1342
+ .card-stack > :is(.card, .widget-card) + :is(.card, .widget-card) {
1343
+ margin-top: 16px;
1344
+ }
1345
+
1228
1346
  /* A card whose entire content is a table — no inset padding, so the
1229
1347
  table's own row/column lines run edge-to-edge to the card's outer
1230
1348
  border instead of floating inside a padded frame. overflow: hidden
@@ -1451,7 +1569,7 @@ a.card:hover {
1451
1569
  .modal-overlay {
1452
1570
  position: fixed;
1453
1571
  inset: 0;
1454
- background: rgba(26, 26, 26, 0.45);
1572
+ background: var(--color-scrim);
1455
1573
  display: flex;
1456
1574
  align-items: flex-start;
1457
1575
  justify-content: center;
@@ -1462,7 +1580,6 @@ a.card:hover {
1462
1580
  .modal-panel {
1463
1581
  background: var(--color-surface-raised);
1464
1582
  border: 1px solid var(--color-border-raised);
1465
- border-radius: var(--radius-lg);
1466
1583
  box-shadow: var(--shadow-popover);
1467
1584
  width: 100%;
1468
1585
  max-width: 640px;
@@ -1470,6 +1587,7 @@ a.card:hover {
1470
1587
  display: flex;
1471
1588
  flex-direction: column;
1472
1589
  overflow: hidden;
1590
+ border-radius: var(--popup-radius);
1473
1591
  }
1474
1592
 
1475
1593
  .modal-panel-header {