ngx-strata 0.4.1 → 0.4.3-beta.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 (33) hide show
  1. package/assets/styles/base.scss +24 -4
  2. package/assets/styles/components/accordion.scss +12 -3
  3. package/assets/styles/components/action-menu.scss +12 -7
  4. package/assets/styles/components/alert.scss +8 -7
  5. package/assets/styles/components/button.scss +14 -2
  6. package/assets/styles/components/card.scss +33 -38
  7. package/assets/styles/components/checkbox.scss +5 -6
  8. package/assets/styles/components/file-upload.scss +5 -2
  9. package/assets/styles/components/input-field.scss +7 -1
  10. package/assets/styles/components/item.scss +3 -1
  11. package/assets/styles/components/modal.scss +20 -5
  12. package/assets/styles/components/notification.scss +8 -14
  13. package/assets/styles/components/otp.scss +1 -1
  14. package/assets/styles/components/pagination.scss +1 -1
  15. package/assets/styles/components/progress.scss +4 -2
  16. package/assets/styles/components/radio.scss +4 -4
  17. package/assets/styles/components/segmented-control.scss +8 -4
  18. package/assets/styles/components/select.scss +31 -11
  19. package/assets/styles/components/sidemenu.scss +4 -6
  20. package/assets/styles/components/slider.scss +3 -3
  21. package/assets/styles/components/table.scss +5 -0
  22. package/assets/styles/components/tabs.scss +7 -4
  23. package/assets/styles/components/tag.scss +8 -6
  24. package/assets/styles/components/toggle.scss +5 -6
  25. package/assets/styles/components/tooltip.scss +3 -7
  26. package/assets/styles/focus-outline.scss +1 -1
  27. package/assets/styles/scrollbar.scss +3 -3
  28. package/assets/styles/shadows.scss +11 -3
  29. package/assets/styles/typography.scss +4 -0
  30. package/dist/strata/strata.css +1 -1
  31. package/fesm2022/ngx-strata.mjs +4 -4
  32. package/fesm2022/ngx-strata.mjs.map +1 -1
  33. package/package.json +1 -1
@@ -17,14 +17,23 @@ html {
17
17
  }
18
18
 
19
19
  :root {
20
- --st-border-radius-sm: 4px;
20
+ --st-border-radius-xs: 4px;
21
+ --st-border-radius-sm: 6px;
21
22
  --st-border-radius-md: 8px;
23
+ --st-border-radius-lg: 12px;
24
+ --st-border-radius-xl: 16px;
25
+ --st-border-radius-2xl: 24px;
26
+ --st-border-radius-full: 9999px;
27
+
28
+ --st-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
29
+ --st-transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);
30
+ --st-transition-smooth: 250ms cubic-bezier(0.16, 1, 0.3, 1);
22
31
 
23
32
  --st-border-width: 1px;
24
33
 
25
- --st-interactive-element-height-sm: 26px;
26
- --st-interactive-element-height-md: 34px;
27
- --st-interactive-element-height-lg: 40px;
34
+ --st-interactive-element-height-sm: 28px;
35
+ --st-interactive-element-height-md: 36px;
36
+ --st-interactive-element-height-lg: 44px;
28
37
 
29
38
  --st-selection-control-size: 20px;
30
39
  }
