Skip to content

Commit 57ad9f8

Browse files
committed
chore: continued refactoring, list styles
1 parent 1aae756 commit 57ad9f8

File tree

4 files changed

+13
-676
lines changed

4 files changed

+13
-676
lines changed

scss/block/_list-item.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/** SASS for the <li> HTML element
22
*
3-
* Found in scss/components/_dropdown.scss#189: `li {`
43
* Found in scss/components/_nav.scss#45: `li {`
54
* Found in scss/components/_nav.scss#87: `& ul li {`
65
* Found in scss/components/_nav.scss#127: `li {`
@@ -10,3 +9,16 @@
109
* Found in scss/content/_typography.scss#131: `#{\$parent-selector} ul li {`
1110
* Add your styles here
1211
*/
12+
@use "sass:map";
13+
@use "../settings" as *;
14+
15+
@if map.get($modules, "content/typography") {
16+
#{$parent-selector} ul li {
17+
list-style: square;
18+
}
19+
#{$parent-selector} :where(ol, ul) {
20+
li {
21+
margin-bottom: calc(var(#{$css-var-prefix}typography-spacing-vertical) * 0.25);
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)