generator-chisel 2.2.0 → 2.2.1
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/CHANGELOG.md +6 -0
- package/README.md +1 -11
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/manrope-700.woff2 +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/manrope-regular.woff2 +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/roboto-300.woff2 +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/roboto-700.woff2 +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/roboto-regular.woff2 +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/Helpers/BlocksHelpers.php +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/Traits/PageBlocks.php +56 -3
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/ChiselImage.php +4 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/ChiselPost.php +3 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/ChiselProduct.php +3 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/ChiselProductCategory.php +3 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/Components.php +25 -11
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/CustomPostTypes.php +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/Site.php +1 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/inc/WP/Twig.php +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/blocks/accordion/style.scss +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/blocks-acf/slider/block.json +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/design/tools/_buttons.scss +31 -66
- package/lib/commands/create/creators/app/chisel-starter-theme/src/design/tools/_colors.scss +5 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/src/design/tools/_icon.scss +1 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/src/design/tools/_index.scss +1 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/src/design/tools/_link.scss +1 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/src/scripts/admin/acf.js +1 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/scripts/modules/utils.js +15 -5
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/blocks/_core-button.scss +13 -27
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/blocks/_core-latest-posts.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/blocks/_core-media-text.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/blocks/_core-query.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/blocks/_core.scss +4 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_badge.scss +3 -3
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_buttons.scss +14 -28
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_footer.scss +6 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_header.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_main-nav.scss +5 -5
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_pagination.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_post-card.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_post.scss +3 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_posts-items.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_sidebar.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_slider.scss +3 -3
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/elements/_form.scss +3 -3
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/elements/_shared.scss +4 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/login.scss +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/objects/_wrapper.scss +5 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/woo/_general.scss +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/woo/_notices.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/woo/_product.scss +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/wp-editor/_block-edit-selector.scss +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/wp-editor/_core-spacer.scss +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/wp-editor/_render-appender.scss +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/style.chisel-tpl.css +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/theme.json +150 -37
- package/lib/commands/create/creators/app/chisel-starter-theme/views/components/footer.twig +8 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/views/index.twig +3 -3
- package/lib/commands/create/creators/app/chisel-starter-theme/views/sidebar-blog.twig +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/views/sidebar-woocommerce.twig +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/views/single.twig +6 -4
- package/lib/commands/create/creators/app/chisel-starter-theme/views/woocommerce/archive-product.twig +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/views/woocommerce/linked-products.twig +1 -1
- package/lib/commands/create/creators/app/chisel-starter-theme/views/woocommerce/single-product.twig +3 -3
- package/lib/commands/create/creators/app/chisel-starter-theme/webpack.config.js +11 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/woocommerce.php +1 -1
- package/lib/commands/create/packages-versions.js +1 -1
- package/package.json +2 -2
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/quicksand-700.woff2 +0 -0
- package/lib/commands/create/creators/app/chisel-starter-theme/assets/fonts/quicksand-regular.woff2 +0 -0
package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_badge.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
color: get-color('white');
|
|
9
9
|
text-decoration: none;
|
|
10
10
|
text-transform: uppercase;
|
|
11
|
-
background-color: get-color('
|
|
11
|
+
background-color: get-color('foreground');
|
|
12
12
|
border-radius: get-border-radius('little');
|
|
13
13
|
transition: get-transition('normal');
|
|
14
14
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.is-disabled & {
|
|
21
|
-
color: get-color('grey');
|
|
22
|
-
background-color: get-color('
|
|
21
|
+
color: get-color('grey-900');
|
|
22
|
+
background-color: get-color('grey-100');
|
|
23
23
|
}
|
|
24
24
|
}
|
package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_buttons.scss
CHANGED
|
@@ -25,6 +25,10 @@ $_static-icons: settings.$static-icons;
|
|
|
25
25
|
@include button-primary-hover;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
.c-btn--primary:focus {
|
|
29
|
+
@include button-primary-focus;
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
.c-btn--primary-outline {
|
|
29
33
|
@include button-primary-outline;
|
|
30
34
|
@include button-primary-outline-icon;
|
|
@@ -36,6 +40,10 @@ $_static-icons: settings.$static-icons;
|
|
|
36
40
|
@include button-primary-outline-icon-hover;
|
|
37
41
|
}
|
|
38
42
|
|
|
43
|
+
.c-btn--primary-outline:focus {
|
|
44
|
+
@include button-primary-outline-focus;
|
|
45
|
+
}
|
|
46
|
+
|
|
39
47
|
.c-btn--secondary {
|
|
40
48
|
@include button-secondary;
|
|
41
49
|
}
|
|
@@ -45,6 +53,10 @@ $_static-icons: settings.$static-icons;
|
|
|
45
53
|
@include button-secondary-hover;
|
|
46
54
|
}
|
|
47
55
|
|
|
56
|
+
.c-btn--secondary:focus {
|
|
57
|
+
@include button-secondary-focus;
|
|
58
|
+
}
|
|
59
|
+
|
|
48
60
|
.c-btn--secondary-outline {
|
|
49
61
|
@include button-secondary-outline;
|
|
50
62
|
@include button-secondary-outline-icon;
|
|
@@ -56,24 +68,8 @@ $_static-icons: settings.$static-icons;
|
|
|
56
68
|
@include button-secondary-outline-icon-hover;
|
|
57
69
|
}
|
|
58
70
|
|
|
59
|
-
.c-btn--
|
|
60
|
-
@include button-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.c-btn--tertiary:hover,
|
|
64
|
-
.c-btn--tertiary:focus {
|
|
65
|
-
@include button-tertiary-hover;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.c-btn--tertiary-outline {
|
|
69
|
-
@include button-tertiary-outline;
|
|
70
|
-
@include button-tertiary-outline-icon;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.c-btn--tertiary-outline:hover,
|
|
74
|
-
.c-btn--tertiary-outline:focus {
|
|
75
|
-
@include button-tertiary-outline-hover;
|
|
76
|
-
@include button-tertiary-outline-icon-hover;
|
|
71
|
+
.c-btn--secondary-outline:focus {
|
|
72
|
+
@include button-secondary-outline-focus;
|
|
77
73
|
}
|
|
78
74
|
|
|
79
75
|
.c-btn--small {
|
|
@@ -94,16 +90,6 @@ $_static-icons: settings.$static-icons;
|
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
.c-btn.has-icon {
|
|
97
|
-
@include button-icon;
|
|
98
|
-
|
|
99
|
-
&.c-btn--small {
|
|
100
|
-
@include button-icon-small;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.c-btn--large {
|
|
104
|
-
@include button-icon-large;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
93
|
&::after,
|
|
108
94
|
&::before {
|
|
109
95
|
display: block;
|
package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_footer.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '~design' as *;
|
|
2
2
|
|
|
3
3
|
.c-footer {
|
|
4
|
-
background-color: get-color('
|
|
4
|
+
background-color: get-color('grey-100');
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.c-footer__inner {
|
|
@@ -16,3 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
.c-footer__copyright {
|
|
21
|
+
padding: 0 0 get-padding('normal') 0;
|
|
22
|
+
font-size: get-font-size('small');
|
|
23
|
+
}
|
package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_main-nav.scss
CHANGED
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
&:focus,
|
|
109
109
|
.current-menu-item > &,
|
|
110
110
|
.current-menu-parent > & {
|
|
111
|
-
color: get-color('
|
|
111
|
+
color: get-color('foreground');
|
|
112
112
|
text-decoration: none;
|
|
113
113
|
|
|
114
114
|
.c-main-nav__caret::before {
|
|
115
|
-
border-top-color: get-color('
|
|
115
|
+
border-top-color: get-color('foreground');
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -210,15 +210,15 @@
|
|
|
210
210
|
&:hover,
|
|
211
211
|
&:focus,
|
|
212
212
|
.current-menu-item > & {
|
|
213
|
-
color: get-color('
|
|
213
|
+
color: get-color('foreground');
|
|
214
214
|
text-decoration: none;
|
|
215
215
|
|
|
216
216
|
@include bp(large) {
|
|
217
|
-
background-color: get-color('
|
|
217
|
+
background-color: get-color('grey-100');
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.c-main-nav__caret::before {
|
|
221
|
-
border-top-color: get-color('
|
|
221
|
+
border-top-color: get-color('foreground');
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
}
|
package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/components/_slider.scss
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
background-color: rgba(255, 255, 255, 100%);
|
|
52
52
|
|
|
53
53
|
&::after {
|
|
54
|
-
color: get-color('
|
|
54
|
+
color: get-color('foreground');
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
.swiper-pagination-bullet-active-main,
|
|
102
102
|
.swiper-pagination:not(.swiper-pagination-dots-dynamic) .swiper-pagination-bullet-active {
|
|
103
|
-
background-color: get-color('
|
|
103
|
+
background-color: get-color('foreground');
|
|
104
104
|
opacity: 1;
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
&.swiper-slide-thumb-active img {
|
|
123
|
-
border: 2px solid get-color('
|
|
123
|
+
border: 2px solid get-color('foreground');
|
|
124
124
|
opacity: 1;
|
|
125
125
|
}
|
|
126
126
|
}
|
package/lib/commands/create/creators/app/chisel-starter-theme/src/styles/elements/_form.scss
CHANGED
|
@@ -14,12 +14,12 @@ $form-field-line-height: get-line-height('normal');
|
|
|
14
14
|
$form-field-color: get-color('foreground');
|
|
15
15
|
$form-field-accent: get-color('primary');
|
|
16
16
|
$form-field-accent-contrast: get-color('white');
|
|
17
|
-
$form-field-border-color: get-color('
|
|
17
|
+
$form-field-border-color: get-color('grey-300');
|
|
18
18
|
$form-field-focus-border-color: $form-field-accent;
|
|
19
|
-
$form-field-placeholder-color: get-color('grey');
|
|
19
|
+
$form-field-placeholder-color: get-color('grey-900');
|
|
20
20
|
$form-field-shadow-focus: 0 0 0 3px hsla(256deg, 68%, 24%, 50%);
|
|
21
21
|
$form-field-bg-color: get-color('white');
|
|
22
|
-
$form-field-bg-range-track: get-color('
|
|
22
|
+
$form-field-bg-range-track: get-color('foreground');
|
|
23
23
|
$form-field-range-shadow-focus: 0 0 0 2px hsla(9deg, 100%, 66%, 50%);
|
|
24
24
|
$form-field-range-thumb-shadow-focus: 0 0 0 2px hsla(256deg, 68%, 24%, 50%);
|
|
25
25
|
$form-field-error-color: get-color('error');
|
|
@@ -39,7 +39,7 @@ body.login {
|
|
|
39
39
|
justify-content: center;
|
|
40
40
|
width: 36%;
|
|
41
41
|
padding: 0 7%;
|
|
42
|
-
background: linear-gradient(180deg, get-color('
|
|
42
|
+
background: linear-gradient(180deg, get-color('grey-100') 0%, get-color('white') 100%);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
@include bp(large) {
|
|
@@ -123,7 +123,7 @@ body.login {
|
|
|
123
123
|
font-size: get-font-size('large');
|
|
124
124
|
font-weight: 700;
|
|
125
125
|
text-align: center;
|
|
126
|
-
background: linear-gradient(51deg, get-color('
|
|
126
|
+
background: linear-gradient(51deg, get-color('grey-100'), rgba(255, 255, 255, 50%));
|
|
127
127
|
opacity: 0;
|
|
128
128
|
transition: get-transition('normal');
|
|
129
129
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) {
|
|
7
7
|
div.product span.price,
|
|
8
8
|
div.product p.price {
|
|
9
|
-
color: get-color('
|
|
9
|
+
color: get-color('foreground');
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
line-height: get-line-height('large');
|
|
29
29
|
color: get-color('white');
|
|
30
30
|
text-align: center;
|
|
31
|
-
background-color: get-color('
|
|
31
|
+
background-color: get-color('foreground');
|
|
32
32
|
border-radius: 100%;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
padding: get-padding('normal') get-padding('large') get-padding('normal') px-rem(48);
|
|
28
28
|
margin: 0 0 get-margin('xlarge');
|
|
29
29
|
color: get-color('foreground');
|
|
30
|
-
background-color: get-color('
|
|
30
|
+
background-color: get-color('grey-100');
|
|
31
31
|
border-top: 3px solid get-color('info');
|
|
32
32
|
|
|
33
33
|
&::before {
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
.woocommerce div.product {
|
|
4
4
|
.woocommerce-tabs ul.tabs li {
|
|
5
5
|
color: get-color('primary');
|
|
6
|
-
background-color: get-color('
|
|
6
|
+
background-color: get-color('grey-100');
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.woocommerce-product-gallery {
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
background-color: get-color('white');
|
|
13
|
-
border: 1px solid get-color('
|
|
13
|
+
border: 1px solid get-color('grey-100');
|
|
14
14
|
border-radius: get-border-radius('small');
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
|
|
22
22
|
.c-block-edit-selector__inner {
|
|
23
23
|
color: get-color('black');
|
|
24
|
-
background-color: get-color('
|
|
24
|
+
background-color: get-color('grey-100');
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.c-block-edit-selector__button {
|
|
28
28
|
height: auto !important;
|
|
29
29
|
padding: get-padding('tiny') get-padding('little') !important;
|
|
30
30
|
color: get-color('black') !important;
|
|
31
|
-
border: 1px solid get-color('
|
|
31
|
+
border: 1px solid get-color('grey-100');
|
|
32
32
|
box-shadow: none !important;
|
|
33
33
|
|
|
34
34
|
&.is-large {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
padding: get-padding('normal');
|
|
16
16
|
font-size: get-font-size('normal');
|
|
17
17
|
color: get-color('black');
|
|
18
|
-
background-color: get-color('
|
|
19
|
-
|
|
18
|
+
background-color: get-color('grey-100');
|
|
19
|
+
border: 1px solid get-color('grey-300');
|
|
20
20
|
transition: none;
|
|
21
21
|
|
|
22
22
|
span {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Theme URI: https://www.getchisel.co/
|
|
4
4
|
* Author: <%= app.author %>
|
|
5
5
|
* Description: Chisel Wordpress Starter Theme based on Timber library.
|
|
6
|
-
* Version: 2.2.
|
|
6
|
+
* Version: 2.2.1
|
|
7
7
|
* License: GNU General Public License v2 or later
|
|
8
8
|
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
9
9
|
* Tags: chisel, custom, starter, theme, WordPress
|