summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2025-11-08 08:45:32 +0100
committerVolpeon <git@volpeon.ink>2025-11-08 08:45:32 +0100
commit55f6613c572fb6d97f977ee09c28145677209fa4 (patch)
treeabcbfd00bda49808a87b21cfecee495f7dee7eaf /src
parentFix (diff)
downloadiro-design-55f6613c572fb6d97f977ee09c28145677209fa4.tar.gz
iro-design-55f6613c572fb6d97f977ee09c28145677209fa4.tar.bz2
iro-design-55f6613c572fb6d97f977ee09c28145677209fa4.zip
s-links: Add --mark-external
Diffstat (limited to 'src')
-rw-r--r--src/scopes/_links.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scopes/_links.scss b/src/scopes/_links.scss
index 9ade0c2..40be069 100644
--- a/src/scopes/_links.scss
+++ b/src/scopes/_links.scss
@@ -67,6 +67,17 @@
67 } 67 }
68 } 68 }
69 69
70 @include bem.modifier('mark-external') {
71 :link,
72 :visited {
73 &[href^='http'] {
74 &::after {
75 content: ' ↗';
76 }
77 }
78 }
79 }
80
70 @each $theme in map.keys(props.get(vars.$static-themes)) { 81 @each $theme in map.keys(props.get(vars.$static-themes)) {
71 @include bem.modifier(string.slice($theme, 3)) { 82 @include bem.modifier(string.slice($theme, 3)) {
72 :link, 83 :link,