File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
core/src/components/button Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 9696:host (.button-clear ) {
9797 --border-width : 0 ;
9898 --background : transparent ;
99- --color : #{ion-color (primary , base )} ;
99+ --color : #{ion-color (primary , foreground )} ;
100100}
101101
102102// Block Button
@@ -289,7 +289,7 @@ ion-ripple-effect {
289289// Clear Button with Color
290290:host (.button-clear.ion-color ) .button-native {
291291 background : transparent ;
292- color : current-color (base );
292+ color : current-color (foreground );
293293}
294294
295295// Button in Toolbar
Original file line number Diff line number Diff line change 4545:host (.button-solid ) {
4646 --background-activated : #{globals .ion-color (primary , shade )} ;
4747 --background-hover : #{globals .ion-color (primary , contrast )} ;
48- --background-focused : #{globals .ion-color (primary , contrast )} ;
49- --background-focused-opacity : 0.24 ;
48+ --background-focused : transparent ;
5049 --background-hover-opacity : 0.08 ;
5150 --ripple-opacity : var (--background-activated-opacity , 1 );
5251 --ripple-color : var (--background-activated );
217216 outline-offset : globals .$ion-border-size-050 ;
218217}
219218
220- /* *
221- * Only allow overriding of opacity here
222- * as developers should not be overriding
223- * colors when using the color prop.
224- */
225-
226- :host (.button-solid.ion-color.ion-focused ) .button-native ::after {
227- background : globals .current-color (contrast );
228- }
229-
230219// Button: Activated
231220// --------------------------------------------------
232221
You can’t perform that action at this time.
0 commit comments