mirror of
https://github.com/picocss/pico.git
synced 2025-05-01 13:29:13 -04:00
style: selection and focus color
This commit is contained in:
parent
dfa4041b77
commit
6c3e126943
13 changed files with 52 additions and 39 deletions
|
@ -30,7 +30,7 @@
|
|||
}
|
||||
|
||||
&:focus-visible {
|
||||
#{$✨}background-color: var(#{$✨}primary-focus);
|
||||
box-shadow: 0 0 0 var(#{$✨}outline-width) var(#{$✨}primary-focus);
|
||||
}
|
||||
|
||||
@if $enable-classes {
|
||||
|
@ -43,10 +43,6 @@
|
|||
#{$✨}color: var(#{$✨}secondary-hover);
|
||||
#{$✨}underline: var(#{$✨}secondary-underline-hover);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
#{$✨}background-color: var(#{$✨}secondary-focus);
|
||||
}
|
||||
}
|
||||
|
||||
// Contrast
|
||||
|
@ -58,10 +54,6 @@
|
|||
#{$✨}color: var(#{$✨}contrast-hover);
|
||||
#{$✨}underline: var(#{$✨}contrast-underline-hover);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
#{$✨}background-color: var(#{$✨}contrast-focus);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue