mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 19:46:14 -04:00
feat(accessibility): Add aria-current
This commit is contained in:
parent
b0255697d7
commit
df298eb4aa
47 changed files with 137 additions and 69 deletions
|
@ -81,6 +81,7 @@ a {
|
|||
text-decoration var(--transition), box-shadow var(--transition);
|
||||
}
|
||||
|
||||
&[aria-current],
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
|
@ -97,6 +98,7 @@ a {
|
|||
&.secondary {
|
||||
--color: var(--secondary);
|
||||
|
||||
&[aria-current],
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
|
@ -112,6 +114,7 @@ a {
|
|||
&.contrast {
|
||||
--color: var(--contrast);
|
||||
|
||||
&[aria-current],
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue