@yafnet/theme-kit 0.0.0-stage → 4.0.11

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 (297) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +103 -2
  3. package/bin/yafnet-theme.js +409 -0
  4. package/email/bootstrap-email/bootstrap-email.scss +26 -0
  5. package/email/bootstrap-email/bootstrap-head.scss +169 -0
  6. package/email/bootstrap-email/layout.html.erb +12 -0
  7. package/email/bootstrap-email/scss/_helpers.scss +3 -0
  8. package/email/bootstrap-email/scss/_reboot_email.scss +54 -0
  9. package/email/bootstrap-email/scss/_reboot_head.scss +59 -0
  10. package/email/bootstrap-email/scss/_variables.scss +7 -0
  11. package/email/bootstrap-email/scss/components/_alert.scss +21 -0
  12. package/email/bootstrap-email/scss/components/_badge.scss +61 -0
  13. package/email/bootstrap-email/scss/components/_button.scss +47 -0
  14. package/email/bootstrap-email/scss/components/_card.scss +19 -0
  15. package/email/bootstrap-email/scss/components/_container.scss +18 -0
  16. package/email/bootstrap-email/scss/components/_grid.scss +43 -0
  17. package/email/bootstrap-email/scss/components/_hr.scss +8 -0
  18. package/email/bootstrap-email/scss/components/_image.scss +6 -0
  19. package/email/bootstrap-email/scss/components/_preview.scss +5 -0
  20. package/email/bootstrap-email/scss/components/_stack.scss +39 -0
  21. package/email/bootstrap-email/scss/components/_table.scss +137 -0
  22. package/email/bootstrap-email/scss/helpers/_functions.scss +29 -0
  23. package/email/bootstrap-email/scss/helpers/_mixins.scss +21 -0
  24. package/email/bootstrap-email/scss/helpers/_selectors_for_utils.scss +124 -0
  25. package/email/bootstrap-email/scss/utilities/_background.scss +5 -0
  26. package/email/bootstrap-email/scss/utilities/_border-radius.scss +21 -0
  27. package/email/bootstrap-email/scss/utilities/_border.scss +13 -0
  28. package/email/bootstrap-email/scss/utilities/_color.scss +9 -0
  29. package/email/bootstrap-email/scss/utilities/_display.scss +7 -0
  30. package/email/bootstrap-email/scss/utilities/_sizing.scss +35 -0
  31. package/email/bootstrap-email/scss/utilities/_spacing.scss +18 -0
  32. package/email/bootstrap-email/scss/utilities/_text-decoration.scss +9 -0
  33. package/email/bootstrap-email/scss/utilities/_typography.scss +56 -0
  34. package/email/bootstrap-email/scss/utilities/_valign.scss +5 -0
  35. package/email/bootstrap-email/scss/variables/_body.scss +2 -0
  36. package/email/bootstrap-email/scss/variables/_borders.scss +6 -0
  37. package/email/bootstrap-email/scss/variables/_buttons.scss +47 -0
  38. package/email/bootstrap-email/scss/variables/_colors.scss +161 -0
  39. package/email/bootstrap-email/scss/variables/_tables.scss +4 -0
  40. package/email/bootstrap-email/scss/variables/_typography.scss +26 -0
  41. package/email/bootstrap-email/scss/variables/_utilities.scss +154 -0
  42. package/email/bootstrap-email/templates/body.html +8 -0
  43. package/email/bootstrap-email/templates/button.html +9 -0
  44. package/email/bootstrap-email/templates/container.html +29 -0
  45. package/email/bootstrap-email/templates/div.html +3 -0
  46. package/email/bootstrap-email/templates/table-left.html +9 -0
  47. package/email/bootstrap-email/templates/table-to-tbody.html +5 -0
  48. package/email/bootstrap-email/templates/table-to-tr.html +7 -0
  49. package/email/bootstrap-email/templates/table.html +9 -0
  50. package/email/bootstrap-email/templates/td.html +3 -0
  51. package/email/bootstrap-email/templates/tr.html +5 -0
  52. package/email/prebuilt/brite/DigestTopicTemplate.html +57 -0
  53. package/email/prebuilt/brite/EmailTemplate.html +116 -0
  54. package/email/prebuilt/cerulean/DigestTopicTemplate.html +57 -0
  55. package/email/prebuilt/cerulean/EmailTemplate.html +116 -0
  56. package/email/prebuilt/cosmo/DigestTopicTemplate.html +57 -0
  57. package/email/prebuilt/cosmo/EmailTemplate.html +116 -0
  58. package/email/prebuilt/cyborg/DigestTopicTemplate.html +57 -0
  59. package/email/prebuilt/cyborg/EmailTemplate.html +116 -0
  60. package/email/prebuilt/darkly/DigestTopicTemplate.html +57 -0
  61. package/email/prebuilt/darkly/EmailTemplate.html +116 -0
  62. package/email/prebuilt/flatly/DigestTopicTemplate.html +57 -0
  63. package/email/prebuilt/flatly/EmailTemplate.html +116 -0
  64. package/email/prebuilt/journal/DigestTopicTemplate.html +57 -0
  65. package/email/prebuilt/journal/EmailTemplate.html +116 -0
  66. package/email/prebuilt/litera/DigestTopicTemplate.html +57 -0
  67. package/email/prebuilt/litera/EmailTemplate.html +116 -0
  68. package/email/prebuilt/lumen/DigestTopicTemplate.html +57 -0
  69. package/email/prebuilt/lumen/EmailTemplate.html +116 -0
  70. package/email/prebuilt/lux/DigestTopicTemplate.html +57 -0
  71. package/email/prebuilt/lux/EmailTemplate.html +116 -0
  72. package/email/prebuilt/materia/DigestTopicTemplate.html +57 -0
  73. package/email/prebuilt/materia/EmailTemplate.html +116 -0
  74. package/email/prebuilt/minty/DigestTopicTemplate.html +57 -0
  75. package/email/prebuilt/minty/EmailTemplate.html +116 -0
  76. package/email/prebuilt/morph/DigestTopicTemplate.html +57 -0
  77. package/email/prebuilt/morph/EmailTemplate.html +116 -0
  78. package/email/prebuilt/pulse/DigestTopicTemplate.html +57 -0
  79. package/email/prebuilt/pulse/EmailTemplate.html +116 -0
  80. package/email/prebuilt/quartz/DigestTopicTemplate.html +57 -0
  81. package/email/prebuilt/quartz/EmailTemplate.html +116 -0
  82. package/email/prebuilt/sandstone/DigestTopicTemplate.html +57 -0
  83. package/email/prebuilt/sandstone/EmailTemplate.html +116 -0
  84. package/email/prebuilt/simplex/DigestTopicTemplate.html +57 -0
  85. package/email/prebuilt/simplex/EmailTemplate.html +116 -0
  86. package/email/prebuilt/sketchy/DigestTopicTemplate.html +57 -0
  87. package/email/prebuilt/sketchy/EmailTemplate.html +116 -0
  88. package/email/prebuilt/slate/DigestTopicTemplate.html +57 -0
  89. package/email/prebuilt/slate/EmailTemplate.html +116 -0
  90. package/email/prebuilt/solar/DigestTopicTemplate.html +57 -0
  91. package/email/prebuilt/solar/EmailTemplate.html +116 -0
  92. package/email/prebuilt/spacelab/DigestTopicTemplate.html +57 -0
  93. package/email/prebuilt/spacelab/EmailTemplate.html +116 -0
  94. package/email/prebuilt/superhero/DigestTopicTemplate.html +57 -0
  95. package/email/prebuilt/superhero/EmailTemplate.html +116 -0
  96. package/email/prebuilt/united/DigestTopicTemplate.html +57 -0
  97. package/email/prebuilt/united/EmailTemplate.html +116 -0
  98. package/email/prebuilt/vapor/DigestTopicTemplate.html +57 -0
  99. package/email/prebuilt/vapor/EmailTemplate.html +116 -0
  100. package/email/prebuilt/yaf/DigestTopicTemplate.html +57 -0
  101. package/email/prebuilt/yaf/EmailTemplate.html +116 -0
  102. package/email/prebuilt/yeti/DigestTopicTemplate.html +57 -0
  103. package/email/prebuilt/yeti/EmailTemplate.html +116 -0
  104. package/email/prebuilt/zephyr/DigestTopicTemplate.html +57 -0
  105. package/email/prebuilt/zephyr/EmailTemplate.html +116 -0
  106. package/email/resources/DigestTopicTemplate.html +23 -0
  107. package/email/resources/EmailTemplate.html +27 -0
  108. package/package.json +41 -5
  109. package/scss/choices/bs-theme.scss +47 -0
  110. package/scss/choices/choices.scss +376 -0
  111. package/scss/forum/chat.scss +99 -0
  112. package/scss/netStack.scss +32 -0
  113. package/themes/brite/LICENSE.md +21 -0
  114. package/themes/brite/_bootswatch.scss +381 -0
  115. package/themes/brite/_variables.scss +236 -0
  116. package/themes/brite/bootstrap-email.scss +35 -0
  117. package/themes/brite/bootstrap-forum.scss +8 -0
  118. package/themes/brite/bootstrap_email-digest.json +5 -0
  119. package/themes/brite/bootstrap_email.json +4 -0
  120. package/themes/cerulean/LICENSE.md +21 -0
  121. package/themes/cerulean/_bootswatch.scss +116 -0
  122. package/themes/cerulean/_variables.scss +64 -0
  123. package/themes/cerulean/bootstrap-email.scss +35 -0
  124. package/themes/cerulean/bootstrap-forum.scss +8 -0
  125. package/themes/cerulean/bootstrap_email-digest.json +5 -0
  126. package/themes/cerulean/bootstrap_email.json +4 -0
  127. package/themes/cosmo/LICENSE.md +21 -0
  128. package/themes/cosmo/_bootswatch.scss +53 -0
  129. package/themes/cosmo/_variables.scss +73 -0
  130. package/themes/cosmo/bootstrap-email.scss +35 -0
  131. package/themes/cosmo/bootstrap-forum.scss +8 -0
  132. package/themes/cosmo/bootstrap_email-digest.json +5 -0
  133. package/themes/cosmo/bootstrap_email.json +4 -0
  134. package/themes/cyborg/LICENSE.md +21 -0
  135. package/themes/cyborg/_bootswatch.scss +146 -0
  136. package/themes/cyborg/_variables.scss +185 -0
  137. package/themes/cyborg/bootstrap-email.scss +35 -0
  138. package/themes/cyborg/bootstrap-forum.scss +8 -0
  139. package/themes/cyborg/bootstrap_email-digest.json +5 -0
  140. package/themes/cyborg/bootstrap_email.json +4 -0
  141. package/themes/darkly/LICENSE.md +21 -0
  142. package/themes/darkly/_bootswatch.scss +78 -0
  143. package/themes/darkly/_variables.scss +184 -0
  144. package/themes/darkly/bootstrap-email.scss +35 -0
  145. package/themes/darkly/bootstrap-forum.scss +8 -0
  146. package/themes/darkly/bootstrap_email-digest.json +5 -0
  147. package/themes/darkly/bootstrap_email.json +4 -0
  148. package/themes/flatly/LICENSE.md +21 -0
  149. package/themes/flatly/_bootswatch.scss +65 -0
  150. package/themes/flatly/_variables.scss +120 -0
  151. package/themes/flatly/bootstrap-email.scss +35 -0
  152. package/themes/flatly/bootstrap-forum.scss +8 -0
  153. package/themes/flatly/bootstrap_email-digest.json +5 -0
  154. package/themes/flatly/bootstrap_email.json +4 -0
  155. package/themes/journal/LICENSE.md +21 -0
  156. package/themes/journal/_bootswatch.scss +57 -0
  157. package/themes/journal/_variables.scss +64 -0
  158. package/themes/journal/bootstrap-email.scss +35 -0
  159. package/themes/journal/bootstrap-forum.scss +8 -0
  160. package/themes/journal/bootstrap_email-digest.json +5 -0
  161. package/themes/journal/bootstrap_email.json +4 -0
  162. package/themes/litera/LICENSE.md +21 -0
  163. package/themes/litera/_bootswatch.scss +98 -0
  164. package/themes/litera/_variables.scss +97 -0
  165. package/themes/litera/bootstrap-email.scss +35 -0
  166. package/themes/litera/bootstrap-forum.scss +8 -0
  167. package/themes/litera/bootstrap_email-digest.json +5 -0
  168. package/themes/litera/bootstrap_email.json +4 -0
  169. package/themes/lumen/LICENSE.md +21 -0
  170. package/themes/lumen/_bootswatch.scss +339 -0
  171. package/themes/lumen/_variables.scss +98 -0
  172. package/themes/lumen/bootstrap-email.scss +35 -0
  173. package/themes/lumen/bootstrap-forum.scss +8 -0
  174. package/themes/lumen/bootstrap_email-digest.json +5 -0
  175. package/themes/lumen/bootstrap_email.json +4 -0
  176. package/themes/lux/LICENSE.md +21 -0
  177. package/themes/lux/_bootswatch.scss +304 -0
  178. package/themes/lux/_variables.scss +124 -0
  179. package/themes/lux/bootstrap-email.scss +35 -0
  180. package/themes/lux/bootstrap-forum.scss +8 -0
  181. package/themes/lux/bootstrap_email-digest.json +5 -0
  182. package/themes/lux/bootstrap_email.json +4 -0
  183. package/themes/materia/LICENSE.md +21 -0
  184. package/themes/materia/_bootswatch.scss +654 -0
  185. package/themes/materia/_variables.scss +126 -0
  186. package/themes/materia/bootstrap-email.scss +35 -0
  187. package/themes/materia/bootstrap-forum.scss +8 -0
  188. package/themes/materia/bootstrap_email-digest.json +5 -0
  189. package/themes/materia/bootstrap_email.json +4 -0
  190. package/themes/minty/LICENSE.md +21 -0
  191. package/themes/minty/_bootswatch.scss +142 -0
  192. package/themes/minty/_variables.scss +100 -0
  193. package/themes/minty/bootstrap-email.scss +35 -0
  194. package/themes/minty/bootstrap-forum.scss +8 -0
  195. package/themes/minty/bootstrap_email-digest.json +5 -0
  196. package/themes/minty/bootstrap_email.json +4 -0
  197. package/themes/morph/LICENSE.md +21 -0
  198. package/themes/morph/_bootswatch.scss +562 -0
  199. package/themes/morph/_variables.scss +223 -0
  200. package/themes/morph/bootstrap-email.scss +35 -0
  201. package/themes/morph/bootstrap-forum.scss +8 -0
  202. package/themes/morph/bootstrap_email-digest.json +5 -0
  203. package/themes/morph/bootstrap_email.json +4 -0
  204. package/themes/pulse/LICENSE.md +21 -0
  205. package/themes/pulse/_bootswatch.scss +155 -0
  206. package/themes/pulse/_variables.scss +92 -0
  207. package/themes/pulse/bootstrap-email.scss +35 -0
  208. package/themes/pulse/bootstrap-forum.scss +8 -0
  209. package/themes/pulse/bootstrap_email-digest.json +5 -0
  210. package/themes/pulse/bootstrap_email.json +4 -0
  211. package/themes/quartz/_bootswatch.scss +297 -0
  212. package/themes/quartz/_variables.scss +226 -0
  213. package/themes/quartz/bootstrap-email.scss +35 -0
  214. package/themes/quartz/bootstrap-forum.scss +8 -0
  215. package/themes/quartz/bootstrap_email-digest.json +5 -0
  216. package/themes/quartz/bootstrap_email.json +4 -0
  217. package/themes/sandstone/LICENSE.md +21 -0
  218. package/themes/sandstone/_bootswatch.scss +242 -0
  219. package/themes/sandstone/_variables.scss +139 -0
  220. package/themes/sandstone/bootstrap-email.scss +35 -0
  221. package/themes/sandstone/bootstrap-forum.scss +8 -0
  222. package/themes/sandstone/bootstrap_email-digest.json +5 -0
  223. package/themes/sandstone/bootstrap_email.json +4 -0
  224. package/themes/simplex/LICENSE.md +21 -0
  225. package/themes/simplex/_bootswatch.scss +150 -0
  226. package/themes/simplex/_variables.scss +105 -0
  227. package/themes/simplex/bootstrap-email.scss +35 -0
  228. package/themes/simplex/bootstrap-forum.scss +8 -0
  229. package/themes/simplex/bootstrap_email-digest.json +5 -0
  230. package/themes/simplex/bootstrap_email.json +4 -0
  231. package/themes/sketchy/LICENSE.md +21 -0
  232. package/themes/sketchy/_bootswatch.scss +557 -0
  233. package/themes/sketchy/_variables.scss +156 -0
  234. package/themes/sketchy/bootstrap-email.scss +35 -0
  235. package/themes/sketchy/bootstrap-forum.scss +8 -0
  236. package/themes/sketchy/bootstrap_email-digest.json +5 -0
  237. package/themes/sketchy/bootstrap_email.json +4 -0
  238. package/themes/slate/LICENSE.md +21 -0
  239. package/themes/slate/_bootswatch.scss +340 -0
  240. package/themes/slate/_variables.scss +187 -0
  241. package/themes/slate/bootstrap-email.scss +35 -0
  242. package/themes/slate/bootstrap-forum.scss +8 -0
  243. package/themes/slate/bootstrap_email-digest.json +5 -0
  244. package/themes/slate/bootstrap_email.json +4 -0
  245. package/themes/solar/LICENSE.md +21 -0
  246. package/themes/solar/_bootswatch.scss +66 -0
  247. package/themes/solar/_variables.scss +193 -0
  248. package/themes/solar/bootstrap-email.scss +35 -0
  249. package/themes/solar/bootstrap-forum.scss +8 -0
  250. package/themes/solar/bootstrap_email-digest.json +5 -0
  251. package/themes/solar/bootstrap_email.json +4 -0
  252. package/themes/spacelab/LICENSE.md +21 -0
  253. package/themes/spacelab/_bootswatch.scss +107 -0
  254. package/themes/spacelab/_variables.scss +65 -0
  255. package/themes/spacelab/bootstrap-email.scss +35 -0
  256. package/themes/spacelab/bootstrap-forum.scss +8 -0
  257. package/themes/spacelab/bootstrap_email-digest.json +5 -0
  258. package/themes/spacelab/bootstrap_email.json +4 -0
  259. package/themes/superhero/LICENSE.md +21 -0
  260. package/themes/superhero/_bootswatch.scss +153 -0
  261. package/themes/superhero/_variables.scss +202 -0
  262. package/themes/superhero/bootstrap-email.scss +35 -0
  263. package/themes/superhero/bootstrap-forum.scss +8 -0
  264. package/themes/superhero/bootstrap_email-digest.json +5 -0
  265. package/themes/superhero/bootstrap_email.json +4 -0
  266. package/themes/united/LICENSE.md +21 -0
  267. package/themes/united/_bootswatch.scss +30 -0
  268. package/themes/united/_variables.scss +56 -0
  269. package/themes/united/bootstrap-email.scss +35 -0
  270. package/themes/united/bootstrap-forum.scss +8 -0
  271. package/themes/united/bootstrap_email-digest.json +5 -0
  272. package/themes/united/bootstrap_email.json +4 -0
  273. package/themes/vapor/_bootswatch.scss +337 -0
  274. package/themes/vapor/_variables.scss +176 -0
  275. package/themes/vapor/bootstrap-email.scss +35 -0
  276. package/themes/vapor/bootstrap-forum.scss +8 -0
  277. package/themes/vapor/bootstrap_email-digest.json +5 -0
  278. package/themes/vapor/bootstrap_email.json +4 -0
  279. package/themes/yaf/_variables-email.scss +39 -0
  280. package/themes/yaf/_variables.scss +10 -0
  281. package/themes/yaf/bootstrap-email.scss +35 -0
  282. package/themes/yaf/bootstrap-forum.scss +8 -0
  283. package/themes/yaf/bootstrap_email-digest.json +5 -0
  284. package/themes/yaf/bootstrap_email.json +4 -0
  285. package/themes/yeti/LICENSE.md +21 -0
  286. package/themes/yeti/_bootswatch.scss +344 -0
  287. package/themes/yeti/_variables.scss +107 -0
  288. package/themes/yeti/bootstrap-email.scss +35 -0
  289. package/themes/yeti/bootstrap-forum.scss +8 -0
  290. package/themes/yeti/bootstrap_email-digest.json +5 -0
  291. package/themes/yeti/bootstrap_email.json +4 -0
  292. package/themes/zephyr/_bootswatch.scss +221 -0
  293. package/themes/zephyr/_variables.scss +157 -0
  294. package/themes/zephyr/bootstrap-email.scss +35 -0
  295. package/themes/zephyr/bootstrap-forum.scss +8 -0
  296. package/themes/zephyr/bootstrap_email-digest.json +5 -0
  297. package/themes/zephyr/bootstrap_email.json +4 -0
