svelte-multistyle-ui 0.0.4-alpha → 0.0.6-alpha

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 (77) hide show
  1. package/README.md +1 -1
  2. package/cli/bin.js +90 -0
  3. package/cli/emit.js +228 -0
  4. package/cli/fixtures/sample.expected.svelte +69 -0
  5. package/cli/fixtures/sample.yaml +128 -0
  6. package/cli/generate.js +68 -0
  7. package/cli/registry.js +95 -0
  8. package/cli/schema.js +145 -0
  9. package/dist/components/Button.svelte +3 -1
  10. package/dist/components/Button.svelte.d.ts +2 -0
  11. package/dist/components/DatePicker.svelte +47 -12
  12. package/dist/components/FAB.svelte +3 -1
  13. package/dist/components/FAB.svelte.d.ts +2 -0
  14. package/dist/components/IconButton.svelte +3 -1
  15. package/dist/components/IconButton.svelte.d.ts +2 -0
  16. package/dist/components/Input.svelte +0 -1
  17. package/dist/components/MultiSelect.svelte +0 -1
  18. package/dist/components/Select.svelte +0 -1
  19. package/dist/components/Stepper.svelte +91 -33
  20. package/dist/components/Textarea.svelte +0 -1
  21. package/dist/components/accordion-styles.css +1 -9
  22. package/dist/components/alert-styles.css +1 -4
  23. package/dist/components/avatar-styles.css +1 -4
  24. package/dist/components/breadcrumb-styles.css +1 -7
  25. package/dist/components/button-styles.css +44 -52
  26. package/dist/components/buttongroup-styles.css +1 -5
  27. package/dist/components/card-styles.css +1 -9
  28. package/dist/components/carousel-styles.css +1 -5
  29. package/dist/components/charts/Chart.svelte +63 -3
  30. package/dist/components/charts/chart-config.d.ts +27 -2
  31. package/dist/components/charts/chart-config.js +180 -67
  32. package/dist/components/charts/chart-styles.css +32 -17
  33. package/dist/components/checkbox-styles.css +2 -10
  34. package/dist/components/chip-styles.css +1 -4
  35. package/dist/components/commandpalette-styles.css +0 -4
  36. package/dist/components/datepicker-styles.css +967 -1027
  37. package/dist/components/divider-styles.css +1 -4
  38. package/dist/components/drawer-styles.css +0 -4
  39. package/dist/components/dropdown-styles.css +0 -5
  40. package/dist/components/fab-styles.css +18 -12
  41. package/dist/components/fileupload-styles.css +2 -10
  42. package/dist/components/iconbutton-styles.css +33 -34
  43. package/dist/components/input-styles.css +5 -37
  44. package/dist/components/modal-styles.css +0 -8
  45. package/dist/components/multiselect-styles.css +5 -32
  46. package/dist/components/pagination-styles.css +2 -5
  47. package/dist/components/popover-styles.css +0 -4
  48. package/dist/components/progressbar-styles.css +1 -5
  49. package/dist/components/radio-styles.css +1 -8
  50. package/dist/components/rating-styles.css +1 -4
  51. package/dist/components/select-styles.css +5 -18
  52. package/dist/components/skeleton-styles.css +1 -4
  53. package/dist/components/slider-styles.css +1 -5
  54. package/dist/components/sortablelist-styles.css +0 -13
  55. package/dist/components/spinner-styles.css +1 -4
  56. package/dist/components/stepper-styles.css +59 -8
  57. package/dist/components/table-styles.css +1 -5
  58. package/dist/components/tabs-styles.css +3 -7
  59. package/dist/components/textarea-styles.css +5 -18
  60. package/dist/components/theme-base.css +19 -2
  61. package/dist/components/theme.css +329 -333
  62. package/dist/components/toast-styles.css +1 -4
  63. package/dist/components/toggle-styles.css +1 -11
  64. package/dist/components/tooltip-styles.css +1 -4
  65. package/dist/index.d.ts +1 -0
  66. package/dist/index.js +3 -0
  67. package/dist/themes/color.d.ts +52 -0
  68. package/dist/themes/color.js +91 -0
  69. package/dist/themes/generator.d.ts +41 -0
  70. package/dist/themes/generator.js +174 -0
  71. package/dist/themes/index.d.ts +3 -0
  72. package/dist/themes/index.js +4 -0
  73. package/dist/themes/presets.d.ts +445 -0
  74. package/dist/themes/presets.js +144 -0
  75. package/dist/themes/schema.d.ts +47 -0
  76. package/dist/themes/schema.js +34 -0
  77. package/package.json +18 -4
