diff --git a/darken/assets/fonts/manrope_normal_400.woff2 b/darken/assets/fonts/manrope_normal_400.woff2 new file mode 100644 index 0000000..a2691f5 Binary files /dev/null and b/darken/assets/fonts/manrope_normal_400.woff2 differ diff --git a/darken/assets/fonts/manrope_normal_500.woff2 b/darken/assets/fonts/manrope_normal_500.woff2 new file mode 100644 index 0000000..76ebbea Binary files /dev/null and b/darken/assets/fonts/manrope_normal_500.woff2 differ diff --git a/darken/assets/fonts/manrope_normal_600.woff2 b/darken/assets/fonts/manrope_normal_600.woff2 new file mode 100644 index 0000000..68deb49 Binary files /dev/null and b/darken/assets/fonts/manrope_normal_600.woff2 differ diff --git a/darken/assets/fonts/manrope_normal_700.woff2 b/darken/assets/fonts/manrope_normal_700.woff2 new file mode 100644 index 0000000..42d6766 Binary files /dev/null and b/darken/assets/fonts/manrope_normal_700.woff2 differ diff --git a/darken/assets/images/banner-img.png b/darken/assets/images/banner-img.png new file mode 100644 index 0000000..230bf5b Binary files /dev/null and b/darken/assets/images/banner-img.png differ diff --git a/darken/assets/images/design-img.jpg b/darken/assets/images/design-img.jpg new file mode 100644 index 0000000..c3245c1 Binary files /dev/null and b/darken/assets/images/design-img.jpg differ diff --git a/darken/assets/images/development-img.jpg b/darken/assets/images/development-img.jpg new file mode 100644 index 0000000..c858bde Binary files /dev/null and b/darken/assets/images/development-img.jpg differ diff --git a/darken/assets/images/strategy-img.jpg b/darken/assets/images/strategy-img.jpg new file mode 100644 index 0000000..8d68310 Binary files /dev/null and b/darken/assets/images/strategy-img.jpg differ diff --git a/darken/functions.php b/darken/functions.php new file mode 100644 index 0000000..26e74e2 --- /dev/null +++ b/darken/functions.php @@ -0,0 +1,30 @@ +get( 'Version' ) + ); + + // Enqueue theme stylesheet. + wp_enqueue_style( 'darken-style' ); + + } + +endif; + +add_action( 'wp_enqueue_scripts', 'darken_styles' ); +add_action( 'enqueue_block_editor_assets', 'darken_styles' ); \ No newline at end of file diff --git a/darken/parts/footer.html b/darken/parts/footer.html new file mode 100644 index 0000000..0ce6f39 --- /dev/null +++ b/darken/parts/footer.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/darken/parts/header.html b/darken/parts/header.html new file mode 100644 index 0000000..4b21ccc --- /dev/null +++ b/darken/parts/header.html @@ -0,0 +1,15 @@ + +
+
+
+
+ + +
+
+ + +
+
+
+ \ No newline at end of file diff --git a/darken/patterns/404.php b/darken/patterns/404.php new file mode 100644 index 0000000..9381e18 --- /dev/null +++ b/darken/patterns/404.php @@ -0,0 +1,28 @@ + + + +
+
+

+ +

+ + + +

+ + + +
+
+
+
+
+ \ No newline at end of file diff --git a/darken/patterns/blog-post.php b/darken/patterns/blog-post.php new file mode 100644 index 0000000..79573d4 --- /dev/null +++ b/darken/patterns/blog-post.php @@ -0,0 +1,24 @@ + + +
+ +
+ + + +
+ + + + + + + +
+ \ No newline at end of file diff --git a/darken/patterns/footer.php b/darken/patterns/footer.php new file mode 100644 index 0000000..e3a6dd0 --- /dev/null +++ b/darken/patterns/footer.php @@ -0,0 +1,54 @@ + + + + + + + +
+
+ + + + +
+

+
+
+ + + +
+
+

+ + + +

+
+
+
+ + + +
+
+
+

