ngx-strata 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/assets/styles/base.scss +7 -3
  2. package/assets/styles/colors.scss +3 -11
  3. package/assets/styles/components/accordion.scss +4 -2
  4. package/assets/styles/components/action-menu.scss +2 -2
  5. package/assets/styles/components/alert.scss +112 -0
  6. package/assets/styles/components/avatar.scss +40 -22
  7. package/assets/styles/components/button.scss +27 -20
  8. package/assets/styles/components/card.scss +21 -13
  9. package/assets/styles/components/checkbox.scss +11 -9
  10. package/assets/styles/components/input-field.scss +6 -3
  11. package/assets/styles/components/modal.scss +3 -9
  12. package/assets/styles/components/notification.scss +40 -20
  13. package/assets/styles/components/pagination.scss +16 -8
  14. package/assets/styles/components/progress.scss +32 -22
  15. package/assets/styles/components/radio.scss +101 -0
  16. package/assets/styles/components/segmented-control.scss +24 -7
  17. package/assets/styles/components/select.scss +8 -4
  18. package/assets/styles/components/sidemenu.scss +55 -0
  19. package/assets/styles/components/spinner.scss +10 -7
  20. package/assets/styles/components/table.scss +4 -2
  21. package/assets/styles/components/tabs.scss +71 -0
  22. package/assets/styles/components/tag.scss +17 -13
  23. package/assets/styles/components/toggle.scss +44 -42
  24. package/assets/styles/focus-outline.scss +2 -1
  25. package/assets/styles/primitives/color-primitives.scss +88 -0
  26. package/assets/styles/primitives/spacing-primitives.scss +16 -0
  27. package/assets/styles/public-api.scss +42 -34
  28. package/assets/styles/semantics/color-semantic.scss +121 -0
  29. package/assets/styles/typography.scss +124 -34
  30. package/dist/strata/strata.css +1 -1
  31. package/fesm2022/ngx-strata.mjs +871 -289
  32. package/fesm2022/ngx-strata.mjs.map +1 -1
  33. package/package.json +3 -3
  34. package/types/ngx-strata.d.ts +385 -184
  35. package/dist/my-lib/strata.css +0 -1
@@ -9,9 +9,11 @@
9
9
  }
10
10
 
11
11
  html {
12
- color: var(--st-text);
13
- background-color: var(--st-bg-dark);
14
- --st-current-bg-color: var(--st-bg-dark);
12
+ color: var(--st-color-text-primary);
13
+
14
+ background-color: var(--st-color-bg-default);
15
+ --st-current-bg-color: var(--st-color-bg-default);
16
+
15
17
  }
16
18
 
