@vsn-ux/gaia-styles 1.0.0-alpha.2

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 (51) hide show
  1. package/README.md +125 -0
  2. package/dist/all-no-reset-10pt.css +994 -0
  3. package/dist/all-no-reset.css +994 -0
  4. package/dist/all.css +1135 -0
  5. package/dist/base.css +6 -0
  6. package/dist/components/avatar.css +34 -0
  7. package/dist/components/badge.css +116 -0
  8. package/dist/components/button.css +115 -0
  9. package/dist/components/card.css +38 -0
  10. package/dist/components/checkbox.css +89 -0
  11. package/dist/components/form-field.css +28 -0
  12. package/dist/components/input.css +71 -0
  13. package/dist/components/menu.css +61 -0
  14. package/dist/components/radio-button.css +107 -0
  15. package/dist/components/segmented-control.css +74 -0
  16. package/dist/components/text-area.css +61 -0
  17. package/dist/components/tooltip.css +124 -0
  18. package/dist/components.css +765 -0
  19. package/dist/design-tokens.css +159 -0
  20. package/dist/design-tokens.d.ts +167 -0
  21. package/dist/design-tokens.js +1654 -0
  22. package/package.json +73 -0
  23. package/src/design-tokens/dtcg-tokens.json +504 -0
  24. package/src/font/Inter-Bold.woff2 +0 -0
  25. package/src/font/Inter-BoldItalic.woff2 +0 -0
  26. package/src/font/Inter-Italic.woff2 +0 -0
  27. package/src/font/Inter-Medium.woff2 +0 -0
  28. package/src/font/Inter-MediumItalic.woff2 +0 -0
  29. package/src/font/Inter-Regular.woff2 +0 -0
  30. package/src/font/Inter-SemiBold.woff2 +0 -0
  31. package/src/font/Inter-SemiBoldItalic.woff2 +0 -0
  32. package/src/font/inter.css +56 -0
  33. package/src/styles/all-no-reset-10pt.css +12 -0
  34. package/src/styles/all-no-reset.css +7 -0
  35. package/src/styles/all.css +8 -0
  36. package/src/styles/base.css +3 -0
  37. package/src/styles/components/avatar.css +11 -0
  38. package/src/styles/components/badge.css +39 -0
  39. package/src/styles/components/button.css +83 -0
  40. package/src/styles/components/card.css +19 -0
  41. package/src/styles/components/checkbox.css +66 -0
  42. package/src/styles/components/form-field.css +11 -0
  43. package/src/styles/components/input.css +40 -0
  44. package/src/styles/components/menu.css +28 -0
  45. package/src/styles/components/radio-button.css +44 -0
  46. package/src/styles/components/segmented-control.css +40 -0
  47. package/src/styles/components/text-area.css +27 -0
  48. package/src/styles/components/tooltip.css +92 -0
  49. package/src/styles/components.css +12 -0
  50. package/src/styles/tailwind.css +2 -0
  51. package/src/styles/theme.css +68 -0
