Skip to content

Commit 444c56a

Browse files
committed
feat(action-sheet): replace stepped variables with gray
1 parent d4a05e5 commit 444c56a

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

core/src/components/action-sheet/action-sheet.ios.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
--button-background-selected: #{$action-sheet-ios-button-background-selected};
1818
--button-background-selected-opacity: 1;
1919
--button-color: #{$action-sheet-ios-button-text-color};
20-
--button-color-disabled: #{$text-color-step-150};
20+
--button-color-disabled: var(--ion-color-gray-850);
2121
--color: #{$action-sheet-ios-title-color};
2222

2323
text-align: $action-sheet-ios-text-align;

core/src/components/action-sheet/action-sheet.ios.vars.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $action-sheet-ios-title-padding-bottom: 13px;
4646
$action-sheet-ios-title-padding-start: $action-sheet-ios-title-padding-end;
4747

4848
/// @prop - Color of the action sheet title
49-
$action-sheet-ios-title-color: $text-color-step-600;
49+
$action-sheet-ios-title-color: var(--ion-color-gray-400);
5050

5151
/// @prop - Font size of the action sheet title
5252
$action-sheet-ios-title-font-size: dynamic-font-min(1, 13px);
@@ -115,10 +115,7 @@ $action-sheet-ios-button-background: linear-gradient(
115115
$action-sheet-ios-button-background-activated: $text-color;
116116

117117
/// @prop - Background color of the selected action sheet button
118-
$action-sheet-ios-button-background-selected: var(
119-
--ion-color-step-150,
120-
var(--ion-background-color-step-150, $background-color)
121-
);
118+
$action-sheet-ios-button-background-selected: var(--ion-color-gray-0);
122119

123120
/// @prop - Destructive text color of the action sheet button
124121
$action-sheet-ios-button-destructive-text-color: ion-color(danger, base);

core/src/components/action-sheet/action-sheet.md.vars.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $action-sheet-md-sub-title-padding-start: $action-sheet-md-sub-title-padding-end
6464
$action-sheet-md-button-height: 52px;
6565

6666
/// @prop - Text color of the action sheet button
67-
$action-sheet-md-button-text-color: $text-color-step-150;
67+
$action-sheet-md-button-text-color: var(--ion-color-gray-850);
6868

6969
/// @prop - Font size of the action sheet button
7070
$action-sheet-md-button-font-size: dynamic-font(16px);

core/src/components/action-sheet/test/basic/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
handler: () => {
109109
console.log('Play clicked');
110110
},
111+
disabled: true,
111112
},
112113
{
113114
text: 'Favorite',

0 commit comments

Comments
 (0)