summaryrefslogtreecommitdiffstats
path: root/src/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-12-05 09:14:24 +0100
committerVolpeon <git@volpeon.ink>2024-12-05 09:14:24 +0100
commita20c8d4895ad1c2949e0a9533042cc8018be3f0f (patch)
tree45a7118683e11a01c3fa9512c6e09cb34bbe6d4d /src/scopes
parentStyle lists by default (diff)
downloadiro-design-a20c8d4895ad1c2949e0a9533042cc8018be3f0f.tar.gz
iro-design-a20c8d4895ad1c2949e0a9533042cc8018be3f0f.tar.bz2
iro-design-a20c8d4895ad1c2949e0a9533042cc8018be3f0f.zip
Revert "Style lists by default"
This reverts commit 6e1009c6c4c1cedfd2bfbb38eb9543e72a275461.
Diffstat (limited to 'src/scopes')
-rw-r--r--src/scopes/_implicit.scss28
-rw-r--r--src/scopes/_implicit.vars.scss3
2 files changed, 4 insertions, 27 deletions
diff --git a/src/scopes/_implicit.scss b/src/scopes/_implicit.scss
index 86c65ce..78f06be 100644
--- a/src/scopes/_implicit.scss
+++ b/src/scopes/_implicit.scss
@@ -85,15 +85,9 @@
85 85
86 ul, 86 ul,
87 ol { 87 ol {
88 padding-block: 0; 88 padding: 0;
89 padding-inline: props.get(vars.$list--indent) 0; 89 margin: 0;
90 margin-block: props.get(vars.$list--margin-bs) 0; 90 list-style: none;
91 margin-inline: 0;
92
93 ul,
94 ol {
95 margin-block-start: 0;
96 }
97 } 91 }
98 92
99 li { 93 li {
@@ -101,21 +95,6 @@
101 margin: 0; 95 margin: 0;
102 } 96 }
103 97
104 dl {
105 padding: 0;
106 margin-block: props.get(vars.$list--margin-bs) 0;
107 margin-inline: 0;
108 }
109
110 dt {
111 font-weight: bold;
112 }
113
114 dd {
115 margin-block: 0;
116 margin-inline: props.get(vars.$list--indent) 0;
117 }
118
119 :focus, 98 :focus,
120 :focus-visible { 99 :focus-visible {
121 outline: 0; 100 outline: 0;
@@ -127,6 +106,7 @@
127 text-decoration: none; 106 text-decoration: none;
128 } 107 }
129 108
109
130 button, 110 button,
131 input, 111 input,
132 textarea { 112 textarea {
diff --git a/src/scopes/_implicit.vars.scss b/src/scopes/_implicit.vars.scss
index d8d79cf..388f0af 100644
--- a/src/scopes/_implicit.vars.scss
+++ b/src/scopes/_implicit.vars.scss
@@ -24,6 +24,3 @@ $heading--font-size: props.def(--s-implicit--heading--font-size, props.g
24$heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default; 24$heading--feature-settings: props.def(--s-implicit--heading--feature-settings, props.get(core.$font--standard--feature-settings)) !default;
25 25
26$heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default; 26$heading--color: props.def(--s-implicit--heading--color, props.get(core.$theme, --heading), 'color') !default;
27
28$list--indent: props.def(--s-implicit--list--indent, calc(props.get(core.$list--indent) + 1em)) !default;
29$list--margin-bs: props.def(--s-implicit--list--margin-bs, props.get($paragraph--margin-bs)) !default;