diff --git a/assets/css/design-system.css b/assets/css/design-system.css new file mode 100644 index 0000000..7a270ca --- /dev/null +++ b/assets/css/design-system.css @@ -0,0 +1,60 @@ +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) p { + color: var(--stk-text-color); +} + +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) .wp-block-heading { + color: var(--stk-heading-color); +} + +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) a { + color: var(--stk-link-color, var(--theme-link-initial-color, unset)); +} + +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) a:hover { + color: var(--stk-link-color-hover, var(--stk-link-color, var(--theme-link-hover-color, unset))); +} + +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) .wp-element-button { + background: var(--stk-button-background-color); + color: var(--stk-button-text-color); + padding: var(--stk-button-padding); +} + +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) .wp-element-button:hover { + background: var(--stk-button-background-color-hover, var(--stk-button-background-color)); + color: var(--stk-button-text-color-hover, var(--stk-button-text-color)); +} + +:is([class*='stk--background-scheme'], + [class*='stk--container-scheme'], + .stk--has-base-scheme, + .stk--has-background-scheme .stk-block-background, + .stk--has-container-scheme .stk-container:not(.stk--no-background)) .is-style-outline .wp-element-button { + background:transparent; + color: var(--stk-button-background-color); + border-color: var(--stk-button-background-color); +} diff --git a/function.php b/function.php deleted file mode 100644 index 1e2eadf..0000000 --- a/function.php +++ /dev/null @@ -1,13 +0,0 @@ -get('Version')); + + // Editor + wp_enqueue_style('start-stackable-styles-editor', $style_path, [], wp_get_theme()->get('Version')); +} + +add_action('wp_enqueue_scripts', 'start_stackable_enqueue_styles'); +add_action('enqueue_block_editor_assets', 'start_stackable_enqueue_styles'); diff --git a/parts/footer.html b/parts/footer.html index 00cbb97..3506c13 100644 --- a/parts/footer.html +++ b/parts/footer.html @@ -1,60 +1 @@ - -
-
-
-
- - - - - -
- - - -
-
-
-
-
-

Resources

- - -
- - - -
-

About

- - -
-
-
-
-
-
- - - - - - - -
-

© 2025 · Start Stackable Theme

- - - -

- Designed with WordPress

-
-
-
- \ No newline at end of file + diff --git a/parts/header.html b/parts/header.html index dd0d2cd..47f5551 100644 --- a/parts/header.html +++ b/parts/header.html @@ -1,7 +1 @@ - -
-
- -
-
- \ No newline at end of file + diff --git a/patterns/footer-centered.php b/patterns/footer-centered.php new file mode 100644 index 0000000..438b8b4 --- /dev/null +++ b/patterns/footer-centered.php @@ -0,0 +1,37 @@ + + + +
+
+ + + + + + + + +
+

© 2025 · Start Stackable Theme

+ + + +

Built with WordPress

+
+
+
+ \ No newline at end of file diff --git a/patterns/footer-minimal.php b/patterns/footer-minimal.php new file mode 100644 index 0000000..52a07bc --- /dev/null +++ b/patterns/footer-minimal.php @@ -0,0 +1,19 @@ + + + +
+
+ + +

© 2025 · Start Stackable Theme

+
+
+ \ No newline at end of file diff --git a/patterns/footer-no-title.php b/patterns/footer-no-title.php new file mode 100644 index 0000000..df617c9 --- /dev/null +++ b/patterns/footer-no-title.php @@ -0,0 +1,43 @@ + + + +
+
+
+
+
+

Resources

+ + +
+
+ + + +
+
+

About

+ + +
+
+
+ + + + + + + +

© 2025 · Start Stackable Theme

+
+
+ \ No newline at end of file diff --git a/patterns/footer.php b/patterns/footer.php new file mode 100644 index 0000000..6591585 --- /dev/null +++ b/patterns/footer.php @@ -0,0 +1,70 @@ + + + +
+
+
+
+ + + + + +
+ + + +
+
+
+
+
+

Resources

+ + +
+ + + +
+

About

+ + +
+
+
+
+
+
+ + + + + + + +
+

© 2025 · Start Stackable Theme

+ + + +

+ Built with WordPress

+
+
+
+ \ No newline at end of file diff --git a/patterns/header-centered.php b/patterns/header-centered.php new file mode 100644 index 0000000..321d4d8 --- /dev/null +++ b/patterns/header-centered.php @@ -0,0 +1,17 @@ + + + +
+
+ +
+
+ \ No newline at end of file diff --git a/patterns/header-with-buttons.php b/patterns/header-with-buttons.php new file mode 100644 index 0000000..7a2654d --- /dev/null +++ b/patterns/header-with-buttons.php @@ -0,0 +1,25 @@ + + + +
+
+ + +
+ + + + + +
+
+
+ \ No newline at end of file diff --git a/patterns/header-with-vertical-navigation.php b/patterns/header-with-vertical-navigation.php new file mode 100644 index 0000000..cdcebff --- /dev/null +++ b/patterns/header-with-vertical-navigation.php @@ -0,0 +1,19 @@ + + + +
+
+ + +
+
+
+ \ No newline at end of file diff --git a/patterns/header.php b/patterns/header.php new file mode 100644 index 0000000..f5cdb4e --- /dev/null +++ b/patterns/header.php @@ -0,0 +1,17 @@ + + + +
+
+ +
+
+ \ No newline at end of file diff --git a/templates/single.html b/templates/single.html index 7869bc3..ca88582 100644 --- a/templates/single.html +++ b/templates/single.html @@ -6,7 +6,7 @@ -