summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-15 22:23:30 +0100
committerVolpeon <git@volpeon.ink>2023-02-15 22:23:30 +0100
commitf144c415aa5d205483191b5baa7ba791dc969f33 (patch)
tree7632f898201ef996fad5cb0ba0ebc7437f1d8695 /assets/css/scopes
parentUpdate (diff)
downloadvolpeon.ink-f144c415aa5d205483191b5baa7ba791dc969f33.tar.gz
volpeon.ink-f144c415aa5d205483191b5baa7ba791dc969f33.tar.bz2
volpeon.ink-f144c415aa5d205483191b5baa7ba791dc969f33.zip
Update
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_links.scss46
1 files changed, 0 insertions, 46 deletions
diff --git a/assets/css/scopes/_links.scss b/assets/css/scopes/_links.scss
deleted file mode 100644
index a08ccd8..0000000
--- a/assets/css/scopes/_links.scss
+++ /dev/null
@@ -1,46 +0,0 @@
1@use 'iro-sass/src/index' as iro;
2@use 'iro-design/src/functions' as fn;
3
4@include iro.props-namespace('links') {
5 @include iro.props-store((
6 --colors: (
7 --idle: fn.global-color(--accent --link-idle --obj-lo),
8 --visited: fn.global-color(--accent --link-visited --obj-lo),
9 --key-focus: (
10 --border: fn.global-color(--focus --fill),
11 --shadow: 0 0 0 calc(fn.global-dim(--focus --outline-width) + 2px) fn.global-color(--accent --primary --semi),
12 ),
13 )
14 ), 'colors');
15
16 @include iro.bem-scope(iro.props-namespace()) {
17 :link {
18 text-decoration: underline;
19 }
20
21 :visited {
22 text-decoration: underline;
23 }
24
25 :link,
26 :visited {
27 border-radius: .5px;
28
29 @include iro.bem-at-theme('keyboard') {
30 &:focus {
31 box-shadow: 0 0 0 2px fn.color(--key-focus --border), fn.color(--key-focus --shadow);
32 }
33 }
34 }
35
36 @include iro.bem-modifier('colored') {
37 :link {
38 color: fn.color(--idle);
39 }
40
41 :visited {
42 color: fn.color(--visited);
43 }
44 }
45 }
46}