@@ -0,0 +1,9 @@
1
+ @each $name, $color in $all-colors {
2
+ @include color-util('.text-#{$name}') {
3
+ color: $color;
4
+ }
5
+ }
6
+
7
+ @include color-util('.text-muted') {
8
+ color: $gray-600;
9
+ }
@@ -0,0 +1,7 @@
1
+ @each $prefix in $breakpoints {
2
+ @each $display in $display-type {
3
+ .d-#{$prefix}#{$display} {
4
+ display: $display;
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,35 @@
1
+ @each $prefix in $breakpoints {
2
+ @each $name, $property in $sizing-types {
3
+ @include sizing-util('.max-#{$name}-#{$prefix}full') {
4
+ max-#{$property}: 100%;
5
+ -premailer-#{$property}: 100%;
6
+ #{$property}: 100%;
7
+ }
8
+ @each $size, $value in $sizing {
9
+ @include sizing-util('.max-#{$name}-#{$prefix}#{$size}') {
10
+ max-#{$property}: $value;
11
+ -premailer-#{$property}: strip-unit($value);
12
+ #{$property}: 100%;
13
+ }
14
+ }
15
+ }
16
+ }
17
+
18
+ @each $prefix in $breakpoints {
19
+ @each $name, $property in $sizing-types {
20
+ @include sizing-util('.#{$name}-#{$prefix}full') {
21
+ -premailer-#{$property}: 100%;
22
+ #{$property}: 100%;
23
+ }
24
+ @include sizing-util('.#{$name}-#{$prefix}auto') {
25
+ -premailer-#{$property}: auto;
26
+ #{$property}: auto;
27
+ }
28
+ @each $size, $value in $sizing {
29
+ @include sizing-util('.#{$name}-#{$prefix}#{$size}') {
30
+ -premailer-#{$property}: strip-unit($value);
31
+ #{$property}: $value;
32
+ }
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,18 @@
1
+ // Padding Util
2
+ @each $prefix in $breakpoints {
3
+ @each $size, $value in $spacers {
4
+ @include padding-group($prefix, $size, $value);
5
+ }
6
+ }
7
+
8
+ // Spacing Util
9
+ @each $prefix in $breakpoints {
10
+ @each $size, $value in $spacers {
11
+ @include spacer-util('.s-#{$prefix}#{$size}') {
12
+ font-size: $value;
13
+ line-height: $value;
14
+ height: $value;
15
+ -premailer-height: strip-unit($value);
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,9 @@
1
+ .underline {
2
+ text-decoration: underline;
3
+ }
4
+ .line-through {
5
+ text-decoration: line-through;
6
+ }
7
+ .no-underline {
8
+ text-decoration: none;
9
+ }
@@ -0,0 +1,56 @@
1
+ h1, h2, h3, h4, h5, h6,
2
+ .h1, .h2, .h3, .h4, .h5, .h6 {
3
+ margin: 0;
4
+ padding-top: $headings-margin-top;
5
+ padding-bottom: $headings-margin-bottom;
6
+ font-family: $headings-font-family;
7
+ font-weight: $headings-font-weight;
8
+ color: $headings-color;
9
+ text-align: left;
10
+ vertical-align: baseline;
11
+ }
12
+
13
+ @each $name, $size in $display-headings {
14
+ .display-#{$name} {
15
+ font-weight: 300;
16
+ line-height: 1.2;
17
+ font-size: $size;
18
+ }
19
+ }
20
+
21
+ @each $name, $size in $headings {
22
+ h#{$name}, .h#{$name} {
23
+ font-size: $size;
24
+ line-height: $size * $headings-line-height;
25
+ }
26
+ }
27
+
28
+ @each $name, $size in $font-size {
29
+ .text-#{$name} {
30
+ font-size: $size;
31
+ line-height: $size * $headings-line-height;
32
+ }
33
+ }
34
+
35
+ @each $name, $size in $line-height {
36
+ .lh-#{$name} {
37
+ line-height: $size;
38
+ }
39
+ }
40
+
41
+ @for $n from 1 through 9 {
42
+ @include font-weight-util('.fw-#{$n * 100}') {
43
+ font-weight: #{$n * 100} !important;
44
+ }
45
+ }
46
+
47
+ @each $align in $text-align {
48
+ @include text-align-util('.text-#{$align}') {
49
+ text-align: $align !important;
50
+ }
51
+ }
52
+
53
+ p {
54
+ width: 100%;
55
+ margin: 0;
56
+ }
@@ -0,0 +1,5 @@
1
+ @each $align in $vertical-align {
2
+ @include valign-util('.ay-#{$align}') {
3
+ vertical-align: $align !important;
4
+ }
5
+ }
@@ -0,0 +1,2 @@
1
+ $body-color: $black !default;
2
+ $body-bg: $white !default;
@@ -0,0 +1,6 @@
1
+ $border-color: $gray-300 !default;
2
+ $border-width: 1px !default;
3
+ $border-radius-sm: 3px !default;
4
+ $border-radius: 6px !default;
5
+ $border-radius-lg: 9px !default;
6
+ $border-radius-pill: 9999px !default;
@@ -0,0 +1,47 @@
1
+ $btn-padding-y: 8px !default;
2
+ $btn-padding-x: 12px !default;
3
+ $btn-font-family: $font-family-base !default;
4
+ $btn-font-size: $font-size-base !default;
5
+ $btn-line-height: 1.25 * $btn-font-size !default;
6
+
7
+ $btn-padding-y-sm: 0.25 * $btn-font-size !default;
8
+ $btn-padding-x-sm: 0.5 * $btn-font-size !default;
9
+ $btn-font-size-sm: 0.875 * $btn-font-size !default;
10
+ $btn-line-height-sm: $btn-line-height * 0.875 !default;
11
+
12
+ $btn-padding-y-lg: 0.5 * $btn-font-size !default;
13
+ $btn-padding-x-lg: $btn-font-size !default;
14
+ $btn-font-size-lg: 1.25 * $btn-font-size !default;
15
+ $btn-line-height-lg: $btn-line-height * 1.25 !default;
16
+
17
+ $btn-border-width: $border-width !default;
18
+ $btn-font-weight: $font-weight-base !default;
19
+ $btn-border-radius: $border-radius !default;
20
+ $btn-border-radius-lg: $border-radius-lg !default;
21
+ $btn-border-radius-sm: $border-radius-sm !default;
22
+
23
+
24
+ /** Button Theme Structure Example
25
+ *
26
+ * $btn-themes: (
27
+ * "primary": (
28
+ * "background-color": blue,
29
+ * "color": white,
30
+ * "border-color": blue
31
+ * ),
32
+ * "outline-primary": (
33
+ * "background-color": transparent,
34
+ * "color": blue,
35
+ * "border-color": blue
36
+ * )
37
+ * )
38
+ */
39
+ $tmp-btn-themes: ();
40
+ @each $name, $color in $all-colors {
41
+ @if $name != "transparent" {
42
+ $tmp-btn-themes: map-merge($tmp-btn-themes, ($name: ("background-color": $color, "color": color-contrast($color), "border-color": $color)));
43
+ $tmp-btn-themes: map-merge($tmp-btn-themes, ("outline-#{$name}": ("background-color": transparent, "color": $color, "border-color": $color)));
44
+ }
45
+ }
46
+
47
+ $btn-themes: $tmp-btn-themes !default;
@@ -0,0 +1,161 @@
1
+ // Color system
2
+ $white: #ffffff !default;
3
+ $gray-100: #f7fafc !default;
4
+ $gray-200: #edf2f7 !default;
5
+ $gray-300: #e2e8f0 !default;
6
+ $gray-400: #cbd5e0 !default;
7
+ $gray-500: #a0aec0 !default;
8
+ $gray-600: #718096 !default;
9
+ $gray-700: #4a5568 !default;
10
+ $gray-800: #2d3748 !default;
11
+ $gray-900: #1a202c !default;
12
+ $black: #000000 !default;
13
+
14
+ $blue: #0d6efd !default;
15
+ $indigo: #6610f2 !default;
16
+ $purple: #6f42c1 !default;
17
+ $pink: #d63384 !default;
18
+ $red: #dc3545 !default;
19
+ $orange: #fd7e14 !default;
20
+ $yellow: #ffc107 !default;
21
+ $green: #198754 !default;
22
+ $teal: #20c997 !default;
23
+ $cyan: #0dcaf0 !default;
24
+
25
+ $primary: $blue !default;
26
+ $secondary: $gray-600 !default;
27
+ $success: $green !default;
28
+ $info: $cyan !default;
29
+ $warning: $yellow !default;
30
+ $danger: $red !default;
31
+ $light: $gray-100 !default;
32
+ $dark: $gray-900 !default;
33
+
34
+ $theme-colors: (
35
+ "primary": $primary,
36
+ "secondary": $secondary,
37
+ "success": $success,
38
+ "info": $info,
39
+ "warning": $warning,
40
+ "danger": $danger,
41
+ "light": $light,
42
+ "dark": $dark
43
+ ) !default;
44
+
45
+ $palette-colors: (
46
+ "black": $black,
47
+ "white": $white,
48
+ "transparent": transparent,
49
+
50
+ "gray-100": $gray-100,
51
+ "gray-200": $gray-200,
52
+ "gray-300": $gray-300,
53
+ "gray-400": $gray-400,
54
+ "gray-500": $gray-500,
55
+ "gray-600": $gray-600,
56
+ "gray-700": $gray-700,
57
+ "gray-800": $gray-800,
58
+ "gray-900": $gray-900,
59
+
60
+ "blue-100": tint-color($blue, 80%),
61
+ "blue-200": tint-color($blue, 60%),
62
+ "blue-300": tint-color($blue, 40%),
63
+ "blue-400": tint-color($blue, 20%),
64
+ "blue-500": $blue,
65
+ "blue-600": shade-color($blue, 20%),
66
+ "blue-700": shade-color($blue, 40%),
67
+ "blue-800": shade-color($blue, 60%),
68
+ "blue-900": shade-color($blue, 80%),
69
+
70
+ "indigo-100": tint-color($indigo, 80%),
71
+ "indigo-200": tint-color($indigo, 60%),
72
+ "indigo-300": tint-color($indigo, 40%),
73
+ "indigo-400": tint-color($indigo, 20%),
74
+ "indigo-500": $indigo,
75
+ "indigo-600": shade-color($indigo, 20%),
76
+ "indigo-700": shade-color($indigo, 40%),
77
+ "indigo-800": shade-color($indigo, 60%),
78
+ "indigo-900": shade-color($indigo, 80%),
79
+
80
+ "purple-100": tint-color($purple, 80%),
81
+ "purple-200": tint-color($purple, 60%),
82
+ "purple-300": tint-color($purple, 40%),
83
+ "purple-400": tint-color($purple, 20%),
84
+ "purple-500": $purple,
85
+ "purple-600": shade-color($purple, 20%),
86
+ "purple-700": shade-color($purple, 40%),
87
+ "purple-800": shade-color($purple, 60%),
88
+ "purple-900": shade-color($purple, 80%),
89
+
90
+ "pink-100": tint-color($pink, 80%),
91
+ "pink-200": tint-color($pink, 60%),
92
+ "pink-300": tint-color($pink, 40%),
93
+ "pink-400": tint-color($pink, 20%),
94
+ "pink-500": $pink,
95
+ "pink-600": shade-color($pink, 20%),
96
+ "pink-700": shade-color($pink, 40%),
97
+ "pink-800": shade-color($pink, 60%),
98
+ "pink-900": shade-color($pink, 80%),
99
+
100
+ "red-100": tint-color($red, 80%),
101
+ "red-200": tint-color($red, 60%),
102
+ "red-300": tint-color($red, 40%),
103
+ "red-400": tint-color($red, 20%),
104
+ "red-500": $red,
105
+ "red-600": shade-color($red, 20%),
106
+ "red-700": shade-color($red, 40%),
107
+ "red-800": shade-color($red, 60%),
108
+ "red-900": shade-color($red, 80%),
109
+
110
+ "orange-100": tint-color($orange, 80%),
111
+ "orange-200": tint-color($orange, 60%),
112
+ "orange-300": tint-color($orange, 40%),
113
+ "orange-400": tint-color($orange, 20%),
114
+ "orange-500": $orange,
115
+ "orange-600": shade-color($orange, 20%),
116
+ "orange-700": shade-color($orange, 40%),
117
+ "orange-800": shade-color($orange, 60%),
118
+ "orange-900": shade-color($orange, 80%),
119
+
120
+ "yellow-100": tint-color($yellow, 80%),
121
+ "yellow-200": tint-color($yellow, 60%),
122
+ "yellow-300": tint-color($yellow, 40%),
123
+ "yellow-400": tint-color($yellow, 20%),
124
+ "yellow-500": $yellow,
125
+ "yellow-600": shade-color($yellow, 20%),
126
+ "yellow-700": shade-color($yellow, 40%),
127
+ "yellow-800": shade-color($yellow, 60%),
128
+ "yellow-900": shade-color($yellow, 80%),
129
+
130
+ "green-100": tint-color($green, 80%),
131
+ "green-200": tint-color($green, 60%),
132
+ "green-300": tint-color($green, 40%),
133
+ "green-400": tint-color($green, 20%),
134
+ "green-500": $green,
135
+ "green-600": shade-color($green, 20%),
136
+ "green-700": shade-color($green, 40%),
137
+ "green-800": shade-color($green, 60%),
138
+ "green-900": shade-color($green, 80%),
139
+
140
+ "teal-100": tint-color($teal, 80%),
141
+ "teal-200": tint-color($teal, 60%),
142
+ "teal-300": tint-color($teal, 40%),
143
+ "teal-400": tint-color($teal, 20%),
144
+ "teal-500": $teal,
145
+ "teal-600": shade-color($teal, 20%),
146
+ "teal-700": shade-color($teal, 40%),
147
+ "teal-800": shade-color($teal, 60%),
148
+ "teal-900": shade-color($teal, 80%),
149
+
150
+ "cyan-100": tint-color($cyan, 80%),
151
+ "cyan-200": tint-color($cyan, 60%),
152
+ "cyan-300": tint-color($cyan, 40%),
153
+ "cyan-400": tint-color($cyan, 20%),
154
+ "cyan-500": $cyan,
155
+ "cyan-600": shade-color($cyan, 20%),
156
+ "cyan-700": shade-color($cyan, 40%),
157
+ "cyan-800": shade-color($cyan, 60%),
158
+ "cyan-900": shade-color($cyan, 80%),
159
+ ) !default;
160
+
161
+ $all-colors: map-merge($theme-colors, $palette-colors);
@@ -0,0 +1,4 @@
1
+ $table-accent-bg: #f2f2f2 !default;
2
+ $table-background-color: null !default;
3
+ $table-border-color: $border-color !default;
4
+ $table-border-width: $border-width !default;
@@ -0,0 +1,26 @@
1
+ $font-size-base: 16px !default;
2
+ $font-weight-base: normal !default;
3
+ $line-height-base: 1.5 !default;
4
+ $headings-line-height: 1.2 !default;
5
+ $headings-margin-top: 0 !default;
6
+ $headings-margin-bottom: 0 !default;
7
+ $headings-font-family: null !default;
8
+ $headings-font-weight: 500 !default;
9
+ $headings-color: null !default;
10
+ $link-color: $primary !default;
11
+
12
+ /*
13
+ **** Override the following variables to customize font or add web font ie: Google Fonts ****
14
+ */
15
+ $font-family-base: Helvetica, Arial, sans-serif !default;
16
+ $font-faces: null !default;
17
+ // Example below:
18
+ // $font-family-base: 'Anton', Helvetica, Arial, sans-serif;
19
+ // $font-faces: (
20
+ // (
21
+ // "font-family": 'Anton',
22
+ // "font-style": normal,
23
+ // "font-weight": 400,
24
+ // "src": url(https://fonts.gstatic.com/s/anton/v23/1Ptgg87LROyAm3Kz-C8CSKlv.woff2) format('woff2')
25
+ // ),
26
+ // );
@@ -0,0 +1,154 @@
1
+ $breakpoints: ('', 'lg-');
2
+
3
+ $headings: (
4
+ 1: 2.25 * $font-size-base,
5
+ 2: 2 * $font-size-base,
6
+ 3: 1.75 * $font-size-base,
7
+ 4: 1.5 * $font-size-base,
8
+ 5: 1.25 * $font-size-base,
9
+ 6: 1 * $font-size-base
10
+ ) !default;
11
+
12
+ $display-headings: (
13
+ 1: 5rem,
14
+ 2: 4.5rem,
15
+ 3: 4rem,
16
+ 4: 3.5rem,
17
+ 5: 3rem,
18
+ 6: 2.5rem
19
+ ) !default;
20
+
21
+ $font-size: (
22
+ 'xs': 0.75 * $font-size-base,
23
+ 'sm': 0.875 * $font-size-base,
24
+ 'base': 1 * $font-size-base,
25
+ 'lg': 1.125 * $font-size-base,
26
+ 'xl': 1.25 * $font-size-base,
27
+ '2xl': 1.5 * $font-size-base,
28
+ '3xl': 1.875 * $font-size-base,
29
+ '4xl': 2.25 * $font-size-base,
30
+ '5xl': 3 * $font-size-base,
31
+ '6xl': 4 * $font-size-base,
32
+ '7xl': 5 * $font-size-base
33
+ ) !default;
34
+
35
+ $line-height: (
36
+ 1: 1,
37
+ 'sm': 1.25,
38
+ 'base': 1.5,
39
+ 'lg': 2
40
+ ) !default;
41
+
42
+ $size-scale: 4px;
43
+ $spacers: (
44
+ 0: 0,
45
+ 1: 1 * $size-scale,
46
+ 2: 2 * $size-scale,
47
+ 3: 3 * $size-scale,
48
+ 4: 4 * $size-scale,
49
+ 5: 5 * $size-scale,
50
+ 6: 6 * $size-scale,
51
+ 7: 7 * $size-scale,
52
+ 8: 8 * $size-scale,
53
+ 9: 9 * $size-scale,
54
+ 10: 10 * $size-scale,
55
+ 12: 12 * $size-scale,
56
+ 16: 16 * $size-scale,
57
+ 20: 20 * $size-scale,
58
+ 24: 24 * $size-scale,
59
+ 32: 32 * $size-scale,
60
+ 40: 40 * $size-scale
61
+ ) !default;
62
+
63
+ $sizing: (
64
+ 0: 0,
65
+ 1: 1 * $size-scale,
66
+ 2: 2 * $size-scale,
67
+ 3: 3 * $size-scale,
68
+ 4: 4 * $size-scale,
69
+ 5: 5 * $size-scale,
70
+ 6: 6 * $size-scale,
71
+ 7: 7 * $size-scale,
72
+ 8: 8 * $size-scale,
73
+ 9: 9 * $size-scale,
74
+ 10: 10 * $size-scale,
75
+ 12: 12 * $size-scale,
76
+ 16: 16 * $size-scale,
77
+ 20: 20 * $size-scale,
78
+ 24: 24 * $size-scale,
79
+ 32: 32 * $size-scale,
80
+ 40: 40 * $size-scale,
81
+ 48: 48 * $size-scale,
82
+ 56: 56 * $size-scale,
83
+ 64: 64 * $size-scale,
84
+ 80: 80 * $size-scale,
85
+ 96: 96 * $size-scale,
86
+ 112: 112 * $size-scale,
87
+ 128: 128 * $size-scale,
88
+ 144: 144 * $size-scale,
89
+ 150: 150 * $size-scale
90
+ ) !default;
91
+ $sizing-types: (
92
+ 'w': 'width',
93
+ 'h': 'height'
94
+ );
95
+
96
+ $grid-cols: (
97
+ 1: 8.333333%,
98
+ 2: 16.666667%,
99
+ 3: 25%,
100
+ 4: 33.333333%,
101
+ 5: 41.666667%,
102
+ 6: 50%,
103
+ 7: 58.333333%,
104
+ 8: 66.666667%,
105
+ 9: 75%,
106
+ 10: 83.333333%,
107
+ 11: 91.666667%,
108
+ 12: 100%
109
+ );
110
+
111
+ $display-type: (
112
+ inline,
113
+ inline-block,
114
+ block,
115
+ table,
116
+ none
117
+ ) !default;
118
+
119
+ $border-widths: (
120
+ '': 1px,
121
+ '-2': 2px,
122
+ '-3': 3px,
123
+ '-4': 4px,
124
+ '-5': 5px,
125
+ '-0': 0px
126
+ ) !default;
127
+
128
+ $border-radiuses: (
129
+ '': 4px,
130
+ '-none': 0px,
131
+ '-sm': 2px,
132
+ '-md': 6px,
133
+ '-lg': 8px,
134
+ '-xl': 12px,
135
+ '-2xl': 16px,
136
+ '-3xl': 24px,
137
+ '-full': 9999px
138
+ ) !default;
139
+
140
+ $vertical-align: (
141
+ top,
142
+ middle,
143
+ bottom,
144
+ baseline,
145
+ text-top,
146
+ text-bottom
147
+ ) !default;
148
+
149
+ $text-align: (
150
+ left,
151
+ right,
152
+ center,
153
+ justify
154
+ ) !default;
@@ -0,0 +1,8 @@
1
+ <table class="{{ classes }}" valign="top" role="presentation" bgcolor="">
2
+ <tbody>
3
+ <tr>
4
+ <td valign="top">
5
+ {{ contents }}</td>
6
+ </tr>
7
+ </tbody>
8
+ </table>
@@ -0,0 +1,9 @@
1
+ <table class="{{ classes }}" role="presentation">
2
+ <tbody>
3
+ <tr>
4
+ <td>
5
+ {{ contents }}
6
+ </td>
7
+ </tr>
8
+ </tbody>
9
+ </table>
@@ -0,0 +1,29 @@
1
+ <table class="{{ classes }}" role="presentation">
2
+ <tbody>
3
+ <tr>
4
+ <td align="center">
5
+ <!--[if (gte mso 9)|(IE)]>
6
+ <table align="center" role="presentation">
7
+ <tbody>
8
+ <tr>
9
+ <td width="600">
10
+ <![endif]-->
11
+ <table align="center" role="presentation">
12
+ <tbody>
13
+ <tr>
14
+ <td>
15
+ {{ contents }}
16
+ </td>
17
+ </tr>
18
+ </tbody>
19
+ </table>
20
+ <!--[if (gte mso 9)|(IE)]>
21
+ </td>
22
+ </tr>
23
+ </tbody>
24
+ </table>
25
+ <![endif]-->
26
+ </td>
27
+ </tr>
28
+ </tbody>
29
+ </table>
@@ -0,0 +1,3 @@
1
+ <div class="{{ classes }}">
2
+ {{ contents }}
3
+ </div>
@@ -0,0 +1,9 @@
1
+ <table class="{{ classes }}" align="left" role="presentation">
2
+ <tbody>
3
+ <tr>
4
+ <td>
5
+ {{ contents }}
6
+ </td>
7
+ </tr>
8
+ </tbody>
9
+ </table>
@@ -0,0 +1,5 @@
1
+ <table class="{{ classes }}" role="presentation">
2
+ <tbody>
3
+ {{ contents }}
4
+ </tbody>
5
+ </table>
@@ -0,0 +1,7 @@
1
+ <table class="{{ classes }}" role="presentation" bgcolor="">
2
+ <tbody>
3
+ <tr>
4
+ {{ contents }}
5
+ </tr>
6
+ </tbody>
7
+ </table>
@@ -0,0 +1,9 @@
1
+ <table class="{{ classes }}" role="presentation">
2
+ <tbody>
3
+ <tr>
4
+ <td>
5
+ {{ contents }}
6
+ </td>
7
+ </tr>
8
+ </tbody>
9
+ </table>
@@ -0,0 +1,3 @@
1
+ <td class="{{ classes }}">
2
+ {{ contents }}
3
+ </td>
@@ -0,0 +1,5 @@
1
+ <tr>
2
+ <td>
3
+ {{ contents }}
4
+ </td>
5
+ </tr>