summaryrefslogtreecommitdiff
path: root/extras/html/themes/twilight_meadow
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/twilight_meadow
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/twilight_meadow')
-rw-r--r--extras/html/themes/twilight_meadow/LICENSE21
-rw-r--r--extras/html/themes/twilight_meadow/code.ttfbin0 -> 64104 bytes
-rw-r--r--extras/html/themes/twilight_meadow/example.html75
-rw-r--r--extras/html/themes/twilight_meadow/handnotes.ttfbin0 -> 38344 bytes
-rw-r--r--extras/html/themes/twilight_meadow/style.css198
-rw-r--r--extras/html/themes/twilight_meadow/theme.conf8
6 files changed, 302 insertions, 0 deletions
diff --git a/extras/html/themes/twilight_meadow/LICENSE b/extras/html/themes/twilight_meadow/LICENSE
new file mode 100644
index 0000000..b0de9bb
--- /dev/null
+++ b/extras/html/themes/twilight_meadow/LICENSE
@@ -0,0 +1,21 @@
+Theme: twilight_meadow
+Generated: 2025-06-22 21:38:55
+
+Layout: swiss
+Color Scheme: complementary (Light)
+
+Font Licenses:
+==============
+Heading Font: roboto-slab
+License: Apache
+Category: serif
+
+Body Font: oxygen
+License: OFL
+Category: sans-serif
+
+Code Font: intelone-mono
+License: OFL
+Category: monospace
+
+All fonts are free for personal use.
diff --git a/extras/html/themes/twilight_meadow/code.ttf b/extras/html/themes/twilight_meadow/code.ttf
new file mode 100644
index 0000000..2711179
--- /dev/null
+++ b/extras/html/themes/twilight_meadow/code.ttf
Binary files differ
diff --git a/extras/html/themes/twilight_meadow/example.html b/extras/html/themes/twilight_meadow/example.html
new file mode 100644
index 0000000..ee5dd34
--- /dev/null
+++ b/extras/html/themes/twilight_meadow/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>Twilight Meadow - Gemtexter Theme</title>
+ <link rel="stylesheet" href="style.css" />
+</head>
+<body>
+ <div class="header">
+ <h1>Twilight Meadow</h1>
+ <p>A swiss layout with complementary colors</p>
+ </div>
+
+ <div class="content">
+ <h1>Welcome to Twilight Meadow</h1>
+ <p>This theme features a carefully crafted swiss layout with a light complementary color scheme. The typography combines serif fonts for headings with sans-serif for body text.</p>
+
+ <h2>Typography Showcase</h2>
+ <p>The oxygen font family provides excellent readability for body text, while roboto-slab adds character to headings. Code blocks use intelone-mono for clarity.</p>
+
+ <h2>Color Palette</h2>
+ <p>Primary: <span style="color: #88c599; font-weight: bold;">#88c599</span> |
+ Secondary: <span style="color: #bf8eb1; font-weight: bold;">#bf8eb1</span> |
+ Accent: <span style="color: #6c9e7a; font-weight: bold;">#6c9e7a</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: "twilight_meadow",
+ layout: "swiss",
+ colors: {
+ primary: "#88c599",
+ secondary: "#bf8eb1",
+ accent: "#6c9e7a"
+ },
+ fonts: {
+ heading: "roboto-slab",
+ body: "oxygen",
+ code: "intelone-mono"
+ }
+};</pre>
+
+ <h2>Content Structure</h2>
+ <ul>
+ <li>Clean, readable typography with 18px base font size</li>
+ <li>Heading scale ratio of 2.37x for visual hierarchy</li>
+ <li>Line height of 1.48 for comfortable reading</li>
+ <li>Swiss layout optimized for content flow</li>
+ <li>Light theme with complementary color harmony</li>
+ </ul>
+
+ <h2>Font Licensing</h2>
+ <p>All fonts used in this theme are properly licensed:</p>
+ <ul>
+ <li>roboto-slab: Apache License</li>
+ <li>oxygen: OFL License</li>
+ <li>intelone-mono: OFL License</li>
+ </ul>
+
+ <h3>Final Thoughts</h3>
+ <p>Every element of this theme has been carefully designed to create a harmonious reading experience. The swiss 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/twilight_meadow/handnotes.ttf b/extras/html/themes/twilight_meadow/handnotes.ttf
new file mode 100644
index 0000000..25e688b
--- /dev/null
+++ b/extras/html/themes/twilight_meadow/handnotes.ttf
Binary files differ
diff --git a/extras/html/themes/twilight_meadow/style.css b/extras/html/themes/twilight_meadow/style.css
new file mode 100644
index 0000000..847f468
--- /dev/null
+++ b/extras/html/themes/twilight_meadow/style.css
@@ -0,0 +1,198 @@
+/* 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: #88c599;
+ --color-secondary: #bf8eb1;
+ --color-accent: #6c9e7a;
+ --color-bg: #edf0ee;
+ --color-text: #232323;
+ --font-size-base: 18px;
+ --font-size-h1: 2.37em;
+ --font-size-h2: 1.78em;
+ --font-size-h3: 1.33em;
+ --line-height: 1.48;
+}
+
+* {
+ 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(136, 197, 153, 0.07);
+ font-style: italic;
+}
+
+pre {
+ font-family: code, monospace;
+ background-color: rgba(35, 35, 35, 0.04);
+ border: 1px solid rgba(35, 35, 35, 0.13);
+ padding: 1em;
+ overflow-x: auto;
+ border-radius: 4px;
+ font-size: 0.9em;
+}
+
+code {
+ font-family: code, monospace;
+ background-color: rgba(35, 35, 35, 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(35, 35, 35, 0.20);
+ margin: 2em 0;
+}
+
+
+/* Layout: swiss */
+
+body {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 2em;
+ display: grid;
+ grid-template-columns: repeat(6, 1fr);
+ gap: 2em;
+}
+
+.header {
+ grid-column: 1 / -1;
+ display: grid;
+ grid-template-columns: repeat(6, 1fr);
+ gap: 2em;
+ margin-bottom: 4em;
+ padding-bottom: 2em;
+ border-bottom: 4px solid var(--color-text);
+}
+
+.header h1 {
+ grid-column: 1 / 4;
+ font-size: 4em;
+ margin: 0;
+ line-height: 0.9;
+}
+
+.header p {
+ grid-column: 4 / -1;
+ align-self: end;
+}
+
+h1 {
+ grid-column: 1 / -1;
+ font-size: 3em;
+ margin: 1em 0 0.5em 0;
+}
+
+h2 {
+ grid-column: 1 / 5;
+ margin-top: 2em;
+}
+
+h3 {
+ grid-column: 2 / 6;
+}
+
+p, ul, pre {
+ grid-column: 2 / 6;
+}
+
+.quote {
+ grid-column: 1 / -1;
+ font-size: 1.5em;
+ text-align: center;
+ margin: 2em 0;
+}
diff --git a/extras/html/themes/twilight_meadow/theme.conf b/extras/html/themes/twilight_meadow/theme.conf
new file mode 100644
index 0000000..19a2553
--- /dev/null
+++ b/extras/html/themes/twilight_meadow/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/roboto-slab/roboto-slab-Bold.ttf
+declare -xr HTML_WEBFONT_TEXT=./extras/html/fonts/oxygen/oxygen-Regular.ttf
+declare -xr HTML_WEBFONT_CODE=./extras/html/fonts/intelone-mono/intelone-mono-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