@terrahq/wysiwyg 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +857 -0
- package/content/sanity-content.html +131 -0
- package/content/wordpress-content.html +266 -0
- package/dist/arrow.svg +3 -0
- package/dist/assets/UncutSans-Bold-2fac4f16.woff +0 -0
- package/dist/assets/UncutSans-Bold-7b3ccca7.woff2 +0 -0
- package/dist/assets/UncutSans-BoldItalic-b019f8c2.woff +0 -0
- package/dist/assets/UncutSans-BoldItalic-d20eba8f.woff2 +0 -0
- package/dist/assets/UncutSans-Book-8173cf82.woff +0 -0
- package/dist/assets/UncutSans-Book-d8cebf5d.woff2 +0 -0
- package/dist/assets/UncutSans-BookItalic-7a28bfb1.woff2 +0 -0
- package/dist/assets/UncutSans-BookItalic-d712b826.woff +0 -0
- package/dist/assets/UncutSans-Light-57c0f45d.woff2 +0 -0
- package/dist/assets/UncutSans-Light-8f82ee8c.woff +0 -0
- package/dist/assets/UncutSans-LightItalic-5d6a8d36.woff2 +0 -0
- package/dist/assets/UncutSans-LightItalic-9289a22f.woff +0 -0
- package/dist/assets/UncutSans-Medium-98513c38.woff +0 -0
- package/dist/assets/UncutSans-Medium-ed4917e5.woff2 +0 -0
- package/dist/assets/UncutSans-MediumItalic-1bbdbf4b.woff +0 -0
- package/dist/assets/UncutSans-MediumItalic-ef65e4f3.woff2 +0 -0
- package/dist/assets/UncutSans-Regular-6113b781.woff2 +0 -0
- package/dist/assets/UncutSans-Regular-f43ac780.woff +0 -0
- package/dist/assets/UncutSans-RegularItalic-6c918c22.woff +0 -0
- package/dist/assets/UncutSans-RegularItalic-de14905d.woff2 +0 -0
- package/dist/assets/main-41a2c29c.js +1 -0
- package/dist/assets/main-fcc727c6.css +1 -0
- package/dist/content/sanity-content.html +133 -0
- package/dist/content/wordpress-content.html +262 -0
- package/dist/img/Boba-Orange.png +0 -0
- package/dist/img/Diana-Blue.png +0 -0
- package/dist/img/Ebb-Green.png +0 -0
- package/dist/img/Forma-Lime.png +0 -0
- package/dist/img/Gollum-Pink.png +0 -0
- package/dist/img/Infinito-Gray.png +0 -0
- package/dist/img/Melos-Red.png +0 -0
- package/dist/img/Mendia-Black.png +0 -0
- package/dist/img/Mistyk-White.png +0 -0
- package/dist/img/Prismo-Blue.png +0 -0
- package/dist/img/Punky-Green.png +0 -0
- package/dist/img/Stanley-Lime.png +0 -0
- package/dist/img/bg.jpeg +0 -0
- package/dist/img/card-23/img-card23.png +0 -0
- package/dist/img/card-23/img2-card23.png +0 -0
- package/dist/img/card-23/img3-card23.png +0 -0
- package/dist/img/card-23/img4-card23.png +0 -0
- package/dist/img/card-32/img-card32.png +0 -0
- package/dist/img/card-32/img2-card32.png +0 -0
- package/dist/img/card-32/img3-card32.png +0 -0
- package/dist/img/card-32/img4-card32.png +0 -0
- package/dist/img/card-32/img5-card32.png +0 -0
- package/dist/img/card-35/card35.png +0 -0
- package/dist/img/card-39/img-card39.png +0 -0
- package/dist/img/card-39/img2-card39.png +0 -0
- package/dist/img/card-39/img3-card39.png +0 -0
- package/dist/img/card-39/img4-card39.png +0 -0
- package/dist/img/cta/cta.png +0 -0
- package/dist/img/layout-04/img-layout04.png +0 -0
- package/dist/img/layout-04/img2-layout04.png +0 -0
- package/dist/img/layout-04/img3-layout04.png +0 -0
- package/dist/img/layout-04/img4-layout04.png +0 -0
- package/dist/img/terra-placeholder.jpg +0 -0
- package/dist/img/terraform-group-color.png +0 -0
- package/dist/index.html +36 -0
- package/dist/lottie/terraforms-all.json +1 -0
- package/dist/lottie/terraforms.json +1 -0
- package/dist/mountain.png +0 -0
- package/dist/terra.gif +0 -0
- package/dist/terra.png +0 -0
- package/dist/tree.png +0 -0
- package/dist/video/terra-video.mp4 +0 -0
- package/dist/vite.svg +1 -0
- package/index.html +34 -0
- package/package.json +23 -0
- package/public/arrow.svg +3 -0
- package/public/img/Boba-Orange.png +0 -0
- package/public/img/Diana-Blue.png +0 -0
- package/public/img/Ebb-Green.png +0 -0
- package/public/img/Forma-Lime.png +0 -0
- package/public/img/Gollum-Pink.png +0 -0
- package/public/img/Infinito-Gray.png +0 -0
- package/public/img/Melos-Red.png +0 -0
- package/public/img/Mendia-Black.png +0 -0
- package/public/img/Mistyk-White.png +0 -0
- package/public/img/Prismo-Blue.png +0 -0
- package/public/img/Punky-Green.png +0 -0
- package/public/img/Stanley-Lime.png +0 -0
- package/public/img/bg.jpeg +0 -0
- package/public/img/card-23/img-card23.png +0 -0
- package/public/img/card-23/img2-card23.png +0 -0
- package/public/img/card-23/img3-card23.png +0 -0
- package/public/img/card-23/img4-card23.png +0 -0
- package/public/img/card-32/img-card32.png +0 -0
- package/public/img/card-32/img2-card32.png +0 -0
- package/public/img/card-32/img3-card32.png +0 -0
- package/public/img/card-32/img4-card32.png +0 -0
- package/public/img/card-32/img5-card32.png +0 -0
- package/public/img/card-35/card35.png +0 -0
- package/public/img/card-39/img-card39.png +0 -0
- package/public/img/card-39/img2-card39.png +0 -0
- package/public/img/card-39/img3-card39.png +0 -0
- package/public/img/card-39/img4-card39.png +0 -0
- package/public/img/cta/cta.png +0 -0
- package/public/img/layout-04/img-layout04.png +0 -0
- package/public/img/layout-04/img2-layout04.png +0 -0
- package/public/img/layout-04/img3-layout04.png +0 -0
- package/public/img/layout-04/img4-layout04.png +0 -0
- package/public/img/terra-placeholder.jpg +0 -0
- package/public/img/terraform-group-color.png +0 -0
- package/public/lottie/terraforms-all.json +1 -0
- package/public/lottie/terraforms.json +1 -0
- package/public/mountain.png +0 -0
- package/public/terra.gif +0 -0
- package/public/terra.png +0 -0
- package/public/tree.png +0 -0
- package/public/video/terra-video.mp4 +0 -0
- package/public/vite.svg +1 -0
- package/readme/blocks/Button.md +31 -0
- package/readme/blocks/Columns.md +31 -0
- package/readme/blocks/Footnote.md +35 -0
- package/readme/blocks/Headings.md +132 -0
- package/readme/blocks/Highlighted.md +35 -0
- package/readme/blocks/Image.md +143 -0
- package/readme/blocks/Links.md +24 -0
- package/readme/blocks/Lists.md +327 -0
- package/readme/blocks/Paragraphs.md +35 -0
- package/readme/blocks/Quote.md +94 -0
- package/readme/blocks/Separator.md +52 -0
- package/readme/blocks/Table.md +199 -0
- package/readme/blocks/Utilities.md +24 -0
- package/readme/blocks/Video.md +24 -0
- package/readme/properties/Border.md +52 -0
- package/readme/properties/Custom.md +54 -0
- package/readme/properties/Font.md +151 -0
- package/readme/properties/Media.md +0 -0
- package/src/assets/cta/noise.png +0 -0
- package/src/assets/fonts/UncutSans-Bold.woff +0 -0
- package/src/assets/fonts/UncutSans-Bold.woff2 +0 -0
- package/src/assets/fonts/UncutSans-BoldItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Book.woff +0 -0
- package/src/assets/fonts/UncutSans-Book.woff2 +0 -0
- package/src/assets/fonts/UncutSans-BookItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-BookItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Light.woff +0 -0
- package/src/assets/fonts/UncutSans-Light.woff2 +0 -0
- package/src/assets/fonts/UncutSans-LightItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-LightItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Medium.woff +0 -0
- package/src/assets/fonts/UncutSans-Medium.woff2 +0 -0
- package/src/assets/fonts/UncutSans-MediumItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Regular.woff +0 -0
- package/src/assets/fonts/UncutSans-Regular.woff2 +0 -0
- package/src/assets/fonts/UncutSans-RegularItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-RegularItalic.woff2 +0 -0
- package/src/assets/mountain.png +0 -0
- package/src/assets/vector-v.svg +5 -0
- package/src/js/main.ts +13 -0
- package/src/scss/_paths.scss +5 -0
- package/src/scss/framework/_var/_vars.scss +106 -0
- package/src/scss/framework/components/btn/_c--btn-a.scss +58 -0
- package/src/scss/framework/components/content/_c--content-a.scss +460 -0
- package/src/scss/framework/components/link/_c--link-a.scss +13 -0
- package/src/scss/framework/components/preloader/_c--preloader-a.scss +62 -0
- package/src/scss/framework/components/transition/_c--transition-a.scss +24 -0
- package/src/scss/framework/foundation/_foundation.scss +32 -0
- package/src/scss/framework/foundation/background/_background.scss +8 -0
- package/src/scss/framework/foundation/color/_color.scss +8 -0
- package/src/scss/framework/foundation/font/_font.scss +27 -0
- package/src/scss/framework/foundation/font/_make-font.scss +61 -0
- package/src/scss/framework/foundation/gap/_gap.scss +17 -0
- package/src/scss/framework/foundation/gap/_make-gap.scss +29 -0
- package/src/scss/framework/foundation/grid/_columns.scss +115 -0
- package/src/scss/framework/foundation/grid/_container.scss +17 -0
- package/src/scss/framework/foundation/grid/_grid.scss +3 -0
- package/src/scss/framework/foundation/grid/_make-columns.scss +28 -0
- package/src/scss/framework/foundation/grid/_make-container.scss +33 -0
- package/src/scss/framework/foundation/grid/_make-row.scss +20 -0
- package/src/scss/framework/foundation/grid/_row.scss +9 -0
- package/src/scss/framework/foundation/reset/_reset.scss +121 -0
- package/src/scss/framework/foundation/spaces/_make-spaces.scss +29 -0
- package/src/scss/framework/foundation/spaces/_spaces.scss +17 -0
- package/src/scss/framework/utilities/_align-items.scss +39 -0
- package/src/scss/framework/utilities/_aspect-ratio.scss +55 -0
- package/src/scss/framework/utilities/_display.scss +46 -0
- package/src/scss/framework/utilities/_flex-direction.scss +42 -0
- package/src/scss/framework/utilities/_font-style.scss +38 -0
- package/src/scss/framework/utilities/_font-weight.scss +45 -0
- package/src/scss/framework/utilities/_justify-content.scss +42 -0
- package/src/scss/framework/utilities/_order.scss +38 -0
- package/src/scss/framework/utilities/_overflow.scss +38 -0
- package/src/scss/framework/utilities/_position.scss +42 -0
- package/src/scss/framework/utilities/_spacing.scss +66 -0
- package/src/scss/framework/utilities/_text-align.scss +40 -0
- package/src/scss/framework/utilities/_utilities.scss +12 -0
- package/src/scss/global-content/_global-mixins/_global-mixins.scss +2 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-btn.scss +31 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-columns.scss +38 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-footnote.scss +8 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-highlighted.scss +8 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-image.scss +244 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-quote.scss +72 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-separator.scss +33 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-table.scss +116 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-video.scss +28 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-heading.scss +45 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-links.scss +21 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-list.scss +960 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-paragraph.scss +22 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-utilities.scss +35 -0
- package/src/scss/global-content/_global-mixins/blocks/_content.scss +14 -0
- package/src/scss/global-content/_global-mixins/helpers/_class.scss +11 -0
- package/src/scss/global-content/_global-mixins/helpers/_helpers.scss +1 -0
- package/src/scss/global-content/_global-mixins/properties/_border.scss +18 -0
- package/src/scss/global-content/_global-mixins/properties/_custom.scss +51 -0
- package/src/scss/global-content/_global-mixins/properties/_font.scss +60 -0
- package/src/scss/global-content/_global-mixins/properties/_media.scss +188 -0
- package/src/scss/global-content/_global-mixins/properties/_properties.scss +3 -0
- package/src/scss/global-content/_library.scss +2 -0
- package/src/scss/global-content/_sanity.scss +157 -0
- package/src/scss/global-content/_wordpress.scss +233 -0
- package/src/scss/index.scss +7 -0
- package/src/scss/sanity/index.scss +1 -0
- package/src/scss/sanity.scss +138 -0
- package/src/scss/wordpress/index.scss +1 -0
- package/src/scss/wp.scss +267 -0
- package/src/vite-env.d.ts +2 -0
- package/terrahq-wysiwyg-0.0.19.tgz +0 -0
- package/tsconfig.json +27 -0
- package/vite.config.js +39 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
# Lists
|
|
2
|
+
|
|
3
|
+
Here are the styling options for lists.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### number-font
|
|
8
|
+
|
|
9
|
+
This property is used to determine the font of the numbers in ordered lists. If we want it to be the same as li items (font-styles), we don't have to specify anything.
|
|
10
|
+
|
|
11
|
+
The number-font property accepts the text-related styling options listed [here](../properties/Font.md).
|
|
12
|
+
|
|
13
|
+
### first-number-width
|
|
14
|
+
|
|
15
|
+
This property is used to determine the width of the numbers in ordered lists, allowing for proper spacing to accommodate their size.
|
|
16
|
+
|
|
17
|
+
The value must be a numerical value expressed in any unit.
|
|
18
|
+
|
|
19
|
+
### first-level-number-color
|
|
20
|
+
|
|
21
|
+
This property sets the color of the number in the first level of ordered lists.
|
|
22
|
+
|
|
23
|
+
The possible values include:
|
|
24
|
+
|
|
25
|
+
- Transparent (transparent)
|
|
26
|
+
- A color name (red)
|
|
27
|
+
- Hexadecimal color (#ffffff)
|
|
28
|
+
- RGB color (rgb(255, 255, 255))
|
|
29
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
30
|
+
- A variable referencing any of the above options ($color-a)
|
|
31
|
+
- A color within a variable map (map.get($color-options, a))
|
|
32
|
+
|
|
33
|
+
### first-level-artwork-width
|
|
34
|
+
|
|
35
|
+
This property is used to set the width of the artwork in the first level of unordered lists.
|
|
36
|
+
|
|
37
|
+
The value must be a numerical value expressed in any unit.
|
|
38
|
+
|
|
39
|
+
### first-level-artwork-top
|
|
40
|
+
|
|
41
|
+
This property is used to set the top of the artwork in the first level of unordered lists.
|
|
42
|
+
|
|
43
|
+
The value must be a numerical value expressed in any unit.
|
|
44
|
+
|
|
45
|
+
### first-level-artwork-image
|
|
46
|
+
|
|
47
|
+
This property is used to set the image of the artwork in the first level of unordered lists.
|
|
48
|
+
|
|
49
|
+
The value must be the url of an image.
|
|
50
|
+
|
|
51
|
+
### first-level-artwork-background
|
|
52
|
+
|
|
53
|
+
This property is used to set the background of the artwork in the first level of unordered lists.
|
|
54
|
+
|
|
55
|
+
The possible values include:
|
|
56
|
+
|
|
57
|
+
- Transparent (transparent)
|
|
58
|
+
- A color name (red)
|
|
59
|
+
- Hexadecimal color (#ffffff)
|
|
60
|
+
- RGB color (rgb(255, 255, 255))
|
|
61
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
62
|
+
- A variable referencing any of the above options ($color-a)
|
|
63
|
+
- A color within a variable map (map.get($color-options, a))
|
|
64
|
+
|
|
65
|
+
### first-level-artwork-border-radius
|
|
66
|
+
|
|
67
|
+
This property is used to set the border-radius of the artwork in the first level of unordered lists.
|
|
68
|
+
|
|
69
|
+
The value must be a numerical value expressed in any unit.
|
|
70
|
+
|
|
71
|
+
### first-level-artwork-border-width
|
|
72
|
+
|
|
73
|
+
This property is used to set the border-width of the artwork in the first level of unordered lists.
|
|
74
|
+
|
|
75
|
+
The value must be a numerical value expressed in any unit.
|
|
76
|
+
|
|
77
|
+
### first-level-artwork-border-color
|
|
78
|
+
|
|
79
|
+
This property is used to set the border-color of the artwork in the first level of unordered lists.
|
|
80
|
+
|
|
81
|
+
The possible values include:
|
|
82
|
+
|
|
83
|
+
- Transparent (transparent)
|
|
84
|
+
- A color name (red)
|
|
85
|
+
- Hexadecimal color (#ffffff)
|
|
86
|
+
- RGB color (rgb(255, 255, 255))
|
|
87
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
88
|
+
- A variable referencing any of the above options ($color-a)
|
|
89
|
+
- A color within a variable map (map.get($color-options, a))
|
|
90
|
+
|
|
91
|
+
### second-level-number-color
|
|
92
|
+
|
|
93
|
+
This property sets the color of the number in the second level of ordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
94
|
+
|
|
95
|
+
The possible values include:
|
|
96
|
+
|
|
97
|
+
- Transparent (transparent)
|
|
98
|
+
- A color name (red)
|
|
99
|
+
- Hexadecimal color (#ffffff)
|
|
100
|
+
- RGB color (rgb(255, 255, 255))
|
|
101
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
102
|
+
- A variable referencing any of the above options ($color-a)
|
|
103
|
+
- A color within a variable map (map.get($color-options, a))
|
|
104
|
+
|
|
105
|
+
### second-level-artwork-width
|
|
106
|
+
|
|
107
|
+
This property is used to set the width of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
108
|
+
|
|
109
|
+
The value must be a numerical value expressed in any unit.
|
|
110
|
+
|
|
111
|
+
### second-level-artwork-top
|
|
112
|
+
|
|
113
|
+
This property is used to set the top of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
114
|
+
|
|
115
|
+
The value must be a numerical value expressed in any unit.
|
|
116
|
+
|
|
117
|
+
### second-level-artwork-image
|
|
118
|
+
|
|
119
|
+
This property is used to set the image of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
120
|
+
|
|
121
|
+
The value must be the url of an image.
|
|
122
|
+
|
|
123
|
+
### second-level-artwork-background
|
|
124
|
+
|
|
125
|
+
This property is used to set the background of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
126
|
+
|
|
127
|
+
The possible values include:
|
|
128
|
+
|
|
129
|
+
- Transparent (transparent)
|
|
130
|
+
- A color name (red)
|
|
131
|
+
- Hexadecimal color (#ffffff)
|
|
132
|
+
- RGB color (rgb(255, 255, 255))
|
|
133
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
134
|
+
- A variable referencing any of the above options ($color-a)
|
|
135
|
+
- A color within a variable map (map.get($color-options, a))
|
|
136
|
+
|
|
137
|
+
### second-level-artwork-border-radius
|
|
138
|
+
|
|
139
|
+
This property is used to set the border-radius of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
140
|
+
|
|
141
|
+
The value must be a numerical value expressed in any unit.
|
|
142
|
+
|
|
143
|
+
### second-level-artwork-border-width
|
|
144
|
+
|
|
145
|
+
This property is used to set the border-width of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
146
|
+
|
|
147
|
+
The value must be a numerical value expressed in any unit.
|
|
148
|
+
|
|
149
|
+
### second-level-artwork-border-color
|
|
150
|
+
|
|
151
|
+
This property is used to set the border-color of the artwork in the second level of unordered lists. If we want it to be the same as that of the first level, we don't have to specify anything.
|
|
152
|
+
|
|
153
|
+
The possible values include:
|
|
154
|
+
|
|
155
|
+
- Transparent (transparent)
|
|
156
|
+
- A color name (red)
|
|
157
|
+
- Hexadecimal color (#ffffff)
|
|
158
|
+
- RGB color (rgb(255, 255, 255))
|
|
159
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
160
|
+
- A variable referencing any of the above options ($color-a)
|
|
161
|
+
- A color within a variable map (map.get($color-options, a))
|
|
162
|
+
|
|
163
|
+
### third-level-number-color
|
|
164
|
+
|
|
165
|
+
This property sets the color of the number in the third level of ordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
166
|
+
|
|
167
|
+
The possible values include:
|
|
168
|
+
|
|
169
|
+
- Transparent (transparent)
|
|
170
|
+
- A color name (red)
|
|
171
|
+
- Hexadecimal color (#ffffff)
|
|
172
|
+
- RGB color (rgb(255, 255, 255))
|
|
173
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
174
|
+
- A variable referencing any of the above options ($color-a)
|
|
175
|
+
- A color within a variable map (map.get($color-options, a))
|
|
176
|
+
|
|
177
|
+
### third-level-artwork-width
|
|
178
|
+
|
|
179
|
+
This property is used to set the width of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
180
|
+
|
|
181
|
+
The value must be a numerical value expressed in any unit.
|
|
182
|
+
|
|
183
|
+
### third-level-artwork-top
|
|
184
|
+
|
|
185
|
+
This property is used to set the top of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
186
|
+
|
|
187
|
+
The value must be a numerical value expressed in any unit.
|
|
188
|
+
|
|
189
|
+
### third-level-artwork-image
|
|
190
|
+
|
|
191
|
+
This property is used to set the image of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
192
|
+
|
|
193
|
+
The value must be the url of an image.
|
|
194
|
+
|
|
195
|
+
### third-level-artwork-background
|
|
196
|
+
|
|
197
|
+
This property is used to set the background of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
198
|
+
|
|
199
|
+
The possible values include:
|
|
200
|
+
|
|
201
|
+
- Transparent (transparent)
|
|
202
|
+
- A color name (red)
|
|
203
|
+
- Hexadecimal color (#ffffff)
|
|
204
|
+
- RGB color (rgb(255, 255, 255))
|
|
205
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
206
|
+
- A variable referencing any of the above options ($color-a)
|
|
207
|
+
- A color within a variable map (map.get($color-options, a))
|
|
208
|
+
|
|
209
|
+
### third-level-artwork-border-radius
|
|
210
|
+
|
|
211
|
+
This property is used to set the border-radius of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
212
|
+
|
|
213
|
+
The value must be a numerical value expressed in any unit.
|
|
214
|
+
|
|
215
|
+
### third-level-artwork-border-width
|
|
216
|
+
|
|
217
|
+
This property is used to set the border-width of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
218
|
+
|
|
219
|
+
The value must be a numerical value expressed in any unit.
|
|
220
|
+
|
|
221
|
+
### third-level-artwork-border-color
|
|
222
|
+
|
|
223
|
+
This property is used to set the border-color of the artwork in the third level of unordered lists. If we want it to be the same as that of the second level, we don't have to specify anything.
|
|
224
|
+
|
|
225
|
+
The possible values include:
|
|
226
|
+
|
|
227
|
+
- Transparent (transparent)
|
|
228
|
+
- A color name (red)
|
|
229
|
+
- Hexadecimal color (#ffffff)
|
|
230
|
+
- RGB color (rgb(255, 255, 255))
|
|
231
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
232
|
+
- A variable referencing any of the above options ($color-a)
|
|
233
|
+
- A color within a variable map (map.get($color-options, a))
|
|
234
|
+
|
|
235
|
+
### margin-bottom
|
|
236
|
+
|
|
237
|
+
This property sets the margin-bottom of the lists.
|
|
238
|
+
|
|
239
|
+
The value must be a numerical value expressed in any unit.
|
|
240
|
+
|
|
241
|
+
### nested-list-spacing
|
|
242
|
+
|
|
243
|
+
This property sets the top spacing between a list item and its nested list. It helps control the visual separation between hierarchical levels in both ordered (<ol>) and unordered (<ul>) lists.
|
|
244
|
+
|
|
245
|
+
By default, nested lists often have browser-defined vertical spacing. This property gives you precise control over that spacing.
|
|
246
|
+
|
|
247
|
+
The value must be a numerical value expressed in any unit.
|
|
248
|
+
|
|
249
|
+
### font-styles
|
|
250
|
+
|
|
251
|
+
The font-styles property accepts the text-related styling options listed [here](../properties/Font.md).
|
|
252
|
+
|
|
253
|
+
## SCSS
|
|
254
|
+
|
|
255
|
+
```scss
|
|
256
|
+
.c--content-X {
|
|
257
|
+
@include make-content-modifier(
|
|
258
|
+
$lists-options: (
|
|
259
|
+
"number-font": (
|
|
260
|
+
"color": #638c1d,
|
|
261
|
+
"font-family": arial,
|
|
262
|
+
"font-size": 2rem,
|
|
263
|
+
"font-style": italic,
|
|
264
|
+
"font-weight": 400,
|
|
265
|
+
"letter-spacing": 1px,
|
|
266
|
+
"line-height": 1.5,
|
|
267
|
+
"max-lines": 3,
|
|
268
|
+
"text-decoration": underline,
|
|
269
|
+
"text-decoration-color": #000000,
|
|
270
|
+
"text-underline-position": under,
|
|
271
|
+
"className": f--font-a,
|
|
272
|
+
"margin-bottom": 32px,
|
|
273
|
+
"margin-bottom-before-lists": 24px,
|
|
274
|
+
"padding-top": 8px,
|
|
275
|
+
"text-align": center,
|
|
276
|
+
"bold-font-weight": 800,
|
|
277
|
+
),
|
|
278
|
+
"first-number-width": 14px,
|
|
279
|
+
"first-level-number-color": map.get($color-options, d),
|
|
280
|
+
"first-level-artwork-width": 8px,
|
|
281
|
+
"first-level-artwork-top": 8px,
|
|
282
|
+
"first-level-artwork-image": "(../img/artwork.png)",
|
|
283
|
+
"first-level-artwork-background": map.get($color-options, d),
|
|
284
|
+
"first-level-artwork-border-radius": 50%,
|
|
285
|
+
"first-level-artwork-border-width": 1px,
|
|
286
|
+
"first-level-artwork-border-color": map.get($color-options, d),
|
|
287
|
+
"second-level-number-color": map.get($color-options, d),
|
|
288
|
+
"second-level-artwork-width": 8px,
|
|
289
|
+
"second-level-artwork-top": 8px,
|
|
290
|
+
"second-level-artwork-image": "(../img/artwork.png)",
|
|
291
|
+
"second-level-artwork-background": map.get($color-options, d),
|
|
292
|
+
"second-level-artwork-border-radius": 50%,
|
|
293
|
+
"second-level-artwork-border-width": 1px,
|
|
294
|
+
"second-level-artwork-border-color": map.get($color-options, d),
|
|
295
|
+
"third-level-number-color": map.get($color-options, d),
|
|
296
|
+
"third-level-artwork-width": 8px,
|
|
297
|
+
"third-level-artwork-top": 8px,
|
|
298
|
+
"third-level-artwork-image": "(../img/artwork.png)",
|
|
299
|
+
"third-level-artwork-background": map.get($color-options, d),
|
|
300
|
+
"third-level-artwork-border-radius": 50%,
|
|
301
|
+
"third-level-artwork-border-width": 1px,
|
|
302
|
+
"third-level-artwork-border-color": map.get($color-options, d),
|
|
303
|
+
"margin-bottom": $measure * 4,
|
|
304
|
+
"nested-list-spacing": $measure,
|
|
305
|
+
"font-styles": (
|
|
306
|
+
"color": #638c1d,
|
|
307
|
+
"font-family": arial,
|
|
308
|
+
"font-size": 2rem,
|
|
309
|
+
"font-style": italic,
|
|
310
|
+
"font-weight": 400,
|
|
311
|
+
"letter-spacing": 1px,
|
|
312
|
+
"line-height": 1.5,
|
|
313
|
+
"max-lines": 3,
|
|
314
|
+
"text-decoration": underline,
|
|
315
|
+
"text-decoration-color": #000000,
|
|
316
|
+
"text-underline-position": under,
|
|
317
|
+
"className": f--font-a,
|
|
318
|
+
"margin-bottom": 32px,
|
|
319
|
+
"margin-bottom-before-lists": 24px,
|
|
320
|
+
"padding-top": 8px,
|
|
321
|
+
"text-align": center,
|
|
322
|
+
"bold-font-weight": 800,
|
|
323
|
+
),
|
|
324
|
+
)
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Paragraphs
|
|
2
|
+
|
|
3
|
+
Here are the styling options for paragraphs.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
The paragraphs block has only the text-related styling options listed [here](../properties/Font.md).
|
|
8
|
+
|
|
9
|
+
## SCSS
|
|
10
|
+
|
|
11
|
+
```scss
|
|
12
|
+
.c--content-X {
|
|
13
|
+
@include make-content-modifier (
|
|
14
|
+
$paragraphs-options: (
|
|
15
|
+
"color": #638c1d,
|
|
16
|
+
"font-family": arial,
|
|
17
|
+
"font-size": 2rem,
|
|
18
|
+
"font-style": italic,
|
|
19
|
+
"font-weight": 400,
|
|
20
|
+
"letter-spacing": 1px,
|
|
21
|
+
"line-height": 1.5,
|
|
22
|
+
"max-lines": 3,
|
|
23
|
+
"text-decoration": underline,
|
|
24
|
+
"text-decoration-color": #000000,
|
|
25
|
+
"text-underline-position": under,
|
|
26
|
+
"className": f--font-a,
|
|
27
|
+
"margin-bottom": 32px,
|
|
28
|
+
"margin-bottom-before-lists": 24px,
|
|
29
|
+
"padding-top": 8px,
|
|
30
|
+
"text-align": center,
|
|
31
|
+
"bold-font-weight": 800,
|
|
32
|
+
)
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
```
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Quote
|
|
2
|
+
|
|
3
|
+
Here are the styling options for a quote.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### padding
|
|
8
|
+
|
|
9
|
+
This property sets the padding of the quote.
|
|
10
|
+
|
|
11
|
+
The value must be a numerical value expressed in any unit.
|
|
12
|
+
|
|
13
|
+
### margin-top
|
|
14
|
+
|
|
15
|
+
This property sets the margin-top of the quote.
|
|
16
|
+
|
|
17
|
+
The value must be a numerical value expressed in any unit.
|
|
18
|
+
|
|
19
|
+
### margin-bottom
|
|
20
|
+
|
|
21
|
+
This property sets the margin-bottom of the quote.
|
|
22
|
+
|
|
23
|
+
The value must be a numerical value expressed in any unit.
|
|
24
|
+
|
|
25
|
+
### border
|
|
26
|
+
|
|
27
|
+
The border property accepts the border styling options listed [here](../properties/Border.md).
|
|
28
|
+
|
|
29
|
+
### paragraph
|
|
30
|
+
|
|
31
|
+
The paragraph property accepts the text-related styling options listed [here](../properties/Font.md).
|
|
32
|
+
|
|
33
|
+
### cite
|
|
34
|
+
|
|
35
|
+
The cite property accepts the text-related styling options listed [here](../properties/Font.md).
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## SCSS
|
|
39
|
+
|
|
40
|
+
```scss
|
|
41
|
+
.c--content-X {
|
|
42
|
+
@include make-content-modifier (
|
|
43
|
+
$quote-options: (
|
|
44
|
+
"padding": $measure*5 0,
|
|
45
|
+
"margin-top": $measure,
|
|
46
|
+
"margin-bottom": $measure*5,
|
|
47
|
+
"border": (
|
|
48
|
+
"border-color": red,
|
|
49
|
+
"border-radius": 0,
|
|
50
|
+
"border-style": solid,
|
|
51
|
+
"border-width": 2px 0,
|
|
52
|
+
),
|
|
53
|
+
"paragraph": (
|
|
54
|
+
"color": #638c1d,
|
|
55
|
+
"font-family": arial,
|
|
56
|
+
"font-size": 2rem,
|
|
57
|
+
"font-style": italic,
|
|
58
|
+
"font-weight": 400,
|
|
59
|
+
"letter-spacing": 1px,
|
|
60
|
+
"line-height": 1.5,
|
|
61
|
+
"max-lines": 3,
|
|
62
|
+
"text-decoration": underline,
|
|
63
|
+
"text-decoration-color": #000000,
|
|
64
|
+
"text-underline-position": under,
|
|
65
|
+
"className": f--font-a,
|
|
66
|
+
"margin-bottom": 32px,
|
|
67
|
+
"margin-bottom-before-lists": 24px,
|
|
68
|
+
"padding-top": 8px,
|
|
69
|
+
"text-align": center,
|
|
70
|
+
"bold-font-weight": 800,
|
|
71
|
+
),
|
|
72
|
+
"cite": (
|
|
73
|
+
"color": #638c1d,
|
|
74
|
+
"font-family": arial,
|
|
75
|
+
"font-size": 2rem,
|
|
76
|
+
"font-style": italic,
|
|
77
|
+
"font-weight": 400,
|
|
78
|
+
"letter-spacing": 1px,
|
|
79
|
+
"line-height": 1.5,
|
|
80
|
+
"max-lines": 3,
|
|
81
|
+
"text-decoration": underline,
|
|
82
|
+
"text-decoration-color": #000000,
|
|
83
|
+
"text-underline-position": under,
|
|
84
|
+
"className": f--font-a,
|
|
85
|
+
"margin-bottom": 32px,
|
|
86
|
+
"margin-bottom-before-lists": 24px,
|
|
87
|
+
"padding-top": 8px,
|
|
88
|
+
"text-align": center,
|
|
89
|
+
"bold-font-weight": 800,
|
|
90
|
+
),
|
|
91
|
+
)
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
```
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Separator
|
|
2
|
+
|
|
3
|
+
Here are the styling options for a separator.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### margin
|
|
8
|
+
|
|
9
|
+
This property sets the margin of the separator.
|
|
10
|
+
|
|
11
|
+
The value must be a numerical value expressed in any unit.
|
|
12
|
+
|
|
13
|
+
### width
|
|
14
|
+
|
|
15
|
+
This property sets the width of the separator.
|
|
16
|
+
|
|
17
|
+
The value must be a numerical value expressed in any unit.
|
|
18
|
+
|
|
19
|
+
### height
|
|
20
|
+
|
|
21
|
+
This property sets the height of the separator.
|
|
22
|
+
|
|
23
|
+
The value must be a numerical value expressed in any unit.
|
|
24
|
+
|
|
25
|
+
### color
|
|
26
|
+
|
|
27
|
+
This property set the color of the separator.
|
|
28
|
+
|
|
29
|
+
Possible values include:
|
|
30
|
+
|
|
31
|
+
- Transparent (transparent)
|
|
32
|
+
- Color name (red)
|
|
33
|
+
- Hexadecimal color (#ffffff)
|
|
34
|
+
- RGB color (rgb(255, 255, 255))
|
|
35
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
36
|
+
- A variable referencing any of the above options ($color-a)
|
|
37
|
+
- A color within a variable map (map.get($color-options, a))
|
|
38
|
+
|
|
39
|
+
## SCSS
|
|
40
|
+
|
|
41
|
+
```scss
|
|
42
|
+
.c--content-X {
|
|
43
|
+
@include make-content-modifier(
|
|
44
|
+
$separator-options: (
|
|
45
|
+
"margin": $measure * 5 auto,
|
|
46
|
+
"width": 60%,
|
|
47
|
+
"color": orange,
|
|
48
|
+
"height": 2px,
|
|
49
|
+
)
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
```
|