@@ -50,7 +50,4 @@
50
50
  .s-divider-carbon .s-divider-label { font-family: 'IBM Plex Sans', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
51
51
 
52
52
  /* Liquid Glass */
53
- .s-divider-liquid-glass .s-divider-line { height: 1px; background: rgba(255,255,255,0.2); }
54
-
55
- /* Legacy iOS */
56
- .s-divider-legacy-ios .s-divider-line { height: 1px; background: var(--t-border); }
53
+ .s-divider-liquid-glass .s-divider-line { height: 1px; background: rgba(255,255,255,0.2); }
@@ -64,10 +64,6 @@
64
64
  .s-drawer-liquid-glass .demo-label,
65
65
  .s-drawer-liquid-glass .text-muted,
66
66
  .s-drawer-liquid-glass .text-hint { color: rgba(255,255,255,0.55); }
67
-
68
- /* Legacy iOS */
69
- .s-drawer-legacy-ios { border: 1px solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-md); }
70
-
71
67
  /* Material3 */
72
68
  .s-drawer-material3.drawer-left { border-radius: 0 16px 16px 0; }
73
69
  .s-drawer-material3.drawer-right { border-radius: 16px 0 0 16px; }
@@ -107,11 +107,6 @@
107
107
  .s-dropdown-liquid-glass .s-dropdown-menu { border-radius: 16px; backdrop-filter: blur(24px) saturate(1.6); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--t-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.2); }
108
108
  .s-dropdown-liquid-glass .s-dropdown-item { border-radius: 12px; }
109
109
  .s-dropdown-liquid-glass .s-dropdown-item:hover { background: rgba(255,255,255,0.12); }
110
-
111
- /* Legacy iOS */
112
- .s-dropdown-legacy-ios .s-dropdown-menu { border-radius: 10px; border: 1px solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-md); }
113
- .s-dropdown-legacy-ios .s-dropdown-item { border-radius: 8px; }
114
-
115
110
  /* Material3 */
116
111
  .s-dropdown-material3 .s-dropdown-menu { border-radius: 16px; }
117
112
  .s-dropdown-material3 .s-dropdown-item { border-radius: 12px; }
@@ -8,8 +8,9 @@
8
8
  width: 56px;
9
9
  height: 56px;
10
10
  border-radius: 50%;
11
- background: var(--t-primary);
12
- color: #fff;
11
+ --fab-color: var(--fab-color);
12
+ background: var(--fab-color);
13
+ color: var(--t-text-on-primary);
13
14
  border: none;
14
15
  cursor: pointer;
15
16
  font-size: 24px;
@@ -17,6 +18,14 @@
17
18
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
18
19
  z-index: 100;
19
20
  }
21
+
22
+ /* ===== PRESETS (semantic color, theme-aware via --t-* tokens) ===== */
23
+ .s-fab.fab-primary { --fab-color: var(--t-primary); }
24
+ .s-fab.fab-secondary { --fab-color: var(--t-secondary); }
25
+ .s-fab.fab-info { --fab-color: var(--t-info); }
26
+ .s-fab.fab-success { --fab-color: var(--t-success); }
27
+ .s-fab.fab-warning { --fab-color: var(--t-warning); }
28
+ .s-fab.fab-error { --fab-color: var(--t-error); }
20
29
  .s-fab:hover {
21
30
  box-shadow: var(--t-shadow-lg);
22
31
  transform: scale(1.05);
@@ -32,21 +41,21 @@
32
41
  .s-fab-brutalist:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--t-text); }
33
42
 
34
43
  /* Pixel */
35
- .s-fab-pixel { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); }
44
+ .s-fab-pixel { border-radius: 0; border: var(--t-border-width) solid var(--fab-color); }
36
45
 
37
46
  /* Neon */
38
- .s-fab-neon { box-shadow: 0 0 10px var(--t-primary), 0 0 30px var(--t-shadow); background: var(--t-surface); color: var(--t-primary); border: 1.5px solid var(--t-primary); }
39
- .s-fab-neon:hover { box-shadow: 0 0 15px var(--t-primary), 0 0 45px var(--t-shadow); }
47
+ .s-fab-neon { box-shadow: 0 0 10px var(--fab-color), 0 0 30px var(--t-shadow); background: var(--t-surface); color: var(--fab-color); border: 1.5px solid var(--fab-color); }
48
+ .s-fab-neon:hover { box-shadow: 0 0 15px var(--fab-color), 0 0 45px var(--t-shadow); }
40
49
 
41
50
  /* Metro */
42
- .s-fab-metro { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); box-shadow: none; }
51
+ .s-fab-metro { border-radius: 0; border: var(--t-border-width) solid var(--fab-color); box-shadow: none; }
43
52
 
