@vsn-ux/gaia-styles 0.5.19 → 0.6.1

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 (97) hide show
  1. package/dist/all-10pt.css +514 -226
  2. package/dist/all-no-reset-10pt.css +507 -225
  3. package/dist/all-no-reset.css +507 -225
  4. package/dist/all.css +514 -226
  5. package/dist/base.css +1 -1
  6. package/dist/components/avatar.css +11 -2
  7. package/dist/components/badge.css +45 -12
  8. package/dist/components/button.css +19 -3
  9. package/dist/components/calendar.css +52 -20
  10. package/dist/components/card.css +112 -9
  11. package/dist/components/checkbox.css +17 -2
  12. package/dist/components/container.css +1 -1
  13. package/dist/components/datepicker.css +90 -1
  14. package/dist/components/dropdown.css +108 -4
  15. package/dist/components/form-field.css +19 -3
  16. package/dist/components/input.css +17 -2
  17. package/dist/components/link.css +22 -3
  18. package/dist/components/menu.css +102 -5
  19. package/dist/components/modal.css +12 -3
  20. package/dist/components/notification.css +14 -5
  21. package/dist/components/progress-bar.css +5 -5
  22. package/dist/components/progress-indicator.css +19 -4
  23. package/dist/components/quick-filter-button.css +18 -2
  24. package/dist/components/radio.css +25 -7
  25. package/dist/components/segmented-control.css +20 -5
  26. package/dist/components/select.css +49 -7
  27. package/dist/components/switch.css +22 -9
  28. package/dist/components/tabs.css +19 -3
  29. package/dist/components/tag.css +31 -16
  30. package/dist/components/text-area.css +17 -2
  31. package/dist/components/text-size.css +14 -14
  32. package/dist/components/tooltip.css +19 -7
  33. package/dist/components.css +293 -132
  34. package/dist/design-tokens.css +214 -93
  35. package/dist/design-tokens.d.ts +294 -197
  36. package/dist/design-tokens.js +552 -2153
  37. package/dist/docs/Avatar.md +52 -0
  38. package/dist/docs/Badge.md +60 -0
  39. package/dist/docs/Button.md +60 -0
  40. package/dist/docs/Calendar.md +468 -0
  41. package/dist/docs/Card.md +57 -0
  42. package/dist/docs/Checkbox.md +112 -0
  43. package/dist/docs/Container.md +62 -0
  44. package/dist/docs/Datepicker.md +107 -0
  45. package/dist/docs/Dropdown.md +152 -0
  46. package/dist/docs/FormField.md +101 -0
  47. package/dist/docs/Input.md +84 -0
  48. package/dist/docs/Link.md +109 -0
  49. package/dist/docs/Menu.md +316 -0
  50. package/dist/docs/Modal.md +337 -0
  51. package/dist/docs/Notification.md +341 -0
  52. package/dist/docs/ProgressBar.md +87 -0
  53. package/dist/docs/ProgressIndicator.md +217 -0
  54. package/dist/docs/QuickFilterButton.md +74 -0
  55. package/dist/docs/Radio.md +106 -0
  56. package/dist/docs/SegmentedControl.md +69 -0
  57. package/dist/docs/Select.md +411 -0
  58. package/dist/docs/Switch.md +97 -0
  59. package/dist/docs/Tabs.md +129 -0
  60. package/dist/docs/Tag.md +154 -0
  61. package/dist/docs/TextArea.md +51 -0
  62. package/dist/docs/TextSize.md +63 -0
  63. package/dist/docs/Tooltip.md +95 -0
  64. package/dist/reset.css +8 -2
  65. package/package.json +33 -32
  66. package/src/design-tokens/desktop-overrides.json +62 -0
  67. package/src/design-tokens/dtcg-tokens.json +1345 -184
  68. package/src/design-tokens/resolver.json +22 -0
  69. package/src/styles/all-10pt.css +1 -0
  70. package/src/styles/all-no-reset-10pt.css +1 -0
  71. package/src/styles/all-no-reset.css +1 -0
  72. package/src/styles/all.css +1 -0
  73. package/src/styles/components/badge.css +6 -6
  74. package/src/styles/components/button.css +2 -2
  75. package/src/styles/components/calendar.css +4 -4
  76. package/src/styles/components/card.css +8 -4
  77. package/src/styles/components/checkbox.css +1 -1
  78. package/src/styles/components/datepicker.css +1 -1
  79. package/src/styles/components/dropdown.css +2 -2
  80. package/src/styles/components/form-field.css +1 -1
  81. package/src/styles/components/input.css +1 -1
  82. package/src/styles/components/link.css +1 -1
  83. package/src/styles/components/menu.css +2 -2
  84. package/src/styles/components/notification.css +1 -1
  85. package/src/styles/components/progress-bar.css +1 -1
  86. package/src/styles/components/progress-indicator.css +1 -1
  87. package/src/styles/components/quick-filter-button.css +1 -1
  88. package/src/styles/components/radio.css +1 -1
  89. package/src/styles/components/segmented-control.css +3 -3
  90. package/src/styles/components/select.css +1 -1
  91. package/src/styles/components/switch.css +3 -3
  92. package/src/styles/components/tabs.css +2 -2
  93. package/src/styles/components/tag.css +12 -17
  94. package/src/styles/components/text-area.css +1 -1
  95. package/src/styles/components/text-size.css +7 -7
  96. package/src/styles/theme.css +16 -8
  97. package/src/styles/utilities.css +34 -0
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "Gaia Design System",
3
+ "version": "2025.10",
4
+ "resolutionOrder": [
5
+ { "$ref": "#/sets/foundation" },
6
+ { "$ref": "#/modifiers/viewport" }
7
+ ],
8
+ "sets": {
9
+ "foundation": {
10
+ "sources": [{ "$ref": "dtcg-tokens.json" }]
11
+ }
12
+ },
13
+ "modifiers": {
14
+ "viewport": {
15
+ "contexts": {
16
+ "mobile": [],
17
+ "desktop": [{ "$ref": "desktop-overrides.json" }]
18
+ },
19
+ "default": "mobile"
20
+ }
21
+ }
22
+ }
@@ -1,4 +1,5 @@
1
1
  @import '../../dist/design-tokens.css';
