Skip to content

Commit

Permalink
🔧 chore(default.scss): Use default browser focus styling for elements…
Browse files Browse the repository at this point in the history
… that don't have custom styling
  • Loading branch information
Spiderpig86 committed Dec 18, 2023
1 parent 2cbc17a commit b164485
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/cirrus-all.css
Expand Up @@ -254,8 +254,8 @@ fieldset legend {

/* When focusing any element */
:focus {
box-shadow: var(--cirrus-focus-size) var(--cirrus-focus-color);
outline: none;
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}

/* Remove all animations based on preference */
Expand Down
4 changes: 2 additions & 2 deletions dist/cirrus-core.css
Expand Up @@ -253,8 +253,8 @@ fieldset legend {

/* When focusing any element */
:focus {
box-shadow: var(--cirrus-focus-size) var(--cirrus-focus-color);
outline: none;
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}

/* Remove all animations based on preference */
Expand Down
4 changes: 4 additions & 0 deletions dist/cirrus-core.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/cirrus.css
Expand Up @@ -254,8 +254,8 @@ fieldset legend {

/* When focusing any element */
:focus {
box-shadow: var(--cirrus-focus-size) var(--cirrus-focus-color);
outline: none;
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}

/* Remove all animations based on preference */
Expand Down
4 changes: 4 additions & 0 deletions dist/cirrus.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/base/default.scss
Expand Up @@ -169,8 +169,8 @@ $generate-reset: should-generate-classes($RESET);

/* When focusing any element */
:focus {
box-shadow: var(--cirrus-focus-size) var(--cirrus-focus-color);
outline: none;
outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}

/* Remove all animations based on preference */
Expand Down

0 comments on commit b164485

Please sign in to comment.