44
53
  /* Bootstrap */
45
54
  .s-fab-bootstrap { border-radius: 50%; box-shadow: var(--t-shadow-md); }
46
55
 
47
56
  /* Cartoon */
48
- .s-fab-cartoon { border: var(--t-border-width) solid var(--t-text); box-shadow: 4px 4px 0 var(--t-primary); }
49
- .s-fab-cartoon:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--t-primary); }
57
+ .s-fab-cartoon { border: var(--t-border-width) solid var(--t-text); box-shadow: 4px 4px 0 var(--fab-color); }
58
+ .s-fab-cartoon:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--fab-color); }
50
59
 
51
60
  /* Illustration */
52
61
  .s-fab-illustration { border: var(--t-border-width) solid var(--t-text); box-shadow: 3px 3px 0 var(--t-border); }
@@ -55,7 +64,4 @@
55
64
  .s-fab-carbon { border-radius: 0; border: var(--t-border-width) solid var(--t-border); box-shadow: none; }
56
65
 
57
66
  /* Liquid Glass */
58
- .s-fab-liquid-glass { border-radius: 50%; backdrop-filter: blur(24px) saturate(1.6); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--t-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.3); color: var(--t-primary); }
59
-
60
- /* Legacy iOS */
61
- .s-fab-legacy-ios { border-radius: 50%; border: var(--t-border-width) solid var(--t-border); background: linear-gradient(180deg, color-mix(in srgb, var(--t-primary) 80%, #fff) 0%, var(--t-primary) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), var(--t-shadow-sm); }
67
+ .s-fab-liquid-glass { border-radius: 50%; backdrop-filter: blur(24px) saturate(1.6); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--t-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.3); color: var(--fab-color); }
@@ -8,7 +8,7 @@
8
8
  gap: 8px;
9
9
  padding: 24px;
10
10
  border: var(--t-border-width) dashed var(--t-border);
11
- border-radius: var(--t-card-radius);
11
+ border-radius: var(--t-input-radius);
12
12
  background: var(--t-surface);
13
13
  color: var(--t-text);
14
14
  cursor: pointer;
@@ -114,12 +114,4 @@
114
114
  background: rgba(255,255,255,0.1);
115
115
  border: 1px dashed rgba(255,255,255,0.3);
116
116
  box-shadow: var(--t-shadow-md), inset 0 1px 0 rgba(255,255,255,0.3);
117
- }
118
-
119
- /* Legacy iOS */
120
- .s-fileupload-legacy-ios {
121
- border-radius: 10px;
122
- border: var(--t-border-width) dashed var(--t-border);
123
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
124
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
125
- }
117
+ }
@@ -10,11 +10,20 @@
10
10
  overflow: hidden;
11
11
  border: var(--t-border-width) solid transparent;
12
12
  border-radius: 50%;
13
- background: var(--t-primary);
14
- color: #fff;
13
+ --ibtn-color: var(--ibtn-color);
14
+ background: var(--ibtn-color);
15
+ color: var(--t-text-on-primary);
15
16
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
16
17
  box-shadow: var(--t-shadow-sm);
17
18
  }