@@ -32,3 +41,14 @@ html {
32
41
  body.st-scroll-lock {
33
42
  overflow: hidden !important;
34
43
  }
44
+
45
+ @keyframes st-popover-in {
46
+ from {
47
+ opacity: 0;
48
+ transform: translateY(-4px);
49
+ }
50
+ to {
51
+ opacity: 1;
52
+ transform: translateY(0);
53
+ }
54
+ }
@@ -1,12 +1,15 @@
1
1
  st-accordion-item {
2
+ --st-accordion-border-radius: var(--st-border-radius-lg);
3
+
2
4
  display: block;
3
5
  box-sizing: border-box;
4
6
  width: 100%;
5
7
  border: 1px solid var(--st-border);
6
- border-radius: var(--st-border-radius-sm);
8
+ border-radius: var(--st-accordion-border-radius);
7
9
  background-color: var(--st-color-bg-raised);
10
+ overflow: hidden;
8
11
 
9
- transition: 0.1s ease-in height;
12
+ transition: 0.15s ease-in height;
10
13
  &[open='true'] {
11
14
  background-color: var(--st-color-bg-default);
12
15
 
@@ -15,6 +18,11 @@ st-accordion-item {
15
18
  transform: rotateZ(180deg);
16
19
  }
17
20
 
21
+ .accordion-header {
22
+ border-bottom-left-radius: 0;
23
+ border-bottom-right-radius: 0;
24
+ }
25
+
18
26
  .accordion-content {
19
27
  height: fit-content;
20
28
  }
@@ -43,7 +51,7 @@ st-accordion-item {
43
51
  background: transparent;
44
52
  color: var(--st-color-text-primary);
45
53
  font-family: inherit;
46
- border-radius: var(--st-border-radius-sm);
54
+ border-radius: var(--st-accordion-border-radius);
47
55
  padding-left: 16px;
48
56
  padding-right: 16px;
49
57
  justify-content: space-between;
@@ -53,6 +61,7 @@ st-accordion-item {
53
61
  font-weight: 600;
54
62
  text-align: left;
55
63
  outline: none;
64
+ transition: background-color var(--st-transition-fast);
56
65
 
57
66
  &:focus-visible {
58
67
  outline: 2px solid var(--st-color-accent-default);
@@ -3,13 +3,13 @@ st-action-menu-item {
3
3
  --st-item-gap: var(--st-size-xs);
4
4
  width: 100%;
5
5
  display: flex;
6
- padding-bottom: var(--st-size-xxs);
7
- padding-top: var(--st-size-xxs);
8
- min-height: 32px;
6
+ align-items: center;
7
+ padding: 6px 10px;
8
+ min-height: var(--st-interactive-element-height-md);
9
9
  height: fit-content;
10
- padding-left: var(--st-size-xxs);
11
- padding-right: var(--st-size-xxs);
10
+ border-radius: var(--st-border-radius-sm);
12
11
  user-select: none;
12
+ transition: background-color var(--st-transition-fast), color var(--st-transition-fast);
13
13
 
14
14
  &:hover {
15
15
  background-color: var(--st-color-control-bg-hover);
@@ -65,14 +65,19 @@ st-item .item-default {
65
65
 
66
66
  st-card.action-menu-card {
67
67
  --st-card-shadow: var(--st-shadow-3);
68
+ --st-card-border-radius: var(--st-border-radius-lg);
68
69
 
69
70
  min-width: 200px;
70
71
  z-index: 10000;
71
72
  background-color: var(--st-color-bg-overlay) !important;
72
73
  display: block;
73
74
  pointer-events: auto;
75
+ animation: st-popover-in var(--st-transition-fast) ease-out;
74
76
 
75
- st-action-menu-item:not(:last-child) {
76
- border-bottom: 1px solid var(--st-border-faded);
77
+ .card-content {
78
+ padding: 4px;
79
+ display: flex;
80
+ flex-direction: column;
81
+ gap: 2px;
77
82
  }
78
83
  }
@@ -1,7 +1,8 @@
1
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);
2
+ --st-alert-bg: var(--st-color-control-bg);
3
+ --st-alert-text: var(--st-color-text-primary);
4
+ --st-alert-icon-color: var(--st-color-text-tertiary);
5
+ --st-alert-border-radius: var(--st-border-radius-lg);
5
6
 
6
7
  display: block;
7
8
  width: 100%;
@@ -13,7 +14,7 @@ st-alert {
13
14
  align-items: flex-start;
14
15
  padding: var(--st-size-sm) var(--st-size-md);
15
16
  background-color: var(--st-alert-bg);
16
- border-radius: var(--st-border-radius-md, 8px);
17
+ border-radius: var(--st-alert-border-radius);
17
18
  gap: var(--st-size-sm);
18
19
  position: relative;
19
20
  }
@@ -63,14 +64,14 @@ st-alert {
63
64
  padding: 0;
64
65
  background: transparent;
65
66
  border: none;
66
- border-radius: 4px;
67
+ border-radius: var(--st-border-radius-sm);
67
68
  color: var(--st-alert-icon-color);
68
69
  cursor: pointer;
69
- transition: background-color 0.15s ease;
70
+ transition: background-color var(--st-transition-fast);
70
71
  align-self: flex-start;
71
72
 
72
73
  &:hover {
73
- background-color: rgba(0, 0, 0, 0.08);
74
+ background-color: var(--st-color-control-bg-hover);
74
75
  }
75
76
 
76
77
  st-icon {
@@ -31,6 +31,7 @@ button[stButton] {
31
31
  --st-button-text-color: var(--st-color-control-text);
32
32
 
33
33
  --st-button-hover-color: var(--st-color-control-bg-hover);
34
+ --st-button-border-radius: var(--st-border-radius-md);
34
35
 
35
36
  color: var(--st-button-text-color);
36
37
  background: none;
@@ -40,14 +41,20 @@ button[stButton] {
40
41
  justify-content: center;
41
42
  flex-direction: row;
42
43
  align-items: center;
43
- transition: linear 0.1s background-color;
44
+ font-family: inherit;
45
+ font-weight: 500;
46
+ transition:
47
+ background-color var(--st-transition-fast),
48
+ border-color var(--st-transition-fast),
49
+ box-shadow var(--st-transition-fast),
50
+ transform 0.1s ease;
44
51
  padding-left: var(--st-size-xs);
45
52
  padding-right: var(--st-size-xs);
46
53
  padding-top: var(--st-size-xxs);
47
54
  padding-bottom: var(--st-size-xxs);
48
55
  justify-content: center;
49
56
  box-sizing: border-box;
50
- border-radius: var(--st-border-radius-sm);
57
+ border-radius: var(--st-button-border-radius);
51
58
  background-color: var(--st-button-background-color);
52
59
 
53
60
  &:has(> st-badge:not(.st-badge-placement-inline)) {
@@ -96,6 +103,7 @@ button[stButton] {
96
103
  }
97
104
 
98
105
  &.st-size-sm {
106
+ --st-button-border-radius: var(--st-border-radius-sm);
99
107
  height: var(--st-interactive-element-height-sm);
100
108
  font-size: 12px;
101
109
  &.st-button-has-starting-icon {
@@ -176,6 +184,10 @@ button[stButton] {
176
184
  background-color: var(--st-button-hover-color);
177
185
  }
178
186
 
187
+ &:not(:disabled):active {
188
+ transform: scale(0.985);
189
+ }
190
+
179
191
  &:disabled {
180
192
  opacity: 0.5;
181
193
  }
@@ -1,45 +1,39 @@
1
1
  st-card {
2
- --st-card-padding: var(--st-size-xs);
3
- --st-card-background-color: var(--st-color-bg-subtle);
2
+ --st-card-padding: var(--st-size-sm);
3
+ --st-card-background-color: var(--st-color-bg-raised);
4
4
  --st-card-shadow: var(--st-shadow-1);
5
+ --st-card-border-radius: var(--st-border-radius-xl);
6
+ --st-card-border-color: transparent;
5
7
 
6
8
  width: 100%;
7
9
  display: inline-block;
8
- border-radius: var(--st-border-radius-sm);
9
- border: 1px solid transparent;
10
+ border-radius: var(--st-card-border-radius);
11
+ border: 1px solid var(--st-card-border-color);
10
12
  overflow: hidden;
11
13
  background-color: var(--st-card-background-color);
14
+ transition:
15
+ box-shadow var(--st-transition-normal),
16
+ border-color var(--st-transition-normal),
17
+ background-color var(--st-transition-normal);
12
18
 
13
19
  &.elevated {
20
+ --st-card-background-color: var(--st-color-bg-raised);
14
21
  --st-current-bg-color: var(--st-color-bg-default);
15
22
  --st-avatar-bg-color: var(--st-color-bg-default);
16
23
  box-shadow: var(--st-card-shadow);
17
24
  }
18
25
 
26
+ &.flat {
27
+ --st-card-background-color: var(--st-color-bg-subtle);
28
+ --st-current-bg-color: var(--st-color-bg-default);
29
+ --st-avatar-bg-color: var(--st-color-bg-default);
30
+ box-shadow: none;
31
+ }
19
32
 
20
33
  &.outline {
21
- border: 1px solid var(--st-border-muted);
34
+ --st-card-border-color: var(--st-border-muted);
22
35
  --st-card-background-color: transparent;
23
- }
24
-
25
- &.st-theme-brand {
26
- --st-card-background-color: var(--st-color-accent-subtle);
27
- }
28
-
29
- &.st-theme-info {
30
- --st-card-background-color: var(--st-color-feedback-info-subtle);
31
- }
32
-
33
- &.st-theme-danger {
34
- --st-card-background-color: var(--st-color-feedback-error-subtle);
35
- }
36
-
37
- &.st-theme-warning {
38
- --st-card-background-color: var(--st-color-feedback-warning-subtle);
39
- }
40
-
41
- &.st-theme-success {
42
- --st-card-background-color: var(--st-color-feedback-success-subtle);
36
+ box-shadow: none;
43
37
  }
44
38
  }
45
39
 
@@ -52,28 +46,29 @@ st-card.with-padding .card-content {
52
46
  padding: var(--st-card-padding);
53
47
  }
54
48
 
55
- st-card.flat {
56
- background-color: var(--st-color-bg-raised);
57
-
58
- --st-current-bg-color: var(--st-color-bg-default);
59
- --st-avatar-bg-color: var(--st-color-bg-default);
60
- }
49
+ st-card.selectable {
50
+ cursor: pointer;
61
51
 
52
+ &.elevated:hover {
53
+ --st-card-border-color: var(--st-border-muted);
54
+ box-shadow: var(--st-shadow-3);
55
+ }
62
56
 
63
- st-card.outline {
64
- border: 1px solid var(--st-border);
65
- }
57
+ &.flat:hover {
58
+ --st-card-border-color: var(--st-border-faded);
59
+ --st-card-background-color: var(--st-color-bg-raised);
60
+ }
66
61
 
67
- st-card.selectable:hover {
68
- filter: brightness(90%);
69
- cursor: pointer;
62
+ &.outline:hover {
63
+ --st-card-border-color: var(--st-color-border-strong);
64
+ }
70
65
  }
71
66
 
72
67
  st-card .cover-area:not(:empty) {
73
68
  width: 100%;
74
69
  position: relative;
75
70
  overflow: hidden;
76
- border-radius: 4px 4px 0 0;
71
+ border-radius: calc(var(--st-card-border-radius) - 1px) calc(var(--st-card-border-radius) - 1px) 0 0;
77
72
  }
78
73
 
79
74
  st-card .cover-area:not(:empty) img {
@@ -2,7 +2,7 @@ st-checkbox {
2
2
  --st-checkbox-checked-bg-color: var(--st-color-accent-default);
3
3
  --st-checkbox-checked-bg-hover-color: var(--st-color-accent-hover);
4
4
  --st-checkbox-checked-icon-color: var(--st-color-text-on-accent);
5
-
5
+ --st-checkbox-border-radius: var(--st-border-radius-sm);
6
6
 
7
7
  user-select: none;
8
8
  display: inline-flex;
@@ -44,20 +44,19 @@ st-checkbox {
44
44
  width: var(--st-selection-control-size);
45
45
  max-width: var(--st-selection-control-size);
46
46
  max-height: var(--st-selection-control-size);
47
- background-color: var(--st-color-bg-default);
47
+ background-color: var(--st-color-bg-raised);
48
48
  border: 1px solid var(--st-border);
49
- border-radius: var(--st-border-radius-sm);
49
+ border-radius: var(--st-checkbox-border-radius);
50
50
  color: var(--st-checkbox-checked-icon-color);
51
51
  padding: 2px;
52
- transition: background-color 0.1s linear;
52
+ transition: background-color var(--st-transition-fast), border-color var(--st-transition-fast);
53
53
  display: grid;
54
54
  justify-items: center;
55
55
  svg {
56
56
  justify-self: center;
57
57
  width: 0%;
58
58
  height: 0%;
59
- transition: width 0.1s ease-in;
60
- transition: height 0.1s ease-in;
59
+ transition: width var(--st-transition-fast), height var(--st-transition-fast);
61
60
  visibility: hidden;
62
61
  }
63
62
  }
@@ -8,7 +8,7 @@ st-file-upload {
8
8
  --st-file-upload-active-border: var(--st-color-accent-default);
9
9
  --st-file-upload-active-bg: var(--st-color-accent-subtle, var(--st-color-bg-raised));
10
10
  --st-file-upload-icon-color: var(--st-color-text-secondary);
11
- --st-file-upload-radius: 8px;
11
+ --st-file-upload-radius: var(--st-border-radius-xl);
12
12
 
13
13
  display: block;
14
14
  position: relative;
@@ -19,7 +19,10 @@ st-file-upload {
19
19
  padding: var(--st-space-6) var(--st-space-4);
20
20
  text-align: center;
21
21
  cursor: pointer;
22
- transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
22
+ transition:
23
+ border-color var(--st-transition-fast),
24
+ background-color var(--st-transition-fast),
25
+ transform var(--st-transition-fast);
23
26
  user-select: none;
24
27
  outline: none;
25
28
 
@@ -5,6 +5,7 @@ st-input-field {
5
5
  --st-input-field-height: var(--st-interactive-element-height-md);
6
6
  --st-input-field-font-size: 14px;
7
7
  --st-input-field-padding-x: var(--st-size-xs);
8
+ --st-input-field-border-radius: var(--st-border-radius-md);
8
9
 
9
10
  display: flex;
10
11
  flex-direction: column;
@@ -14,6 +15,7 @@ st-input-field {
14
15
  --st-input-field-height: var(--st-interactive-element-height-sm);
15
16
  --st-input-field-font-size: 12px;
16
17
  --st-input-field-padding-x: var(--st-size-xxs);
18
+ --st-input-field-border-radius: var(--st-border-radius-sm);
17
19
  }
18
20
 
19
21
  &.st-size-md {
@@ -38,8 +40,12 @@ st-input-field {
38
40
  min-height: var(--st-input-field-height);
39
41
  background-color: var(--st-input-field-bg-color);
40
42
  border: 1px solid var(--st-border-muted);
41
- border-radius: var(--st-border-radius-sm);
43
+ border-radius: var(--st-input-field-border-radius);
42
44
  overflow: hidden;
45
+ transition:
46
+ border-color var(--st-transition-fast),
47
+ background-color var(--st-transition-fast),
48
+ box-shadow var(--st-transition-fast);
43
49
  &:focus-within {
44
50
  outline: var(--st-focus-ring-width) var(--st-focus-ring-style) var(--st-focus-ring-color);
45
51
  outline-offset: var(--st-focus-ring-offset);
@@ -1,4 +1,5 @@
1
1
  st-item {
2
+ --st-item-border-radius: var(--st-border-radius-md);
2
3
  box-sizing: border-box;
3
4
  --st-item-gap: var(--st-size-xs);
4
5
  width: 100%;
@@ -9,7 +10,8 @@ st-item {
9
10
  height: fit-content;
10
11
  padding-left: var(--st-size-xxs);
11
12
  padding-right: var(--st-size-xxs);
12
- border-radius: var(--st-border-radius-sm);
13
+ border-radius: var(--st-item-border-radius);
14
+ transition: background-color var(--st-transition-fast);
13
15
 
14
16
  &.interactable {
15
17
  &:hover,
@@ -38,6 +38,8 @@ st-modal-header {
38
38
  align-items: center;
39
39
  border-bottom: 1px solid var(--st-border);
40
40
  padding: var(--st-size-xs);
41
+ border-top-left-radius: var(--st-modal-border-radius);
42
+ border-top-right-radius: var(--st-modal-border-radius);
41
43
 
42
44
  st-button {
43
45
  margin-left: auto;
@@ -54,6 +56,8 @@ st-modal-footer {
54
56
  display: flex;
55
57
  flex-direction: row;
56
58
  align-items: center;
59
+ flex-shrink: 0;
60
+ flex-grow: 0;
57
61
  gap: var(--st-modal-footer-gap);
58
62
  padding: var(--st-modal-footer-padding);
59
63
  border-top: 1px solid var(--st-modal-footer-border-color);
@@ -96,7 +100,7 @@ st-modal-footer {
96
100
  st-modal {
97
101
  --st-modal-bg-color: var(--st-color-bg-default);
98
102
 
99
- --st-modal-border-radius: var(--st-border-radius-sm);
103
+ --st-modal-border-radius: var(--st-border-radius-xl);
100
104
  --st-modal-padding: var(--st-size-md);
101
105
  --st-modal-covered-modal-filter: brightness(70%);
102
106
  --st-modal-viewport-margin: var(--st-size-md);
@@ -105,7 +109,7 @@ st-modal {
105
109
 
106
110
  z-index: 100;
107
111
  background-color: var(--st-modal-bg-color);
108
- box-shadow: var(--st-shadow-2);
112
+ box-shadow: var(--st-shadow-3);
109
113
  border: 1px solid var(--st-border-faded);
110
114
  border-radius: var(--st-modal-border-radius);
111
115
  pointer-events: auto;
@@ -194,6 +198,16 @@ st-modal {
194
198
  flex: 1;
195
199
  min-height: 0;
196
200
 
201
+ &:has(st-modal-footer) {
202
+ &,
203
+ :has(st-modal-footer) {
204
+ display: flex;
205
+ flex-direction: column;
206
+ flex: 1;
207
+ min-height: 0;
208
+ }
209
+ }
210
+
197
211
  > * {
198
212
  display: flex;
199
213
  flex-direction: column;
@@ -202,7 +216,7 @@ st-modal {
202
216
  }
203
217
 
204
218
  st-modal-footer {
205
- margin-top: auto;
219
+ margin-top: auto !important;
206
220
  border-bottom-left-radius: 0;
207
221
  border-bottom-right-radius: 0;
208
222
  }
@@ -223,7 +237,7 @@ st-modal-container {
223
237
  .st-internal-backdrop {
224
238
  width: 100%;
225
239
  height: 100%;
226
- background-color: rgba(0, 0, 0, 0.5);
240
+ background-color: rgba(0, 0, 0, 0.45);
227
241
  position: absolute;
228
242
  top: 0;
229
243
  left: 0;
@@ -232,8 +246,9 @@ st-modal-container {
232
246
  align-items: center;
233
247
  justify-items: center;
234
248
  z-index: 80;
235
- backdrop-filter: blur(2px);
249
+ backdrop-filter: blur(8px);
236
250
  pointer-events: auto;
251
+ transition: opacity var(--st-transition-smooth);
237
252
  }
238
253
 
239
254
  .modal-wrapper {
@@ -1,6 +1,7 @@
1
1
  st-notification {
2
- --st-notification-background-color: var(--st-color-neutral-200);
3
- --st-notification-text-color: var(--st-color-neutral-900);
2
+ --st-notification-background-color: var(--st-color-bg-raised);
3
+ --st-notification-text-color: var(--st-color-text-primary);
4
+ --st-notification-border-radius: var(--st-border-radius-lg);
4
5
  display: flex;
5
6
  flex-direction: row;
6
7
  padding: var(--st-size-sm);
@@ -12,7 +13,7 @@ st-notification {
12
13
  align-content: center;
13
14
  align-items: center;
14
15
  justify-content: flex-start;
15
- border-radius: 4px;
16
+ border-radius: var(--st-notification-border-radius);
16
17
  gap: 8px;
17
18
  font-size: 16px;
18
19
  pointer-events: auto;
@@ -32,8 +33,8 @@ st-notification {
32
33
  color: inherit;
33
34
  opacity: 0.7;
34
35
  cursor: pointer;
35
- border-radius: var(--st-border-radius-xs, 2px);
36
- transition: opacity 0.15s ease;
36
+ border-radius: var(--st-border-radius-sm);
37
+ transition: opacity var(--st-transition-fast), background-color var(--st-transition-fast);
37
38
 
38
39
  &:hover {
39
40
  opacity: 1;
@@ -46,8 +47,8 @@ st-notification {
46
47
  }
47
48
 
48
49
  &.st-theme-brand {
49
- --st-notification-background-color: var(--st-color-blue-50);
50
- --st-notification-text-color: var(--st-color-blue-900);
50
+ --st-notification-background-color: var(--st-color-accent-subtle);
51
+ --st-notification-text-color: var(--st-color-accent-text);
51
52
  }
52
53
 
53
54
  &.st-theme-info {
@@ -69,13 +70,6 @@ st-notification {
69
70
  --st-notification-background-color: var(--st-color-feedback-warning-subtle);
70
71
  --st-notification-text-color: var(--st-color-feedback-warning-text);
71
72
  }
72
-
73
- [data-theme='dark'] & {
74
- &.st-theme-brand {
75
- --st-notification-background-color: rgba(37, 99, 235, 0.1);
76
- --st-notification-text-color: var(--st-color-blue-100);
77
- }
78
- }
79
73
  }
80
74
 
81
75
 
@@ -31,7 +31,7 @@ st-otp {
31
31
  --st-otp-slot-size: 54px;
32
32
  --st-otp-slot-font-size: 24px;
33
33
  --st-otp-slot-gap: var(--st-size-xs);
34
- --st-otp-slot-border-radius: var(--st-border-radius-md);
34
+ --st-otp-slot-border-radius: var(--st-border-radius-lg);
35
35
  }
36
36
 
37
37
  &.st-state-error {
@@ -11,7 +11,7 @@ st-pagination {
11
11
  border-radius: var(--st-border-radius-sm);
12
12
  color: var(--st-color-text-primary);
13
13
 
14
- transition: linear 0.1s background-color;
14
+ transition: background-color var(--st-transition-fast);
15
15
  font-size: var(--st-font-sm);
16
16
 
17
17
  &.clickable:not(.selected):not(:disabled):hover {
@@ -12,6 +12,8 @@ st-progress-linear, st-progress-radial {
12
12
  }
13
13
 
14
14
  st-progress-linear {
15
+ --st-progress-border-radius: var(--st-border-radius-xs);
16
+
15
17
  display: flex;
16
18
  flex-direction: row;
17
19
  justify-content: center;
@@ -64,14 +66,14 @@ st-progress-linear, st-progress-radial {
64
66
  width: 100%;
65
67
  height: var(--st-size-xxs);
66
68
  background: var(--st-color-bg-default);
67
- border-radius: var(--st-border-radius-sm);
69
+ border-radius: var(--st-progress-border-radius);
68
70
  overflow: hidden;
69
71
  }
70
72
 
71
73
  .linear-bar {
72
74
  height: 100%;
73
75
  background: var(--st-progress-fill-color);
74
- border-radius: var(--st-border-radius-sm);
76
+ border-radius: var(--st-progress-border-radius);
75
77
 
76
78
  transition: width 0.2s ease;
77
79
  }
@@ -33,13 +33,13 @@ st-radio {
33
33
  width: var(--st-selection-control-size);
34
34
  min-width: var(--st-selection-control-size);
35
35
  min-height: var(--st-selection-control-size);
36
- background-color: var(--st-color-bg-default);
36
+ background-color: var(--st-color-bg-raised);
37
37
 
38
38
  border: 1px solid var(--st-border);
39
39
  border-radius: 50%;
40
40
  display: grid;
41
41
  place-items: center;
42
- transition: background-color 0.1s linear;
42
+ transition: background-color var(--st-transition-fast), border-color var(--st-transition-fast);
43
43
 
44
44
  &::after {
45
45
  content: "";
@@ -48,7 +48,7 @@ st-radio {
48
48
  height: 0;
49
49
  border-radius: 50%;
50
50
  background-color: var(--st-radio-checked-bg-color);
51
- transition: width 0.1s ease-in, height 0.1s ease-in;
51
+ transition: width var(--st-transition-fast), height var(--st-transition-fast);
52
52
  }
53
53
  }
54
54
 
@@ -73,7 +73,7 @@ st-radio {
73
73
  pointer-events: none;
74
74
 
75
75
  .radio-visual {
76
- background-color: var(--st-color-bg-default);
76
+ background-color: var(--st-color-bg-raised);
77
77
 
78
78
  border-color: var(--st-border);
79
79
  }