Skip to content

Commit d7f0b14

Browse files
authored
Merge pull request #85 from lightspeedwp/version/1.2.0
LSX Design - Version 1.2.0
2 parents 9d0c770 + 33e840e commit d7f0b14

File tree

77 files changed

+2793
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+2793
-606
lines changed

.DS_Store

4 KB
Binary file not shown.

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ node_modules
55
package-lock.json
66
vendor
77
wp-content
8-
package.json
8+
package.json
9+
.DS_Store
10+
templates/.DS_Store
11+
.DS_Store
12+
assets/.DS_Store
13+
.DS_Store

.phpcs.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent" />
2828
<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
2929
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
30-
<exclude name="WordPress.PHP.DisallowShortTernary" />
3130
<exclude name="WordPress.PHP.YodaConditions.NotYoda" />
3231
<exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys" />
3332
<exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/css/.DS_Store

0 Bytes
Binary file not shown.

assets/css/blocks/button.css

Lines changed: 278 additions & 92 deletions
Large diffs are not rendered by default.

assets/css/blocks/details.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@
5454
.wp-block-details>:not(summary){margin:0;
5555
padding:12px;
5656
background-color:#EBEBEB;
57-
font-size:18px!important;
58-
line-height:1.4!important;
59-
border-bottom:1px solid #313535;
6057
border-left:1px solid #313535;
6158
border-right:1px solid #313535;
62-
color:#000!important;}
63-
.wp-block-details [open] summary p{display:block!important;}
59+
color:#000;}
60+
.wp-block-details[open] summary p{display:block!important;}
61+
.wp-block-details[open]{border-bottom:1px solid #313535;}

assets/css/blocks/heading.css

Lines changed: 15 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,21 @@
11
/* Sizes
22
--------------------------------------------- */
3-
4-
.wp-block-heading.is-style-underline-primary{background:var(--wp--preset--gradient--black-primary);}
5-
6-
.wp-block-heading.is-style-underline,
7-
.wp-block-heading.is-style-underline-primary,
8-
.wp-block-heading.is-style-underline-secondary-tertiary,
9-
.wp-block-heading.is-style-underline-tertiary-primary {
10-
border: none;
11-
box-shadow: none;
12-
padding: 0;
13-
}
14-
15-
.wp-block-heading.is-style-underline {
16-
background: var(--wp--preset--gradient--primary-secondary-tertiary);
3+
.wp-block-heading.is-style-heading-1{
4+
font-family: var(--wp--preset--font-family--primary);
5+
font-size: var(--wp--preset--font-size--large);
6+
font-weight: var(--wp--custom--font-weight--medium);
7+
line-height: var(--wp--custom--line-height--heading);
178
}
18-
19-
.wp-block-heading.is-style-underline-primary-secondary {
20-
background: var(--wp--preset--gradient--primary-secondary);
21-
}
22-
23-
.wp-block-heading.is-style-underline-secondary-tertiary {
24-
background: var(--wp--preset--gradient--secondary-tertiary);
9+
.wp-block-heading.is-style-heading-2{
10+
font-family: var(--wp--preset--font-family--primary);
11+
font-size: var(--wp--preset--font-size--medium);
12+
font-weight: var(--wp--custom--font-weight--medium);
13+
line-height: var(--wp--custom--line-height--heading);
2514
}
26-
27-
.wp-block-heading.is-style-underline-tertiary-primary {
28-
background: var(--wp--preset--gradient--tertiary-primary);
15+
.wp-block-heading.is-style-heading-3{
16+
font-family: var(--wp--preset--font-family--primary);
17+
font-size: var(--wp--preset--font-size--small);
18+
font-weight: var(--wp--custom--font-weight--medium);
19+
line-height: var(--wp--custom--line-height--heading);
2920
}
3021

31-
.wp-block-heading.is-style-underline ,
32-
.wp-block-heading.is-style-underline-primary ,
33-
.wp-block-heading.is-style-underline-secondary-tertiary ,
34-
.wp-block-heading.is-style-underline-tertiary-primary {
35-
background-position: 0 85%;
36-
background-repeat: repeat-x;
37-
background-size: 100% 10px;
38-
font-size: var(--wp--preset--font-size--max-48);
39-
font-weight: var(--wp--custom--font-weight--medium);
40-
line-height: var(--wp--custom--line-height--one);
41-
display:inline;
42-
}

assets/css/blocks/navigation.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
/* BLOCK LINKS */
3+
body .wp-block-navigation a.wp-block-navigation-item__content {
4+
line-height: var(--wp--custom--line-height--normal);
5+
}
6+
7+
.wp-block-navigation .wp-block-navigation-item:hover > a.wp-block-navigation-item__content,
8+
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a.wp-block-navigation-item__content {
9+
color: var(--wp--custom--colour--cta--500);
10+
}
11+
12+
.wp-block-navigation .wp-block-navigation-item:active > a.wp-block-navigation-item__content {
13+
color: var(--wp--custom--colour--cta--300);
14+
}
15+
16+
.wp-block-navigation .wp-block-navigation-item:focus > a.wp-block-navigation-item__content {
17+
color: var(--wp--custom--colour--cta--600);
18+
text-decoration-line: underline;
19+
}
20+
21+
body .wp-block-navigation a.wp-block-navigation-item__content:active {
22+
text-decoration-line: underline;
23+
}

assets/css/blocks/paragraph.css

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,21 @@ p.is-style-content-box{padding:20px; border:1px solid;border-color: currentColo
55

66
p.is-style-dark-content-box{padding:20px; border:1px solid;border-color: currentColor;background-color: var(--wp--preset--color--contrast)!important;color:var(--wp--preset--color--base)!important;}
77

8-
p.is-style-failure-content-box{padding:20px; border:1px solid; border-color: var(--wp--preset--color--cta)!important;color:var(--wp--preset--color--cta)!important; background-color: #FAFAFA!important;}
9-
10-
p.is-style-warning-content-box{padding:20px; border:1px solid; border-color: var(--wp--preset--color--primary)!important;background-color: #FAFAFA!important;color:var(--wp--preset--color--primary)!important;}
11-
12-
p.is-style-success-content-box{padding:20px; border:1px solid; border-color: var(--wp--preset--color--tertiary)!important;background-color: #FAFAFA!important;color:var(--wp--preset--color--tertiary)!important;}
13-
8+
p.is-style-subheading-1{
9+
font-family: var(--wp--preset--font-family--primary);
10+
font-size: var(--wp--preset--font-size--large);
11+
font-weight: var(--wp--custom--font-weight--medium);
12+
line-height: 1.5;
13+
}
14+
p.is-style-subheading-2{
15+
font-family: var(--wp--preset--font-family--primary);
16+
font-size: var(--wp--preset--font-size--medium);
17+
font-weight: var(--wp--custom--font-weight--medium);
18+
line-height: 1.5;
19+
}
20+
p.is-style-subheading-3{
21+
font-family: var(--wp--preset--font-family--primary);
22+
font-size: var(--wp--preset--font-size--small);
23+
font-weight: var(--wp--custom--font-weight--medium);
24+
line-height: 1.5;
25+
}

0 commit comments

Comments
 (0)