19
+
20
+ /* ===== PRESETS (semantic color, theme-aware via --t-* tokens) ===== */
21
+ .s-iconbtn.ibtn-primary { --ibtn-color: var(--t-primary); }
22
+ .s-iconbtn.ibtn-secondary { --ibtn-color: var(--t-secondary); }
23
+ .s-iconbtn.ibtn-info { --ibtn-color: var(--t-info); }
24
+ .s-iconbtn.ibtn-success { --ibtn-color: var(--t-success); }
25
+ .s-iconbtn.ibtn-warning { --ibtn-color: var(--t-warning); }
26
+ .s-iconbtn.ibtn-error { --ibtn-color: var(--t-error); }
18
27
  .s-iconbtn:disabled {
19
28
  opacity: 0.45;
20
29
  pointer-events: none;
@@ -27,44 +36,44 @@
27
36
 
28
37
  /* ===== VARIANTS ===== */
29
38
  .s-iconbtn.ibtn-filled {
30
- background: var(--t-primary);
31
- color: #fff;
39
+ background: var(--ibtn-color);
40
+ color: var(--t-text-on-primary);
32
41
  }
33
42
  .s-iconbtn.ibtn-filled:hover {
34
- background: color-mix(in srgb, var(--t-primary) 85%, #000);
43
+ background: color-mix(in srgb, var(--ibtn-color) 85%, #000);
35
44
  box-shadow: var(--t-shadow-colored-md);
36
45
  }
37
46
  .s-iconbtn.ibtn-filled:active { transform: scale(0.92); }
38
47
 
39
48
  .s-iconbtn.ibtn-outlined {
40
49
  background: transparent;
41
- color: var(--t-primary);
42
- border-color: var(--t-primary);
50
+ color: var(--ibtn-color);
51
+ border-color: var(--ibtn-color);
43
52
  box-shadow: none;
44
53
  }
45
54
  .s-iconbtn.ibtn-outlined:hover {
46
- background: color-mix(in srgb, var(--t-primary) 8%, transparent);
55
+ background: color-mix(in srgb, var(--ibtn-color) 8%, transparent);
47
56
  }
48
57
  .s-iconbtn.ibtn-outlined:active { transform: scale(0.92); }
49
58
 
50
59
  .s-iconbtn.ibtn-text {
51
60
  background: transparent;
52
- color: var(--t-primary);
61
+ color: var(--ibtn-color);
53
62
  border-color: transparent;
54
63
  box-shadow: none;
55
64
  }
56
65
  .s-iconbtn.ibtn-text:hover {
57
- background: color-mix(in srgb, var(--t-primary) 10%, transparent);
66
+ background: color-mix(in srgb, var(--ibtn-color) 10%, transparent);
58
67
  }
59
68
 
60
69
  .s-iconbtn.ibtn-tonal {
61
- background: color-mix(in srgb, var(--t-primary) 15%, var(--t-surface));
62
- color: var(--t-primary);
70
+ background: color-mix(in srgb, var(--ibtn-color) 15%, var(--t-surface));
71
+ color: var(--ibtn-color);
63
72
  border-color: transparent;
64
73
  box-shadow: none;
65
74
  }
66
75
  .s-iconbtn.ibtn-tonal:hover {
67
- background: color-mix(in srgb, var(--t-primary) 22%, var(--t-surface));
76
+ background: color-mix(in srgb, var(--ibtn-color) 22%, var(--t-surface));
68
77
  }
69
78
 
70
79
  /* ===== RIPPLE (material) ===== */
@@ -97,13 +106,13 @@
97
106
 
98
107
  .s-iconbtn-pixel { border-radius: 0; border: var(--t-border-width) solid; transition: all 0.1s steps(3); }
99
108
 
100
- .s-iconbtn-neon { box-shadow: 0 0 5px var(--t-primary), 0 0 15px var(--t-shadow); }
101
- .s-iconbtn-neon:hover { box-shadow: 0 0 10px var(--t-primary), 0 0 30px var(--t-shadow); }
102
- .s-iconbtn-neon.ibtn-filled { background: var(--t-surface); color: var(--t-primary); border-color: var(--t-primary); }
109
+ .s-iconbtn-neon { box-shadow: 0 0 5px var(--ibtn-color), 0 0 15px var(--t-shadow); }
110
+ .s-iconbtn-neon:hover { box-shadow: 0 0 10px var(--ibtn-color), 0 0 30px var(--t-shadow); }
111
+ .s-iconbtn-neon.ibtn-filled { background: var(--t-surface); color: var(--ibtn-color); border-color: var(--ibtn-color); }
103
112
 
104
113
  /* Metro */
105
- .s-iconbtn-metro { border-radius: 0; border: var(--t-border-width) solid var(--t-primary); font-weight: 600; box-shadow: none; }
106
- .s-iconbtn-metro.ibtn-filled { background: var(--t-primary); color: #fff; }
114
+ .s-iconbtn-metro { border-radius: 0; border: var(--t-border-width) solid var(--ibtn-color); font-weight: 600; box-shadow: none; }
115
+ .s-iconbtn-metro.ibtn-filled { background: var(--ibtn-color); color: var(--t-text-on-primary); }
107
116
  .s-iconbtn-metro:hover { opacity: 0.85; }
108
117
 
109
118
  /* Bootstrap */
@@ -111,9 +120,9 @@
111
120
  .s-iconbtn-bootstrap:hover { box-shadow: 0 0 0 3px var(--t-shadow); }
112
121
 
113
122
  /* Cartoon */
114
- .s-iconbtn-cartoon { border-radius: 16px; border: var(--t-border-width) solid var(--t-text); box-shadow: 4px 4px 0 var(--t-primary); font-weight: 700; }
115
- .s-iconbtn-cartoon:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--t-primary); }
116
- .s-iconbtn-cartoon:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--t-primary); }
123
+ .s-iconbtn-cartoon { border-radius: 16px; border: var(--t-border-width) solid var(--t-text); box-shadow: 4px 4px 0 var(--ibtn-color); font-weight: 700; }
124
+ .s-iconbtn-cartoon:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ibtn-color); }
125
+ .s-iconbtn-cartoon:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ibtn-color); }
117
126
 
118
127
  /* Illustration */