+ + + +< +
+
+
+ \ No newline at end of file diff --git a/darken/patterns/homepage.php b/darken/patterns/homepage.php new file mode 100644 index 0000000..8bf9122 --- /dev/null +++ b/darken/patterns/homepage.php @@ -0,0 +1,115 @@ + + +
+
+
+
+
+ + + + + + + +
+
+ + + +


&

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

+ + + + +
+ + + +
+

+ + + + + +
+
+
+ + + + +
+
+ diff --git a/darken/readme.txt b/darken/readme.txt new file mode 100644 index 0000000..5103ca6 --- /dev/null +++ b/darken/readme.txt @@ -0,0 +1,44 @@ +== Darken == + +Contributors: +Requires at least: 6.7 +Tested up to: 6.7 +Requires PHP: 5.7 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + + +== Changelog == + += 1.0.0 = +* Initial release + + +== Copyright == + +Darken WordPress Theme, (C) 2025 +Darken is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +== Font License == + +Manrope font +License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1 +Source: https://fonts.google.com/specimen/Manrope + +== Images License == + +https://pxhere.com/en/photo/714525 [https://pxhere.com/en/license] +https://pxhere.com/en/photo/764644 [https://pxhere.com/en/license] +https://pxhere.com/en/photo/912909 [https://pxhere.com/en/license] +https://pxhere.com/en/photo/209572 [https://pxhere.com/en/license] + diff --git a/darken/screenshot.png b/darken/screenshot.png new file mode 100644 index 0000000..2105ca4 Binary files /dev/null and b/darken/screenshot.png differ diff --git a/darken/style.css b/darken/style.css new file mode 100644 index 0000000..c53dce9 --- /dev/null +++ b/darken/style.css @@ -0,0 +1,100 @@ +/* +Theme Name: Darken +Theme URI: +Author: +Author URI: +Description: +Requires at least: 6.7 +Tested up to: 6.7 +Requires PHP: 5.7 +Version: +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: darken +Tags: blog, portfolio, one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks +*/ + +body a { + transition: all 0.3s ease-in-out; +} + +.heading-dot { + position: relative; + width: 100%; +} + +.heading-dot:after { + content: "\2022"; + font-size: 32px; + line-height: 1; + right: 0; + vertical-align: middle; + position: absolute; + color: var(--wp--preset--color--secondary); +} + +/* Change the WordPress default css to a 782px media query */ +@media (min-width: 782px) { + .wp-block-navigation__responsive-container-open:not(.always-shown) { + display: none !important; + } + + .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { + display: block !important; + width: 100%; + position: relative; + z-index: auto; + background-color: inherit; + } + + .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content { + justify-content: center; + } +} + +/* Remove the WordPress default for 600px */ +@media (min-width: 600px) { + .wp-block-navigation__responsive-container-open:not(.always-shown) { + display: flex; + } + + .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { + display: none; + } +} + +/* Footer CSS */ + +.p-links a { + color: var(--wp--preset--color--secondary); +} + +.p-links a:hover { + color: var(--wp--preset--color--secondary); +} + +.footer-clip { + width: 100%; + overflow: hidden; + white-space: nowrap; +} + +.footer-clip p { + width: 100%; + font-weight: 600; + display: inline-block; + white-space: nowrap; + animation: scroll-left 12s linear infinite; +} + +@keyframes scroll-left { + from { + transform: translateX(0); + /* Start at the initial position */ + } + + to { + transform: translateX(-100%); + /* Move left by one full container's width */ + } +} \ No newline at end of file diff --git a/darken/styles/dark.json b/darken/styles/dark.json new file mode 100644 index 0000000..601791f --- /dev/null +++ b/darken/styles/dark.json @@ -0,0 +1,97 @@ +{ + "version": 3, + "$schema": "https://schemas.wp.org/wp/6.7/theme.json", + "title": "Dark", + "settings": { + "color": { + "palette": [ + { + "color": "#ffffff", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#3E06E0", + "name": "Secondary", + "slug": "secondary" + }, + { + "color": "#737373", + "name": "Grey", + "slug": "grey_color" + } + ] + } + }, + "styles": { + "blocks": { + "core/button": { + "color": { + "background": "var(--wp--preset--color--secondary)", + "text": "var(--wp--preset--color--white)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--white)" + } + } + }, + "variations": { + "outline": { + "color": { + "text": "var(--wp--preset--color--primary)", + "background": "transparent" + }, + "border": { + "top": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "2px" + }, + "right": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "2px" + }, + "bottom": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "2px" + }, + "left": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "2px" + } + } + } + } + } + }, + "color": { + "background": "#1B1922", + "text": "#ffffff" + }, + "elements": { + "link": { + ":hover": { + "color": { + "text": "var(--wp--preset--color--secondary)" + } + }, + ":active": { + "color": { + "text": "var(--wp--preset--color--secondary)" + } + }, + "color": { + "text": "#ffffff" + }, + "typography": { + "textDecoration": "none" + } + } + } + } +} \ No newline at end of file diff --git a/darken/templates/404.html b/darken/templates/404.html new file mode 100644 index 0000000..1e05aae --- /dev/null +++ b/darken/templates/404.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/darken/templates/archive.html b/darken/templates/archive.html new file mode 100644 index 0000000..62bc7a9 --- /dev/null +++ b/darken/templates/archive.html @@ -0,0 +1,45 @@ + + + +
+ + + + + + + +
+ + +
+ + + + +
+ + + + + + +
+ + + +
+ + + + + + + +
+ +
+ + + \ No newline at end of file diff --git a/darken/templates/index.html b/darken/templates/index.html new file mode 100644 index 0000000..ffcd432 --- /dev/null +++ b/darken/templates/index.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/darken/templates/page.html b/darken/templates/page.html new file mode 100644 index 0000000..8284ffc --- /dev/null +++ b/darken/templates/page.html @@ -0,0 +1,18 @@ + + + +
+ +
+ + + + + +
+ +
+ + + \ No newline at end of file diff --git a/darken/templates/search.html b/darken/templates/search.html new file mode 100644 index 0000000..d3dfdb9 --- /dev/null +++ b/darken/templates/search.html @@ -0,0 +1,35 @@ + + + +
+ +
+ + + + + +
+ + + + + + + + + + + +
+ + + +
+ +
+ + + \ No newline at end of file diff --git a/darken/templates/single.html b/darken/templates/single.html new file mode 100644 index 0000000..25f2cf5 --- /dev/null +++ b/darken/templates/single.html @@ -0,0 +1,89 @@ + + + +
+ +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + + + +
+ + + +
+ +
+ + + +
+
+ +
+ + + +
+ + + +
+ + +
+ + + + + +
+ +
+ + + + + + + + + + +
+ +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/darken/theme.json b/darken/theme.json new file mode 100644 index 0000000..0430f66 --- /dev/null +++ b/darken/theme.json @@ -0,0 +1,281 @@ +{ + "$schema": "https://schemas.wp.org/wp/6.7/theme.json", + "settings": { + "appearanceTools": true, + "color": { + "palette": [ + { + "color": "#1B1922", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#3E06E0", + "name": "Secondary", + "slug": "secondary" + }, + { + "color": "#737373", + "name": "Grey", + "slug": "grey_color" + } + ] + }, + "layout": { + "contentSize": "1300px", + "wideSize": "1500px" + }, + "spacing": { + "units": [ + "%", + "px", + "em", + "rem", + "vh", + "vw" + ] + }, + "typography": { + "fontFamilies": [ + { + "fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif", + "name": "System Font", + "slug": "system-font" + }, + { + "name": "Manrope", + "slug": "manrope", + "fontFamily": "Manrope, sans-serif", + "fontFace": [ + { + "src": [ + "file:./assets/fonts/manrope_normal_400.woff2" + ], + "fontWeight": "400", + "fontStyle": "normal", + "fontFamily": "Manrope" + }, + { + "src": [ + "file:./assets/fonts/manrope_normal_500.woff2" + ], + "fontWeight": "500", + "fontStyle": "normal", + "fontFamily": "Manrope" + }, + { + "src": [ + "file:./assets/fonts/manrope_normal_600.woff2" + ], + "fontWeight": "600", + "fontStyle": "normal", + "fontFamily": "Manrope" + }, + { + "src": [ + "file:./assets/fonts/manrope_normal_700.woff2" + ], + "fontWeight": "700", + "fontStyle": "normal", + "fontFamily": "Manrope" + } + ] + } + ], + "defaultFontSizes": false, + "customFontSize": true, + "fontSizes": [ + { + "slug": "x-small", + "size": "1.5rem", + "name": "Extra Small" + }, + { + "fluid": true, + "slug": "small", + "size": "2rem", + "name": "Small" + }, + { + "fluid": true, + "slug": "medium", + "size": "3rem", + "name": "Medium" + }, + { + "fluid": true, + "slug": "large", + "size": "4.6875rem", + "name": "Large" + }, + { + "fluid": true, + "slug": "x-large", + "size": "7.5rem", + "name": "Extra Large" + }, + { + "fluid": true, + "slug": "xx-large", + "size": "11.25rem", + "name": "Extra Extra Large" + } + ] + }, + "useRootPaddingAwareAlignments": true + }, + "styles": { + "blocks": { + "core/post-content": { + "elements": { + "link": { + "typography": { + "textDecoration": "underline" + } + } + } + }, + "core/button": { + "color": { + "background": "var(--wp--preset--color--secondary)", + "text": "var(--wp--preset--color--white)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--white)" + } + } + }, + "variations": { + "outline": { + "color": { + "text": "var(--wp--preset--color--secondary)", + "background": "transparent" + }, + "border": { + "top": { + "color": "var(--wp--preset--color--secondary)", + "style": "solid", + "width": "2px" + }, + "right": { + "color": "var(--wp--preset--color--secondary)", + "style": "solid", + "width": "2px" + }, + "bottom": { + "color": "var(--wp--preset--color--secondary)", + "style": "solid", + "width": "2px" + }, + "left": { + "color": "var(--wp--preset--color--secondary)", + "style": "solid", + "width": "2px" + } + } + } + } + }, + "core/query-pagination-numbers": { + "typography": { + "letterSpacing": "5px" + } + } + }, + "color": { + "background": "#E5E5F3", + "text": "#000000" + }, + "elements": { + "heading": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + }, + "h1": { + "typography": { + "fontSize": "var:preset|font-size|xx-large", + "fontStyle": "normal", + "fontWeight": "600", + "lineHeight": "1", + "letterSpacing": "-6px" + } + }, + "h2": { + "typography": { + "fontSize": "var:preset|font-size|x-large", + "fontStyle": "normal", + "fontWeight": "600", + "lineHeight": "1", + "letterSpacing": "-2px" + } + }, + "h3": { + "typography": { + "fontSize": "var:preset|font-size|large", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.15", + "letterSpacing": "-2px" + } + }, + "h4": { + "typography": { + "fontSize": "var:preset|font-size|medium", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.15", + "letterSpacing": "-2px" + } + }, + "h5": { + "typography": { + "fontSize": "var:preset|font-size|small", + "fontStyle": "normal", + "fontWeight": "700", + "lineHeight": "1.15", + "letterSpacing": "-1px" + } + }, + "link": { + ":hover": { + "color": { + "text": "var(--wp--preset--color--secondary)" + } + }, + ":active": { + "color": { + "text": "var(--wp--preset--color--secondary)" + } + }, + "color": { + "text": "#000000" + }, + "typography": { + "textDecoration": "none" + } + } + }, + "spacing": { + "blockGap": "20px" + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--manrope)", + "fontSize": "1rem" + }, + "css": ".heading-dot {\n position: relative;\nwidth: 100%;\n}\n\n.heading-dot:after {\n content: \"\\2022\";\n font-size: 32px;\n line-height: 1;\n right: 0;\n vertical-align: middle;\n position: absolute;\ncolor: var(--wp--preset--color--secondary);\n}" + }, + "templateParts": [ + { + "area": "header", + "name": "header" + }, + { + "area": "footer", + "name": "footer" + } + ], + "version": 3 +} \ No newline at end of file