commit 8ad989701c908899f84e69b5d767f3d8090af1a7 Author: crille Date: Sun Apr 5 14:14:07 2026 +0200 Startpunkten diff --git a/parts/part-footer.html b/parts/part-footer.html new file mode 100644 index 0000000..f574812 --- /dev/null +++ b/parts/part-footer.html @@ -0,0 +1,43 @@ + +
+
+
+

Foot 1

+ + + +

Text text text

+
+ + + +
+

Foot 2

+ + + +

Text text text

+
+ + + +
+

Foot 3

+ + + +

Text text text

+
+ + + +
+

Foot 4

+ + + +

Text text text

+
+
+
+ \ No newline at end of file diff --git a/parts/part-header.html b/parts/part-header.html new file mode 100644 index 0000000..9a7ff85 --- /dev/null +++ b/parts/part-header.html @@ -0,0 +1,7 @@ + +
+
+ +
+
+ \ No newline at end of file diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..a26bbf3 --- /dev/null +++ b/readme.txt @@ -0,0 +1,36 @@ +== wp-theme-crille2026 == + +Contributors: Christian Ohlsson +Requires at least: 6.9 +Tested up to: 6.9 +Requires PHP: 5.7 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + + +== Description == + +Blocktema som används på crille.org + + +== Changelog == + += 1.0.0 = +* Initial release + + +== Copyright == + +wp-theme-crille2026 WordPress Theme, (C) 2026 Christian Ohlsson +wp-theme-crille2026 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. + diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..9a6784d Binary files /dev/null and b/screenshot.png differ diff --git a/style.css b/style.css new file mode 100644 index 0000000..a57801a --- /dev/null +++ b/style.css @@ -0,0 +1,16 @@ +/* +Theme Name: wp-theme-crille2026 +Theme URI: +Author: Christian Ohlsson +Author URI: +Description: Blocktema som används på crille.org +Requires at least: 6.9 +Tested up to: 6.9 +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: wp-theme-crille2026 +Tags: +*/ + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..66427cd --- /dev/null +++ b/templates/index.html @@ -0,0 +1,7 @@ + + + +
+ + + \ No newline at end of file diff --git a/templates/mall-startsida.html b/templates/mall-startsida.html new file mode 100644 index 0000000..66427cd --- /dev/null +++ b/templates/mall-startsida.html @@ -0,0 +1,7 @@ + + + +
+ + + \ No newline at end of file diff --git a/theme.json b/theme.json new file mode 100644 index 0000000..bdac325 --- /dev/null +++ b/theme.json @@ -0,0 +1,208 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + + "settings": { + "color": { + "palette": [ + { "slug": "background-primary", "name": "Background Primary", "color": "#0E0F12" }, + { + "slug": "background-secondary", + "name": "Background Secondary", + "color": "#16181D" + }, + { + "slug": "background-tertiary", + "name": "Background Tertiary", + "color": "#1F2228" + }, + + { "slug": "text-primary", "name": "Text Primary", "color": "#E8EAF0" }, + { "slug": "text-secondary", "name": "Text Secondary", "color": "#B6BAC6" }, + { "slug": "text-muted", "name": "Text Muted", "color": "#7A7F8A" }, + + { "slug": "blue", "name": "Accent Blue", "color": "#4DA3FF" }, + { "slug": "blue-hover", "name": "Accent Blue Hover", "color": "#82C4FF" }, + { "slug": "orange", "name": "Accent Orange", "color": "#FF8F3F" }, + { "slug": "orange-hover", "name": "Accent Orange Hover", "color": "#FFB27A" }, + + { "slug": "code-bg", "name": "Code Background", "color": "#1A1D23" }, + { "slug": "code-border", "name": "Code Border", "color": "#2A2E37" } + ], + "duotone": [ + { + "slug": "blue-orange", + "name": "Blue + Orange", + "colors": ["#4DA3FF", "#FF8F3F"] + }, + { + "slug": "mono-dark", + "name": "Monochrome Dark", + "colors": ["#000000", "#AAAAAA"] + } + ], + "background": true, + "text": true, + "link": true + }, + + "typography": { + "fontFamilies": [ + { + "slug": "inter", + "name": "Inter", + "fontFamily": "\"Inter\", sans-serif" + }, + { + "slug": "jetbrains-mono", + "name": "JetBrains Mono", + "fontFamily": "\"JetBrains Mono\", monospace" + } + ], + "fontSizes": [ + { "slug": "small", "size": "14px" }, + { "slug": "normal", "size": "18px" }, + { "slug": "large", "size": "20px" }, + { "slug": "xl", "size": "28px" }, + { "slug": "xxl", "size": "36px" } + ], + "lineHeight": "1.7" + }, + + "layout": { + "contentSize": "720px", + "wideSize": "1100px" + }, + + "spacing": { + "units": ["px", "rem", "em", "%"], + "padding": true, + "margin": true, + "blockGap": true + }, + + "border": { + "radius": true, + "width": true, + "color": true, + "style": true + }, + + "shadow": { + "presets": [ + { + "slug": "soft", + "name": "Soft Shadow", + "shadow": "0 4px 14px rgba(0,0,0,0.4)" + }, + { + "slug": "card", + "name": "Card Shadow", + "shadow": "0 0 12px rgba(0,0,0,0.6)" + } + ] + }, + + "custom": { + "transition": "all 0.3s ease" + } + }, + + "styles": { + "color": { + "background": "var(--wp--preset--color--background-primary)", + "text": "var(--wp--preset--color--text-primary)" + }, + + "typography": { + "fontFamily": "var(--wp--preset--font-family--inter)", + "fontSize": "var(--wp--preset--font-size--normal)" + }, + + "spacing": { + "blockGap": "1.5rem", + "padding": { + "top": "0", + "right": "0", + "bottom": "0", + "left": "0" + } + }, + + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--blue)" + }, + "typography": { + "textDecoration": "none" + }, + ":hover": { + "color": { + "text": "var(--wp--preset--color--blue-hover)" + }, + "typography": { + "textDecoration": "underline" + } + } + } + }, + + "blocks": { + "core/code": { + "color": { + "background": "var(--wp--preset--color--code-bg)", + "text": "var(--wp--preset--color--text-primary)" + }, + "border": { + "color": "var(--wp--preset--color--code-border)", + "radius": "6px", + "width": "1px" + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--jetbrains-mono)", + "fontSize": "16px", + "lineHeight": "1.6" + }, + "spacing": { + "padding": { + "top": "1.2rem", + "right": "1.2rem", + "bottom": "1.2rem", + "left": "1.2rem" + } + } + }, + + "core/paragraph": { + "typography": { + "lineHeight": "1.75" + } + }, + + "core/heading": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--inter)" + } + }, + + "core/button": { + "color": { + "background": "var(--wp--preset--color--orange)", + "text": "#000000" + }, + ":hover": { + "color": { + "background": "var(--wp--preset--color--orange-hover)" + } + }, + "border": { + "radius": "4px" + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--inter)" + } + } + } + } +}