119
128
  .s-iconbtn-illustration { border-radius: 8px; border: var(--t-border-width) solid var(--t-text); box-shadow: 3px 3px 0 var(--t-border); }
@@ -121,7 +130,7 @@
121
130
 
122
131
  /* Carbon */
123
132
  .s-iconbtn-carbon { border-radius: 0; border: var(--t-border-width) solid var(--t-border); border-bottom-width: 2px; font-family: 'IBM Plex Sans', sans-serif; box-shadow: none; }
124
- .s-iconbtn-carbon:hover { border-bottom-color: var(--t-primary); }
133
+ .s-iconbtn-carbon:hover { border-bottom-color: var(--ibtn-color); }
125
134
 
126
135
  /* Liquid Glass */
127
136
  .s-iconbtn-liquid-glass {
@@ -132,15 +141,5 @@
132
141
  border: 1px solid rgba(255,255,255,0.2);
133
142
  box-shadow: var(--t-shadow-md), inset 0 1px 0 rgba(255,255,255,0.3);
134
143
  }
135
- .s-iconbtn-liquid-glass.ibtn-filled { background: color-mix(in srgb, var(--t-primary) 60%, transparent); }
136
- .s-iconbtn-liquid-glass:hover { background: rgba(255,255,255,0.18); }
137
-
138
- /* Legacy iOS */
139
- .s-iconbtn-legacy-ios {
140
- border-radius: 10px;
141
- border: var(--t-border-width) solid var(--t-border);
142
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
143
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
144
- }
145
- .s-iconbtn-legacy-ios.ibtn-filled { background: linear-gradient(180deg, color-mix(in srgb, var(--t-primary) 80%, #fff) 0%, var(--t-primary) 100%); color: #fff; }
146
- .s-iconbtn-legacy-ios:active { transform: scale(0.92); }
144
+ .s-iconbtn-liquid-glass.ibtn-filled { background: color-mix(in srgb, var(--ibtn-color) 60%, transparent); }
145
+ .s-iconbtn-liquid-glass:hover { background: rgba(255,255,255,0.18); }
@@ -73,7 +73,7 @@
73
73
  color: var(--t-text);
74
74
  border: none;
75
75
  border-bottom: var(--t-border-width) solid var(--t-border);
76
- border-radius: var(--t-card-radius) var(--t-card-radius) 0 0;
76
+ border-radius: var(--t-input-radius) var(--t-input-radius) 0 0;
77
77
  }
78
78
  .s-input-material input:hover {
79
79
  background: color-mix(in srgb, var(--t-primary) 8%, var(--t-surface));
@@ -104,7 +104,7 @@
104
104
  background: var(--t-surface);
105
105
  color: var(--t-text);
106
106
  border: var(--t-border-width) solid var(--t-border);
107
- border-radius: var(--t-card-radius);
107
+ border-radius: var(--t-input-radius);
108
108
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
109
109
  }
110
110
  .s-input-material3 input:hover {
@@ -141,7 +141,7 @@
141
141
  background: var(--t-surface);
142
142
  color: var(--t-text);
143
143
  border: var(--t-border-width) solid var(--t-border);
144
- border-radius: var(--t-card-radius);
144
+ border-radius: var(--t-input-radius);
145
145
  border-bottom: 2px solid var(--t-border);
146
146
  }
147
147
  .s-input-fluent input:hover {
@@ -232,7 +232,7 @@
232
232
  background: var(--t-surface);
233
233
  color: var(--t-text);
234
234
  border: var(--t-border-width) solid var(--t-primary);
235
- border-radius: var(--t-card-radius);
235
+ border-radius: var(--t-input-radius);
236
236
  box-shadow: 0 0 5px var(--t-primary), inset 0 0 5px rgba(0, 0, 0, 0.5);
237
237
  animation: neonPulse 3s ease-in-out infinite alternate;
238
238
  transition: all 0.3s ease;
@@ -400,36 +400,4 @@
400
400
  color: var(--t-text);
401
401
  border: none;
402
402
  border-radius: 16px;
403
- }
404
-
405
- /* ===== LEGACY iOS ===== */
406
- .s-input-legacy-ios input {
407
- padding: 24px 16px 8px;
408
- font-size: 16px;
409
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
410
- color: var(--t-text);
411
- border: var(--t-border-width) solid var(--t-border);
412
- border-radius: 10px;
413
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
414
- transition: all 0.2s ease;
415
- }
416
- .s-input-legacy-ios input:hover {
417
- border-color: color-mix(in srgb, var(--t-primary) 50%, var(--t-border));
418
- }
419
- .s-input-legacy-ios.focused input {
420
- border-color: var(--t-primary);
421
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 0 3px var(--t-shadow);
422
- }
423
- .s-input-legacy-ios .s-input-floating-label {
424
- left: 16px;
425
- top: 16px;
426
- font-size: 16px;
427
- color: color-mix(in srgb, var(--t-text) 50%, transparent);
428
- }
429
- .s-input-legacy-ios.floated .s-input-floating-label {
430
- transform: translateY(-10px) scale(0.75);
431
- color: var(--t-primary);
432
- }
433
- .s-input-legacy-ios:not(.focused).has-value .s-input-floating-label {
434
- color: color-mix(in srgb, var(--t-text) 50%, transparent);
435
- }
403
+ }
@@ -89,14 +89,6 @@
89
89
  .s-modal-liquid-glass .text-muted,
90
90
  .s-modal-liquid-glass .text-hint { color: rgba(255,255,255,0.55); }
91
91
 
92
- /* Legacy iOS */
93
- .s-modal-legacy-ios {
94
- border-radius: 10px;
95
- border: 1px solid var(--t-border);
96
- background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, var(--t-surface) 100%);
97
- box-shadow: 0 10px 40px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.8);
98
- }
99
-
100
92
  /* Borderless overlays — declared last to win source-order over base border. */