2
+ @import './utilities.css';
2
3
 
3
4
  @layer theme, base, components, utilities;
4
5
 
@@ -1,4 +1,5 @@
1
1
  @import '../../dist/design-tokens.css';
2
+ @import './utilities.css';
2
3
 
3
4
  @layer theme, base, components, utilities;
4
5
 
@@ -1,4 +1,5 @@
1
1
  @import '../../dist/design-tokens.css';
2
+ @import './utilities.css';
2
3
 
3
4
  @layer theme, base, components, utilities;
4
5
 
@@ -1,4 +1,5 @@
1
1
  @import '../../dist/design-tokens.css';
2
+ @import './utilities.css';
2
3
 
3
4
  @layer theme, base, components, utilities;
4
5
 
@@ -17,19 +17,19 @@
17
17
  }
18
18
 
19
19
  &.ga-badge--information {
20
- @apply bg-(--ga-color-utility-blue-light) text-(--ga-color-text-information) ring-1 ring-(--ga-color-border-information) ring-inset;
20
+ @apply bg-(--ga-color-utility-blue-accent) text-(--ga-color-text-information) ring-1 ring-(--ga-color-border-information) ring-inset;
21
21
  }
22
22
 
23
23
  &.ga-badge--error {
24
- @apply bg-(--ga-color-utility-red-light) text-(--ga-color-text-error) ring-1 ring-(--ga-color-border-error) ring-inset;
24
+ @apply bg-(--ga-color-utility-red-accent) text-(--ga-color-text-error) ring-1 ring-(--ga-color-border-error) ring-inset;
25
25
  }
26
26
 
27
27
  &.ga-badge--warning {
28
- @apply bg-(--ga-color-utility-orange-light) text-(--ga-color-text-warning) ring-1 ring-(--ga-color-border-warning) ring-inset;
28
+ @apply bg-(--ga-color-utility-orange-accent) text-(--ga-color-text-warning) ring-1 ring-(--ga-color-border-warning) ring-inset;
29
29
  }
30
30
 
31
31
  &.ga-badge--success {
32
- @apply bg-(--ga-color-utility-green-light) text-(--ga-color-text-success) ring-1 ring-(--ga-color-border-success) ring-inset;
32
+ @apply bg-(--ga-color-utility-green-accent) text-(--ga-color-text-success) ring-1 ring-(--ga-color-border-success) ring-inset;
33
33
  }
34
34
 
