diff options
Diffstat (limited to 'extras/html/themes/bright_spark')
| -rw-r--r-- | extras/html/themes/bright_spark/LICENSE | 21 | ||||
| -rw-r--r-- | extras/html/themes/bright_spark/code.ttf | bin | 0 -> 64104 bytes | |||
| -rw-r--r-- | extras/html/themes/bright_spark/example.html | 75 | ||||
| -rw-r--r-- | extras/html/themes/bright_spark/handnotes.ttf | bin | 0 -> 38344 bytes | |||
| -rw-r--r-- | extras/html/themes/bright_spark/style.css | 187 | ||||
| -rw-r--r-- | extras/html/themes/bright_spark/theme.conf | 8 |
6 files changed, 291 insertions, 0 deletions
diff --git a/extras/html/themes/bright_spark/LICENSE b/extras/html/themes/bright_spark/LICENSE new file mode 100644 index 0000000..7c1082b --- /dev/null +++ b/extras/html/themes/bright_spark/LICENSE @@ -0,0 +1,21 @@ +Theme: bright_spark +Generated: 2025-06-22 21:38:55 + +Layout: newspaper +Color Scheme: complementary (Dark) + +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/bright_spark/code.ttf b/extras/html/themes/bright_spark/code.ttf Binary files differnew file mode 100644 index 0000000..2711179 --- /dev/null +++ b/extras/html/themes/bright_spark/code.ttf diff --git a/extras/html/themes/bright_spark/example.html b/extras/html/themes/bright_spark/example.html new file mode 100644 index 0000000..14150df --- /dev/null +++ b/extras/html/themes/bright_spark/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>Bright Spark - Gemtexter Theme</title> + <link rel="stylesheet" href="style.css" /> +</head> +<body> + <div class="header"> + <h1>Bright Spark</h1> + <p>A newspaper layout with complementary colors</p> + </div> + + <div class="content"> + <h1>Welcome to Bright Spark</h1> + <p>This theme features a carefully crafted newspaper layout with a dark 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: #4d8596; font-weight: bold;">#4d8596</span> | + Secondary: <span style="color: #8f6254; font-weight: bold;">#8f6254</span> | + Accent: <span style="color: #49646c; font-weight: bold;">#49646c</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: "bright_spark", + layout: "newspaper", + colors: { + primary: "#4d8596", + secondary: "#8f6254", + accent: "#49646c" + }, + fonts: { + heading: "roboto-slab", + body: "oxygen", + code: "intelone-mono" + } +};</pre> + + <h2>Content Structure</h2> + <ul> + <li>Clean, readable typography with 17px base font size</li> + <li>Heading scale ratio of 2.37x for visual hierarchy</li> + <li>Line height of 1.74 for comfortable reading</li> + <li>Newspaper layout optimized for content flow</li> + <li>Dark 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 newspaper 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/bright_spark/handnotes.ttf b/extras/html/themes/bright_spark/handnotes.ttf Binary files differnew file mode 100644 index 0000000..25e688b --- /dev/null +++ b/extras/html/themes/bright_spark/handnotes.ttf diff --git a/extras/html/themes/bright_spark/style.css b/extras/html/themes/bright_spark/style.css new file mode 100644 index 0000000..8cf8e7a --- /dev/null +++ b/extras/html/themes/bright_spark/style.css @@ -0,0 +1,187 @@ +/* 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: #4d8596; + --color-secondary: #8f6254; + --color-accent: #49646c; + --color-bg: #181d1e; + --color-text: #dedede; + --font-size-base: 17px; + --font-size-h1: 2.37em; + --font-size-h2: 1.78em; + --font-size-h3: 1.33em; + --line-height: 1.74; +} + +* { + 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(77, 133, 150, 0.07); + font-style: italic; +} + +pre { + font-family: code, monospace; + background-color: rgba(222, 222, 222, 0.04); + border: 1px solid rgba(222, 222, 222, 0.13); + padding: 1em; + overflow-x: auto; + border-radius: 4px; + font-size: 0.9em; +} + +code { + font-family: code, monospace; + background-color: rgba(222, 222, 222, 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(222, 222, 222, 0.20); + margin: 2em 0; +} + + +/* Layout: newspaper */ + +body { + max-width: 1200px; + margin: 0 auto; + padding: 2em; + columns: 3; + column-gap: 2em; + column-rule: 1px solid var(--color-text); +} + +.header { + column-span: all; + text-align: center; + border-top: 6px double var(--color-text); + border-bottom: 6px double var(--color-text); + padding: 2em 0; + margin-bottom: 3em; +} + +.header h1 { + font-size: 4em; + margin: 0; + letter-spacing: 0.1em; +} + +h1, h2 { + column-span: all; + text-align: center; + margin: 2em 0 1em 0; +} + +h3 { + break-after: avoid; +} + +p { + text-align: justify; + hyphens: auto; +} + +.quote { + column-span: all; + text-align: center; + font-size: 1.5em; + margin: 2em 0; +} diff --git a/extras/html/themes/bright_spark/theme.conf b/extras/html/themes/bright_spark/theme.conf new file mode 100644 index 0000000..19a2553 --- /dev/null +++ b/extras/html/themes/bright_spark/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 |
