diff options
Diffstat (limited to 'src/scopes/_invisible-links.scss')
| -rw-r--r-- | src/scopes/_invisible-links.scss | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/scopes/_invisible-links.scss b/src/scopes/_invisible-links.scss deleted file mode 100644 index 32e8e7c..0000000 --- a/src/scopes/_invisible-links.scss +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | @use 'iro-sass/src/index' as iro; | ||
| 2 | @use '../functions' as fn; | ||
| 3 | |||
| 4 | @include iro.props-namespace('invisible-links') { | ||
| 5 | @include iro.props-store(( | ||
| 6 | --colors: ( | ||
| 7 | --key-focus: ( | ||
| 8 | --border: fn.global-color(--focus --fill), | ||
| 9 | --shadow: 0 0 0 calc(fn.global-dim(--focus --outline-width) + 2px) fn.global-color(--accent --primary --quiet --bg), | ||
| 10 | ), | ||
| 11 | ) | ||
| 12 | ), 'colors'); | ||
| 13 | |||
| 14 | @include iro.bem-scope(iro.props-namespace()) { | ||
| 15 | :link, | ||
| 16 | :visited { | ||
| 17 | border-radius: .5px; | ||
| 18 | color: currentColor; | ||
| 19 | text-decoration: none; | ||
| 20 | |||
| 21 | &:hover { | ||
| 22 | text-decoration: underline; | ||
| 23 | } | ||
| 24 | |||
| 25 | @include iro.bem-at-theme('keyboard') { | ||
| 26 | &:focus { | ||
| 27 | box-shadow: 0 0 0 2px fn.color(--key-focus --border), fn.color(--key-focus --shadow); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| 32 | } | ||
