@rdlabo/ionic-theme-ios27 1.0.2 → 1.0.3-beta.pr197.shaddcc0eacc313

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.
@@ -101,7 +101,7 @@ Add `.segment-style-glass` to give a segment the same glass surface and selected
101
101
  </ion-segment>
102
102
  ```
103
103
 
104
- For colored segments, use Ionic's `color` property (for example, `color="primary"` or `color="secondary"`). The selected surface uses the palette's base color and the selected label uses its contrast color. The optional moving glass inherits the same surface color; custom Ionic palettes work without additional registration.
104
+ For colored segments, use Ionic's `color` property (for example, `color="primary"` or `color="secondary"`). Ionic uses the palette's base color for the softly tinted track while keeping the selected surface and labels neutral. A surrounding colored toolbar only supplies colors when the segment has no color of its own. The optional moving glass inherits the selected surface color, and custom Ionic palettes work without additional registration.
105
105
 
106
106
  Add `.segment-expand` when segment buttons should divide the available width evenly. The class also changes the Liquid Glass effect sizing when `registerSegmentEffect` is used.
107
107
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rdlabo/ionic-theme-ios27",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.3-beta.pr197.shaddcc0eacc313",
5
5
  "description": "iOS27 Theme for Ionic Framework",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -93,12 +93,6 @@ ion-segment.ios:not(.ios-theme-disabled, .ios26-disabled) {
93
93
  }
94
94
  }
95
95
 
96
- &.in-toolbar-color:not(.in-segment-color) {
97
- ion-segment-button:not(.segment-button-checked)::part(native) {
98
- color: rgba(var(--ion-text-color-rgb, 0, 0, 0), 1);
99
- }
100
- }
101
-
102
96
  // The indicator grows independently; the label has no additional scale.
103
97
  &:not(.ios27-enable-gesture, .segment-disabled):is(.segment-activated, :has(ion-segment-button:is(:active, .ion-activated))) {
104
98
  ion-segment-button.segment-button-checked:not(.segment-button-disabled)::part(indicator-background) {
@@ -201,7 +195,3 @@ ion-segment-button.ios:not(.ios-theme-disabled, .ios26-disabled) {
201
195
  :where(ion-segment.ios:not(.ios-theme-disabled, .ios26-disabled) ion-segment-button) {
202
196
  --indicator-color: var(--ion-background-color, #fff);
203
197
  }
204
- :where(ion-segment.ios:not(.ios-theme-disabled, .ios26-disabled).ion-color ion-segment-button.in-segment-color) {
205
- --indicator-color: var(--ion-color-base);
206
- --color-checked: var(--ion-color-contrast);
207
- }
@@ -32,7 +32,7 @@
32
32
  :where(ion-segment.ios:not(.ios-theme-disabled, .ios26-disabled)) {
33
33
  --background: rgba(var(--ion-color-medium-rgb, 152, 154, 162), 0.19);
34
34
  }
35
- :where(ion-segment.ios:not(.ios-theme-disabled, .ios26-disabled, .ion-color) ion-segment-button:not(.ion-color, .in-segment-color)) {
35
+ :where(ion-segment.ios:not(.ios-theme-disabled, .ios26-disabled) ion-segment-button) {
36
36
  --indicator-color: color-mix(in srgb, rgb(var(--ion-color-medium-rgb, 152, 154, 162)) 59%, var(--ion-background-color, #000));
37
37
  }
38
38
  }