Skip to content

Commit 9ecb103

Browse files
Update core/src/themes/mixins.scss
Co-authored-by: Brandy Smith <[email protected]>
1 parent b67f4f5 commit 9ecb103

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

core/src/themes/mixins.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,15 @@
611611
}
612612
}
613613

614-
// Focused mixin to be used on regular elements
614+
// Mixin that applies focus styles to interactive elements.
615615
//
616-
// ex: :host(.ion-focused) .toggle-icon {
617-
// @include mixins.focused-state();
618-
// }
616+
// Example:
619617
//
618+
// ```scss
619+
// :host(.ion-focused) .toggle-icon {
620+
// @include mixins.focused-state();
621+
// }
622+
// ```
620623
// --------------------------------------------------
621624
@mixin focused-state($width: null, $style: solid, $color: null, $addOffset: true) {
622625
@if $width == null or $color == null {

0 commit comments

Comments
 (0)