@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.
- package/LICENSE.md +201 -0
- package/README.md +103 -2
- package/bin/yafnet-theme.js +409 -0
- package/email/bootstrap-email/bootstrap-email.scss +26 -0
- package/email/bootstrap-email/bootstrap-head.scss +169 -0
- package/email/bootstrap-email/layout.html.erb +12 -0
- package/email/bootstrap-email/scss/_helpers.scss +3 -0
- package/email/bootstrap-email/scss/_reboot_email.scss +54 -0
- package/email/bootstrap-email/scss/_reboot_head.scss +59 -0
- package/email/bootstrap-email/scss/_variables.scss +7 -0
- package/email/bootstrap-email/scss/components/_alert.scss +21 -0
- package/email/bootstrap-email/scss/components/_badge.scss +61 -0
- package/email/bootstrap-email/scss/components/_button.scss +47 -0
- package/email/bootstrap-email/scss/components/_card.scss +19 -0
- package/email/bootstrap-email/scss/components/_container.scss +18 -0
- package/email/bootstrap-email/scss/components/_grid.scss +43 -0
- package/email/bootstrap-email/scss/components/_hr.scss +8 -0
- package/email/bootstrap-email/scss/components/_image.scss +6 -0
- package/email/bootstrap-email/scss/components/_preview.scss +5 -0
- package/email/bootstrap-email/scss/components/_stack.scss +39 -0
- package/email/bootstrap-email/scss/components/_table.scss +137 -0
- package/email/bootstrap-email/scss/helpers/_functions.scss +29 -0
- package/email/bootstrap-email/scss/helpers/_mixins.scss +21 -0
- package/email/bootstrap-email/scss/helpers/_selectors_for_utils.scss +124 -0
- package/email/bootstrap-email/scss/utilities/_background.scss +5 -0
- package/email/bootstrap-email/scss/utilities/_border-radius.scss +21 -0
- package/email/bootstrap-email/scss/utilities/_border.scss +13 -0
- package/email/bootstrap-email/scss/utilities/_color.scss +9 -0
- package/email/bootstrap-email/scss/utilities/_display.scss +7 -0
- package/email/bootstrap-email/scss/utilities/_sizing.scss +35 -0
- package/email/bootstrap-email/scss/utilities/_spacing.scss +18 -0
- package/email/bootstrap-email/scss/utilities/_text-decoration.scss +9 -0
- package/email/bootstrap-email/scss/utilities/_typography.scss +56 -0
- package/email/bootstrap-email/scss/utilities/_valign.scss +5 -0
- package/email/bootstrap-email/scss/variables/_body.scss +2 -0
- package/email/bootstrap-email/scss/variables/_borders.scss +6 -0
- package/email/bootstrap-email/scss/variables/_buttons.scss +47 -0
- package/email/bootstrap-email/scss/variables/_colors.scss +161 -0
- package/email/bootstrap-email/scss/variables/_tables.scss +4 -0
- package/email/bootstrap-email/scss/variables/_typography.scss +26 -0
- package/email/bootstrap-email/scss/variables/_utilities.scss +154 -0
- package/email/bootstrap-email/templates/body.html +8 -0
- package/email/bootstrap-email/templates/button.html +9 -0
- package/email/bootstrap-email/templates/container.html +29 -0
- package/email/bootstrap-email/templates/div.html +3 -0
- package/email/bootstrap-email/templates/table-left.html +9 -0
- package/email/bootstrap-email/templates/table-to-tbody.html +5 -0
- package/email/bootstrap-email/templates/table-to-tr.html +7 -0
- package/email/bootstrap-email/templates/table.html +9 -0
- package/email/bootstrap-email/templates/td.html +3 -0
- package/email/bootstrap-email/templates/tr.html +5 -0
- package/email/prebuilt/brite/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/brite/EmailTemplate.html +116 -0
- package/email/prebuilt/cerulean/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/cerulean/EmailTemplate.html +116 -0
- package/email/prebuilt/cosmo/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/cosmo/EmailTemplate.html +116 -0
- package/email/prebuilt/cyborg/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/cyborg/EmailTemplate.html +116 -0
- package/email/prebuilt/darkly/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/darkly/EmailTemplate.html +116 -0
- package/email/prebuilt/flatly/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/flatly/EmailTemplate.html +116 -0
- package/email/prebuilt/journal/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/journal/EmailTemplate.html +116 -0
- package/email/prebuilt/litera/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/litera/EmailTemplate.html +116 -0
- package/email/prebuilt/lumen/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/lumen/EmailTemplate.html +116 -0
- package/email/prebuilt/lux/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/lux/EmailTemplate.html +116 -0
- package/email/prebuilt/materia/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/materia/EmailTemplate.html +116 -0
- package/email/prebuilt/minty/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/minty/EmailTemplate.html +116 -0
- package/email/prebuilt/morph/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/morph/EmailTemplate.html +116 -0
- package/email/prebuilt/pulse/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/pulse/EmailTemplate.html +116 -0
- package/email/prebuilt/quartz/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/quartz/EmailTemplate.html +116 -0
- package/email/prebuilt/sandstone/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/sandstone/EmailTemplate.html +116 -0
- package/email/prebuilt/simplex/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/simplex/EmailTemplate.html +116 -0
- package/email/prebuilt/sketchy/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/sketchy/EmailTemplate.html +116 -0
- package/email/prebuilt/slate/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/slate/EmailTemplate.html +116 -0
- package/email/prebuilt/solar/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/solar/EmailTemplate.html +116 -0
- package/email/prebuilt/spacelab/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/spacelab/EmailTemplate.html +116 -0
- package/email/prebuilt/superhero/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/superhero/EmailTemplate.html +116 -0
- package/email/prebuilt/united/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/united/EmailTemplate.html +116 -0
- package/email/prebuilt/vapor/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/vapor/EmailTemplate.html +116 -0
- package/email/prebuilt/yaf/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/yaf/EmailTemplate.html +116 -0
- package/email/prebuilt/yeti/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/yeti/EmailTemplate.html +116 -0
- package/email/prebuilt/zephyr/DigestTopicTemplate.html +57 -0
- package/email/prebuilt/zephyr/EmailTemplate.html +116 -0
- package/email/resources/DigestTopicTemplate.html +23 -0
- package/email/resources/EmailTemplate.html +27 -0
- package/package.json +41 -5
- package/scss/choices/bs-theme.scss +47 -0
- package/scss/choices/choices.scss +376 -0
- package/scss/forum/chat.scss +99 -0
- package/scss/netStack.scss +32 -0
- package/themes/brite/LICENSE.md +21 -0
- package/themes/brite/_bootswatch.scss +381 -0
- package/themes/brite/_variables.scss +236 -0
- package/themes/brite/bootstrap-email.scss +35 -0
- package/themes/brite/bootstrap-forum.scss +8 -0
- package/themes/brite/bootstrap_email-digest.json +5 -0
- package/themes/brite/bootstrap_email.json +4 -0
- package/themes/cerulean/LICENSE.md +21 -0
- package/themes/cerulean/_bootswatch.scss +116 -0
- package/themes/cerulean/_variables.scss +64 -0
- package/themes/cerulean/bootstrap-email.scss +35 -0
- package/themes/cerulean/bootstrap-forum.scss +8 -0
- package/themes/cerulean/bootstrap_email-digest.json +5 -0
- package/themes/cerulean/bootstrap_email.json +4 -0
- package/themes/cosmo/LICENSE.md +21 -0
- package/themes/cosmo/_bootswatch.scss +53 -0
- package/themes/cosmo/_variables.scss +73 -0
- package/themes/cosmo/bootstrap-email.scss +35 -0
- package/themes/cosmo/bootstrap-forum.scss +8 -0
- package/themes/cosmo/bootstrap_email-digest.json +5 -0
- package/themes/cosmo/bootstrap_email.json +4 -0
- package/themes/cyborg/LICENSE.md +21 -0
- package/themes/cyborg/_bootswatch.scss +146 -0
- package/themes/cyborg/_variables.scss +185 -0
- package/themes/cyborg/bootstrap-email.scss +35 -0
- package/themes/cyborg/bootstrap-forum.scss +8 -0
- package/themes/cyborg/bootstrap_email-digest.json +5 -0
- package/themes/cyborg/bootstrap_email.json +4 -0
- package/themes/darkly/LICENSE.md +21 -0
- package/themes/darkly/_bootswatch.scss +78 -0
- package/themes/darkly/_variables.scss +184 -0
- package/themes/darkly/bootstrap-email.scss +35 -0
- package/themes/darkly/bootstrap-forum.scss +8 -0
- package/themes/darkly/bootstrap_email-digest.json +5 -0
- package/themes/darkly/bootstrap_email.json +4 -0
- package/themes/flatly/LICENSE.md +21 -0
- package/themes/flatly/_bootswatch.scss +65 -0
- package/themes/flatly/_variables.scss +120 -0
- package/themes/flatly/bootstrap-email.scss +35 -0
- package/themes/flatly/bootstrap-forum.scss +8 -0
- package/themes/flatly/bootstrap_email-digest.json +5 -0
- package/themes/flatly/bootstrap_email.json +4 -0
- package/themes/journal/LICENSE.md +21 -0
- package/themes/journal/_bootswatch.scss +57 -0
- package/themes/journal/_variables.scss +64 -0
- package/themes/journal/bootstrap-email.scss +35 -0
- package/themes/journal/bootstrap-forum.scss +8 -0
- package/themes/journal/bootstrap_email-digest.json +5 -0
- package/themes/journal/bootstrap_email.json +4 -0
- package/themes/litera/LICENSE.md +21 -0
- package/themes/litera/_bootswatch.scss +98 -0
- package/themes/litera/_variables.scss +97 -0
- package/themes/litera/bootstrap-email.scss +35 -0
- package/themes/litera/bootstrap-forum.scss +8 -0
- package/themes/litera/bootstrap_email-digest.json +5 -0
- package/themes/litera/bootstrap_email.json +4 -0
- package/themes/lumen/LICENSE.md +21 -0
- package/themes/lumen/_bootswatch.scss +339 -0
- package/themes/lumen/_variables.scss +98 -0
- package/themes/lumen/bootstrap-email.scss +35 -0
- package/themes/lumen/bootstrap-forum.scss +8 -0
- package/themes/lumen/bootstrap_email-digest.json +5 -0
- package/themes/lumen/bootstrap_email.json +4 -0
- package/themes/lux/LICENSE.md +21 -0
- package/themes/lux/_bootswatch.scss +304 -0
- package/themes/lux/_variables.scss +124 -0
- package/themes/lux/bootstrap-email.scss +35 -0
- package/themes/lux/bootstrap-forum.scss +8 -0
- package/themes/lux/bootstrap_email-digest.json +5 -0
- package/themes/lux/bootstrap_email.json +4 -0
- package/themes/materia/LICENSE.md +21 -0
- package/themes/materia/_bootswatch.scss +654 -0
- package/themes/materia/_variables.scss +126 -0
- package/themes/materia/bootstrap-email.scss +35 -0
- package/themes/materia/bootstrap-forum.scss +8 -0
- package/themes/materia/bootstrap_email-digest.json +5 -0
- package/themes/materia/bootstrap_email.json +4 -0
- package/themes/minty/LICENSE.md +21 -0
- package/themes/minty/_bootswatch.scss +142 -0
- package/themes/minty/_variables.scss +100 -0
- package/themes/minty/bootstrap-email.scss +35 -0
- package/themes/minty/bootstrap-forum.scss +8 -0
- package/themes/minty/bootstrap_email-digest.json +5 -0
- package/themes/minty/bootstrap_email.json +4 -0
- package/themes/morph/LICENSE.md +21 -0
- package/themes/morph/_bootswatch.scss +562 -0
- package/themes/morph/_variables.scss +223 -0
- package/themes/morph/bootstrap-email.scss +35 -0
- package/themes/morph/bootstrap-forum.scss +8 -0
- package/themes/morph/bootstrap_email-digest.json +5 -0
- package/themes/morph/bootstrap_email.json +4 -0
- package/themes/pulse/LICENSE.md +21 -0
- package/themes/pulse/_bootswatch.scss +155 -0
- package/themes/pulse/_variables.scss +92 -0
- package/themes/pulse/bootstrap-email.scss +35 -0
- package/themes/pulse/bootstrap-forum.scss +8 -0
- package/themes/pulse/bootstrap_email-digest.json +5 -0
- package/themes/pulse/bootstrap_email.json +4 -0
- package/themes/quartz/_bootswatch.scss +297 -0
- package/themes/quartz/_variables.scss +226 -0
- package/themes/quartz/bootstrap-email.scss +35 -0
- package/themes/quartz/bootstrap-forum.scss +8 -0
- package/themes/quartz/bootstrap_email-digest.json +5 -0
- package/themes/quartz/bootstrap_email.json +4 -0
- package/themes/sandstone/LICENSE.md +21 -0
- package/themes/sandstone/_bootswatch.scss +242 -0
- package/themes/sandstone/_variables.scss +139 -0
- package/themes/sandstone/bootstrap-email.scss +35 -0
- package/themes/sandstone/bootstrap-forum.scss +8 -0
- package/themes/sandstone/bootstrap_email-digest.json +5 -0
- package/themes/sandstone/bootstrap_email.json +4 -0
- package/themes/simplex/LICENSE.md +21 -0
- package/themes/simplex/_bootswatch.scss +150 -0
- package/themes/simplex/_variables.scss +105 -0
- package/themes/simplex/bootstrap-email.scss +35 -0
- package/themes/simplex/bootstrap-forum.scss +8 -0
- package/themes/simplex/bootstrap_email-digest.json +5 -0
- package/themes/simplex/bootstrap_email.json +4 -0
- package/themes/sketchy/LICENSE.md +21 -0
- package/themes/sketchy/_bootswatch.scss +557 -0
- package/themes/sketchy/_variables.scss +156 -0
- package/themes/sketchy/bootstrap-email.scss +35 -0
- package/themes/sketchy/bootstrap-forum.scss +8 -0
- package/themes/sketchy/bootstrap_email-digest.json +5 -0
- package/themes/sketchy/bootstrap_email.json +4 -0
- package/themes/slate/LICENSE.md +21 -0
- package/themes/slate/_bootswatch.scss +340 -0
- package/themes/slate/_variables.scss +187 -0
- package/themes/slate/bootstrap-email.scss +35 -0
- package/themes/slate/bootstrap-forum.scss +8 -0
- package/themes/slate/bootstrap_email-digest.json +5 -0
- package/themes/slate/bootstrap_email.json +4 -0
- package/themes/solar/LICENSE.md +21 -0
- package/themes/solar/_bootswatch.scss +66 -0
- package/themes/solar/_variables.scss +193 -0
- package/themes/solar/bootstrap-email.scss +35 -0
- package/themes/solar/bootstrap-forum.scss +8 -0
- package/themes/solar/bootstrap_email-digest.json +5 -0
- package/themes/solar/bootstrap_email.json +4 -0
- package/themes/spacelab/LICENSE.md +21 -0
- package/themes/spacelab/_bootswatch.scss +107 -0
- package/themes/spacelab/_variables.scss +65 -0
- package/themes/spacelab/bootstrap-email.scss +35 -0
- package/themes/spacelab/bootstrap-forum.scss +8 -0
- package/themes/spacelab/bootstrap_email-digest.json +5 -0
- package/themes/spacelab/bootstrap_email.json +4 -0
- package/themes/superhero/LICENSE.md +21 -0
- package/themes/superhero/_bootswatch.scss +153 -0
- package/themes/superhero/_variables.scss +202 -0
- package/themes/superhero/bootstrap-email.scss +35 -0
- package/themes/superhero/bootstrap-forum.scss +8 -0
- package/themes/superhero/bootstrap_email-digest.json +5 -0
- package/themes/superhero/bootstrap_email.json +4 -0
- package/themes/united/LICENSE.md +21 -0
- package/themes/united/_bootswatch.scss +30 -0
- package/themes/united/_variables.scss +56 -0
- package/themes/united/bootstrap-email.scss +35 -0
- package/themes/united/bootstrap-forum.scss +8 -0
- package/themes/united/bootstrap_email-digest.json +5 -0
- package/themes/united/bootstrap_email.json +4 -0
- package/themes/vapor/_bootswatch.scss +337 -0
- package/themes/vapor/_variables.scss +176 -0
- package/themes/vapor/bootstrap-email.scss +35 -0
- package/themes/vapor/bootstrap-forum.scss +8 -0
- package/themes/vapor/bootstrap_email-digest.json +5 -0
- package/themes/vapor/bootstrap_email.json +4 -0
- package/themes/yaf/_variables-email.scss +39 -0
- package/themes/yaf/_variables.scss +10 -0
- package/themes/yaf/bootstrap-email.scss +35 -0
- package/themes/yaf/bootstrap-forum.scss +8 -0
- package/themes/yaf/bootstrap_email-digest.json +5 -0
- package/themes/yaf/bootstrap_email.json +4 -0
- package/themes/yeti/LICENSE.md +21 -0
- package/themes/yeti/_bootswatch.scss +344 -0
- package/themes/yeti/_variables.scss +107 -0
- package/themes/yeti/bootstrap-email.scss +35 -0
- package/themes/yeti/bootstrap-forum.scss +8 -0
- package/themes/yeti/bootstrap_email-digest.json +5 -0
- package/themes/yeti/bootstrap_email.json +4 -0
- package/themes/zephyr/_bootswatch.scss +221 -0
- package/themes/zephyr/_variables.scss +157 -0
- package/themes/zephyr/bootstrap-email.scss +35 -0
- package/themes/zephyr/bootstrap-forum.scss +8 -0
- package/themes/zephyr/bootstrap_email-digest.json +5 -0
- package/themes/zephyr/bootstrap_email.json +4 -0
|
@@ -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,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,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,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,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>
|