Skip to content

Commit

Permalink
Set light color variable to default
Browse files Browse the repository at this point in the history
  • Loading branch information
pastelcyborg committed Aug 19, 2024
1 parent e818114 commit 2cba751
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scss/_global_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,10 @@
}
}

// Adds visual focus to elements on :focus-visible,
// or :focus if the browser doesn't support the former
// Adds visual focus to elements on :focus-visible or :focus if the browser
// doesn't support the former
@mixin vf-focus($light-color: $colors--light-theme--focus, $dark-color: $colors--dark-theme--focus, $width: $bar-thickness, $has-validation: false) {
.is-light &,
.is-paper & {
--vf-focus-outline-color: #{$light-color};
}
--vf-focus-outline-color: #{$light-color};

.is-dark & {
--vf-focus-outline-color: #{$dark-color};
Expand Down

0 comments on commit 2cba751

Please sign in to comment.