diff --git a/patterns/call-to-action-1.php b/patterns/call-to-action-1.php index 1f9048c..c75e673 100644 --- a/patterns/call-to-action-1.php +++ b/patterns/call-to-action-1.php @@ -17,11 +17,11 @@
-

+

-

+

@@ -30,7 +30,7 @@
- +
diff --git a/patterns/content-columns.php b/patterns/content-columns.php index ba83145..2216e56 100644 --- a/patterns/content-columns.php +++ b/patterns/content-columns.php @@ -8,7 +8,7 @@ $quickwp_strings = apply_filters( 'quickwp_strings', array() ); $images = array( - QUICKWP_URL . 'assets/images/qwp-img-03.webp', + apply_filters( 'quickwp/content-columns/image', QUICKWP_URL . 'assets/images/qwp-img-03.webp' ), ); ?> @@ -21,23 +21,23 @@
-

+

-

+

-

+

-

+

-

+

@@ -45,7 +45,7 @@
-

+

diff --git a/patterns/feature-columns.php b/patterns/feature-columns.php index 0cf2b4d..6a99525 100644 --- a/patterns/feature-columns.php +++ b/patterns/feature-columns.php @@ -8,20 +8,20 @@ $quickwp_strings = apply_filters( 'quickwp_strings', array() ); $images = array( - QUICKWP_URL . 'assets/images/qwp-img-08.webp', - QUICKWP_URL . 'assets/images/qwp-img-06.webp', - QUICKWP_URL . 'assets/images/qwp-img-09.webp', + apply_filters( 'quickwp/feature-columns/item-1/image', QUICKWP_URL . 'assets/images/qwp-img-08.webp' ), + apply_filters( 'quickwp/feature-columns/item-2/image', QUICKWP_URL . 'assets/images/qwp-img-06.webp' ), + apply_filters( 'quickwp/feature-columns/item-3/image', QUICKWP_URL . 'assets/images/qwp-img-09.webp' ), ); ?>
-

+

- +
@@ -35,17 +35,17 @@
-

+

-

+

-
+
@@ -61,17 +61,17 @@
-

+

-

+

-
+
@@ -87,17 +87,17 @@
-

+

-

+

-
+
diff --git a/patterns/hero-centered.php b/patterns/hero-centered.php index ea91c9f..f712609 100644 --- a/patterns/hero-centered.php +++ b/patterns/hero-centered.php @@ -8,7 +8,7 @@ $quickwp_strings = apply_filters( 'quickwp_strings', array() ); $images = array( - QUICKWP_URL . 'assets/images/qwp-img-09.webp', + apply_filters( 'quickwp/hero-centered/image', QUICKWP_URL . 'assets/images/qwp-img-09.webp' ), ); ?> @@ -17,21 +17,21 @@
-

+

- +
-
+
-
+
diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 2d03a87..cf83970 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -58,4 +58,9 @@ * + + + + * + diff --git a/styles/Quick.json b/styles/Quick.json index 26f8b92..1a092ca 100644 --- a/styles/Quick.json +++ b/styles/Quick.json @@ -38,19 +38,49 @@ ], "palette": [ { - "color": "#F3F0E7", - "name": "Base", - "slug": "base" + "slug": "base", + "name": "Background", + "color": "#ffffff" }, { - "color": "#ECEADF", - "name": "Base / 2", - "slug": "base-2" + "slug": "base-2", + "name": "Light Background", + "color": "#f7f7f3" }, { - "color": "#A62B0C", - "name": "Contrast", - "slug": "contrast" + "slug": "base-3", + "name": "Dark Background", + "color": "#1A1919" + }, + { + "slug": "contrast", + "name": "Text", + "color": "#0C0C0C" + }, + { + "slug": "contrast-2", + "name": "Secondary text", + "color": "rgba(0,0,0, 0.5)" + }, + { + "slug": "contrast-3", + "name": "Border", + "color": "rgba(0,0,0, 0.5)" + }, + { + "slug": "contrast-4", + "name": "Text on dark", + "color": "#F8F8F8" + }, + { + "slug": "accent", + "name": "Accent", + "color": "#325CE8" + }, + { + "slug": "accent-2", + "name": "Accent 2", + "color": "#466DEC" } ] } diff --git a/theme.json b/theme.json index 14e1491..9e61ecf 100644 --- a/theme.json +++ b/theme.json @@ -43,54 +43,50 @@ ], "palette": [ { - "color": "#ffffff", + "slug": "base", "name": "Background", - "slug": "base" + "color": "#ffffff" }, - { - "color": "#f7f7f3", - "name": "Light background", - "slug": "base-2" + { + "slug": "base-2", + "name": "Light Background", + "color": "#f7f7f3" }, - { - "color": "#1A1919", - "name": "Dark background", - "slug": "base-3" + { + "slug": "base-3", + "name": "Dark Background", + "color": "#1A1919" }, { - "color": "#0C0C0C", + "slug": "contrast", "name": "Text", - "slug": "contrast" + "color": "#0C0C0C" }, { - "color": "#808080", - "name": "Secondary Text", - "slug": "contrast-2" + "slug": "contrast-2", + "name": "Secondary text", + "color": "rgba(0,0,0, 0.5)" }, - { - "color": "#DADADA", + { + "slug": "contrast-3", "name": "Border", - "slug": "contrast-3" + "color": "rgba(0,0,0, 0.5)" }, - { - "color": "#F8F8F8", + "slug": "contrast-4", "name": "Text on dark", - "slug": "contrast-4" + "color": "#F8F8F8" }, - - { - "color": "#325CE8", + "slug": "accent", "name": "Accent", - "slug": "accent" + "color": "#325CE8" }, { - "color": "#466DEC", + "slug": "accent-2", "name": "Accent 2", - "slug": "accent-2" + "color": "#466DEC" } - ] }, "layout": {