package/dist/base.css ADDED
@@ -0,0 +1,6 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ body {
3
+ font-family: Inter, ui-sans-serif, system-ui, sans-serif;
4
+ font-feature-settings: 'liga' 1, 'calt' 1;
5
+ color: var(--ga-color-cyan-90);
6
+ }
@@ -0,0 +1,34 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-avatar {
3
+ display: inline-flex;
4
+ height: calc(0.25rem * 10);
5
+ width: calc(0.25rem * 10);
6
+ align-items: center;
7
+ justify-content: center;
8
+ overflow: hidden;
9
+ border-radius: calc(infinity * 1px);
10
+ border-style: var(--tw-border-style);
11
+ border-width: 1px;
12
+ vertical-align: middle;
13
+ --tw-font-weight: 700;
14
+ font-weight: 700;
15
+ &.ga-avatar--small {
16
+ height: calc(0.25rem * 6);
17
+ width: calc(0.25rem * 6);
18
+ font-size: var(--ga-size-font-sm);
19
+ }
20
+ &.ga-avatar--large {
21
+ height: calc(0.25rem * 16);
22
+ width: calc(0.25rem * 16);
23
+ font-size: var(--ga-size-font-2xl);
24
+ }
25
+ }
26
+ @property --tw-border-style {
27
+ syntax: "*";
28
+ inherits: false;
29
+ initial-value: solid;
30
+ }
31
+ @property --tw-font-weight {
32
+ syntax: "*";
33
+ inherits: false;
34
+ }
@@ -0,0 +1,116 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-badge {
3
+ display: inline-block;
4
+ border-radius: calc(infinity * 1px);
5
+ vertical-align: baseline;
6
+ &.ga-badge--text {
7
+ min-width: calc(0.25rem * 6);
8
+ padding: calc(0.25rem * 1);
9
+ text-align: center;
10
+ font-size: var(--ga-size-font-sm);
11
+ --tw-leading: calc(0.25rem * 4);
12
+ line-height: calc(0.25rem * 4);
13
+ --tw-font-weight: 500;
14
+ font-weight: 500;
15
+ white-space: nowrap;
16
+ }
17
+ &.ga-badge--dot {
18
+ height: calc(0.25rem * 2);
19
+ width: calc(0.25rem * 2);
20
+ }
21
+ &.ga-badge--default {
22
+ background-color: var(--ga-color-cyan-80);
23
+ color: var(--ga-color-orange-10);
24
+ }
25
+ &.ga-badge--default-inverted {
26
+ background-color: var(--ga-color-orange-20);
27
+ color: var(--ga-color-cyan-90);
28
+ }
29
+ &.ga-badge--information {
30
+ background-color: var(--ga-color-blue-40);
31
+ color: var(--ga-color-cyan-90);
32
+ }
33
+ &.ga-badge--error {
34
+ background-color: var(--ga-color-red-40);
35
+ color: var(--ga-color-cyan-90);
36
+ }
37
+ &.ga-badge--warning {
38
+ background-color: var(--ga-color-orange-40);
39
+ color: var(--ga-color-cyan-90);
40
+ }
41
+ &.ga-badge--success {
42
+ background-color: var(--ga-color-green-40);
43
+ color: var(--ga-color-cyan-90);
44
+ }
45
+ &.ga-badge--muted {
46
+ background-color: #fff;
47
+ color: var(--ga-color-cyan-70);
48
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentColor);
49
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
50
+ --tw-ring-color: var(--ga-color-grey-40);
51
+ --tw-ring-inset: inset;
52
+ }
53
+ }
54
+ @property --tw-leading {
55
+ syntax: "*";
56
+ inherits: false;
57
+ }
58
+ @property --tw-font-weight {
59
+ syntax: "*";
60
+ inherits: false;
61
+ }
62
+ @property --tw-shadow {
63
+ syntax: "*";
64
+ inherits: false;
65
+ initial-value: 0 0 #0000;
66
+ }
67
+ @property --tw-shadow-color {
68
+ syntax: "*";
69
+ inherits: false;
70
+ }
71
+ @property --tw-inset-shadow {
72
+ syntax: "*";
73
+ inherits: false;
74
+ initial-value: 0 0 #0000;
75
+ }
76
+ @property --tw-inset-shadow-color {
77
+ syntax: "*";
78
+ inherits: false;
79
+ }
80
+ @property --tw-ring-color {
81
+ syntax: "*";
82
+ inherits: false;
83
+ }
84
+ @property --tw-ring-shadow {
85
+ syntax: "*";
86
+ inherits: false;
87
+ initial-value: 0 0 #0000;
88
+ }
89
+ @property --tw-inset-ring-color {
90
+ syntax: "*";
91
+ inherits: false;
92
+ }
93
+ @property --tw-inset-ring-shadow {
94
+ syntax: "*";
95
+ inherits: false;
96
+ initial-value: 0 0 #0000;
97
+ }
98
+ @property --tw-ring-inset {
99
+ syntax: "*";
100
+ inherits: false;
101
+ }
102
+ @property --tw-ring-offset-width {
103
+ syntax: "<length>";
104
+ inherits: false;
105
+ initial-value: 0px;
106
+ }
107
+ @property --tw-ring-offset-color {
108
+ syntax: "*";
109
+ inherits: false;
110
+ initial-value: #fff;
111
+ }
112
+ @property --tw-ring-offset-shadow {
113
+ syntax: "*";
114
+ inherits: false;
115
+ initial-value: 0 0 #0000;
116
+ }
@@ -0,0 +1,115 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-button {
3
+ display: inline-flex;
4
+ height: calc(0.25rem * 10);
5
+ cursor: pointer;
6
+ align-items: center;
7
+ justify-content: center;
8
+ gap: calc(0.25rem * 2);
9
+ border-radius: var(--ga-radius);
10
+ padding-inline: calc(0.25rem * 4);
11
+ vertical-align: middle;
12
+ font-size: var(--ga-size-font-md);
13
+ --tw-leading: calc(0.25rem * 1);
14
+ line-height: calc(0.25rem * 1);
15
+ --tw-font-weight: 700;
16
+ font-weight: 700;
17
+ &:focus-visible {
18
+ outline-style: var(--tw-outline-style);
19
+ outline-width: 2px;
20
+ outline-offset: 2px;
21
+ outline-color: var(--ga-color-border-focus);
22
+ }
23
+ &:disabled {
24
+ cursor: not-allowed;
25
+ }
26
+ &.ga-button--primary {
27
+ background-color: var(--ga-color-surface-action);
28
+ color: var(--ga-color-text-on-action);
29
+ &:hover {
30
+ background-color: var(--ga-color-surface-action-hover);
31
+ }
32
+ &:active {
33
+ background-color: var(--ga-color-primary-70);
34
+ }
35
+ &:disabled {
36
+ background-color: var(--ga-color-surface-disabled);
37
+ color: var(--ga-color-text-disabled);
38
+ }
39
+ }
40
+ &.ga-button--secondary {
41
+ border-style: var(--tw-border-style);
42
+ border-width: 1px;
43
+ border-color: var(--ga-color-border-action);
44
+ background-color: var(--ga-color-surface-primary);
45
+ color: var(--ga-color-text-action);
46
+ &:hover {
47
+ background-color: var(--ga-color-surface-action-hover-2);
48
+ }
49
+ &:active {
50
+ background-color: var(--ga-color-surface-primary);
51
+ }
52
+ &:disabled {
53
+ border-color: var(--ga-color-border-disabled);
54
+ background-color: var(--ga-color-surace-page);
55
+ color: var(--ga-color-text-disabled);
56
+ }
57
+ }
58
+ &.ga-button--ghost {
59
+ background-color: transparent;
60
+ color: var(--ga-color-text-action);
61
+ &:hover {
62
+ background-color: var(--ga-color-utility-teal-light);
63
+ }
64
+ &:active {
65
+ background-color: transparent;
66
+ }
67
+ &:disabled {
68
+ background-color: transparent;
69
+ color: var(--ga-color-text-disabled);
70
+ }
71
+ }
72
+ &.ga-button--transparent {
73
+ border-style: var(--tw-border-style);
74
+ border-width: 1px;
75
+ border-color: var(--ga-color-border-action);
76
+ background-color: transparent;
77
+ color: var(--ga-color-text-action);
78
+ &:hover {
79
+ background-color: var(--ga-color-utility-teal-light);
80
+ }
81
+ &:focus-visible {
82
+ border-color: var(--ga-color-border-action);
83
+ }
84
+ &:active {
85
+ background-color: transparent;
86
+ }
87
+ &:disabled {
88
+ border-color: var(--ga-color-border-disabled);
89
+ background-color: transparent;
90
+ color: var(--ga-color-text-disabled);
91
+ }
92
+ }
93
+ &.ga-button--icon-only {
94
+ width: calc(0.25rem * 10);
95
+ padding-inline: calc(0.25rem * 0);
96
+ }
97
+ }
98
+ @property --tw-leading {
99
+ syntax: "*";
100
+ inherits: false;
101
+ }
102
+ @property --tw-font-weight {
103
+ syntax: "*";
104
+ inherits: false;
105
+ }
106
+ @property --tw-outline-style {
107
+ syntax: "*";
108
+ inherits: false;
109
+ initial-value: solid;
110
+ }
111
+ @property --tw-border-style {
112
+ syntax: "*";
113
+ inherits: false;
114
+ initial-value: solid;
115
+ }
@@ -0,0 +1,38 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-card {
3
+ border-radius: var(--ga-radius);
4
+ border-style: var(--tw-border-style);
5
+ border-width: 1px;
6
+ border-color: var(--ga-color-border-primary);
7
+ background-color: #fff;
8
+ padding: calc(0.25rem * 4);
9
+ font-size: var(--ga-size-font-md);
10
+ &.ga-card--selectable {
11
+ cursor: pointer;
12
+ &:hover {
13
+ border-color: var(--ga-color-border-action-hover);
14
+ background-color: var(--ga-color-surface-action-hover-2);
15
+ }
16
+ &:focus-visible {
17
+ outline-style: var(--tw-outline-style);
18
+ outline-width: 2px;
19
+ outline-offset: 2px;
20
+ outline-color: var(--ga-color-border-focus);
21
+ }
22
+ }
23
+ &.ga-card--disabled {
24
+ border-color: var(--ga-color-border-disabled);
25
+ background-color: var(--ga-color-surface-disabled);
26
+ color: var(--ga-color-text-disabled);
27
+ }
28
+ }
29
+ @property --tw-border-style {
30
+ syntax: "*";
31
+ inherits: false;
32
+ initial-value: solid;
33
+ }
34
+ @property --tw-outline-style {
35
+ syntax: "*";
36
+ inherits: false;
37
+ initial-value: solid;
38
+ }
@@ -0,0 +1,89 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-checkbox {
3
+ position: relative;
4
+ display: inline-flex;
5
+ gap: calc(0.25rem * 2);
6
+ .ga-checkbox__native {
7
+ height: calc(0.25rem * 5);
8
+ width: calc(0.25rem * 5);
9
+ flex-shrink: 0;
10
+ opacity: 0%;
11
+ &:not(:disabled) {
12
+ cursor: pointer;
13
+ }
14
+ }
15
+ .ga-checkbox__marker {
16
+ pointer-events: none;
17
+ position: absolute;
18
+ top: calc(0.25rem * 0);
19
+ left: calc(0.25rem * 0);
20
+ height: calc(0.25rem * 5);
21
+ width: calc(0.25rem * 5);
22
+ border-radius: var(--ga-radius);
23
+ border-style: var(--tw-border-style);
24
+ border-width: 2px;
25
+ border-color: var(--ga-color-border-action);
26
+ color: #fff;
27
+ .ga-checkbox__marker__indicator-checked, .ga-checkbox__marker__indicator-indeterminate {
28
+ display: none;
29
+ }
30
+ }
31
+ .ga-checkbox__native:focus-visible ~ .ga-checkbox__marker {
32
+ outline-style: var(--tw-outline-style);
33
+ outline-width: 2px;
34
+ outline-offset: 2px;
35
+ outline-color: var(--ga-color-border-focus);
36
+ }
37
+ .ga-checkbox__native:not(:disabled):hover ~ .ga-checkbox__marker {
38
+ border-color: var(--ga-color-border-action-hover);
39
+ background-color: var(--ga-color-surface-action-hover-2);
40
+ }
41
+ .ga-checkbox__native:checked ~ .ga-checkbox__marker {
42
+ background-color: var(--ga-color-surface-action);
43
+ .ga-checkbox__marker__indicator-checked {
44
+ display: block;
45
+ }
46
+ }
47
+ .ga-checkbox__native:indeterminate ~ .ga-checkbox__marker {
48
+ background-color: var(--ga-color-surface-action);
49
+ .ga-checkbox__marker__indicator-indeterminate {
50
+ display: block;
51
+ }
52
+ }
53
+ .ga-checkbox__native:not(:disabled):checked:hover ~ .ga-checkbox__marker, .ga-checkbox__native:not(:disabled):indeterminate:hover ~ .ga-checkbox__marker {
54
+ background-color: var(--ga-color-surface-action-hover);
55
+ }
56
+ .ga-checkbox__native:disabled ~ .ga-checkbox__marker {
57
+ border-color: var(--ga-color-border-disabled);
58
+ background-color: var(--ga-color-surface-disabled);
59
+ color: var(--ga-color-text-disabled);
60
+ }
61
+ &.ga-checkbox--invalid .ga-checkbox__marker {
62
+ border-color: var(--ga-color-border-error);
63
+ background-color: var(--ga-color-surface-error);
64
+ color: var(--ga-color-border-error);
65
+ }
66
+ .ga-checkbox__label {
67
+ min-height: calc(0.25rem * 5);
68
+ font-size: var(--ga-size-font-md);
69
+ --tw-leading: calc(0.25rem * 5);
70
+ line-height: calc(0.25rem * 5);
71
+ &:empty {
72
+ display: none;
73
+ }
74
+ }
75
+ }
76
+ @property --tw-border-style {
77
+ syntax: "*";
78
+ inherits: false;
79
+ initial-value: solid;
80
+ }
81
+ @property --tw-outline-style {
82
+ syntax: "*";
83
+ inherits: false;
84
+ initial-value: solid;
85
+ }
86
+ @property --tw-leading {
87
+ syntax: "*";
88
+ inherits: false;
89
+ }
@@ -0,0 +1,28 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-form-field {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: calc(0.25rem * 2);
6
+ .ga-form-field__label {
7
+ padding-inline: calc(0.25rem * 1);
8
+ font-size: var(--ga-size-font-md);
9
+ --tw-leading: calc(0.25rem * 5);
10
+ line-height: calc(0.25rem * 5);
11
+ --tw-font-weight: 500;
12
+ font-weight: 500;
13
+ }
14
+ .ga-form-field__info {
15
+ display: flex;
16
+ align-items: center;
17
+ gap: calc(0.25rem * 1);
18
+ font-size: var(--ga-size-font-xs);
19
+ }
20
+ }
21
+ @property --tw-leading {
22
+ syntax: "*";
23
+ inherits: false;
24
+ }
25
+ @property --tw-font-weight {
26
+ syntax: "*";
27
+ inherits: false;
28
+ }
@@ -0,0 +1,71 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-input {
3
+ display: flex;
4
+ height: calc(0.25rem * 10);
5
+ width: calc(0.25rem * 50);
6
+ flex-direction: row;
7
+ align-items: center;
8
+ gap: calc(0.25rem * 2);
9
+ border-radius: var(--ga-radius);
10
+ border-style: var(--tw-border-style);
11
+ border-width: 1px;
12
+ border-color: var(--ga-color-border-primary);
13
+ background-color: var(--ga-color-bg-primary);
14
+ padding-inline: calc(0.25rem * 3);
15
+ padding-block: calc(0.25rem * 2);
16
+ font-size: var(--ga-size-font-md);
17
+ &:has(input:hover), &:is(input:hover) {
18
+ border-color: var(--ga-color-border-action-hover);
19
+ &:has(input:not(:placeholder-shown)), &:is(input:not(:placeholder-shown)) {
20
+ background-color: var(--ga-color-surface-action-hover-2);
21
+ }
22
+ }
23
+ &:has(input:disabled), &:is(input:disabled) {
24
+ border-color: var(--ga-color-border-primary);
25
+ background-color: var(--ga-color-surface-disabled);
26
+ color: var(--ga-color-text-disable-selected);
27
+ }
28
+ &:has(input:focus), &:is(input:focus) {
29
+ border-color: var(--ga-color-border-focus);
30
+ outline-style: var(--tw-outline-style);
31
+ outline-width: 1px;
32
+ outline-color: var(--ga-color-border-focus);
33
+ }
34
+ &.ga-input--invalid {
35
+ border-color: var(--ga-color-border-error);
36
+ outline-style: var(--tw-outline-style);
37
+ outline-width: 1px;
38
+ outline-color: var(--ga-color-border-error);
39
+ &:has(input:not(:placeholder-shown)), &:is(input:not(:placeholder-shown)) {
40
+ background-color: var(--ga-color-surface-error);
41
+ }
42
+ }
43
+ input {
44
+ height: calc(0.25rem * 6);
45
+ width: 100%;
46
+ min-width: calc(0.25rem * 0);
47
+ --tw-leading: calc(0.25rem * 6);
48
+ line-height: calc(0.25rem * 6);
49
+ --tw-outline-style: none;
50
+ outline-style: none;
51
+ }
52
+ &:is(input) {
53
+ min-width: calc(0.25rem * 0);
54
+ --tw-leading: calc(0.25rem * 6);
55
+ line-height: calc(0.25rem * 6);
56
+ }
57
+ }
58
+ @property --tw-border-style {
59
+ syntax: "*";
60
+ inherits: false;
61
+ initial-value: solid;
62
+ }
63
+ @property --tw-outline-style {
64
+ syntax: "*";
65
+ inherits: false;
66
+ initial-value: solid;
67
+ }
68
+ @property --tw-leading {
69
+ syntax: "*";
70
+ inherits: false;
71
+ }
@@ -0,0 +1,61 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-menu {
3
+ display: flex;
4
+ min-width: calc(0.25rem * 36);
5
+ flex-direction: column;
6
+ align-items: stretch;
7
+ border-radius: var(--ga-radius);
8
+ border-style: var(--tw-border-style);
9
+ border-width: 1px;
10
+ border-color: var(--ga-color-neutral-30);
11
+ background-color: #fff;
12
+ .ga-menu__item {
13
+ height: calc(0.25rem * 10);
14
+ cursor: pointer;
15
+ border-bottom-style: var(--tw-border-style);
16
+ border-bottom-width: 1px;
17
+ border-bottom-color: var(--ga-color-neutral-30);
18
+ padding-inline: calc(0.25rem * 4);
19
+ padding-block: calc(0.25rem * 2);
20
+ text-align: left;
21
+ font-size: var(--ga-size-font-md);
22
+ --tw-font-weight: 500;
23
+ font-weight: 500;
24
+ color: var(--ga-color-cyan-80);
25
+ &:first-child {
26
+ border-top-left-radius: var(--ga-radius);
27
+ border-top-right-radius: var(--ga-radius);
28
+ }
29
+ &:last-child {
30
+ border-bottom-right-radius: var(--ga-radius);
31
+ border-bottom-left-radius: var(--ga-radius);
32
+ border-bottom-style: var(--tw-border-style);
33
+ border-bottom-width: 0px;
34
+ }
35
+ &:hover {
36
+ background-color: var(--ga-color-teal-10);
37
+ }
38
+ &:active {
39
+ background-color: var(--ga-color-cyan-80);
40
+ color: var(--ga-color-orange-10);
41
+ }
42
+ }
43
+ .ga-menu__separator {
44
+ padding-inline: calc(0.25rem * 3);
45
+ padding-top: calc(0.25rem * 3);
46
+ padding-bottom: calc(0.25rem * 2);
47
+ font-size: var(--ga-size-font-sm);
48
+ --tw-font-weight: 600;
49
+ font-weight: 600;
50
+ color: #6F7687;
51
+ }
52
+ }
53
+ @property --tw-border-style {
54
+ syntax: "*";
55
+ inherits: false;
56
+ initial-value: solid;
57
+ }
58
+ @property --tw-font-weight {
59
+ syntax: "*";
60
+ inherits: false;
61
+ }
@@ -0,0 +1,107 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-radio-button {
3
+ position: relative;
4
+ display: inline-flex;
5
+ cursor: pointer;
6
+ gap: calc(0.25rem * 2);
7
+ .ga-radio-button__native {
8
+ height: calc(0.25rem * 5);
9
+ width: calc(0.25rem * 5);
10
+ flex-shrink: 0;
11
+ cursor: pointer;
12
+ opacity: 0%;
13
+ &:disabled {
14
+ cursor: default;
15
+ }
16
+ }
17
+ .ga-radio-button__marker {
18
+ pointer-events: none;
19
+ position: absolute;
20
+ top: calc(0.25rem * 0);
21
+ left: calc(0.25rem * 0);
22
+ height: calc(0.25rem * 5);
23
+ width: calc(0.25rem * 5);
24
+ border-radius: calc(infinity * 1px);
25
+ border-style: var(--tw-border-style);
26
+ border-width: 2px;
27
+ border-color: var(--ga-color-border-action);
28
+ color: #fff;
29
+ }
30
+ .ga-radio-button__native:focus-visible ~ .ga-radio-button__marker {
31
+ outline-style: var(--tw-outline-style);
32
+ outline-width: 2px;
33
+ outline-offset: 2px;
34
+ outline-color: var(--ga-color-border-focus);
35
+ }
36
+ .ga-radio-button__native:not(:disabled):hover ~ .ga-radio-button__marker {
37
+ border-color: var(--ga-color-border-action-hover);
38
+ background-color: var(--ga-color-surface-action-hover-2);
39
+ }
40
+ .ga-radio-button__native:checked ~ .ga-radio-button__marker {
41
+ background-color: var(--ga-color-surface-action);
42
+ &::after {
43
+ position: absolute;
44
+ top: calc(1/2 * 100%);
45
+ left: calc(1/2 * 100%);
46
+ display: block;
47
+ height: calc(0.25rem * 2);
48
+ width: calc(0.25rem * 2);
49
+ --tw-translate-x: calc(calc(1/2 * 100%) * -1);
50
+ translate: var(--tw-translate-x) var(--tw-translate-y);
51
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
52
+ translate: var(--tw-translate-x) var(--tw-translate-y);
53
+ border-radius: calc(infinity * 1px);
54
+ background-color: #fff;
55
+ --tw-content: '';
56
+ content: var(--tw-content);
57
+ }
58
+ }
59
+ .ga-radio-button__native:not(:disabled):checked:hover ~ .ga-radio-button__marker {
60
+ background-color: var(--ga-color-surface-action-hover);
61
+ }
62
+ .ga-radio-button__native:disabled ~ .ga-radio-button__marker {
63
+ border-color: var(--ga-color-border-disabled);
64
+ background-color: var(--ga-color-surface-disabled);
65
+ color: var(--ga-color-text-disabled);
66
+ }
67
+ .ga-radio-button__label {
68
+ min-height: calc(0.25rem * 4);
69
+ font-size: var(--ga-size-font-md);
70
+ --tw-leading: calc(0.25rem * 5);
71
+ line-height: calc(0.25rem * 5);
72
+ }
73
+ }
74
+ @property --tw-border-style {
75
+ syntax: "*";
76
+ inherits: false;
77
+ initial-value: solid;
78
+ }
79
+ @property --tw-outline-style {
80
+ syntax: "*";
81
+ inherits: false;
82
+ initial-value: solid;
83
+ }
84
+ @property --tw-translate-x {
85
+ syntax: "*";
86
+ inherits: false;
87
+ initial-value: 0;
88
+ }
89
+ @property --tw-translate-y {
90
+ syntax: "*";
91
+ inherits: false;
92
+ initial-value: 0;
93
+ }
94
+ @property --tw-translate-z {
95
+ syntax: "*";
96
+ inherits: false;
97
+ initial-value: 0;
98
+ }
99
+ @property --tw-content {
100
+ syntax: "*";
101
+ inherits: false;
102
+ initial-value: "";
103
+ }
104
+ @property --tw-leading {
105
+ syntax: "*";
106
+ inherits: false;
107
+ }