Skip to content

Commit

Permalink
✨ feat(default.scss): Support overridable default focus outline color…
Browse files Browse the repository at this point in the history
…/shadow
  • Loading branch information
Spiderpig86 committed Dec 15, 2021
1 parent 9dfac0f commit 1c0b7db
Show file tree
Hide file tree
Showing 6 changed files with 12,557 additions and 12,547 deletions.
4 changes: 3 additions & 1 deletion dist/cirrus-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,8 @@ pre > code[data-lang]:not([data-lang=""]) {
--font-size-m: 1rem;
--font-size-l: 1.25rem;
--font-size-xl: 1.5rem;
--cirrus-focus-size: 0 0 0.1rem 0.15rem;
--cirrus-focus-color: rgba(240, 61, 77, 0.13);
}

* {
Expand Down Expand Up @@ -846,7 +848,7 @@ fieldset legend {

/* When focusing any element */
:focus {
box-shadow: 0 0 0.1rem 0.15rem rgba(240, 61, 77, 0.13);
box-shadow: var(--cirrus-focus-size) var(--cirrus-focus-color);
outline: none;
}
@import url("https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700");
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus-core.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 1c0b7db

Please sign in to comment.