@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.
Files changed (230) hide show
  1. package/README.md +857 -0
  2. package/content/sanity-content.html +131 -0
  3. package/content/wordpress-content.html +266 -0
  4. package/dist/arrow.svg +3 -0
  5. package/dist/assets/UncutSans-Bold-2fac4f16.woff +0 -0
  6. package/dist/assets/UncutSans-Bold-7b3ccca7.woff2 +0 -0
  7. package/dist/assets/UncutSans-BoldItalic-b019f8c2.woff +0 -0
  8. package/dist/assets/UncutSans-BoldItalic-d20eba8f.woff2 +0 -0
  9. package/dist/assets/UncutSans-Book-8173cf82.woff +0 -0
  10. package/dist/assets/UncutSans-Book-d8cebf5d.woff2 +0 -0
  11. package/dist/assets/UncutSans-BookItalic-7a28bfb1.woff2 +0 -0
  12. package/dist/assets/UncutSans-BookItalic-d712b826.woff +0 -0
  13. package/dist/assets/UncutSans-Light-57c0f45d.woff2 +0 -0
  14. package/dist/assets/UncutSans-Light-8f82ee8c.woff +0 -0
  15. package/dist/assets/UncutSans-LightItalic-5d6a8d36.woff2 +0 -0
  16. package/dist/assets/UncutSans-LightItalic-9289a22f.woff +0 -0
  17. package/dist/assets/UncutSans-Medium-98513c38.woff +0 -0
  18. package/dist/assets/UncutSans-Medium-ed4917e5.woff2 +0 -0
  19. package/dist/assets/UncutSans-MediumItalic-1bbdbf4b.woff +0 -0
  20. package/dist/assets/UncutSans-MediumItalic-ef65e4f3.woff2 +0 -0
  21. package/dist/assets/UncutSans-Regular-6113b781.woff2 +0 -0
  22. package/dist/assets/UncutSans-Regular-f43ac780.woff +0 -0
  23. package/dist/assets/UncutSans-RegularItalic-6c918c22.woff +0 -0
  24. package/dist/assets/UncutSans-RegularItalic-de14905d.woff2 +0 -0
  25. package/dist/assets/main-41a2c29c.js +1 -0
  26. package/dist/assets/main-fcc727c6.css +1 -0
  27. package/dist/content/sanity-content.html +133 -0
  28. package/dist/content/wordpress-content.html +262 -0
  29. package/dist/img/Boba-Orange.png +0 -0
  30. package/dist/img/Diana-Blue.png +0 -0
  31. package/dist/img/Ebb-Green.png +0 -0
  32. package/dist/img/Forma-Lime.png +0 -0
  33. package/dist/img/Gollum-Pink.png +0 -0
  34. package/dist/img/Infinito-Gray.png +0 -0
  35. package/dist/img/Melos-Red.png +0 -0
  36. package/dist/img/Mendia-Black.png +0 -0
  37. package/dist/img/Mistyk-White.png +0 -0
  38. package/dist/img/Prismo-Blue.png +0 -0
  39. package/dist/img/Punky-Green.png +0 -0
  40. package/dist/img/Stanley-Lime.png +0 -0
  41. package/dist/img/bg.jpeg +0 -0
  42. package/dist/img/card-23/img-card23.png +0 -0
  43. package/dist/img/card-23/img2-card23.png +0 -0
  44. package/dist/img/card-23/img3-card23.png +0 -0
  45. package/dist/img/card-23/img4-card23.png +0 -0
  46. package/dist/img/card-32/img-card32.png +0 -0
  47. package/dist/img/card-32/img2-card32.png +0 -0
  48. package/dist/img/card-32/img3-card32.png +0 -0
  49. package/dist/img/card-32/img4-card32.png +0 -0
  50. package/dist/img/card-32/img5-card32.png +0 -0
  51. package/dist/img/card-35/card35.png +0 -0
  52. package/dist/img/card-39/img-card39.png +0 -0
  53. package/dist/img/card-39/img2-card39.png +0 -0
  54. package/dist/img/card-39/img3-card39.png +0 -0
  55. package/dist/img/card-39/img4-card39.png +0 -0
  56. package/dist/img/cta/cta.png +0 -0
  57. package/dist/img/layout-04/img-layout04.png +0 -0
  58. package/dist/img/layout-04/img2-layout04.png +0 -0
  59. package/dist/img/layout-04/img3-layout04.png +0 -0
  60. package/dist/img/layout-04/img4-layout04.png +0 -0
  61. package/dist/img/terra-placeholder.jpg +0 -0
  62. package/dist/img/terraform-group-color.png +0 -0
  63. package/dist/index.html +36 -0
  64. package/dist/lottie/terraforms-all.json +1 -0
  65. package/dist/lottie/terraforms.json +1 -0
  66. package/dist/mountain.png +0 -0
  67. package/dist/terra.gif +0 -0
  68. package/dist/terra.png +0 -0
  69. package/dist/tree.png +0 -0
  70. package/dist/video/terra-video.mp4 +0 -0
  71. package/dist/vite.svg +1 -0
  72. package/index.html +34 -0
  73. package/package.json +23 -0
  74. package/public/arrow.svg +3 -0
  75. package/public/img/Boba-Orange.png +0 -0
  76. package/public/img/Diana-Blue.png +0 -0
  77. package/public/img/Ebb-Green.png +0 -0
  78. package/public/img/Forma-Lime.png +0 -0
  79. package/public/img/Gollum-Pink.png +0 -0
  80. package/public/img/Infinito-Gray.png +0 -0
  81. package/public/img/Melos-Red.png +0 -0
  82. package/public/img/Mendia-Black.png +0 -0
  83. package/public/img/Mistyk-White.png +0 -0
  84. package/public/img/Prismo-Blue.png +0 -0
  85. package/public/img/Punky-Green.png +0 -0
  86. package/public/img/Stanley-Lime.png +0 -0
  87. package/public/img/bg.jpeg +0 -0
  88. package/public/img/card-23/img-card23.png +0 -0
  89. package/public/img/card-23/img2-card23.png +0 -0
  90. package/public/img/card-23/img3-card23.png +0 -0
  91. package/public/img/card-23/img4-card23.png +0 -0
  92. package/public/img/card-32/img-card32.png +0 -0
  93. package/public/img/card-32/img2-card32.png +0 -0
  94. package/public/img/card-32/img3-card32.png +0 -0
  95. package/public/img/card-32/img4-card32.png +0 -0
  96. package/public/img/card-32/img5-card32.png +0 -0
  97. package/public/img/card-35/card35.png +0 -0
  98. package/public/img/card-39/img-card39.png +0 -0
  99. package/public/img/card-39/img2-card39.png +0 -0
  100. package/public/img/card-39/img3-card39.png +0 -0
  101. package/public/img/card-39/img4-card39.png +0 -0
  102. package/public/img/cta/cta.png +0 -0
  103. package/public/img/layout-04/img-layout04.png +0 -0
  104. package/public/img/layout-04/img2-layout04.png +0 -0
  105. package/public/img/layout-04/img3-layout04.png +0 -0
  106. package/public/img/layout-04/img4-layout04.png +0 -0
  107. package/public/img/terra-placeholder.jpg +0 -0
  108. package/public/img/terraform-group-color.png +0 -0
  109. package/public/lottie/terraforms-all.json +1 -0
  110. package/public/lottie/terraforms.json +1 -0
  111. package/public/mountain.png +0 -0
  112. package/public/terra.gif +0 -0
  113. package/public/terra.png +0 -0
  114. package/public/tree.png +0 -0
  115. package/public/video/terra-video.mp4 +0 -0
  116. package/public/vite.svg +1 -0
  117. package/readme/blocks/Button.md +31 -0
  118. package/readme/blocks/Columns.md +31 -0
  119. package/readme/blocks/Footnote.md +35 -0
  120. package/readme/blocks/Headings.md +132 -0
  121. package/readme/blocks/Highlighted.md +35 -0
  122. package/readme/blocks/Image.md +143 -0
  123. package/readme/blocks/Links.md +24 -0
  124. package/readme/blocks/Lists.md +327 -0
  125. package/readme/blocks/Paragraphs.md +35 -0
  126. package/readme/blocks/Quote.md +94 -0
  127. package/readme/blocks/Separator.md +52 -0
  128. package/readme/blocks/Table.md +199 -0
  129. package/readme/blocks/Utilities.md +24 -0
  130. package/readme/blocks/Video.md +24 -0
  131. package/readme/properties/Border.md +52 -0
  132. package/readme/properties/Custom.md +54 -0
  133. package/readme/properties/Font.md +151 -0
  134. package/readme/properties/Media.md +0 -0
  135. package/src/assets/cta/noise.png +0 -0
  136. package/src/assets/fonts/UncutSans-Bold.woff +0 -0
  137. package/src/assets/fonts/UncutSans-Bold.woff2 +0 -0
  138. package/src/assets/fonts/UncutSans-BoldItalic.woff +0 -0
  139. package/src/assets/fonts/UncutSans-BoldItalic.woff2 +0 -0
  140. package/src/assets/fonts/UncutSans-Book.woff +0 -0
  141. package/src/assets/fonts/UncutSans-Book.woff2 +0 -0
  142. package/src/assets/fonts/UncutSans-BookItalic.woff +0 -0
  143. package/src/assets/fonts/UncutSans-BookItalic.woff2 +0 -0
  144. package/src/assets/fonts/UncutSans-Light.woff +0 -0
  145. package/src/assets/fonts/UncutSans-Light.woff2 +0 -0
  146. package/src/assets/fonts/UncutSans-LightItalic.woff +0 -0
  147. package/src/assets/fonts/UncutSans-LightItalic.woff2 +0 -0
  148. package/src/assets/fonts/UncutSans-Medium.woff +0 -0
  149. package/src/assets/fonts/UncutSans-Medium.woff2 +0 -0
  150. package/src/assets/fonts/UncutSans-MediumItalic.woff +0 -0
  151. package/src/assets/fonts/UncutSans-MediumItalic.woff2 +0 -0
  152. package/src/assets/fonts/UncutSans-Regular.woff +0 -0
  153. package/src/assets/fonts/UncutSans-Regular.woff2 +0 -0
  154. package/src/assets/fonts/UncutSans-RegularItalic.woff +0 -0
  155. package/src/assets/fonts/UncutSans-RegularItalic.woff2 +0 -0
  156. package/src/assets/mountain.png +0 -0
  157. package/src/assets/vector-v.svg +5 -0
  158. package/src/js/main.ts +13 -0
  159. package/src/scss/_paths.scss +5 -0
  160. package/src/scss/framework/_var/_vars.scss +106 -0
  161. package/src/scss/framework/components/btn/_c--btn-a.scss +58 -0
  162. package/src/scss/framework/components/content/_c--content-a.scss +460 -0
  163. package/src/scss/framework/components/link/_c--link-a.scss +13 -0
  164. package/src/scss/framework/components/preloader/_c--preloader-a.scss +62 -0
  165. package/src/scss/framework/components/transition/_c--transition-a.scss +24 -0
  166. package/src/scss/framework/foundation/_foundation.scss +32 -0
  167. package/src/scss/framework/foundation/background/_background.scss +8 -0
  168. package/src/scss/framework/foundation/color/_color.scss +8 -0
  169. package/src/scss/framework/foundation/font/_font.scss +27 -0
  170. package/src/scss/framework/foundation/font/_make-font.scss +61 -0
  171. package/src/scss/framework/foundation/gap/_gap.scss +17 -0
  172. package/src/scss/framework/foundation/gap/_make-gap.scss +29 -0
  173. package/src/scss/framework/foundation/grid/_columns.scss +115 -0
  174. package/src/scss/framework/foundation/grid/_container.scss +17 -0
  175. package/src/scss/framework/foundation/grid/_grid.scss +3 -0
  176. package/src/scss/framework/foundation/grid/_make-columns.scss +28 -0
  177. package/src/scss/framework/foundation/grid/_make-container.scss +33 -0
  178. package/src/scss/framework/foundation/grid/_make-row.scss +20 -0
  179. package/src/scss/framework/foundation/grid/_row.scss +9 -0
  180. package/src/scss/framework/foundation/reset/_reset.scss +121 -0
  181. package/src/scss/framework/foundation/spaces/_make-spaces.scss +29 -0
  182. package/src/scss/framework/foundation/spaces/_spaces.scss +17 -0
  183. package/src/scss/framework/utilities/_align-items.scss +39 -0
  184. package/src/scss/framework/utilities/_aspect-ratio.scss +55 -0
  185. package/src/scss/framework/utilities/_display.scss +46 -0
  186. package/src/scss/framework/utilities/_flex-direction.scss +42 -0
  187. package/src/scss/framework/utilities/_font-style.scss +38 -0
  188. package/src/scss/framework/utilities/_font-weight.scss +45 -0
  189. package/src/scss/framework/utilities/_justify-content.scss +42 -0
  190. package/src/scss/framework/utilities/_order.scss +38 -0
  191. package/src/scss/framework/utilities/_overflow.scss +38 -0
  192. package/src/scss/framework/utilities/_position.scss +42 -0
  193. package/src/scss/framework/utilities/_spacing.scss +66 -0
  194. package/src/scss/framework/utilities/_text-align.scss +40 -0
  195. package/src/scss/framework/utilities/_utilities.scss +12 -0
  196. package/src/scss/global-content/_global-mixins/_global-mixins.scss +2 -0
  197. package/src/scss/global-content/_global-mixins/blocks/_content-block-btn.scss +31 -0
  198. package/src/scss/global-content/_global-mixins/blocks/_content-block-columns.scss +38 -0
  199. package/src/scss/global-content/_global-mixins/blocks/_content-block-footnote.scss +8 -0
  200. package/src/scss/global-content/_global-mixins/blocks/_content-block-highlighted.scss +8 -0
  201. package/src/scss/global-content/_global-mixins/blocks/_content-block-image.scss +244 -0
  202. package/src/scss/global-content/_global-mixins/blocks/_content-block-quote.scss +72 -0
  203. package/src/scss/global-content/_global-mixins/blocks/_content-block-separator.scss +33 -0
  204. package/src/scss/global-content/_global-mixins/blocks/_content-block-table.scss +116 -0
  205. package/src/scss/global-content/_global-mixins/blocks/_content-block-video.scss +28 -0
  206. package/src/scss/global-content/_global-mixins/blocks/_content-heading.scss +45 -0
  207. package/src/scss/global-content/_global-mixins/blocks/_content-links.scss +21 -0
  208. package/src/scss/global-content/_global-mixins/blocks/_content-list.scss +960 -0
  209. package/src/scss/global-content/_global-mixins/blocks/_content-paragraph.scss +22 -0
  210. package/src/scss/global-content/_global-mixins/blocks/_content-utilities.scss +35 -0
  211. package/src/scss/global-content/_global-mixins/blocks/_content.scss +14 -0
  212. package/src/scss/global-content/_global-mixins/helpers/_class.scss +11 -0
  213. package/src/scss/global-content/_global-mixins/helpers/_helpers.scss +1 -0
  214. package/src/scss/global-content/_global-mixins/properties/_border.scss +18 -0
  215. package/src/scss/global-content/_global-mixins/properties/_custom.scss +51 -0
  216. package/src/scss/global-content/_global-mixins/properties/_font.scss +60 -0
  217. package/src/scss/global-content/_global-mixins/properties/_media.scss +188 -0
  218. package/src/scss/global-content/_global-mixins/properties/_properties.scss +3 -0
  219. package/src/scss/global-content/_library.scss +2 -0
  220. package/src/scss/global-content/_sanity.scss +157 -0
  221. package/src/scss/global-content/_wordpress.scss +233 -0
  222. package/src/scss/index.scss +7 -0
  223. package/src/scss/sanity/index.scss +1 -0
  224. package/src/scss/sanity.scss +138 -0
  225. package/src/scss/wordpress/index.scss +1 -0
  226. package/src/scss/wp.scss +267 -0
  227. package/src/vite-env.d.ts +2 -0
  228. package/terrahq-wysiwyg-0.0.19.tgz +0 -0
  229. package/tsconfig.json +27 -0
  230. 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
+ ```