35
35
  &.ga-badge--disabled {
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  &.ga-badge--disabled-inverted {
40
- @apply bg-(--ga-color-icon-pictograms-pictogram-fill) text-(--ga-color-text-disabled);
40
+ @apply bg-(--ga-color-icon-on-primary) text-(--ga-color-text-disabled);
41
41
  }
42
42
  }
43
43
 
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  &.ga-badge--disabled-inverted {
80
- @apply bg-(--ga-color-icon-pictograms-pictogram-fill);
80
+ @apply bg-(--ga-color-icon-on-primary);
81
81
  }
82
82
  }
83
83
  }
@@ -1,5 +1,5 @@
1
1
  .ga-button {
2
- @apply text-md inline-flex h-10 cursor-pointer items-center justify-center gap-2 rounded px-4 align-middle leading-1 font-medium whitespace-nowrap;
2
+ @apply text-md animate-hover inline-flex h-10 cursor-pointer items-center justify-center gap-2 rounded px-4 align-middle leading-1 font-medium whitespace-nowrap transition-colors;
3
3
 
4
4
  .ga-icon {
5
5
  @apply text-(--ga-color-icon-action);
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  &:active {
32
- @apply bg-(--ga-color-primary-70);
32
+ @apply bg-(--ga-color-surface-action);
33
33
  }
34
34
 
35
35
  &:disabled {
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  .ga-calendar__navigation-button {
25
- @apply cursor-pointer hover:text-(--ga-color-icon-action-hover);
25
+ @apply animate-hover cursor-pointer transition-colors hover:text-(--ga-color-icon-action-hover);
26
26
  }
27
27
 
28
28
  .ga-calendar__week-row {
@@ -51,7 +51,7 @@
51
51
 
52
52
  .ga-calendar__year,
53
53
  .ga-calendar__month {
54
- @apply h-10 cursor-pointer rounded text-center text-lg leading-10 font-medium text-(--ga-color-text-action);
54
+ @apply animate-hover h-10 cursor-pointer rounded text-center text-lg leading-10 font-medium text-(--ga-color-text-action) transition-colors;
55
55
 
56
56
  &:not(.ga-calendar__year--disabled, .ga-calendar__month--disabled):hover {
57
57
  @apply text-(--ga-color-text-action-hover) underline underline-offset-6;
@@ -69,7 +69,7 @@
69
69
  }
70
70
 
71
71
  .ga-calendar__day {
72
- @apply text-md relative flex h-10 cursor-pointer items-center justify-center rounded text-center text-(--ga-color-text-body);
72
+ @apply text-md animate-hover relative flex h-10 cursor-pointer items-center justify-center rounded text-center text-(--ga-color-text-body) transition-colors;
73
73
 
74
74
  &:hover {
75
75
  @apply bg-(--ga-color-surface-action-hover-2) text-(--ga-color-text-action-hover);
@@ -113,7 +113,7 @@
113
113
  }
114
114
 
115
115
  &.ga-calendar__day--selected-range-middle {
116
- @apply rounded-none border-y border-(--ga-color-border-success) bg-(--ga-color-success-light) text-(--ga-color-text-body);
116
+ @apply rounded-none border-y border-(--ga-color-border-success) bg-(--ga-color-success-accent) text-(--ga-color-text-body);
117
117
  }
118
118
 
119
119
  &.ga-calendar__day--selected-range-end {
@@ -1,15 +1,19 @@
1
1
  .ga-card {
2
- @apply text-md inline-block rounded border border-(--ga-color-border-primary) bg-white p-4;
2
+ @apply text-md inline-block rounded border border-(--ga-color-border-tertiary) bg-white p-4;
3
3
 
4
4
  &.ga-card--selectable {
5
- @apply cursor-pointer;
5
+ @apply animate-hover relative cursor-pointer transition-[color,background-color,border-color,box-shadow];
6
6
 
7
7
  &:hover:not(.ga-card--selected) {
8
- @apply border-(--ga-color-border-action-hover) bg-(--ga-color-surface-action-hover-2);
8
+ @apply shadow-north border-(--ga-color-border-action-hover) bg-(--ga-color-surface-action-hover-2);
9
9
  }
10
10
 
11
11
  &:focus-visible {
12
- @apply outline-2 outline-offset-2 outline-(--ga-color-border-focus);
12
+ @apply outline-none;
13
+ }
14
+
15
+ &:focus-visible::after {
16
+ @apply absolute -inset-[5px] border-2 border-(--ga-color-border-focus) content-[''];
13
17
  }
14
18
  }
15
19
 
@@ -2,7 +2,7 @@
2
2
  @apply relative inline-flex gap-2;
3
3
 
4
4
  .ga-checkbox__marker {
5
- @apply pointer-events-none absolute top-0 left-0 h-4 w-4 rounded border-2 border-(--ga-color-border-action) text-white;
5
+ @apply animate-state pointer-events-none absolute top-0 left-0 h-4 w-4 rounded border-2 border-(--ga-color-border-action) text-white transition-colors;
6
6
 
7
7
  .ga-checkbox__marker__indicator-checked,
8
8
  .ga-checkbox__marker__indicator-indeterminate {
@@ -1,5 +1,5 @@
1
1
  .ga-datepicker {
2
- @apply rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) p-4;
2
+ @apply shadow-north rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) p-4;
3
3
 
4
4
  .ga-datepicker__footer {
5
5
  @apply mt-2;
@@ -1,5 +1,5 @@
1
1
  .ga-dropdown {
2
- @apply text-md flex max-h-81 max-w-[80ch] flex-col items-stretch overflow-y-auto rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) outline-none;
2
+ @apply text-md shadow-north flex max-h-81 max-w-[80ch] flex-col items-stretch overflow-y-auto rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) outline-none;
3
3
 
4
4
  @supports (scroll-timeline: --dropdown-scroll block) {
5
5
  scroll-timeline: --dropdown-scroll block;
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .ga-dropdown__item {
15
- @apply text-md relative flex h-9 min-w-0 shrink-0 cursor-pointer flex-row items-center gap-2 px-3 py-2 text-left text-(--ga-color-text-action);
15
+ @apply text-md animate-hover relative flex h-9 min-w-0 shrink-0 cursor-pointer flex-row items-center gap-2 px-3 py-2 text-left text-(--ga-color-text-action) transition-colors;
16
16
 
17
17
  &:first-child {
18
18
  @apply rounded-t;
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .ga-form-field__label-text {
18
- @apply text-md min-w-0 truncate font-medium;
18
+ @apply text-md animate-hover min-w-0 truncate font-medium transition-colors;
19
19
  }
20
20
 
21
21
  .ga-form-field__label-state {
@@ -1,5 +1,5 @@
1
1
  .ga-input {
2
- @apply text-md flex h-10 w-50 flex-row items-center gap-2 rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) px-3 py-2;
2
+ @apply text-md animate-hover flex h-10 w-50 flex-row items-center gap-2 rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) px-3 py-2 transition-colors;
3
3
 
4
4
  &:hover {
5
5
  @apply border-(--ga-color-border-action-hover);
@@ -1,5 +1,5 @@
1
1
  .ga-link {
2
- @apply text-md inline-flex h-5 cursor-pointer items-center justify-center gap-1 rounded px-0.5 align-middle font-medium whitespace-nowrap text-(--ga-color-text-action) tabular-nums;
2
+ @apply text-md animate-hover inline-flex h-5 cursor-pointer items-center justify-center gap-1 rounded px-0.5 align-middle font-medium whitespace-nowrap text-(--ga-color-text-action) tabular-nums transition-colors;
3
3
 
4
4
  &.ga-link--inline {
5
5
  @apply underline decoration-(--ga-color-primary-90) decoration-1;
@@ -1,8 +1,8 @@
1
1
  .ga-menu {
2
- @apply text-md flex max-h-81 max-w-[80ch] flex-col items-stretch overflow-y-auto rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary);
2
+ @apply text-md shadow-north flex max-h-81 max-w-[80ch] flex-col items-stretch overflow-y-auto rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary);
3
3
 
4
4
  .ga-menu__item {
5
- @apply relative flex min-h-9 shrink-0 cursor-pointer flex-row gap-2 px-3 py-2 text-left leading-none;
5
+ @apply animate-hover relative flex min-h-9 shrink-0 cursor-pointer flex-row gap-2 px-3 py-2 text-left leading-none transition-colors;
6
6
 
7
7
  &:first-child {
8
8
  @apply rounded-t;
@@ -89,7 +89,7 @@
89
89
  @apply absolute right-0 bottom-px left-0 h-1 overflow-hidden rounded-b-[2px] bg-(--ga-color-surface-disabled);
90
90
 
91
91
  .ga-notification__progress-bar {
92
- @apply absolute h-full origin-top-left rounded bg-(--ga-color-primary-70);
92
+ @apply absolute h-full origin-top-left rounded bg-(--ga-color-surface-progress);
93
93
  }
94
94
 
95
95
  &.ga-notification__progress--indeterminate .ga-notification__progress-bar {
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .ga-progress__bar {
17
- @apply absolute h-full w-full origin-top-left rounded bg-(--ga-color-primary-70);
17
+ @apply absolute h-full w-full origin-top-left rounded bg-(--ga-color-surface-progress);
18
18
  }
19
19
 
20
20
  &.ga-progress--success {
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .ga-progress-indicator__label-text {
43
- @apply text-md min-w-0 truncate font-medium text-(--ga-color-text-action);
43
+ @apply text-md animate-hover min-w-0 truncate font-medium text-(--ga-color-text-action) transition-colors;
44
44
  }
45
45
 
46
46
  .ga-progress-indicator__label-state {
@@ -1,5 +1,5 @@
1
1
  .ga-quick-filter-button {
2
- @apply text-md inline-flex h-10 cursor-pointer items-center justify-center gap-2 rounded-full px-4 align-middle leading-1 font-medium whitespace-nowrap;
2
+ @apply text-md animate-hover inline-flex h-10 cursor-pointer items-center justify-center gap-2 rounded-full px-4 align-middle leading-1 font-medium whitespace-nowrap transition-colors;
3
3
  @apply border border-(--ga-color-border-action) bg-(--ga-color-surface-primary) text-(--ga-color-text-action);
4
4
 
5
5
  .ga-icon {
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  .ga-radio-button__marker {
61
- @apply pointer-events-none absolute top-0 left-0 h-4 w-4 rounded-full border-2 border-(--ga-color-border-action) text-white;
61
+ @apply animate-state pointer-events-none absolute top-0 left-0 h-4 w-4 rounded-full border-2 border-(--ga-color-border-action) text-white transition-colors;
62
62
  }
63
63
 
64
64
  .ga-radio-button__label {
@@ -1,8 +1,8 @@
1
1
  .ga-segmented-control {
2
- @apply text-md inline-flex items-center justify-center gap-0.5 rounded border border-(--ga-color-border-primary) p-0.5 align-middle;
2
+ @apply text-md inline-flex items-center justify-center gap-0.5 rounded border border-(--ga-color-border-tertiary) p-0.5 align-middle;
3
3
 
4
4
  .ga-segmented-control__button {
5
- @apply inline-flex h-8.5 cursor-pointer items-center justify-center gap-2 rounded border border-transparent px-4 align-middle leading-1 whitespace-nowrap text-(--ga-color-text-action);
5
+ @apply animate-hover inline-flex h-8.5 cursor-pointer items-center justify-center gap-2 rounded border border-transparent px-4 align-middle leading-1 whitespace-nowrap text-(--ga-color-text-action) transition-colors;
6
6
 
7
7
  &.ga-segmented-control__button--selected,
8
8
  &:hover {
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &:focus-visible {
21
- @apply outline-2 outline-offset-2 outline-(--ga-color-border-focus);
21
+ @apply outline-2 outline-offset-1 outline-(--ga-color-border-focus);
22
22
  }
23
23
 
24
24
  &.ga-segmented-control__button--icon-only {
@@ -11,7 +11,7 @@
11
11
  }
12
12
 
13
13
  .ga-select {
14
- @apply text-md inline-flex h-10 w-50 cursor-pointer appearance-none items-start gap-2 rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) px-2.5 py-1.5 text-left leading-none;
14
+ @apply text-md animate-hover inline-flex h-10 w-50 cursor-pointer appearance-none items-start gap-2 rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) px-2.5 py-1.5 text-left leading-none transition-colors;
15
15
 
16
16
  &.ga-select--expanded {
17
17
  @apply border-(--ga-color-border-focus) ring-1 ring-(--ga-color-border-focus);
@@ -2,15 +2,15 @@
2
2
  @apply relative inline-flex items-center gap-3;
3
3
 
4
4
  .ga-switch__marker {
5
- @apply pointer-events-none absolute top-0 left-0 inline-block h-6 w-12 rounded-full border border-(--ga-color-border-action) bg-(--ga-color-surface-primary);
5
+ @apply animate-state pointer-events-none absolute top-0 left-0 inline-block h-6 w-12 rounded-full border border-(--ga-color-border-action) bg-(--ga-color-surface-primary) transition-colors;
6
6
  }
7
7
 
8
8
  .ga-switch__check-icon {
9
- @apply absolute top-0.75 left-1.5 text-(--ga-color-icon-on-primary) opacity-0 transition-opacity duration-300;
9
+ @apply animate-state absolute top-0.75 left-1.5 text-(--ga-color-icon-on-primary) opacity-0 transition-opacity;
10
10
  }
11
11
 
12
12
  .ga-switch__slider {
13
- @apply pointer-events-none absolute top-0.75 left-0.75 inline-block h-4 w-4 rounded-full bg-(--ga-color-surface-action) transition-transform duration-300;
13
+ @apply animate-state pointer-events-none absolute top-0.75 left-0.75 inline-block h-4 w-4 rounded-full bg-(--ga-color-surface-action) transition-transform;
14
14
  }
15
15
 
16
16
  .ga-switch__label {
@@ -2,11 +2,11 @@
2
2
  @apply flex gap-2;
3
3
 
4
4
  &.ga-tabs--keyline {
5
- @apply border-(--ga-color-border-primary);
5
+ @apply border-(--ga-color-border-tertiary);
6
6
  }
7
7
 
8
8
  .ga-tabs__tab {
9
- @apply text-md relative flex h-8 cursor-pointer items-center gap-2 border-(--ga-color-surface-primary) bg-(--ga-color-surface-primary) leading-4 font-medium text-(--ga-color-text-action);
9
+ @apply text-md animate-hover relative flex h-8 cursor-pointer items-center gap-2 border-(--ga-color-surface-primary) bg-(--ga-color-surface-primary) leading-4 font-medium text-(--ga-color-text-action) transition-colors;
10
10
 
11
11
  &.ga-tabs__tab--selected {
12
12
  @apply border-(--ga-color-border-action) font-semibold;
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  &.ga-tag--interactive {
49
- @apply cursor-pointer border-dashed bg-(--ga-color-surface-primary);
49
+ @apply animate-hover cursor-pointer border-dashed bg-(--ga-color-surface-primary) transition-colors;
50
50
 
51
51
  &:hover {
52
52
  @apply bg-(--ga-color-surface-action-hover-2);
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  &.ga-tag--interactive-selected {
69
- @apply border-solid bg-(--ga-color-surface-primary) text-(--ga-color-text-action);
69
+ @apply animate-hover border-solid bg-(--ga-color-surface-primary) text-(--ga-color-text-action) transition-colors;
70
70
 
71
71
  &:hover {
72
72
  @apply border-(--ga-color-border-action-hover);
@@ -92,7 +92,6 @@
92
92
  &.ga-tag--utility-purple,
93
93
  &.ga-tag--utility-pink,
94
94
  &.ga-tag--utility-rose,
95
- &.ga-tag--utility-yellow,
96
95
  &.ga-tag--utility-blue,
97
96
  &.ga-tag--utility-green,
98
97
  &.ga-tag--utility-orange,
@@ -105,47 +104,43 @@
105
104
  }
106
105
 
107
106
  &.ga-tag--utility-grey {
108
- @apply border-(--ga-color-utility-grey) bg-(--ga-color-utility-grey-light);
107
+ @apply border-(--ga-color-utility-grey) bg-(--ga-color-utility-grey-accent);
109
108
  }
110
109
 
111
110
  &.ga-tag--utility-indigo {
112
- @apply border-(--ga-color-utility-indigo) bg-(--ga-color-utility-indigo-light);
111
+ @apply border-(--ga-color-utility-indigo) bg-(--ga-color-utility-indigo-accent);
113
112
  }
114
113
 
115
114
  &.ga-tag--utility-teal {
116
- @apply border-(--ga-color-utility-teal) bg-(--ga-color-utility-teal-light);
115
+ @apply border-(--ga-color-utility-teal) bg-(--ga-color-utility-teal-accent);
117
116
  }
118
117
 
119
118
  &.ga-tag--utility-lime {
120
- @apply border-(--ga-color-utility-lime) bg-(--ga-color-utility-lime-light);
119
+ @apply border-(--ga-color-utility-lime) bg-(--ga-color-utility-lime-accent);
121
120
  }
122
121
 
123
122
  &.ga-tag--utility-purple {
124
- @apply border-(--ga-color-utility-purple) bg-(--ga-color-utility-purple-light);
123
+ @apply border-(--ga-color-utility-purple) bg-(--ga-color-utility-purple-accent);
125
124
  }
126
125
 
127
126
  &.ga-tag--utility-pink {
128
- @apply border-(--ga-color-utility-pink) bg-(--ga-color-utility-pink-light);
127
+ @apply border-(--ga-color-utility-pink) bg-(--ga-color-utility-pink-accent);
129
128
  }
130
129
 
131
130
  &.ga-tag--utility-rose {
132
- @apply border-(--ga-color-utility-rose) bg-(--ga-color-utility-rose-light);
133
- }
134
-
135
- &.ga-tag--utility-yellow {
136
- @apply border-(--ga-color-utility-yellow) bg-(--ga-color-utility-yellow-light);
131
+ @apply border-(--ga-color-utility-rose) bg-(--ga-color-utility-rose-accent);
137
132
  }
138
133
 
139
134
  &.ga-tag--utility-blue {
140
- @apply border-(--ga-color-utility-blue) bg-(--ga-color-utility-blue-light);
135
+ @apply border-(--ga-color-utility-blue) bg-(--ga-color-utility-blue-accent);
141
136
  }
142
137
 
143
138
  &.ga-tag--utility-green {
144
- @apply border-(--ga-color-utility-green) bg-(--ga-color-utility-green-light);
139
+ @apply border-(--ga-color-utility-green) bg-(--ga-color-utility-green-accent);
145
140
  }
146
141
 
147
142
  &.ga-tag--utility-orange {
148
- @apply border-(--ga-color-utility-orange) bg-(--ga-color-utility-orange-light);
143
+ @apply border-(--ga-color-utility-orange) bg-(--ga-color-utility-orange-accent);
149
144
  }
150
145
 
151
146
  &.ga-tag--utility-disabled {
@@ -1,5 +1,5 @@
1
1
  textarea.ga-text-area {
2
- @apply text-md inline-flex w-full min-w-0 rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) px-3 py-2 leading-6;
2
+ @apply text-md animate-hover inline-flex w-full min-w-0 rounded border border-(--ga-color-border-primary) bg-(--ga-color-surface-primary) px-3 py-2 leading-6 transition-colors;
3
3
 
4
4
  &:hover {
5
5
  @apply border-(--ga-color-border-action-hover);
@@ -1,27 +1,27 @@
1
- .ga-text-xs {
1
+ .ga-text-helper {
2
2
  @apply text-xs;
3
3
  }
4
4
 
5
- .ga-text-sm {
5
+ .ga-text-caption {
6
6
  @apply text-sm;
7
7
  }
8
8
 
9
- .ga-text-md {
9
+ .ga-text-body {
10
10
  @apply text-md;
11
11
  }
12
12
 
13
- .ga-text-lg {
13
+ .ga-text-heading {
14
14
  @apply text-lg;
15
15
  }
16
16
 
17
- .ga-text-xl {
17
+ .ga-text-title {
18
18
  @apply text-xl;
19
19
  }
20
20
 
21
- .ga-text-2xl {
21
+ .ga-text-headline {
22
22
  @apply text-2xl;
23
23
  }
24
24
 
25
- .ga-text-3xl {
25
+ .ga-text-display {
26
26
  @apply text-3xl;
27
27
  }
@@ -44,8 +44,6 @@
44
44
  --color-teal-80: var(--ga-color-teal-80);
45
45
  --color-teal-90: var(--ga-color-teal-90);
46
46
  --color-teal-100: var(--ga-color-teal-100);
47
- --color-yellow-10: var(--ga-color-yellow-10);
48
- --color-yellow-40: var(--ga-color-yellow-40);
49
47
  --color-black: #000;
50
48
  --color-white: #fff;
51
49
 
@@ -61,7 +59,7 @@
61
59
  var(--ga-text-xs-line-height) * var(--ga-base-scaling-factor, 1)
62
60
  );
63
61
  --text-xs--letter-spacing: calc(
64
- var(--ga-text-xs-tracking) * var(--ga-base-scaling-factor, 1)
62
+ var(--ga-text-xs-letter-spacing) * var(--ga-base-scaling-factor, 1)
65
63
  );
66
64
 
67
65
  --text-sm: calc(
@@ -79,7 +77,7 @@
79
77
  var(--ga-text-md-line-height) * var(--ga-base-scaling-factor, 1)
80
78
  );
81
79
  --text-md--letter-spacing: calc(
82
- var(--ga-text-md-tracking) * var(--ga-base-scaling-factor, 1)
80
+ var(--ga-text-md-letter-spacing) * var(--ga-base-scaling-factor, 1)
83
81
  );
84
82
 
85
83
  --text-lg: calc(
@@ -89,7 +87,7 @@
89
87
  var(--ga-text-lg-line-height) * var(--ga-base-scaling-factor, 1)
90
88
  );
91
89
  --text-lg--letter-spacing: calc(
92
- var(--ga-text-lg-tracking) * var(--ga-base-scaling-factor, 1)
90
+ var(--ga-text-lg-letter-spacing) * var(--ga-base-scaling-factor, 1)
93
91
  );
94
92
 
95
93
  --text-xl: calc(
@@ -99,7 +97,7 @@
99
97
  var(--ga-text-xl-line-height) * var(--ga-base-scaling-factor, 1)
100
98
  );
101
99
  --text-xl--letter-spacing: calc(
102
- var(--ga-text-xl-tracking) * var(--ga-base-scaling-factor, 1)
100
+ var(--ga-text-xl-letter-spacing) * var(--ga-base-scaling-factor, 1)
103
101
  );
104
102
 
105
103
  --text-2xl: calc(
@@ -109,7 +107,7 @@
109
107
  var(--ga-text-2xl-line-height) * var(--ga-base-scaling-factor, 1)
110
108
  );
111
109
  --text-2xl--letter-spacing: calc(
112
- var(--ga-text-2xl-tracking) * var(--ga-base-scaling-factor, 1)
110
+ var(--ga-text-2xl-letter-spacing) * var(--ga-base-scaling-factor, 1)
113
111
  );
114
112
 
115
113
  --text-3xl: calc(
@@ -119,7 +117,7 @@
119
117
  var(--ga-text-3xl-line-height) * var(--ga-base-scaling-factor, 1)
120
118
  );
121
119
  --text-3xl--letter-spacing: calc(
122
- var(--ga-text-3xl-tracking) * var(--ga-base-scaling-factor, 1)
120
+ var(--ga-text-3xl-letter-spacing) * var(--ga-base-scaling-factor, 1)
123
121
  );
124
122
 
125
123
  --font-weight-normal: 400;
@@ -132,5 +130,15 @@
132
130
  var(--ga-radius-sharp) * var(--ga-base-scaling-factor, 1)
133
131
  );
134
132
 
133
+ --shadow-north: var(--ga-shadow-north);
134
+ --shadow-south: var(--ga-shadow-south);
135
+ --shadow-east: var(--ga-shadow-east);
136
+ --shadow-west: var(--ga-shadow-west);
137
+
135
138
  --spacing: 0.25rem;
139
+
140
+ --breakpoint-xs: 20rem; /* 320px */
141
+ --breakpoint-s: 48rem; /* 768px */
142
+ --breakpoint-m: 90rem; /* 1440px */
143
+ --breakpoint-l: 120rem; /* 1920px */
136
144
  }
@@ -0,0 +1,34 @@
1
+ @utility animate-hover {
2
+ transition-duration: var(--ga-duration-instant);
3
+ transition-timing-function: var(--ga-easing-standard);
4
+ }
5
+
6
+ @utility animate-state {
7
+ transition-duration: var(--ga-duration-fast);
8
+ transition-timing-function: var(--ga-easing-standard);
9
+ }
10
+
11
+ @utility animate-reveal {
12
+ transition-duration: var(--ga-duration-moderate);
13
+ transition-timing-function: var(--ga-easing-entrance);
14
+ }
15
+
16
+ @utility animate-dismiss {
17
+ transition-duration: var(--ga-duration-moderate);
18
+ transition-timing-function: var(--ga-easing-exit);
19
+ }
20
+
21
+ @utility animate-overlay-in {
22
+ transition-duration: var(--ga-duration-slow);
23
+ transition-timing-function: var(--ga-easing-entrance);
24
+ }
25
+
26
+ @utility animate-overlay-out {
27
+ transition-duration: var(--ga-duration-slow);
28
+ transition-timing-function: var(--ga-easing-exit);
29
+ }
30
+
31
+ @utility animate-backdrop {
32
+ transition-duration: var(--ga-duration-slower);
33
+ transition-timing-function: var(--ga-easing-standard);
34
+ }