17
19
  :root {
@@ -23,4 +25,6 @@ html {
23
25
  --st-interactive-element-height-sm: 26px;
24
26
  --st-interactive-element-height-md: 34px;
25
27
  --st-interactive-element-height-lg: 40px;
28
+
29
+ --st-selection-control-size: 20px;
26
30
  }
@@ -1,13 +1,9 @@
1
1
  :root {
2
- --st-bg-dark: oklch(0.92 0.005 267);
3
- --st-bg: oklch(0.96 0.005 267);
4
2
  --st-bg-light: oklch(1 0.005 267);
5
3
  --st-bg-contrast-dark: oklch(0.1 0.005 267);
6
4
  --st-bg-contrast: oklch(0.15 0.005 267);
7
5
  --st-bg-contrast-light: oklch(0.3 0.005 267);
8
- --st-text: oklch(0.15 0.01 267);
9
- --st-text-muted: oklch(0.4 0.01 267);
10
- --st-text-faded: oklch(0.6 0.01 267);
6
+
11
7
  --st-text-faded-contrast: oklch(0.56 0.01 267);
12
8
  --st-text-contrast: oklch(0.96 0.01 267);
13
9
  --st-highlight: oklch(1 0.01 267);
@@ -28,15 +24,11 @@
28
24
  }
29
25
 
30
26
  [data-theme='dark'] {
31
- --st-bg-dark: oklch(0.1 0.005 267);
32
- --st-bg: oklch(0.2 0.005 267);
33
27
  --st-bg-light: oklch(0.3 0.005 267);
34
28
  --st-bg-contrast-dark: oklch(0.92 0.005 267);
35
29
  --st-bg-contrast: oklch(0.96 0.005 267);
36
30
  --st-bg-contrast-light: oklch(1 0.005 267);
37
- --st-text: oklch(0.96 0.01 267);
38
- --st-text-muted: oklch(0.76 0.01 267);
39
- --st-text-faded: oklch(0.56 0.01 267);
31
+
40
32
  --st-text-faded-contrast: oklch(0.6 0.01 267);
41
33
  --st-text-contrast: oklch(0.15 0.01 267);
42
34
  --st-highlight: oklch(0.5 0.01 267);
@@ -54,4 +46,4 @@
54
46
  --st-success: oklch(0.7 0.05 160);
55
47
  --st-info-darl: oklch(0.6 0.05 260);
56
48
  --st-info: oklch(0.7 0.05 260);
57
- }
49
+ }
@@ -4,10 +4,12 @@ st-accordion-item {
4
4
  width: 100%;
5
5
  border: 1px solid var(--st-border);
6
6
  border-radius: var(--st-border-radius-sm);
7
- background-color: var(--st-bg);
7
+ background-color: var(--st-color-bg-raised);
8
+
8
9
  transition: 0.1s ease-in height;
9
10
  &[open='true'] {
10
- background-color: var(--st-bg-dark);
11
+ background-color: var(--st-color-bg-default);
12
+
11
13
  height: auto;
12
14
  svg {
13
15
  transform: rotateZ(180deg);
@@ -57,8 +57,8 @@ st-item .item-default {
57
57
  }
58
58
  }
59
59
 
60
- st-card {
61
- width: 200px;
60
+ st-card.action-menu-card {
61
+ min-width: 200px;
62
62
 
63
63
  st-action-menu-item:not(:last-child) {
64
64
  border-bottom: 1px solid var(--st-border-faded);
@@ -0,0 +1,112 @@
1
+ st-alert {
2
+ --st-alert-bg: var(--st-color-neutral-200);
3
+ --st-alert-text: var(--st-color-neutral-900);
4
+ --st-alert-icon-color: var(--st-color-neutral-500);
5
+
6
+ display: block;
7
+ width: 100%;
8
+ box-sizing: border-box;
9
+
10
+ .st-alert-container {
11
+ display: flex;
12
+ flex-direction: row;
13
+ align-items: flex-start;
14
+ padding: var(--st-size-sm) var(--st-size-md);
15
+ background-color: var(--st-alert-bg);
16
+ border-radius: var(--st-border-radius-md, 8px);
17
+ gap: var(--st-size-sm);
18
+ position: relative;
19
+ }
20
+
21
+ .st-alert-icon {
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ color: var(--st-alert-icon-color);
26
+ padding-top: 2px; // Minor alignment adjustment
27
+
28
+ st-icon {
29
+ --st-icon-size: 20px;
30
+ }
31
+ }
32
+
33
+ .st-alert-content {
34
+ flex: 1;
35
+ min-width: 0;
36
+ color: var(--st-alert-text);
37
+ align-self: center;
38
+
39
+ .st-alert-header {
40
+ font-weight: var(--st-font-weight-bold, 700);
41
+ margin-bottom: var(--st-size-2xs, 2px);
42
+ }
43
+
44
+ .st-alert-message {
45
+ font-size: var(--st-font-md, 14px);
46
+ }
47
+ }
48
+
49
+ .st-alert-actions {
50
+ display: flex;
51
+ gap: var(--st-size-xs);
52
+ align-self: center;
53
+ flex-shrink: 0;
54
+ }
55
+
56
+ .st-alert-dismiss {
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ flex-shrink: 0;
61
+ width: 28px;
62
+ height: 28px;
63
+ padding: 0;
64
+ background: transparent;
65
+ border: none;
66
+ border-radius: 4px;
67
+ color: var(--st-alert-icon-color);
68
+ cursor: pointer;
69
+ transition: background-color 0.15s ease;
70
+ align-self: flex-start;
71
+
72
+ &:hover {
73
+ background-color: rgba(0, 0, 0, 0.08);
74
+ }
75
+
76
+ st-icon {
77
+ --st-icon-size: 16px;
78
+ }
79
+ }
80
+
81
+ // Themes
82
+ &.st-theme-brand {
83
+ --st-alert-bg: var(--st-color-accent-subtle);
84
+ --st-alert-text: var(--st-color-accent-text);
85
+ --st-alert-icon-color: var(--st-color-accent-default);
86
+ }
87
+
88
+
89
+ &.st-theme-info {
90
+ --st-alert-bg: var(--st-color-feedback-info-subtle);
91
+ --st-alert-text: var(--st-color-feedback-info-text);
92
+ --st-alert-icon-color: var(--st-color-feedback-info-default);
93
+ }
94
+
95
+ &.st-theme-success {
96
+ --st-alert-bg: var(--st-color-feedback-success-subtle);
97
+ --st-alert-text: var(--st-color-feedback-success-text);
98
+ --st-alert-icon-color: var(--st-color-feedback-success-default);
99
+ }
100
+
101
+ &.st-theme-warning {
102
+ --st-alert-bg: var(--st-color-feedback-warning-subtle);
103
+ --st-alert-text: var(--st-color-feedback-warning-text);
104
+ --st-alert-icon-color: var(--st-color-feedback-warning-default);
105
+ }
106
+
107
+ &.st-theme-danger {
108
+ --st-alert-bg: var(--st-color-feedback-error-subtle);
109
+ --st-alert-text: var(--st-color-feedback-error-text);
110
+ --st-alert-icon-color: var(--st-color-feedback-error-default);
111
+ }
112
+ }
@@ -1,8 +1,10 @@
1
1
  st-avatar {
2
2
  --st-avatar-bg-color: var(--st-bg-light);
3
- --st-avatar-text-color: var(--st-text);
3
+ --st-avatar-text-color: var(--st-color-text-primary);
4
+
4
5
  z-index: var(--z, 0);
5
- transition: z-index 0s; /* avoids flicker */
6
+ transition: z-index 0s;
7
+ /* avoids flicker */
6
8
  background-color: var(--st-avatar-bg-color);
7
9
  border-radius: var(--avatar-size);
8
10
  overflow: hidden;
@@ -21,6 +23,7 @@ st-avatar {
21
23
  font-weight: bold;
22
24
  user-select: none;
23
25
  }
26
+
24
27
  img {
25
28
  width: 100%;
26
29
  height: 100%;
@@ -28,56 +31,65 @@ st-avatar {
28
31
  }
29
32
 
30
33
  st-avatar.st-theme-success {
31
- --st-avatar-bg-color: var(--st-success);
32
- --st-avatar-text-color: var(--st-text-contrast);
34
+ --st-avatar-bg-color: var(--st-color-feedback-success-subtle);
35
+ --st-avatar-text-color: var(--st-color-feedback-success-text);
33
36
  }
34
37
 
35
38
  st-avatar.st-theme-info {
36
- --st-avatar-bg-color: var(--st-info);
37
- --st-avatar-text-color: var(--st-text-contrast);
39
+ --st-avatar-bg-color: var(--st-color-feedback-info-subtle);
40
+ --st-avatar-text-color: var(--st-color-feedback-info-text);
38
41
  }
39
42
 
40
43
  st-avatar.st-theme-warning {
41
- --st-avatar-bg-color: var(--st-warning);
42
- --st-avatar-text-color: var(--st-text-contrast);
44
+ --st-avatar-bg-color: var(--st-color-feedback-warning-subtle);
45
+ --st-avatar-text-color: var(--st-color-feedback-warning-text);
43
46
  }
44
47
 
45
48
  st-avatar.st-theme-danger {
46
- --st-avatar-bg-color: var(--st-danger);
47
- --st-avatar-text-color: var(--st-text-contrast);
49
+ --st-avatar-bg-color: var(--st-color-feedback-error-subtle);
50
+ --st-avatar-text-color: var(--st-color-feedback-error-text);
48
51
  }
49
52
 
50
53
  st-avatar.st-theme-brand {
51
- --st-avatar-bg-color: var(--st-brand);
52
- --st-avatar-text-color: var(--st-text-contrast);
54
+ --st-avatar-bg-color: var(--st-color-accent-subtle);
55
+ --st-avatar-text-color: var(--st-color-accent-text);
53
56
  }
54
57
 
55
- st-avatar-stack.xs > st-avatar {
58
+ st-avatar-stack.xs>st-avatar {
56
59
  --avatar-size: 20px;
60
+
57
61
  span {
58
62
  font-size: 0.6rem !important;
59
63
  }
60
64
  }
65
+
61
66
  st-avatar.xs {
62
67
  --avatar-size: 20px;
68
+
63
69
  span {
64
70
  font-size: 0.6rem;
65
71
  }
66
72
  }
67
- st-avatar-stack.sm > st-avatar {
73
+
74
+ st-avatar-stack.sm>st-avatar {
68
75
  --avatar-size: 32px;
76
+
69
77
  span {
70
78
  font-size: 0.8rem !important;
71
79
  }
72
80
  }
81
+
73
82
  st-avatar.sm {
74
83
  --avatar-size: 32px;
84
+
75
85
  span {
76
86
  font-size: 0.8rem;
77
87
  }
78
88
  }
79
- st-avatar-stack.md > st-avatar {
89
+
90
+ st-avatar-stack.md>st-avatar {
80
91
  --avatar-size: 48px;
92
+
81
93
  span {
82
94
  font-size: 1rem !important;
83
95
  }
@@ -85,19 +97,23 @@ st-avatar-stack.md > st-avatar {
85
97
 
86
98
  st-avatar.md {
87
99
  --avatar-size: 48px;
100
+
88
101
  span {
89
102
  font-size: 1rem;
90
103
  }
91
104
  }
92
105
 
93
- st-avatar-stack.lg > st-avatar {
106
+ st-avatar-stack.lg>st-avatar {
94
107
  --avatar-size: 72px;
108
+
95
109
  span {
96
110
  font-size: 1.6rem !important;
97
111
  }
98
112
  }
113
+
99
114
  st-avatar.lg {
100
115
  --avatar-size: 72px;
116
+
101
117
  span {
102
118
  font-size: 1.6rem;
103
119
  }
@@ -105,28 +121,30 @@ st-avatar.lg {
105
121
 
106
122
  st-avatar-stack {
107
123
  position: relative;
108
- isolation: isolate; /* ← critical */
124
+ isolation: isolate;
125
+ /* ← critical */
109
126
  display: flex;
110
127
  align-items: center;
111
128
 
112
- &.tight > st-avatar:not(:first-child) {
129
+ &.tight>st-avatar:not(:first-child) {
113
130
  margin-left: calc(var(--avatar-size) * -0.65);
114
131
  }
115
132
 
116
- &.mid > st-avatar:not(:first-child) {
133
+ &.mid>st-avatar:not(:first-child) {
117
134
  margin-left: calc(var(--avatar-size) * -0.55);
118
135
  }
119
136
 
120
- &.loose > st-avatar:not(:first-child) {
137
+ &.loose>st-avatar:not(:first-child) {
121
138
  margin-left: calc(var(--avatar-size) * -0.3);
122
139
  }
123
140
  }
124
141
 
125
- st-avatar-stack > st-avatar {
142
+ st-avatar-stack>st-avatar {
126
143
  position: relative;
127
144
  border: var(--st-current-bg-color) solid 3px;
128
145
  margin: 0px;
146
+
129
147
  &:hover {
130
148
  z-index: calc(var(--z, 0) + 100);
131
149
  }
132
- }
150
+ }
@@ -28,8 +28,10 @@ st-button-group {
28
28
 
29
29
  button[stButton] {
30
30
  --st-button-background-color: var(--st-bg-light);
31
- --st-button-text-color: var(--st-text);
32
- --st-button-hover-color: var(--st-bg);
31
+ --st-button-text-color: var(--st-color-text-primary);
32
+
33
+ --st-button-hover-color: var(--st-color-bg-raised);
34
+
33
35
  color: var(--st-button-text-color);
34
36
  background: none;
35
37
  display: inline-flex;
@@ -105,20 +107,23 @@ button[stButton] {
105
107
 
106
108
  &.st-button-secondary {
107
109
  --st-button-background-color: var(--st-bg-light);
108
- --st-button-text-color: var(--st-text);
110
+ --st-button-text-color: var(--st-color-text-primary);
111
+
109
112
  font-weight: 500;
110
113
  }
111
114
 
112
115
  &.st-button-outline {
113
116
  --st-button-background-color: transparent;
114
- --st-button-text-color: var(--st-text);
117
+ --st-button-text-color: var(--st-color-text-primary);
118
+
115
119
  border: 1px solid var(--st-border-muted);
116
120
  }
117
121
 
118
122
  &.st-button-ghost {
119
123
  --st-button-background-color: transparent;
120
124
  --st-button-hover-color: var(--st-bg-light);
121
- --st-button-text-color: var(--st-text);
125
+ --st-button-text-color: var(--st-color-text-primary);
126
+
122
127
  }
123
128
 
124
129
  &:not(:disabled):hover {
@@ -142,33 +147,35 @@ button[stButton] {
142
147
 
143
148
  &.st-button-primary {
144
149
  &.st-theme-brand {
145
- --st-button-background-color: var(--st-brand);
146
- --st-button-text-color: var(--st-text-contrast);
147
- --st-button-hover-color: var(--st-brand-dark);
150
+ --st-button-background-color: var(--st-color-accent-subtle);
151
+ --st-button-text-color: var(--st-color-accent-text);
152
+ --st-button-hover-color: var(--st-color-accent-hover);
148
153
  }
149
154
 
150
155
  &.st-theme-success {
151
- --st-button-background-color: var(--st-success);
152
- --st-button-text-color: var(--st-text-contrast);
153
- --st-button-hover-color: var(--st-success-dark);
156
+ --st-button-background-color: var(--st-color-feedback-success-subtle);
157
+ --st-button-text-color: var(--st-color-feedback-success-text);
158
+ --st-button-hover-color: var(--st-color-feedback-success-hover);
154
159
  }
155
160
 
156
161
  &.st-theme-danger {
157
- --st-button-background-color: var(--st-danger);
158
- --st-button-text-color: var(--st-text-contrast);
159
- --st-button-hover-color: var(--st-danger-dark);
162
+ --st-button-background-color: var(--st-color-feedback-error-subtle);
163
+ --st-button-text-color: var(--st-color-feedback-error-text);
164
+ --st-button-hover-color: var(--st-color-feedback-error-hover);
160
165
  }
161
166
 
162
167
  &.st-theme-warning {
163
- --st-button-background-color: var(--st-warning);
164
- --st-button-text-color: var(--st-text-contrast);
165
- --st-button-hover-color: var(--st-warning-dark);
168
+ --st-button-background-color: var(--st-color-feedback-warning-subtle);
169
+ --st-button-text-color: var(--st-color-feedback-warning-text);
170
+ --st-button-hover-color: var(--st-color-feedback-warning-hover);
166
171
  }
167
172
 
168
173
  &.st-theme-info {
169
- --st-button-background-color: var(--st-info);
170
- --st-button-text-color: var(--st-text-contrast);
171
- --st-button-hover-color: var(--st-info-dark);
174
+ --st-button-background-color: var(--st-color-feedback-info-subtle);
175
+ --st-button-text-color: var(--st-color-feedback-info-text);
176
+ --st-button-hover-color: var(--st-color-feedback-info-hover);
172
177
  }
178
+
179
+
173
180
  }
174
181
  }
@@ -1,6 +1,7 @@
1
1
  st-card {
2
2
  --st-card-padding: var(--st-size-xs);
3
- --st-card-background-color: var(--st-bg);
3
+ --st-card-background-color: var(--st-color-bg-raised);
4
+
4
5
  width: 100%;
5
6
  display: inline-block;
6
7
  border-radius: var(--st-border-radius-sm);
@@ -9,34 +10,39 @@ st-card {
9
10
  background-color: var(--st-card-background-color);
10
11
 
11
12
  &.elevated {
12
- --st-current-bg-color: var(--st-bg-dark);
13
- --st-avatar-bg-color: var(--st-bg-dark);
13
+ --st-current-bg-color: var(--st-color-bg-default);
14
+ --st-avatar-bg-color: var(--st-color-bg-default);
14
15
  box-shadow: var(--st-shadow-1);
15
16
  }
16
17
 
18
+
17
19
  &.outline {
18
20
  border: 1px solid var(--st-border-muted);
19
21
  --st-card-background-color: transparent;
20
22
  }
21
23
 
22
24
  &.st-theme-brand {
23
- --st-card-background-color: var(--st-brand-dark);
25
+ --st-card-background-color: var(--st-color-accent-subtle);
24
26
  }
27
+
25
28
  &.st-theme-info {
26
- --st-card-background-color: var(--st-info-dark);
29
+ --st-card-background-color: var(--st-color-feedback-info-subtle);
27
30
  }
31
+
28
32
  &.st-theme-danger {
29
- --st-card-background-color: var(--st-danger-dark);
33
+ --st-card-background-color: var(--st-color-feedback-error-subtle);
30
34
  }
35
+
31
36
  &.st-theme-warning {
32
- --st-card-background-color: var(--st-warning-dark);
37
+ --st-card-background-color: var(--st-color-feedback-warning-subtle);
33
38
  }
39
+
34
40
  &.st-theme-success {
35
- --st-card-background-color: var(--st-success-dark);
41
+ --st-card-background-color: var(--st-color-feedback-success-subtle);
36
42
  }
37
43
  }
38
44
 
39
- st-card .card-content > st-divider {
45
+ st-card .card-content>st-divider {
40
46
  margin-left: calc(-1 * var(--st-card-padding));
41
47
  margin-right: calc(-1 * var(--st-card-padding));
42
48
  }
@@ -46,11 +52,13 @@ st-card.with-padding .card-content {
46
52
  }
47
53
 
48
54
  st-card.flat {
49
- background-color: var(--st-bg);
50
- --st-current-bg-color: var(--st-bg-dark);
51
- --st-avatar-bg-color: var(--st-bg-dark);
55
+ background-color: var(--st-color-bg-raised);
56
+
57
+ --st-current-bg-color: var(--st-color-bg-default);
58
+ --st-avatar-bg-color: var(--st-color-bg-default);
52
59
  }
53
60
 
61
+
54
62
  st-card.outline {
55
63
  border: 1px solid var(--st-border);
56
64
  }
@@ -79,4 +87,4 @@ st-card h4,
79
87
  st-card h5,
80
88
  st-card h6 {
81
89
  margin-block-start: 0rem;
82
- }
90
+ }
@@ -1,7 +1,8 @@
1
1
  st-checkbox {
2
- --st-checkbox-checked-bg-color: var(--st-brand);
3
- --st-checkbox-checked-bg-hover-color: var(--st-brand-light);
4
- --st-checkbox-checked-icon-color: var(--st-text-contrast);
2
+ --st-checkbox-checked-bg-color: var(--st-color-accent-default);
3
+ --st-checkbox-checked-bg-hover-color: var(--st-color-accent-hover);
4
+ --st-checkbox-checked-icon-color: var(--st-color-text-on-accent);
5
+
5
6
 
6
7
  user-select: none;
7
8
  display: flex;
@@ -31,17 +32,18 @@ st-checkbox {
31
32
  }
32
33
 
33
34
  input:focus + .checkbox-visual {
34
- outline: 1px solid var(--st-brand);
35
+ outline: 1px solid var(--st-color-accent-default);
36
+
35
37
  outline-offset: 2px;
36
38
  }
37
39
 
38
40
  .checkbox-visual {
39
41
  box-sizing: border-box;
40
- height: var(--st-interactive-element-height-sm);
41
- width: var(--st-interactive-element-height-sm);
42
- max-width: var(--st-interactive-element-height-sm);
43
- max-height: var(--st-interactive-element-height-sm);
44
- background-color: var(--st-bg-dark);
42
+ height: var(--st-selection-control-size);
43
+ width: var(--st-selection-control-size);
44
+ max-width: var(--st-selection-control-size);
45
+ max-height: var(--st-selection-control-size);
46
+ background-color: var(--st-color-bg-default);
45
47
  border: 1px solid var(--st-border);
46
48
  border-radius: var(--st-border-radius-sm);
47
49
  color: var(--st-checkbox-checked-icon-color);
@@ -1,7 +1,9 @@
1
1
  st-input-field {
2
2
  --st-input-field-bg-color: var(--st-bg-light);
3
- --st-input-field-bg-hover-color: var(--st-bg);
4
- --st-input-field-text-color: var(--st-text);
3
+ --st-input-field-bg-hover-color: var(--st-color-bg-raised);
4
+
5
+ --st-input-field-text-color: var(--st-color-text-primary);
6
+
5
7
  display: flex;
6
8
  flex-direction: column;
7
9
  box-sizing: border-box;
@@ -31,7 +33,8 @@ st-input-field {
31
33
  justify-items: center;
32
34
  align-items: center;
33
35
  padding: 8px;
34
- color: var(--st-text-faded);
36
+ color: var(--st-color-text-tertiary);
37
+
35
38
  &:empty {
36
39
  display: none;
37
40
  }
@@ -43,17 +43,11 @@ st-modal-header {
43
43
  margin-left: auto;
44
44
  }
45
45
 
46
- h3 {
47
- margin-block-start: 0rem;
48
- margin-block-end: 0rem;
49
- margin-left: var(--st-size-xxxs);
50
- font-weight: 300;
51
- font-size: larger;
52
- }
53
46
  }
54
47
 
55
48
  st-modal {
56
- --st-modal-bg-color: var(--st-bg);
49
+ --st-modal-bg-color: var(--st-color-bg-raised);
50
+
57
51
  --st-modal-border-radius: var(--st-border-radius-sm);
58
52
  --st-modal-padding: var(--st-size-md);
59
53
  --st-modal-covered-modal-filter: brightness(70%);
@@ -123,4 +117,4 @@ st-modal-container {
123
117
  grid-column: 1;
124
118
  grid-row: 1;
125
119
  }
126
- }
120
+ }