Skip to content

Commit 6a19f57

Browse files
committed
feat(progress-bar): remove unused styles
1 parent bda0296 commit 6a19f57

3 files changed

Lines changed: 0 additions & 24 deletions

File tree

core/src/components/progress-bar/progress-bar.interfaces.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ export type IonProgressBarRecipe = {
8383
background?: string;
8484
};
8585
};
86-
87-
/** When progress bar is solid (buffer = 1) */
88-
solid?: {
89-
default?: {
90-
background?: string;
91-
};
92-
};
9386
};
9487
};
9588
};

core/src/components/progress-bar/progress-bar.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
*
1717
* @prop --ion-progress-bar-determinate-buffer-circles-default-background: Background of the buffer circles in a determinate progress bar
1818
* @prop --ion-progress-bar-determinate-buffer-circles-semantic-default-background: Background of the buffer circles in a determinate progress bar when a semantic color is applied
19-
* @prop --ion-progress-bar-determinate-buffer-circles-solid-default-background: Background of the buffer circles in a determinate progress bar when it's fully buffered
20-
*
2119
* @prop --ion-progress-bar-indeterminate-progress-default-background: Background of the filled progress indicator in an indeterminate progress bar
2220
* @prop --ion-progress-bar-indeterminate-progress-semantic-default-background: Background of the filled progress indicator in an indeterminate progress bar when a semantic color is applied
2321
*
@@ -206,15 +204,6 @@
206204
);
207205
}
208206

209-
:host(.progress-bar-solid) .buffer-circles {
210-
background-image: radial-gradient(
211-
ellipse at center,
212-
var(--ion-progress-bar-determinate-buffer-circles-solid-default-background) 0%,
213-
var(--ion-progress-bar-determinate-buffer-circles-solid-default-background) 30%,
214-
transparent 30%
215-
);
216-
}
217-
218207
// Indeterminate
219208
:host(.progress-bar-solid.progress-bar-type-indeterminate) .progress-buffer-bar {
220209
background: var(

core/src/themes/ios/default.tokens.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,6 @@ export const defaultTheme: DefaultTheme = {
546546
background: currentColor('base', 0.3),
547547
},
548548
},
549-
550-
solid: {
551-
default: {
552-
background: `var(--ion-background-color-step-100, ${mix(baseColors.black, baseColors.white, '90%')})`,
553-
},
554-
},
555549
},
556550
},
557551
},

0 commit comments

Comments
 (0)