@mediaradar/design-tokens 2.9.0 → 2.11.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/dist/DESIGN.md +8 -1
- package/dist/css/dark.css +3 -0
- package/dist/css/ref.css +12 -1
- package/dist/css/sys.css +9 -0
- package/dist/js/tokens.d.ts +23 -0
- package/dist/js/tokens.js +35 -2
- package/dist/tailwind/theme.css +9 -0
- package/package.json +1 -1
package/dist/DESIGN.md
CHANGED
|
@@ -32,6 +32,7 @@ MediaRadar is a B2B media intelligence platform — enterprise software for adve
|
|
|
32
32
|
| `surface` | Cards, panels, dialogs, drawers |
|
|
33
33
|
| `subtle` | Secondary areas, sidebars, striped table rows |
|
|
34
34
|
| `text-primary` | Body copy, headings, form values |
|
|
35
|
+
| `text-title` | Page titles (the h1 at the top of a page) — a softer warm brown than `text-primary` |
|
|
35
36
|
| `text-secondary` | Supporting text, metadata, timestamps |
|
|
36
37
|
| `text-inverse` | Text/icons on dark or brand-colored backgrounds |
|
|
37
38
|
| `text-warning` | Caution states |
|
|
@@ -44,6 +45,8 @@ MediaRadar is a B2B media intelligence platform — enterprise software for adve
|
|
|
44
45
|
| `status-danger` | Errors, destructive actions |
|
|
45
46
|
| `status-onstatus` | Text/icons on status-colored backgrounds |
|
|
46
47
|
|
|
48
|
+
Tone gradients (`bg-tone-danger`, `bg-tone-info`, `bg-tone-warning`, `bg-tone-success`, `bg-tone-neutral`) fill image placeholders, such as a news card with no cover image. They are decorative backdrops, not status indicators: never use them on buttons, badges or text.
|
|
49
|
+
|
|
47
50
|
### Typography hierarchy
|
|
48
51
|
|
|
49
52
|
Prefer `text-style-*` composite classes — they set size, weight, line-height, letter-spacing, and color in one class and support all Tailwind variants (`hover:`, `md:`, etc.).
|
|
@@ -173,7 +176,10 @@ Key is the suffix for any Tailwind color utility: `bg-{key}`, `text-{key}`, `bor
|
|
|
173
176
|
| text-primary | #1f1b16 | #f4f2ee |
|
|
174
177
|
| text-secondary | #6b6358 | #b5aea1 |
|
|
175
178
|
| text-tertiary | #5f574b | #a39b8c |
|
|
179
|
+
| text-title | #3a3329 | #d6cebf |
|
|
176
180
|
| text-inverse | #fbfaf7 | #1c1814 |
|
|
181
|
+
| text-inverseSuccess | #7fc28f | #1d7a3b |
|
|
182
|
+
| text-inverseWarning | #e8c285 | #8a5a12 |
|
|
177
183
|
| text-warning | #5c4118 | #e8c285 |
|
|
178
184
|
| text-danger | #8b1018 | #ff7068 |
|
|
179
185
|
| text-success | #1d4d2a | #7fc28f |
|
|
@@ -342,6 +348,7 @@ Tailwind: `p-{key}`, `m-{key}`, `gap-{key}`, `w-{key}`, `h-{key}`, etc. Integer
|
|
|
342
348
|
| --- | --- |
|
|
343
349
|
| control | 8px |
|
|
344
350
|
| card | 12px |
|
|
351
|
+
| pill | 999px |
|
|
345
352
|
|
|
346
353
|
### Elevation
|
|
347
354
|
|
|
@@ -357,7 +364,7 @@ Tailwind: `p-{key}`, `m-{key}`, `gap-{key}`, `w-{key}`, `h-{key}`, etc. Integer
|
|
|
357
364
|
| Type | Key | Tailwind | Value |
|
|
358
365
|
| --- | --- | --- | --- |
|
|
359
366
|
| duration | interactive | duration-interactive | 200ms |
|
|
360
|
-
| easing | interactive | ease-interactive | cubic-bezier(0.
|
|
367
|
+
| easing | interactive | ease-interactive | cubic-bezier(0.25, 0.46, 0.45, 0.94) |
|
|
361
368
|
|
|
362
369
|
### Opacity
|
|
363
370
|
|
package/dist/css/dark.css
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
--mr-color-text-primary: var(--mr-ref-color-brand-warm-text-primary-dark);
|
|
8
8
|
--mr-color-text-secondary: var(--mr-ref-color-brand-warm-text-secondary-dark);
|
|
9
9
|
--mr-color-text-tertiary: var(--mr-ref-color-brand-warm-text-tertiary-dark);
|
|
10
|
+
--mr-color-text-title: var(--mr-ref-color-brand-warm-text-title-dark);
|
|
10
11
|
--mr-color-text-inverse: var(--mr-ref-color-brand-warm-text-inverse-dark);
|
|
12
|
+
--mr-color-text-inverse-success: var(--mr-ref-color-brand-warm-text-inverse-success-dark);
|
|
13
|
+
--mr-color-text-inverse-warning: var(--mr-ref-color-brand-warm-text-inverse-warning-dark);
|
|
11
14
|
--mr-color-text-warning: var(--mr-ref-color-brand-warm-text-warning-dark);
|
|
12
15
|
--mr-color-text-danger: var(--mr-ref-color-brand-warm-text-danger-dark);
|
|
13
16
|
--mr-color-text-success: var(--mr-ref-color-brand-warm-text-success-dark);
|
package/dist/css/ref.css
CHANGED
|
@@ -13,10 +13,16 @@
|
|
|
13
13
|
--mr-ref-color-brand-warm-text-secondary-dark: #b5aea1;
|
|
14
14
|
--mr-ref-color-brand-warm-text-tertiary-light: #5f574b;
|
|
15
15
|
--mr-ref-color-brand-warm-text-tertiary-dark: #a39b8c;
|
|
16
|
+
--mr-ref-color-brand-warm-text-title-light: #3a3329;
|
|
17
|
+
--mr-ref-color-brand-warm-text-title-dark: #d6cebf;
|
|
16
18
|
--mr-ref-color-brand-warm-text-link-light: #2747c4;
|
|
17
19
|
--mr-ref-color-brand-warm-text-link-dark: #8aa0ff;
|
|
18
20
|
--mr-ref-color-brand-warm-text-inverse-light: #fbfaf7;
|
|
19
21
|
--mr-ref-color-brand-warm-text-inverse-dark: #1c1814;
|
|
22
|
+
--mr-ref-color-brand-warm-text-inverse-success-light: #7fc28f;
|
|
23
|
+
--mr-ref-color-brand-warm-text-inverse-success-dark: #1d7a3b;
|
|
24
|
+
--mr-ref-color-brand-warm-text-inverse-warning-light: #e8c285;
|
|
25
|
+
--mr-ref-color-brand-warm-text-inverse-warning-dark: #8a5a12;
|
|
20
26
|
--mr-ref-color-brand-warm-text-danger-light: #8b1018;
|
|
21
27
|
--mr-ref-color-brand-warm-text-danger-dark: #ff7068;
|
|
22
28
|
--mr-ref-color-brand-warm-text-warning-light: #5c4118;
|
|
@@ -356,9 +362,14 @@
|
|
|
356
362
|
--mr-ref-motion-duration-fast: 120ms;
|
|
357
363
|
--mr-ref-motion-duration-base: 200ms;
|
|
358
364
|
--mr-ref-motion-duration-slow: 320ms;
|
|
359
|
-
--mr-ref-motion-easing-standard: cubic-bezier(0.
|
|
365
|
+
--mr-ref-motion-easing-standard: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
360
366
|
--mr-ref-z-dropdown: 1000;
|
|
361
367
|
--mr-ref-z-modal: 1100;
|
|
362
368
|
--mr-ref-z-toast: 1150;
|
|
363
369
|
--mr-ref-z-tooltip: 1200;
|
|
370
|
+
--mr-ref-gradient-tone-danger: linear-gradient(135deg, #e94545 0%, #8b1018 100%);
|
|
371
|
+
--mr-ref-gradient-tone-info: linear-gradient(135deg, #2747c4 0%, #14266e 100%);
|
|
372
|
+
--mr-ref-gradient-tone-warning: linear-gradient(135deg, #e0a642 0%, #8b5e22 100%);
|
|
373
|
+
--mr-ref-gradient-tone-success: linear-gradient(135deg, #2da85d 0%, #1a5a30 100%);
|
|
374
|
+
--mr-ref-gradient-tone-neutral: linear-gradient(135deg, #9aa3b5 0%, #5a6478 100%);
|
|
364
375
|
}
|
package/dist/css/sys.css
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
--mr-color-text-primary: var(--mr-ref-color-brand-warm-text-primary-light);
|
|
8
8
|
--mr-color-text-secondary: var(--mr-ref-color-brand-warm-text-secondary-light);
|
|
9
9
|
--mr-color-text-tertiary: var(--mr-ref-color-brand-warm-text-tertiary-light);
|
|
10
|
+
--mr-color-text-title: var(--mr-ref-color-brand-warm-text-title-light);
|
|
10
11
|
--mr-color-text-inverse: var(--mr-ref-color-brand-warm-text-inverse-light);
|
|
12
|
+
--mr-color-text-inverse-success: var(--mr-ref-color-brand-warm-text-inverse-success-light);
|
|
13
|
+
--mr-color-text-inverse-warning: var(--mr-ref-color-brand-warm-text-inverse-warning-light);
|
|
11
14
|
--mr-color-text-warning: var(--mr-ref-color-brand-warm-text-warning-light);
|
|
12
15
|
--mr-color-text-danger: var(--mr-ref-color-brand-warm-text-danger-light);
|
|
13
16
|
--mr-color-text-success: var(--mr-ref-color-brand-warm-text-success-light);
|
|
@@ -53,6 +56,7 @@
|
|
|
53
56
|
--mr-typography-letter-spacing-tight: var(--mr-ref-typography-letter-spacing-tight);
|
|
54
57
|
--mr-shape-radius-control: var(--mr-ref-dimension-radius-md);
|
|
55
58
|
--mr-shape-radius-card: var(--mr-ref-dimension-radius-lg);
|
|
59
|
+
--mr-shape-radius-pill: var(--mr-ref-dimension-radius-full);
|
|
56
60
|
--mr-shape-border-width-control: var(--mr-ref-dimension-border-width-hair);
|
|
57
61
|
--mr-spacing-control-padding-x: var(--mr-ref-dimension-spacing-scale-3);
|
|
58
62
|
--mr-spacing-control-padding-y: var(--mr-ref-dimension-spacing-scale-2);
|
|
@@ -65,6 +69,11 @@
|
|
|
65
69
|
--mr-spacing-dialog-padding: var(--mr-ref-dimension-spacing-scale-6);
|
|
66
70
|
--mr-elevation-raised: var(--mr-ref-shadow-sm);
|
|
67
71
|
--mr-elevation-overlay: var(--mr-ref-shadow-md);
|
|
72
|
+
--mr-gradient-tone-danger: var(--mr-ref-gradient-tone-danger);
|
|
73
|
+
--mr-gradient-tone-info: var(--mr-ref-gradient-tone-info);
|
|
74
|
+
--mr-gradient-tone-warning: var(--mr-ref-gradient-tone-warning);
|
|
75
|
+
--mr-gradient-tone-success: var(--mr-ref-gradient-tone-success);
|
|
76
|
+
--mr-gradient-tone-neutral: var(--mr-ref-gradient-tone-neutral);
|
|
68
77
|
--mr-motion-duration-interactive: var(--mr-ref-motion-duration-base);
|
|
69
78
|
--mr-motion-easing-interactive: var(--mr-ref-motion-easing-standard);
|
|
70
79
|
--mr-opacity-disabled: var(--mr-ref-opacity-disabled);
|
package/dist/js/tokens.d.ts
CHANGED
|
@@ -12,7 +12,10 @@ export const mrSysColorInput: string;
|
|
|
12
12
|
export const mrSysColorTextPrimary: string;
|
|
13
13
|
export const mrSysColorTextSecondary: string;
|
|
14
14
|
export const mrSysColorTextTertiary: string;
|
|
15
|
+
export const mrSysColorTextTitle: string;
|
|
15
16
|
export const mrSysColorTextInverse: string;
|
|
17
|
+
export const mrSysColorTextInverseSuccess: string;
|
|
18
|
+
export const mrSysColorTextInverseWarning: string;
|
|
16
19
|
export const mrSysColorTextWarning: string;
|
|
17
20
|
export const mrSysColorTextDanger: string;
|
|
18
21
|
export const mrSysColorTextSuccess: string;
|
|
@@ -48,10 +51,16 @@ export const mrRefColorBrandWarmTextSecondaryLight: string;
|
|
|
48
51
|
export const mrRefColorBrandWarmTextSecondaryDark: string;
|
|
49
52
|
export const mrRefColorBrandWarmTextTertiaryLight: string;
|
|
50
53
|
export const mrRefColorBrandWarmTextTertiaryDark: string;
|
|
54
|
+
export const mrRefColorBrandWarmTextTitleLight: string;
|
|
55
|
+
export const mrRefColorBrandWarmTextTitleDark: string;
|
|
51
56
|
export const mrRefColorBrandWarmTextLinkLight: string;
|
|
52
57
|
export const mrRefColorBrandWarmTextLinkDark: string;
|
|
53
58
|
export const mrRefColorBrandWarmTextInverseLight: string;
|
|
54
59
|
export const mrRefColorBrandWarmTextInverseDark: string;
|
|
60
|
+
export const mrRefColorBrandWarmTextInverseSuccessLight: string;
|
|
61
|
+
export const mrRefColorBrandWarmTextInverseSuccessDark: string;
|
|
62
|
+
export const mrRefColorBrandWarmTextInverseWarningLight: string;
|
|
63
|
+
export const mrRefColorBrandWarmTextInverseWarningDark: string;
|
|
55
64
|
export const mrRefColorBrandWarmTextDangerLight: string;
|
|
56
65
|
export const mrRefColorBrandWarmTextDangerDark: string;
|
|
57
66
|
export const mrRefColorBrandWarmTextWarningLight: string;
|
|
@@ -447,6 +456,11 @@ export const mrRefZModal: number;
|
|
|
447
456
|
/** Above modal, below tooltip. A toast reporting on something that happened in a modal has to be visible over it; a tooltip on the toast's own action button has to sit above the toast. Added because the product had four different hand-picked z values for the same object, so which message won was an accident of which screen you were on. */
|
|
448
457
|
export const mrRefZToast: number;
|
|
449
458
|
export const mrRefZTooltip: number;
|
|
459
|
+
export const mrRefGradientToneDanger: string;
|
|
460
|
+
export const mrRefGradientToneInfo: string;
|
|
461
|
+
export const mrRefGradientToneWarning: string;
|
|
462
|
+
export const mrRefGradientToneSuccess: string;
|
|
463
|
+
export const mrRefGradientToneNeutral: string;
|
|
450
464
|
export const mrColorCanvas: string;
|
|
451
465
|
export const mrColorSurface: string;
|
|
452
466
|
export const mrColorInverseSurface: string;
|
|
@@ -455,7 +469,10 @@ export const mrColorInput: string;
|
|
|
455
469
|
export const mrColorTextPrimary: string;
|
|
456
470
|
export const mrColorTextSecondary: string;
|
|
457
471
|
export const mrColorTextTertiary: string;
|
|
472
|
+
export const mrColorTextTitle: string;
|
|
458
473
|
export const mrColorTextInverse: string;
|
|
474
|
+
export const mrColorTextInverseSuccess: string;
|
|
475
|
+
export const mrColorTextInverseWarning: string;
|
|
459
476
|
export const mrColorTextWarning: string;
|
|
460
477
|
export const mrColorTextDanger: string;
|
|
461
478
|
export const mrColorTextSuccess: string;
|
|
@@ -501,6 +518,7 @@ export const mrTypographyLetterSpacingNormal: number;
|
|
|
501
518
|
export const mrTypographyLetterSpacingTight: number;
|
|
502
519
|
export const mrShapeRadiusControl: number;
|
|
503
520
|
export const mrShapeRadiusCard: number;
|
|
521
|
+
export const mrShapeRadiusPill: number;
|
|
504
522
|
export const mrShapeBorderWidthControl: number;
|
|
505
523
|
export const mrSpacingControlPaddingX: number;
|
|
506
524
|
export const mrSpacingControlPaddingY: number;
|
|
@@ -513,6 +531,11 @@ export const mrSpacingCardPadding: number;
|
|
|
513
531
|
export const mrSpacingDialogPadding: number;
|
|
514
532
|
export const mrElevationRaised: string;
|
|
515
533
|
export const mrElevationOverlay: string;
|
|
534
|
+
export const mrGradientToneDanger: string;
|
|
535
|
+
export const mrGradientToneInfo: string;
|
|
536
|
+
export const mrGradientToneWarning: string;
|
|
537
|
+
export const mrGradientToneSuccess: string;
|
|
538
|
+
export const mrGradientToneNeutral: string;
|
|
516
539
|
export const mrMotionDurationInteractive: number;
|
|
517
540
|
export const mrMotionEasingInteractive: string;
|
|
518
541
|
export const mrOpacityDisabled: number;
|
package/dist/js/tokens.js
CHANGED
|
@@ -13,7 +13,10 @@ export const mrSysColorInput = "#2e2820";
|
|
|
13
13
|
export const mrSysColorTextPrimary = "#f4f2ee";
|
|
14
14
|
export const mrSysColorTextSecondary = "#b5aea1";
|
|
15
15
|
export const mrSysColorTextTertiary = "#a39b8c";
|
|
16
|
+
export const mrSysColorTextTitle = "#d6cebf";
|
|
16
17
|
export const mrSysColorTextInverse = "#1c1814";
|
|
18
|
+
export const mrSysColorTextInverseSuccess = "#1d7a3b";
|
|
19
|
+
export const mrSysColorTextInverseWarning = "#8a5a12";
|
|
17
20
|
export const mrSysColorTextWarning = "#e8c285";
|
|
18
21
|
export const mrSysColorTextDanger = "#ff7068";
|
|
19
22
|
export const mrSysColorTextSuccess = "#7fc28f";
|
|
@@ -50,10 +53,16 @@ export const mrRefColorBrandWarmTextSecondaryLight = "#6b6358";
|
|
|
50
53
|
export const mrRefColorBrandWarmTextSecondaryDark = "#b5aea1";
|
|
51
54
|
export const mrRefColorBrandWarmTextTertiaryLight = "#5f574b";
|
|
52
55
|
export const mrRefColorBrandWarmTextTertiaryDark = "#a39b8c";
|
|
56
|
+
export const mrRefColorBrandWarmTextTitleLight = "#3a3329";
|
|
57
|
+
export const mrRefColorBrandWarmTextTitleDark = "#d6cebf";
|
|
53
58
|
export const mrRefColorBrandWarmTextLinkLight = "#2747c4";
|
|
54
59
|
export const mrRefColorBrandWarmTextLinkDark = "#8aa0ff";
|
|
55
60
|
export const mrRefColorBrandWarmTextInverseLight = "#fbfaf7";
|
|
56
61
|
export const mrRefColorBrandWarmTextInverseDark = "#1c1814";
|
|
62
|
+
export const mrRefColorBrandWarmTextInverseSuccessLight = "#7fc28f";
|
|
63
|
+
export const mrRefColorBrandWarmTextInverseSuccessDark = "#1d7a3b";
|
|
64
|
+
export const mrRefColorBrandWarmTextInverseWarningLight = "#e8c285";
|
|
65
|
+
export const mrRefColorBrandWarmTextInverseWarningDark = "#8a5a12";
|
|
57
66
|
export const mrRefColorBrandWarmTextDangerLight = "#8b1018";
|
|
58
67
|
export const mrRefColorBrandWarmTextDangerDark = "#ff7068";
|
|
59
68
|
export const mrRefColorBrandWarmTextWarningLight = "#5c4118";
|
|
@@ -450,11 +459,21 @@ export const mrRefShadowMd =
|
|
|
450
459
|
export const mrRefMotionDurationFast = 120;
|
|
451
460
|
export const mrRefMotionDurationBase = 200;
|
|
452
461
|
export const mrRefMotionDurationSlow = 320;
|
|
453
|
-
export const mrRefMotionEasingStandard = "cubic-bezier(0.
|
|
462
|
+
export const mrRefMotionEasingStandard = "cubic-bezier(0.25, 0.46, 0.45, 0.94)";
|
|
454
463
|
export const mrRefZDropdown = 1000;
|
|
455
464
|
export const mrRefZModal = 1100;
|
|
456
465
|
export const mrRefZToast = 1150; // Above modal, below tooltip. A toast reporting on something that happened in a modal has to be visible over it; a tooltip on the toast's own action button has to sit above the toast. Added because the product had four different hand-picked z values for the same object, so which message won was an accident of which screen you were on.
|
|
457
466
|
export const mrRefZTooltip = 1200;
|
|
467
|
+
export const mrRefGradientToneDanger =
|
|
468
|
+
"linear-gradient(135deg, #e94545 0%, #8b1018 100%)";
|
|
469
|
+
export const mrRefGradientToneInfo =
|
|
470
|
+
"linear-gradient(135deg, #2747c4 0%, #14266e 100%)";
|
|
471
|
+
export const mrRefGradientToneWarning =
|
|
472
|
+
"linear-gradient(135deg, #e0a642 0%, #8b5e22 100%)";
|
|
473
|
+
export const mrRefGradientToneSuccess =
|
|
474
|
+
"linear-gradient(135deg, #2da85d 0%, #1a5a30 100%)";
|
|
475
|
+
export const mrRefGradientToneNeutral =
|
|
476
|
+
"linear-gradient(135deg, #9aa3b5 0%, #5a6478 100%)";
|
|
458
477
|
export const mrColorCanvas = "#f4f2ee";
|
|
459
478
|
export const mrColorSurface = "#fbfaf7";
|
|
460
479
|
export const mrColorInverseSurface = "#1f1b16";
|
|
@@ -463,7 +482,10 @@ export const mrColorInput = "#fbfaf7";
|
|
|
463
482
|
export const mrColorTextPrimary = "#1f1b16";
|
|
464
483
|
export const mrColorTextSecondary = "#6b6358";
|
|
465
484
|
export const mrColorTextTertiary = "#5f574b";
|
|
485
|
+
export const mrColorTextTitle = "#3a3329";
|
|
466
486
|
export const mrColorTextInverse = "#fbfaf7";
|
|
487
|
+
export const mrColorTextInverseSuccess = "#7fc28f";
|
|
488
|
+
export const mrColorTextInverseWarning = "#e8c285";
|
|
467
489
|
export const mrColorTextWarning = "#5c4118";
|
|
468
490
|
export const mrColorTextDanger = "#8b1018";
|
|
469
491
|
export const mrColorTextSuccess = "#1d4d2a";
|
|
@@ -511,6 +533,7 @@ export const mrTypographyLetterSpacingNormal = 0;
|
|
|
511
533
|
export const mrTypographyLetterSpacingTight = -0.025;
|
|
512
534
|
export const mrShapeRadiusControl = 8;
|
|
513
535
|
export const mrShapeRadiusCard = 12;
|
|
536
|
+
export const mrShapeRadiusPill = 999;
|
|
514
537
|
export const mrShapeBorderWidthControl = 1;
|
|
515
538
|
export const mrSpacingControlPaddingX = 0.75;
|
|
516
539
|
export const mrSpacingControlPaddingY = 0.5;
|
|
@@ -525,8 +548,18 @@ export const mrElevationRaised =
|
|
|
525
548
|
"0 1px 2px 0 rgba(2, 6, 23, 0.04), 0 1px 1px 0 rgba(2, 6, 23, 0.06)";
|
|
526
549
|
export const mrElevationOverlay =
|
|
527
550
|
"0 4px 12px 0 rgba(2, 6, 23, 0.06), 0 2px 4px 0 rgba(2, 6, 23, 0.04)";
|
|
551
|
+
export const mrGradientToneDanger =
|
|
552
|
+
"linear-gradient(135deg, #e94545 0%, #8b1018 100%)";
|
|
553
|
+
export const mrGradientToneInfo =
|
|
554
|
+
"linear-gradient(135deg, #2747c4 0%, #14266e 100%)";
|
|
555
|
+
export const mrGradientToneWarning =
|
|
556
|
+
"linear-gradient(135deg, #e0a642 0%, #8b5e22 100%)";
|
|
557
|
+
export const mrGradientToneSuccess =
|
|
558
|
+
"linear-gradient(135deg, #2da85d 0%, #1a5a30 100%)";
|
|
559
|
+
export const mrGradientToneNeutral =
|
|
560
|
+
"linear-gradient(135deg, #9aa3b5 0%, #5a6478 100%)";
|
|
528
561
|
export const mrMotionDurationInteractive = 200;
|
|
529
|
-
export const mrMotionEasingInteractive = "cubic-bezier(0.
|
|
562
|
+
export const mrMotionEasingInteractive = "cubic-bezier(0.25, 0.46, 0.45, 0.94)";
|
|
530
563
|
export const mrOpacityDisabled = 0.4;
|
|
531
564
|
export const mrZDropdown = 1000;
|
|
532
565
|
export const mrZModal = 1100;
|
package/dist/tailwind/theme.css
CHANGED
|
@@ -55,7 +55,10 @@
|
|
|
55
55
|
--color-text-primary: var(--mr-color-text-primary);
|
|
56
56
|
--color-text-secondary: var(--mr-color-text-secondary);
|
|
57
57
|
--color-text-tertiary: var(--mr-color-text-tertiary);
|
|
58
|
+
--color-text-title: var(--mr-color-text-title);
|
|
58
59
|
--color-text-inverse: var(--mr-color-text-inverse);
|
|
60
|
+
--color-text-inverseSuccess: var(--mr-color-text-inverse-success);
|
|
61
|
+
--color-text-inverseWarning: var(--mr-color-text-inverse-warning);
|
|
59
62
|
--color-text-warning: var(--mr-color-text-warning);
|
|
60
63
|
--color-text-danger: var(--mr-color-text-danger);
|
|
61
64
|
--color-text-success: var(--mr-color-text-success);
|
|
@@ -101,6 +104,7 @@
|
|
|
101
104
|
--tracking-tight: var(--mr-typography-letter-spacing-tight);
|
|
102
105
|
--radius-control: var(--mr-shape-radius-control);
|
|
103
106
|
--radius-card: var(--mr-shape-radius-card);
|
|
107
|
+
--radius-pill: var(--mr-shape-radius-pill);
|
|
104
108
|
--spacing-control-padding-x: var(--mr-spacing-control-padding-x);
|
|
105
109
|
--spacing-control-padding-y: var(--mr-spacing-control-padding-y);
|
|
106
110
|
--spacing-layout-xs: var(--mr-spacing-layout-xs);
|
|
@@ -112,6 +116,11 @@
|
|
|
112
116
|
--spacing-dialog-padding: var(--mr-spacing-dialog-padding);
|
|
113
117
|
--shadow-raised: var(--mr-elevation-raised);
|
|
114
118
|
--shadow-overlay: var(--mr-elevation-overlay);
|
|
119
|
+
--background-image-tone-danger: var(--mr-gradient-tone-danger);
|
|
120
|
+
--background-image-tone-info: var(--mr-gradient-tone-info);
|
|
121
|
+
--background-image-tone-warning: var(--mr-gradient-tone-warning);
|
|
122
|
+
--background-image-tone-success: var(--mr-gradient-tone-success);
|
|
123
|
+
--background-image-tone-neutral: var(--mr-gradient-tone-neutral);
|
|
115
124
|
--transition-duration-interactive: var(--mr-motion-duration-interactive);
|
|
116
125
|
--ease-interactive: var(--mr-motion-easing-interactive);
|
|
117
126
|
--opacity-disabled: var(--mr-opacity-disabled);
|