summaryrefslogtreecommitdiff
path: root/extras/html/themes/clean_garden
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-22 22:06:43 +0300
committerPaul Buetow <paul@buetow.org>2025-06-22 22:06:43 +0300
commit3af674aebad9e3792fbf13b3cbda7b1691b1f4f3 (patch)
treec70f6033d21628579d96044c89a060e9031dbf8b /extras/html/themes/clean_garden
parent99078f90bf5222c618a60e536cb148850e4b89e2 (diff)
Add 50 new experimental HTML themes for Gemtexter
- Generated 50 unique themes with creative layouts and color schemes - Each theme includes: - Custom CSS with W3C validated styles - Example HTML preview page - Font files with proper licensing - Theme configuration file - License documentation - Layout types include: centered, wide, magazine, card, brutalist, terminal, book, hero, sidebar, and more creative designs - All themes support both light and dark color schemes - Fixed CSS validation issues for W3C compliance - Created theme gallery page at extras/html/themes/index.html - Added screenshot previews for all themes - Utility scripts included: - generate_50_themes.py - Main theme generator - fix_css_validation.py - CSS validator/fixer - create_theme_previews.py - Screenshot generator - Theme gallery with filtering at index.html 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'extras/html/themes/clean_garden')
-rw-r--r--extras/html/themes/clean_garden/LICENSE21
-rw-r--r--extras/html/themes/clean_garden/code.ttfbin0 -> 367144 bytes
-rw-r--r--extras/html/themes/clean_garden/example.html75
-rw-r--r--extras/html/themes/clean_garden/handnotes.ttfbin0 -> 38344 bytes
-rw-r--r--extras/html/themes/clean_garden/heading.ttfbin0 -> 58448 bytes
-rw-r--r--extras/html/themes/clean_garden/style.css176
-rw-r--r--extras/html/themes/clean_garden/text.ttfbin0 -> 149120 bytes
-rw-r--r--extras/html/themes/clean_garden/theme.conf8
8 files changed, 280 insertions, 0 deletions
diff --git a/extras/html/themes/clean_garden/LICENSE b/extras/html/themes/clean_garden/LICENSE
new file mode 100644
index 0000000..d975ff5
--- /dev/null
+++ b/extras/html/themes/clean_garden/LICENSE
@@ -0,0 +1,21 @@
+Theme: clean_garden
+Generated: 2025-06-22 21:38:55
+
+Layout: hero
+Color Scheme: analogous (Dark)
+
+Font Licenses:
+==============
+Heading Font: Abril_Fatface
+License: OFL
+Category: display
+
+Body Font: Merriweather
+License: OFL
+Category: serif
+
+Code Font: hack
+License: MIT
+Category: monospace
+
+All fonts are free for personal use.
diff --git a/extras/html/themes/clean_garden/code.ttf b/extras/html/themes/clean_garden/code.ttf
new file mode 100644
index 0000000..7c8e65b
--- /dev/null
+++ b/extras/html/themes/clean_garden/code.ttf
Binary files differ
diff --git a/extras/html/themes/clean_garden/example.html b/extras/html/themes/clean_garden/example.html
new file mode 100644
index 0000000..a55ece8
--- /dev/null
+++ b/extras/html/themes/clean_garden/example.html
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Clean Garden - Gemtexter Theme</title>
+ <link rel="stylesheet" href="style.css" />
+</head>
+<body>
+ <div class="header">
+ <h1>Clean Garden</h1>
+ <p>A hero layout with analogous colors</p>
+ </div>
+
+ <div class="content">
+ <h1>Welcome to Clean Garden</h1>
+ <p>This theme features a carefully crafted hero layout with a dark analogous color scheme. The typography combines display fonts for headings with serif for body text.</p>
+
+ <h2>Typography Showcase</h2>
+ <p>The Merriweather font family provides excellent readability for body text, while Abril Fatface adds character to headings. Code blocks use hack for clarity.</p>
+
+ <h2>Color Palette</h2>
+ <p>Primary: <span style="color: #ecaf10; font-weight: bold;">#ecaf10</span> |
+ Secondary: <span style="color: #b9e11b; font-weight: bold;">#b9e11b</span> |
+ Accent: <span style="color: #d43e0e; font-weight: bold;">#d43e0e</span></p>
+
+ <h3>Interactive Elements</h3>
+ <p>Links like <a href="#">this example</a> and longer <a href="#" class="textlink">text links that demonstrate the theme's navigation style</a> use the secondary color.</p>
+
+ <div class="quote">
+ "Design is not just what it looks like and feels like. Design is how it works." — Steve Jobs
+ </div>
+
+ <h3>Code Examples</h3>
+ <p>Inline code like <code>theme.generate()</code> and larger blocks:</p>
+ <pre>// Theme configuration
+const theme = {
+ name: "clean_garden",
+ layout: "hero",
+ colors: {
+ primary: "#ecaf10",
+ secondary: "#b9e11b",
+ accent: "#d43e0e"
+ },
+ fonts: {
+ heading: "Abril_Fatface",
+ body: "Merriweather",
+ code: "hack"
+ }
+};</pre>
+
+ <h2>Content Structure</h2>
+ <ul>
+ <li>Clean, readable typography with 18px base font size</li>
+ <li>Heading scale ratio of 2.83x for visual hierarchy</li>
+ <li>Line height of 1.77 for comfortable reading</li>
+ <li>Hero layout optimized for content flow</li>
+ <li>Dark theme with analogous color harmony</li>
+ </ul>
+
+ <h2>Font Licensing</h2>
+ <p>All fonts used in this theme are properly licensed:</p>
+ <ul>
+ <li>Abril_Fatface: OFL License</li>
+ <li>Merriweather: OFL License</li>
+ <li>hack: MIT License</li>
+ </ul>
+
+ <h3>Final Thoughts</h3>
+ <p>Every element of this theme has been carefully designed to create a harmonious reading experience. The hero layout ensures content is presented in an engaging way, while the color scheme provides the perfect backdrop for your words to shine.</p>
+
+ <p>Whether you're writing technical documentation, creative prose, or anything in between, this theme adapts to showcase your content beautifully.</p>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/extras/html/themes/clean_garden/handnotes.ttf b/extras/html/themes/clean_garden/handnotes.ttf
new file mode 100644
index 0000000..25e688b
--- /dev/null
+++ b/extras/html/themes/clean_garden/handnotes.ttf
Binary files differ
diff --git a/extras/html/themes/clean_garden/heading.ttf b/extras/html/themes/clean_garden/heading.ttf
new file mode 100644
index 0000000..a291711
--- /dev/null
+++ b/extras/html/themes/clean_garden/heading.ttf
Binary files differ
diff --git a/extras/html/themes/clean_garden/style.css b/extras/html/themes/clean_garden/style.css
new file mode 100644
index 0000000..f883820
--- /dev/null
+++ b/extras/html/themes/clean_garden/style.css
@@ -0,0 +1,176 @@
+/* Base styles */
+@font-face {
+ font-family: 'text';
+ src: url("./text.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: 'heading';
+ src: url("./heading.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: 'code';
+ src: url("./code.ttf") format("truetype");
+}
+
+@font-face {
+ font-family: 'handnotes';
+ src: url("./handnotes.ttf") format("truetype");
+}
+
+:root {
+ --color-primary: #ecaf10;
+ --color-secondary: #b9e11b;
+ --color-accent: #d43e0e;
+ --color-bg: #282620;
+ --color-text: #d9d9d9;
+ --font-size-base: 18px;
+ --font-size-h1: 2.83em;
+ --font-size-h2: 2.0em;
+ --font-size-h3: 1.41em;
+ --line-height: 1.77;
+}
+
+* {
+ box-sizing: border-box;
+}
+
+html {
+ font-size: var(--font-size-base);
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+body {
+ font-family: text, sans-serif;
+ background-color: var(--color-bg);
+ color: var(--color-text);
+ line-height: var(--line-height);
+ margin: 0;
+ padding: 0;
+ overflow-wrap: break-word;
+}
+
+h1, h2, h3 {
+ font-family: heading, serif;
+ line-height: 1.2;
+ margin-top: 1em;
+ margin-bottom: 0.5em;
+}
+
+h1 {
+ font-size: var(--font-size-h1);
+ color: var(--color-primary);
+}
+
+h2 {
+ font-size: var(--font-size-h2);
+ color: var(--color-primary);
+}
+
+h3 {
+ font-size: var(--font-size-h3);
+ color: var(--color-secondary);
+}
+
+a {
+ font-family: code, monospace;
+ color: var(--color-secondary);
+ text-decoration: none;
+ transition: all 0.3s ease;
+}
+
+a:hover {
+ color: var(--color-accent);
+ text-decoration: underline;
+}
+
+.textlink {
+ font-family: text, sans-serif;
+}
+
+.quote {
+ font-family: handnotes, cursive;
+ border-left: 4px solid var(--color-accent);
+ padding: 1em 1.5em;
+ margin: 1.5em 0;
+ background-color: rgba(236, 175, 16, 0.07);
+ font-style: italic;
+}
+
+pre {
+ font-family: code, monospace;
+ background-color: rgba(217, 217, 217, 0.04);
+ border: 1px solid rgba(217, 217, 217, 0.13);
+ padding: 1em;
+ overflow-x: auto;
+ border-radius: 4px;
+ font-size: 0.9em;
+}
+
+code {
+ font-family: code, monospace;
+ background-color: rgba(217, 217, 217, 0.04);
+ padding: 0.2em 0.4em;
+ border-radius: 3px;
+ font-size: 0.9em;
+}
+
+ul, ol {
+ padding-left: 2em;
+ margin: 1em 0;
+}
+
+li {
+ margin: 0.5em 0;
+}
+
+img {
+ max-width: 100%;
+ height: auto;
+}
+
+hr {
+ border: none;
+ border-top: 1px solid rgba(217, 217, 217, 0.20);
+ margin: 2em 0;
+}
+
+
+/* Layout: hero */
+
+body {
+ margin: 0;
+ padding: 0;
+}
+
+.header {
+ min-height: 80vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ background: linear-gradient(135deg, rgba(236, 175, 16, 0.80), rgba(185, 225, 27, 0.80)), linear-gradient(45deg, rgba(212, 62, 14, 0.13), transparent);
+ color: var(--color-bg);
+ text-align: center;
+ position: relative;
+}
+
+.header h1 {
+ font-size: 5em;
+ margin: 0;
+ color: var(--color-bg);
+ text-shadow: 0 4px 8px rgba(0,0,0,0.3);
+}
+
+.header p {
+ font-size: 1.5em;
+ opacity: 0.9;
+}
+
+.content {
+ max-width: 65ch;
+ margin: 4em auto;
+ padding: 0 2em;
+}
diff --git a/extras/html/themes/clean_garden/text.ttf b/extras/html/themes/clean_garden/text.ttf
new file mode 100644
index 0000000..3fecc77
--- /dev/null
+++ b/extras/html/themes/clean_garden/text.ttf
Binary files differ
diff --git a/extras/html/themes/clean_garden/theme.conf b/extras/html/themes/clean_garden/theme.conf
new file mode 100644
index 0000000..7673f51
--- /dev/null
+++ b/extras/html/themes/clean_garden/theme.conf
@@ -0,0 +1,8 @@
+declare -xr HTML_HEADER=./extras/html/header.html.part
+declare -xr HTML_FOOTER=./extras/html/footer.html.part
+declare -xr HTML_CSS_STYLE=$HTML_THEME_DIR/style.css
+declare -xr HTML_WEBFONT_HEADING=./extras/html/fonts/Abril_Fatface/Abril_Fatface-Bold.ttf
+declare -xr HTML_WEBFONT_TEXT=./extras/html/fonts/Merriweather/Merriweather-Regular.ttf
+declare -xr HTML_WEBFONT_CODE=./extras/html/fonts/hack/hack-Regular.ttf
+declare -xr HTML_WEBFONT_HANDNOTES=./extras/html/fonts/khand/khand.ttf
+declare -xr SOURCE_HIGHLIGHT_CSS=./extras/html/source-highlight-styles/mono.css