summaryrefslogtreecommitdiff
path: root/extras/html/themes/modern_rhythm
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/modern_rhythm
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/modern_rhythm')
-rw-r--r--extras/html/themes/modern_rhythm/LICENSE21
-rw-r--r--extras/html/themes/modern_rhythm/code.ttfbin0 -> 64104 bytes
-rw-r--r--extras/html/themes/modern_rhythm/example.html75
-rw-r--r--extras/html/themes/modern_rhythm/handnotes.ttfbin0 -> 38344 bytes
-rw-r--r--extras/html/themes/modern_rhythm/heading.ttfbin0 -> 38260 bytes
-rw-r--r--extras/html/themes/modern_rhythm/style.css173
-rw-r--r--extras/html/themes/modern_rhythm/text.ttfbin0 -> 149120 bytes
-rw-r--r--extras/html/themes/modern_rhythm/theme.conf8
8 files changed, 277 insertions, 0 deletions
diff --git a/extras/html/themes/modern_rhythm/LICENSE b/extras/html/themes/modern_rhythm/LICENSE
new file mode 100644
index 0000000..2917786
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/LICENSE
@@ -0,0 +1,21 @@
+Theme: modern_rhythm
+Generated: 2025-06-22 21:38:55
+
+Layout: floating
+Color Scheme: monochromatic (Dark)
+
+Font Licenses:
+==============
+Heading Font: repetition-scrolling
+License: Free
+Category: display
+
+Body Font: Merriweather
+License: OFL
+Category: serif
+
+Code Font: intelone-mono
+License: OFL
+Category: monospace
+
+All fonts are free for personal use.
diff --git a/extras/html/themes/modern_rhythm/code.ttf b/extras/html/themes/modern_rhythm/code.ttf
new file mode 100644
index 0000000..2711179
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/code.ttf
Binary files differ
diff --git a/extras/html/themes/modern_rhythm/example.html b/extras/html/themes/modern_rhythm/example.html
new file mode 100644
index 0000000..399781d
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/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>Modern Rhythm - Gemtexter Theme</title>
+ <link rel="stylesheet" href="style.css" />
+</head>
+<body>
+ <div class="header">
+ <h1>Modern Rhythm</h1>
+ <p>A floating layout with monochromatic colors</p>
+ </div>
+
+ <div class="content">
+ <h1>Welcome to Modern Rhythm</h1>
+ <p>This theme features a carefully crafted floating layout with a dark monochromatic 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 repetition-scrolling adds character to headings. Code blocks use intelone-mono for clarity.</p>
+
+ <h2>Color Palette</h2>
+ <p>Primary: <span style="color: #22ef87; font-weight: bold;">#22ef87</span> |
+ Secondary: <span style="color: #1da25e; font-weight: bold;">#1da25e</span> |
+ Accent: <span style="color: #74d3a3; font-weight: bold;">#74d3a3</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: "modern_rhythm",
+ layout: "floating",
+ colors: {
+ primary: "#22ef87",
+ secondary: "#1da25e",
+ accent: "#74d3a3"
+ },
+ fonts: {
+ heading: "repetition-scrolling",
+ body: "Merriweather",
+ code: "intelone-mono"
+ }
+};</pre>
+
+ <h2>Content Structure</h2>
+ <ul>
+ <li>Clean, readable typography with 15px base font size</li>
+ <li>Heading scale ratio of 1.95x for visual hierarchy</li>
+ <li>Line height of 1.77 for comfortable reading</li>
+ <li>Floating layout optimized for content flow</li>
+ <li>Dark theme with monochromatic color harmony</li>
+ </ul>
+
+ <h2>Font Licensing</h2>
+ <p>All fonts used in this theme are properly licensed:</p>
+ <ul>
+ <li>repetition-scrolling: Free License</li>
+ <li>Merriweather: 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 floating 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/modern_rhythm/handnotes.ttf b/extras/html/themes/modern_rhythm/handnotes.ttf
new file mode 100644
index 0000000..25e688b
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/handnotes.ttf
Binary files differ
diff --git a/extras/html/themes/modern_rhythm/heading.ttf b/extras/html/themes/modern_rhythm/heading.ttf
new file mode 100644
index 0000000..1d0a401
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/heading.ttf
Binary files differ
diff --git a/extras/html/themes/modern_rhythm/style.css b/extras/html/themes/modern_rhythm/style.css
new file mode 100644
index 0000000..4c05b37
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/style.css
@@ -0,0 +1,173 @@
+/* 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: #22ef87;
+ --color-secondary: #1da25e;
+ --color-accent: #74d3a3;
+ --color-bg: #1f2723;
+ --color-text: #e8e8e8;
+ --font-size-base: 15px;
+ --font-size-h1: 1.95em;
+ --font-size-h2: 1.56em;
+ --font-size-h3: 1.25em;
+ --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(34, 239, 135, 0.07);
+ font-style: italic;
+}
+
+pre {
+ font-family: code, monospace;
+ background-color: rgba(232, 232, 232, 0.04);
+ border: 1px solid rgba(232, 232, 232, 0.13);
+ padding: 1em;
+ overflow-x: auto;
+ border-radius: 4px;
+ font-size: 0.9em;
+}
+
+code {
+ font-family: code, monospace;
+ background-color: rgba(232, 232, 232, 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(232, 232, 232, 0.20);
+ margin: 2em 0;
+}
+
+
+/* Layout: floating */
+
+body {
+ padding: 4em 2em;
+ background: linear-gradient(45deg, rgba(34, 239, 135, 0.07), rgba(29, 162, 94, 0.07));
+ min-height: 100vh;
+}
+
+.header {
+ text-align: center;
+ margin-bottom: 4em;
+ animation: float 6s ease-in-out infinite;
+}
+
+@keyframes float {
+ 0%, 100% { transform: translateY(0); }
+ 50% { transform: translateY(-20px); }
+}
+
+h1, h2, h3, p, ul, pre, .quote {
+ background-color: var(--color-bg);
+ padding: 2em;
+ margin: 2em auto;
+ max-width: 65ch;
+ border-radius: 16px;
+ box-shadow: 0 8px 32px rgba(0,0,0,0.1);
+ transition: transform 0.3s ease;
+}
+
+h1:hover, h2:hover, h3:hover, p:hover, ul:hover, pre:hover, .quote:hover {
+ transform: translateY(-4px);
+ box-shadow: 0 12px 48px rgba(0,0,0,0.15);
+}
diff --git a/extras/html/themes/modern_rhythm/text.ttf b/extras/html/themes/modern_rhythm/text.ttf
new file mode 100644
index 0000000..3fecc77
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/text.ttf
Binary files differ
diff --git a/extras/html/themes/modern_rhythm/theme.conf b/extras/html/themes/modern_rhythm/theme.conf
new file mode 100644
index 0000000..b571a24
--- /dev/null
+++ b/extras/html/themes/modern_rhythm/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/repetition-scrolling/repetition-scrolling-Bold.ttf
+declare -xr HTML_WEBFONT_TEXT=./extras/html/fonts/Merriweather/Merriweather-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