@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,31 @@
|
|
|
1
|
+
# Button
|
|
2
|
+
|
|
3
|
+
Here are the styling options for a button.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### className
|
|
8
|
+
|
|
9
|
+
This property is used to apply styles from another existing class in the project. That class may include button styles.
|
|
10
|
+
|
|
11
|
+
The value must be a class that exists and is imported in the stylesheet.
|
|
12
|
+
|
|
13
|
+
### margin-bottom
|
|
14
|
+
|
|
15
|
+
This property sets the margin-bottom of the button.
|
|
16
|
+
|
|
17
|
+
The value must be a numerical value expressed in any unit.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## SCSS
|
|
21
|
+
|
|
22
|
+
```scss
|
|
23
|
+
.c--content-X {
|
|
24
|
+
@include make-content-modifier (
|
|
25
|
+
$btn-options: (
|
|
26
|
+
"className": g--btn-01,
|
|
27
|
+
"margin-bottom": $measure*4,
|
|
28
|
+
)
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Columns
|
|
2
|
+
|
|
3
|
+
Here are the styling options for columns.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### breakpoint
|
|
8
|
+
|
|
9
|
+
This value indicates the breakpoint at which the columns transitions to a single column.
|
|
10
|
+
|
|
11
|
+
The value for this property must be a numerical value in pixels (px).
|
|
12
|
+
|
|
13
|
+
### margin-bottom
|
|
14
|
+
|
|
15
|
+
This property sets the margin-bottom of the button.
|
|
16
|
+
|
|
17
|
+
The value must be a numerical value expressed in any unit.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## SCSS
|
|
21
|
+
|
|
22
|
+
```scss
|
|
23
|
+
.c--content-X {
|
|
24
|
+
@include make-content-modifier (
|
|
25
|
+
$columns-options: (
|
|
26
|
+
"breakpoint": $tablets,
|
|
27
|
+
"margin-bottom": $measure*4,
|
|
28
|
+
)
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Footnote
|
|
2
|
+
|
|
3
|
+
Here are the styling options for footnote.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
The footnote 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
|
+
$footnote-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,132 @@
|
|
|
1
|
+
# Headings
|
|
2
|
+
|
|
3
|
+
Here are the styling options for headings.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
The heading block has the text-related styling options listed [here](../properties/Font.md) for each heading (from h1 to h6).
|
|
8
|
+
|
|
9
|
+
## SCSS
|
|
10
|
+
|
|
11
|
+
```scss
|
|
12
|
+
.c--content-X {
|
|
13
|
+
@include make-content-modifier (
|
|
14
|
+
$headings-options: (
|
|
15
|
+
"h1": (
|
|
16
|
+
"color": #638c1d,
|
|
17
|
+
"font-family": arial,
|
|
18
|
+
"font-size": 2rem,
|
|
19
|
+
"font-style": italic,
|
|
20
|
+
"font-weight": 400,
|
|
21
|
+
"letter-spacing": 1px,
|
|
22
|
+
"line-height": 1.5,
|
|
23
|
+
"max-lines": 3,
|
|
24
|
+
"text-decoration": underline,
|
|
25
|
+
"text-decoration-color": #000000,
|
|
26
|
+
"text-underline-position": under,
|
|
27
|
+
"className": f--font-a,
|
|
28
|
+
"margin-bottom": 32px,
|
|
29
|
+
"margin-bottom-before-lists": 24px,
|
|
30
|
+
"padding-top": 8px,
|
|
31
|
+
"text-align": center,
|
|
32
|
+
"bold-font-weight": 800,
|
|
33
|
+
),
|
|
34
|
+
"h2": (
|
|
35
|
+
"color": #638c1d,
|
|
36
|
+
"font-family": arial,
|
|
37
|
+
"font-size": 2rem,
|
|
38
|
+
"font-style": italic,
|
|
39
|
+
"font-weight": 400,
|
|
40
|
+
"letter-spacing": 1px,
|
|
41
|
+
"line-height": 1.5,
|
|
42
|
+
"max-lines": 3,
|
|
43
|
+
"text-decoration": underline,
|
|
44
|
+
"text-decoration-color": #000000,
|
|
45
|
+
"text-underline-position": under,
|
|
46
|
+
"className": f--font-a,
|
|
47
|
+
"margin-bottom": 32px,
|
|
48
|
+
"margin-bottom-before-lists": 24px,
|
|
49
|
+
"padding-top": 8px,
|
|
50
|
+
"text-align": center,
|
|
51
|
+
"bold-font-weight": 800,
|
|
52
|
+
),
|
|
53
|
+
"h3": (
|
|
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
|
+
"h4": (
|
|
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
|
+
"h5": (
|
|
92
|
+
"color": #638c1d,
|
|
93
|
+
"font-family": arial,
|
|
94
|
+
"font-size": 2rem,
|
|
95
|
+
"font-style": italic,
|
|
96
|
+
"font-weight": 400,
|
|
97
|
+
"letter-spacing": 1px,
|
|
98
|
+
"line-height": 1.5,
|
|
99
|
+
"max-lines": 3,
|
|
100
|
+
"text-decoration": underline,
|
|
101
|
+
"text-decoration-color": #000000,
|
|
102
|
+
"text-underline-position": under,
|
|
103
|
+
"className": f--font-a,
|
|
104
|
+
"margin-bottom": 32px,
|
|
105
|
+
"margin-bottom-before-lists": 24px,
|
|
106
|
+
"padding-top": 8px,
|
|
107
|
+
"text-align": center,
|
|
108
|
+
"bold-font-weight": 800,
|
|
109
|
+
),
|
|
110
|
+
"h6": (
|
|
111
|
+
"color": #638c1d,
|
|
112
|
+
"font-family": arial,
|
|
113
|
+
"font-size": 2rem,
|
|
114
|
+
"font-style": italic,
|
|
115
|
+
"font-weight": 400,
|
|
116
|
+
"letter-spacing": 1px,
|
|
117
|
+
"line-height": 1.5,
|
|
118
|
+
"max-lines": 3,
|
|
119
|
+
"text-decoration": underline,
|
|
120
|
+
"text-decoration-color": #000000,
|
|
121
|
+
"text-underline-position": under,
|
|
122
|
+
"className": f--font-a,
|
|
123
|
+
"margin-bottom": 32px,
|
|
124
|
+
"margin-bottom-before-lists": 24px,
|
|
125
|
+
"padding-top": 8px,
|
|
126
|
+
"text-align": center,
|
|
127
|
+
"bold-font-weight": 800,
|
|
128
|
+
),
|
|
129
|
+
)
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Highlighted
|
|
2
|
+
|
|
3
|
+
Here are the styling options for highlighted text.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
The highlighted 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
|
+
$highlighted-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,143 @@
|
|
|
1
|
+
# Image
|
|
2
|
+
|
|
3
|
+
Here are the styling options for an image.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### border-color
|
|
8
|
+
|
|
9
|
+
This property is used to set the border color.
|
|
10
|
+
|
|
11
|
+
Possible values include:
|
|
12
|
+
|
|
13
|
+
- Transparent (transparent)
|
|
14
|
+
- Color name (red)
|
|
15
|
+
- Hexadecimal color (#ffffff)
|
|
16
|
+
- RGB color (rgb(255, 255, 255))
|
|
17
|
+
- RGBA color (rgba(255, 255, 255, .5))
|
|
18
|
+
- A variable referencing any of the above options ($color-a)
|
|
19
|
+
- A color within a variable map (map.get($color-options, a))
|
|
20
|
+
|
|
21
|
+
### border-radius
|
|
22
|
+
|
|
23
|
+
Sets the border-radius for the component.
|
|
24
|
+
|
|
25
|
+
The value must be a numerical value expressed in any unit.
|
|
26
|
+
|
|
27
|
+
### border-style
|
|
28
|
+
|
|
29
|
+
Sets the style of the border for the component.
|
|
30
|
+
|
|
31
|
+
Values can include those accepted by the CSS 'border-style' property, such as 'solid,' 'dotted,' 'double,' and so on.
|
|
32
|
+
|
|
33
|
+
### border-width
|
|
34
|
+
|
|
35
|
+
Sets the border-width for the component.
|
|
36
|
+
|
|
37
|
+
The value must be a numerical value expressed in any unit.
|
|
38
|
+
|
|
39
|
+
### object-fit
|
|
40
|
+
|
|
41
|
+
This property is used to specify how a media element should fit within its container. It becomes particularly useful when the container's size doesn't match the native dimensions of the contained element.
|
|
42
|
+
|
|
43
|
+
Values can include those accepted by the CSS 'object-fit' property.
|
|
44
|
+
|
|
45
|
+
### object-position
|
|
46
|
+
|
|
47
|
+
This property is used in conjunction with object-fit and determines the reference point or position of the content within its container when adjusting using object-fit.
|
|
48
|
+
|
|
49
|
+
Its value can be any of the positions accepted by the CSS 'object-position' property, such as 'left center,' 'bottom,' and so on.
|
|
50
|
+
|
|
51
|
+
### max-height
|
|
52
|
+
|
|
53
|
+
Sets a maximum height for the media item.
|
|
54
|
+
|
|
55
|
+
The value must be a numerical value expressed in any unit.
|
|
56
|
+
|
|
57
|
+
### min-height
|
|
58
|
+
|
|
59
|
+
Sets a minimum height for the media item.
|
|
60
|
+
|
|
61
|
+
The value must be a numerical value expressed in any unit.
|
|
62
|
+
|
|
63
|
+
### max-width
|
|
64
|
+
|
|
65
|
+
Sets a maximum width for the media item.
|
|
66
|
+
|
|
67
|
+
The value must be a numerical value expressed in any unit.
|
|
68
|
+
|
|
69
|
+
### min-width
|
|
70
|
+
|
|
71
|
+
Sets a minimum width for the media item.
|
|
72
|
+
|
|
73
|
+
The value must be a numerical value expressed in any unit.
|
|
74
|
+
|
|
75
|
+
### margin-bottom
|
|
76
|
+
|
|
77
|
+
This property sets the margin-bottom of the image.
|
|
78
|
+
|
|
79
|
+
The value must be a numerical value expressed in any unit.
|
|
80
|
+
|
|
81
|
+
### caption
|
|
82
|
+
|
|
83
|
+
The caption property accepts the text-related styling options listed [here](../properties/Font.md).
|
|
84
|
+
|
|
85
|
+
#### zoom-button-background-color (just for gutenberg)
|
|
86
|
+
|
|
87
|
+
This property sets the background color of the zoom image button.
|
|
88
|
+
#### zoom-button-bottom (just for gutenberg)
|
|
89
|
+
|
|
90
|
+
This property sets the bottom position of the zoom image button.
|
|
91
|
+
|
|
92
|
+
#### zoom-button-right (just for gutenberg)
|
|
93
|
+
|
|
94
|
+
This property sets the right position of the zoom image button.
|
|
95
|
+
|
|
96
|
+
#### zoom-button-border-radius (just for gutenberg)
|
|
97
|
+
|
|
98
|
+
This property sets the border-radius of the zoom image button.
|
|
99
|
+
|
|
100
|
+
## SCSS
|
|
101
|
+
|
|
102
|
+
```scss
|
|
103
|
+
.c--content-X {
|
|
104
|
+
@include make-content-modifier(
|
|
105
|
+
$image-options: (
|
|
106
|
+
"border-color": red,
|
|
107
|
+
"border-radius": 20px,
|
|
108
|
+
"border-style": solid,
|
|
109
|
+
"border-width": 2px,
|
|
110
|
+
"object-fit": cover,
|
|
111
|
+
"max-height": 700px,
|
|
112
|
+
"min-height": 0,
|
|
113
|
+
"object-position": center,
|
|
114
|
+
"max-width": 100%,
|
|
115
|
+
"min-width": 30px,
|
|
116
|
+
"margin-bottom": $measure * 7,
|
|
117
|
+
"zoom-button-background-color": red,
|
|
118
|
+
"zoom-button-bottom": 0px,
|
|
119
|
+
"zoom-button-right": 0px,
|
|
120
|
+
"zoom-button-border-radius": 0 0 8px 0,
|
|
121
|
+
"caption": (
|
|
122
|
+
"color": #638c1d,
|
|
123
|
+
"font-family": arial,
|
|
124
|
+
"font-size": 2rem,
|
|
125
|
+
"font-style": italic,
|
|
126
|
+
"font-weight": 400,
|
|
127
|
+
"letter-spacing": 1px,
|
|
128
|
+
"line-height": 1.5,
|
|
129
|
+
"max-lines": 3,
|
|
130
|
+
"text-decoration": underline,
|
|
131
|
+
"text-decoration-color": #000000,
|
|
132
|
+
"text-underline-position": under,
|
|
133
|
+
"className": f--font-a,
|
|
134
|
+
"margin-bottom": $measure * 5,
|
|
135
|
+
"margin-bottom-before-lists": 24px,
|
|
136
|
+
"padding-top": $measure * 2,
|
|
137
|
+
"text-align": right,
|
|
138
|
+
"bold-font-weight": 800,
|
|
139
|
+
),
|
|
140
|
+
)
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Link
|
|
2
|
+
|
|
3
|
+
Here are the styling options for a link.
|
|
4
|
+
|
|
5
|
+
## Editable options
|
|
6
|
+
|
|
7
|
+
### className
|
|
8
|
+
|
|
9
|
+
This property is used to apply styles from another existing class in the project. That class may include button styles.
|
|
10
|
+
|
|
11
|
+
The value must be a class that exists and is imported in the stylesheet.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## SCSS
|
|
15
|
+
|
|
16
|
+
```scss
|
|
17
|
+
.c--content-X {
|
|
18
|
+
@include make-content-modifier (
|
|
19
|
+
$link-options: (
|
|
20
|
+
"className": g--link-01 g--link-01--second,
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
```
|