101
93
  .s-modal-material,
102
94
  .s-modal-material3,
@@ -16,7 +16,7 @@
16
16
  background: var(--t-surface);
17
17
  color: var(--t-text);
18
18
  border: var(--t-border-width) solid var(--t-border);
19
- border-radius: var(--t-card-radius);
19
+ border-radius: var(--t-input-radius);
20
20
  cursor: pointer;
21
21
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
22
22
  }
@@ -128,8 +128,7 @@
128
128
  .s-mselect-material3 .mselect-control,
129
129
  .s-mselect-fluent .mselect-control,
130
130
  .s-mselect-carbon .mselect-control,
131
- .s-mselect-bootstrap .mselect-control,
132
- .s-mselect-legacy-ios .mselect-control {
131
+ .s-mselect-bootstrap .mselect-control {
133
132
  padding-top: 27px;
134
133
  padding-bottom: 9px;
135
134
  }
@@ -141,7 +140,7 @@
141
140
  background: color-mix(in srgb, var(--t-primary) 4%, var(--t-surface));
142
141
  border: none;
143
142
  border-bottom: var(--t-border-width) solid var(--t-border);
144
- border-radius: var(--t-card-radius) var(--t-card-radius) 0 0;
143
+ border-radius: var(--t-input-radius) var(--t-input-radius) 0 0;
145
144
  }
