Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
427dce0
- fix outline and clear colors and ripple-effect;
JoaoFerreira-FrontEnd Oct 30, 2025
e33a8f8
Merge branch 'next' into ROU-12076
JoaoFerreira-FrontEnd Oct 30, 2025
2504b54
chore(): add updated snapshots
Ionitron Oct 30, 2025
a1c46e6
- lint.fix;
JoaoFerreira-FrontEnd Oct 30, 2025
2d465f6
-lint.fix;
JoaoFerreira-FrontEnd Oct 30, 2025
5fa9fce
Merge branch 'next' into ROU-12076
JoaoFerreira-FrontEnd Oct 30, 2025
543fc0a
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
5b948a8
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
399430e
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
6668907
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
9622114
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
5cf8e28
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
1233b8c
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Oct 31, 2025
2037c36
- clean ripple effect;
JoaoFerreira-FrontEnd Oct 31, 2025
8703428
- fallback for primary when color is not defined;
JoaoFerreira-FrontEnd Nov 3, 2025
b3fd9fb
Merge branch 'next' into ROU-12076
JoaoFerreira-FrontEnd Nov 4, 2025
00ee275
- remove var usage;
JoaoFerreira-FrontEnd Nov 4, 2025
9399d46
chore(): add updated snapshots
Ionitron Nov 4, 2025
ecbb59a
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Nov 5, 2025
a5a01a6
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Nov 5, 2025
646d420
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Nov 5, 2025
ecc7bae
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Nov 5, 2025
b9663bf
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Nov 5, 2025
5f29b33
- improvements based on review feedback;
JoaoFerreira-FrontEnd Nov 5, 2025
c55a0bf
- lint-fix;
JoaoFerreira-FrontEnd Nov 5, 2025
21293da
- lint-fix;
JoaoFerreira-FrontEnd Nov 5, 2025
c546566
fix(button): update ion-color for ionic theme
thetaPC Nov 5, 2025
3767bde
Update core/src/components/button/button.ionic.scss
JoaoFerreira-FrontEnd Nov 5, 2025
e10f241
lint.fix;
JoaoFerreira-FrontEnd Nov 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 25 additions & 6 deletions core/src/components/button/button.ionic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,30 @@
:host(.button-outline) {
--border-width: #{globals.$ion-border-size-025};
--border-style: #{globals.$ion-border-style-solid};
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
--background-activated: #{globals.ion-color(primary, shade, $subtle: true)};
--background-focused: transparent;
--background-hover: #{globals.$ion-bg-neutral-subtlest-press};
--background-hover: #{globals.ion-color(primary, shade, $subtle: true)};
--background-hover-opacity: 1;
--border-color: #{globals.ion-color(primary, base)};
--color: #{globals.ion-color(primary, base)};
--ripple-opacity: var(--background-activated-opacity, 1);
--ripple-color: var(--background-activated);
}

// Warning Outline Button - use foreground color for text and border
:host(.button-outline.ion-color-warning) .button-native {
border-color: globals.ion-color(warning, foreground);

color: globals.ion-color(warning, foreground);
}

// Clear Button
// --------------------------------------------------

:host(.button-clear) {
--background-activated: #{globals.$ion-bg-neutral-subtlest-press};
--background-activated: #{globals.ion-color(primary, shade, $subtle: true)};
--background-focused: transparent;
--background-hover: #{globals.$ion-bg-neutral-subtlest-press};
--background-hover: #{globals.ion-color(primary, shade, $subtle: true)};
--background-hover-opacity: 1;
--color: #{globals.ion-color(primary, foreground)};
--ripple-opacity: var(--background-activated-opacity, 1);
Expand All @@ -91,7 +98,7 @@

:host(.button-outline.ion-color) ion-ripple-effect,
:host(.button-clear.ion-color) ion-ripple-effect {
color: globals.$ion-primitives-neutral-200;
color: globals.current-color(shade, $subtle: true);
}

// Button Sizes
Expand Down Expand Up @@ -211,8 +218,15 @@
background: globals.current-color(shade);
}

:host(.button-outline.ion-color.ion-activated) .button-native::after,
:host(.button-clear.ion-color.ion-activated) .button-native::after {
background: globals.current-color(shade, $subtle: true);
}

:host(.ion-activated) .button-native:has(ion-ripple-effect)::after,
:host(.button-solid.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after {
:host(.button-solid.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after,
:host(.button-outline.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after,
:host(.button-clear.ion-color.ion-activated) .button-native:has(ion-ripple-effect)::after {
background: transparent;
}

Expand All @@ -223,6 +237,11 @@
:host(.button-solid.ion-color:hover) .button-native::after {
background: globals.current-color(shade);
}

:host(.button-outline.ion-color:hover) .button-native::after,
:host(.button-clear.ion-color:hover) .button-native::after {
background: globals.current-color(shade, $subtle: true);
}
}

// Button: Disabled
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion core/src/components/button/test/theme-ionic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ <h4>Preview options</h4>
<ion-select-option value="primary">Primary</ion-select-option>
<ion-select-option value="success">Success</ion-select-option>
<ion-select-option value="warning">Warning</ion-select-option>
<ion-select-option value="neutral">Neutral</ion-select-option>
<ion-select-option value="medium">Medium</ion-select-option>
<ion-select-option value="danger">Danger</ion-select-option>
</ion-select>
</p>

Expand Down
Loading