|
43 | 43 | // -------------------------------------------------- |
44 | 44 |
|
45 | 45 | :host(.button-solid) { |
46 | | - --background-activated: #{globals.$ion-bg-primary-base-press}; |
47 | | - --background-hover: #{globals.$ion-bg-primary-base-press}; |
| 46 | + --background-activated: #{globals.ion-color(primary, shade)}; |
| 47 | + --background-hover: #{globals.ion-color(primary, shade)}; |
48 | 48 | --background-focused: transparent; |
49 | 49 | --background-hover-opacity: 1; |
50 | 50 | --background: #{globals.ion-color(primary, base)}; |
|
85 | 85 |
|
86 | 86 | // Warning Outline Button - use foreground color for text and border |
87 | 87 | :host(.button-outline.ion-color-warning) .button-native { |
88 | | - --color: #{globals.ion-color(warning, foreground)}; |
89 | | - --border-color: #{globals.ion-color(warning, foreground)}; |
| 88 | + color: #{globals.current-color(foreground)}; |
| 89 | + border-color: #{globals.current-color(foreground)}; |
90 | 90 | } |
91 | 91 |
|
92 | 92 | // Clear Button |
93 | 93 | // -------------------------------------------------- |
94 | 94 |
|
95 | 95 | :host(.button-clear) { |
96 | | - --background-activated: #{globals.current-color(shade, $subtle: true)}; |
| 96 | + --background-activated: #{globals.ion-color(primary, shade, $subtle: true)}; |
97 | 97 | --background-focused: transparent; |
98 | | - --background-hover: #{globals.current-color(shade, $subtle: true)}; |
| 98 | + --background-hover: #{globals.ion-color(primary, shade, $subtle: true)}; |
99 | 99 | --background-hover-opacity: 1; |
100 | 100 | --color: #{globals.ion-color(primary, foreground)}; |
101 | 101 | --ripple-opacity: var(--background-activated-opacity, 1); |
|
105 | 105 | :host(.button-clear.ion-color) { |
106 | 106 | --background-activated: #{globals.current-color(shade, $subtle: true)}; |
107 | 107 | --background-hover: #{globals.current-color(shade, $subtle: true)}; |
108 | | - |
109 | | - .button-native { |
110 | | - --ion-color-base: #{globals.current-color(foreground)}; |
111 | | - } |
112 | 108 | } |
113 | 109 |
|
114 | 110 | // Button Sizes |
|
0 commit comments