146
145
  .s-mselect-material .mselect-control:hover {
147
146
  background: color-mix(in srgb, var(--t-primary) 8%, var(--t-surface));
@@ -169,7 +168,7 @@
169
168
  .s-mselect-material3 .mselect-control {
170
169
  background: var(--t-surface);
171
170
  border: var(--t-border-width) solid var(--t-border);
172
- border-radius: var(--t-card-radius);
171
+ border-radius: var(--t-input-radius);
173
172
  }
174
173
  .s-mselect-material3 .mselect-control:hover {
175
174
  border-color: var(--t-text);
@@ -200,7 +199,7 @@
200
199
  .s-mselect-fluent .mselect-control {
201
200
  background: var(--t-surface);
202
201
  border: var(--t-border-width) solid var(--t-border);
203
- border-radius: var(--t-card-radius);
202
+ border-radius: var(--t-input-radius);
204
203
  border-bottom: 2px solid var(--t-border);
205
204
  }
206
205
  .s-mselect-fluent .mselect-control:hover {
@@ -272,32 +271,6 @@
272
271
  .s-mselect-carbon.focused .s-mselect-floating-label {
273
272
  color: var(--t-primary);
274
273
  }
275
-
276
- /* Legacy iOS */
277
- .s-mselect-legacy-ios .mselect-control {
278
- border-radius: 10px;
279
- border: var(--t-border-width) solid var(--t-border);
280
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
281
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
282
- }
283
- .s-mselect-legacy-ios.focused .mselect-control {
284
- border-color: var(--t-primary);
285
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 0 3px var(--t-shadow);
286
- }
287
- .s-mselect-legacy-ios .mselect-dropdown { border-radius: 10px; }
288
- .s-mselect-legacy-ios .s-mselect-floating-label {
289
- left: 12px;
290
- top: 14px;
291
- font-size: 16px;
292
- }
293
- .s-mselect-legacy-ios.floated .s-mselect-floating-label {
294
- transform: translateY(-10px) scale(0.75);
295
- color: var(--t-primary);
296
- }
297
- .s-mselect-legacy-ios:not(.focused).has-value .s-mselect-floating-label {
298
- color: color-mix(in srgb, var(--t-text) 50%, transparent);
299
- }
300
-
301
274
  /* Brutalist */
302
275
  .s-mselect-brutalist .mselect-control {
303
276
  font-family: 'Courier New', monospace;
@@ -23,7 +23,7 @@
23
23
  .s-pagination-btn:hover { border-color: var(--t-primary); color: var(--t-primary); }
24
24
  .s-pagination-btn.active {
25
25
  background: var(--t-primary);
26
- color: #fff;
26
+ color: var(--t-text-on-primary);
27
27
  border-color: var(--t-primary);
28
28
  }
29
29
  .s-pagination-btn:disabled { opacity: 0.4; pointer-events: none; }
@@ -57,7 +57,4 @@
57
57
 
58
58
  /* Liquid Glass */
59
59
  .s-pagination-liquid-glass .s-pagination-btn { border-radius: 12px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
60
- .s-pagination-liquid-glass .s-pagination-btn.active { background: color-mix(in srgb, var(--t-primary) 60%, transparent); }
61
-
62
- /* Legacy iOS */
63
- .s-pagination-legacy-ios .s-pagination-btn { border-radius: 8px; border: var(--t-border-width) solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
60
+ .s-pagination-liquid-glass .s-pagination-btn.active { background: color-mix(in srgb, var(--t-primary) 60%, transparent); }
@@ -111,10 +111,6 @@
111
111
  /* Liquid Glass */
112
112
  .s-popover-liquid-glass .s-popover { border-radius: 16px; backdrop-filter: blur(24px) saturate(1.6); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--t-shadow-lg), inset 0 1px 0 rgba(255,255,255,0.2); }
113
113
  .s-popover-liquid-glass .s-popover-arrow { background: rgba(255,255,255,0.08); backdrop-filter: blur(24px); }
114
-
115
- /* Legacy iOS */
116
- .s-popover-legacy-ios .s-popover { border-radius: 10px; border: 1px solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-md); }
117
-
118
114
  /* Material3 */
119
115
  .s-popover-material3 .s-popover { border-radius: 16px; }
120
116
 
@@ -99,8 +99,4 @@
99
99
 
100
100
  /* Liquid Glass */
101
101
  .s-progressbar-liquid-glass .progress-track { border-radius: 4px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); }
102
- .s-progressbar-liquid-glass .progress-fill { background: color-mix(in srgb, var(--t-primary) 70%, transparent); }
103
-
104
- /* Legacy iOS */
105
- .s-progressbar-legacy-ios .progress-track { border-radius: 4px; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, var(--t-border) 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
106
- .s-progressbar-legacy-ios .progress-fill { background: linear-gradient(180deg, color-mix(in srgb, var(--t-primary) 80%, #fff) 0%, var(--t-primary) 100%); }
102
+ .s-progressbar-liquid-glass .progress-fill { background: color-mix(in srgb, var(--t-primary) 70%, transparent); }
@@ -110,11 +110,4 @@
110
110
  background: rgba(255,255,255,0.1);
111
111
  border: 1px solid rgba(255,255,255,0.2);
112
112
  box-shadow: var(--t-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.3);
113
- }
114
-
115
- /* Legacy iOS */
116
- .s-radio-legacy-ios .s-radio-circle {
117
- border: var(--t-border-width) solid var(--t-border);
118
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
119
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
120
- }
113
+ }
@@ -62,7 +62,4 @@
62
62
 
63
63
  /* Liquid Glass */
64
64
  .s-rating-liquid-glass .s-rating-star { opacity: 0.6; }
65
- .s-rating-liquid-glass .s-rating-star.star-filled { opacity: 1; filter: drop-shadow(0 0 6px rgba(234,179,8,0.5)); }
66
-
67
- /* Legacy iOS */
68
- .s-rating-legacy-ios .s-rating-star.star-filled { color: #ffcc00; }
65
+ .s-rating-liquid-glass .s-rating-star.star-filled { opacity: 1; filter: drop-shadow(0 0 6px rgba(234,179,8,0.5)); }
@@ -18,7 +18,7 @@
18
18
  background: var(--t-surface);
19
19
  color: var(--t-text);
20
20
  border: var(--t-border-width) solid var(--t-border);
21
- border-radius: var(--t-card-radius);
21
+ border-radius: var(--t-input-radius);
22
22
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
23
23
  }
24
24
  .s-select-wrapper select:hover {
@@ -64,8 +64,7 @@
64
64
  .s-select-material3 select,
65
65
  .s-select-fluent select,
66
66
  .s-select-carbon select,
67
- .s-select-bootstrap select,
68
- .s-select-legacy-ios select {
67
+ .s-select-bootstrap select {
69
68
  padding-top: 24px;
70
69
  padding-bottom: 8px;
71
70
  }
@@ -75,7 +74,7 @@
75
74
  background: color-mix(in srgb, var(--t-primary) 4%, var(--t-surface));
76
75
  border: none;
77
76
  border-bottom: var(--t-border-width) solid var(--t-border);
78
- border-radius: var(--t-card-radius) var(--t-card-radius) 0 0;
77
+ border-radius: var(--t-input-radius) var(--t-input-radius) 0 0;
79
78
  }
80
79
  .s-select-material select:hover {
81
80
  background: color-mix(in srgb, var(--t-primary) 8%, var(--t-surface));
@@ -107,7 +106,7 @@
107
106
  .s-select-material3 select {
108
107
  background: var(--t-surface);
109
108
  border: var(--t-border-width) solid var(--t-border);
110
- border-radius: var(--t-card-radius);
109
+ border-radius: var(--t-input-radius);
111
110
  }
112
111
  .s-select-material3 select:hover {
113
112
  border-color: var(--t-text);
@@ -245,16 +244,4 @@
245
244
  .s-select-liquid-glass.focused {
246
245
  border-color: var(--t-primary);
247
246
  }
248
- .s-select-liquid-glass.focused select { box-shadow: none; }
249
-
250
- /* Legacy iOS */
251
- .s-select-legacy-ios select {
252
- border-radius: 10px;
253
- border: var(--t-border-width) solid var(--t-border);
254
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
255
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
256
- }
257
- .s-select-legacy-ios.focused select {
258
- border-color: var(--t-primary);
259
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 0 3px var(--t-shadow);
260
- }
247
+ .s-select-liquid-glass.focused select { box-shadow: none; }
@@ -42,7 +42,4 @@
42
42
  .s-skeleton-carbon { border-radius: 0; }
43
43
 
44
44
  /* Liquid Glass */
45
- .s-skeleton-liquid-glass { background: rgba(255,255,255,0.08); border-radius: 12px; backdrop-filter: blur(8px); }
46
-
47
- /* Legacy iOS */
48
- .s-skeleton-legacy-ios { border-radius: 8px; }
45
+ .s-skeleton-liquid-glass { background: rgba(255,255,255,0.08); border-radius: 12px; backdrop-filter: blur(8px); }
@@ -78,8 +78,4 @@
78
78
 
79
79
  /* Liquid Glass */
80
80
  .s-slider-liquid-glass .s-slider-track-wrapper input[type="range"] { background: rgba(255,255,255,0.15); border-radius: 3px; }
81
- .s-slider-liquid-glass .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); }
82
-
83
- /* Legacy iOS */
84
- .s-slider-legacy-ios .s-slider-track-wrapper input[type="range"] { border-radius: 3px; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, var(--t-border) 100%); }
85
- .s-slider-legacy-ios .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%); box-shadow: var(--t-shadow-sm); }
81
+ .s-slider-liquid-glass .s-slider-track-wrapper input[type="range"]::-webkit-slider-thumb { background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); }
@@ -118,19 +118,6 @@
118
118
  border: 1px solid rgba(255, 255, 255, 0.15);
119
119
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
120
120
  }
121
-
122
- /* Legacy iOS */
123
- .s-sortablelist-legacy-ios .s-sortablelist-item {
124
- border-radius: 10px;
125
- background: linear-gradient(180deg, #fff, #f5f5f5);
126
- border: 1px solid #d1d1d1;
127
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
128
- }
129
- html.dark .s-sortablelist-legacy-ios .s-sortablelist-item {
130
- background: linear-gradient(180deg, #2c2c2c, #1c1c1c);
131
- border-color: #3a3a3a;
132
- }
133
-
134
121
  /* Material 3 */
135
122
  .s-sortablelist-material3 .s-sortablelist-item {
136
123
  border-radius: 28px;
@@ -46,7 +46,4 @@
46
46
  .s-spinner-carbon .s-spinner-circle { border: 2px solid var(--t-border); border-top-color: var(--t-primary); }
47
47
 
48
48
  /* Liquid Glass */
49
- .s-spinner-liquid-glass .s-spinner-circle { border-color: rgba(255,255,255,0.15); border-top-color: var(--t-primary); }
50
-
51
- /* Legacy iOS */
52
- .s-spinner-legacy-ios .s-spinner-circle { border-color: var(--t-border); border-top-color: var(--t-primary); }
49
+ .s-spinner-liquid-glass .s-spinner-circle { border-color: rgba(255,255,255,0.15); border-top-color: var(--t-primary); }