chore: scaffold Astro site + brand shell (header, footer, layout, motif)

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-10 18:52:47 -05:00
1 parent c064791675
commit 0969882f97
14 files changed
+7000

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
/* Green Tea. — brand theme for Starlight */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700&display=swap');
/* Accent = matcha (dark theme in :root, light overridden below) */
:root {
--sl-color-accent-low: #14352a;
--sl-color-accent: #348a5f;
--sl-color-accent-high: #b9e8cf;
--sl-color-text-accent: #6fc599;
--gt-purple: #a78bfa;
}
:root[data-theme='light'] {
--sl-color-accent-low: #d3efe1;
--sl-color-accent: #2f8a5f;
--sl-color-accent-high: #123528;
--sl-color-text-accent: #2f8a5f;
--gt-purple: #7c6cf0;
}
/* Brand type: Zen Maru for the site title and headings */
.site-title,
h1, h2, h3 {
font-family: 'Zen Maru Gothic', var(--sl-font, sans-serif);
}
.site-title { font-weight: 700; }
.site-title img { height: 1.7rem; width: auto; }
/* Splash hero logo */
.hero img { max-height: 190px; width: auto; }
/* A little zen: soften the accent link underlines */
a { text-underline-offset: 0.15em; }
+137
View File
@@ -0,0 +1,137 @@
/* Green Tea. — marketing site global styles */
@import './brand.css';
:root {
--base: #0d1117;
--panel: #161b22;
--matcha: #5fb88a;
--matcha-deep: #3fa873;
--violet: #7c6cf0;
--ink: #e6edf3;
--dim: #8b949e;
--font-heading: 'Zen Maru Gothic', var(--font-body);
--font-body:
-apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--max-width: 1120px;
--gutter: 24px;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
color-scheme: dark;
}
body {
margin: 0;
background: var(--base);
color: var(--ink);
font-family: var(--font-body);
font-size: 1rem;
line-height: 1.7;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
font-family: var(--font-heading);
font-weight: 700;
line-height: 1.3;
color: var(--ink);
margin: 0 0 0.6em;
}
h1 {
font-size: clamp(2.25rem, 4vw, 3.25rem);
}
h2 {
font-size: clamp(1.75rem, 3vw, 2.25rem);
}
h3 {
font-size: 1.375rem;
}
p {
margin: 0 0 1.25em;
color: var(--ink);
}
a {
color: var(--matcha);
text-decoration: none;
text-underline-offset: 0.2em;
}
a:hover,
a:focus-visible {
color: var(--matcha-deep);
text-decoration: underline;
}
::selection {
background: var(--matcha-deep);
color: var(--base);
}
.wrap {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 var(--gutter);
}
/* Prose defaults — used by blog posts and long-form content */
.prose {
max-width: 70ch;
}
.prose p,
.prose ul,
.prose ol {
margin-bottom: 1.4em;
}
.prose h2,
.prose h3 {
margin-top: 2em;
}
.prose code {
background: var(--panel);
border-radius: 4px;
padding: 0.15em 0.4em;
font-size: 0.9em;
}
.prose pre {
background: var(--panel);
border-radius: 8px;
padding: 1.25em;
overflow-x: auto;
}
.prose pre code {
background: none;
padding: 0;
}
.prose blockquote {
border-left: 3px solid var(--matcha-deep);
margin: 1.5em 0;
padding-left: 1.25em;
color: var(--dim);
}
section {
padding-block: clamp(3rem, 8vw, 6rem);
}