first commit

This commit is contained in:
necatiozmen
2026-03-31 19:37:25 +03:00
commit 1145c998a1
128 changed files with 51549 additions and 0 deletions

View File

@@ -0,0 +1,678 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Design System Preview: Ollama (Light)</title>
<style>
:root {
--color-black: #000000;
--color-near-black: #262626;
--color-darkest-surface: #090909;
--color-white: #ffffff;
--color-snow: #fafafa;
--color-light-gray: #e5e5e5;
--color-stone: #737373;
--color-mid-gray: #525252;
--color-silver: #a3a3a3;
--color-button-text-dark: #404040;
--color-border-light: #d4d4d4;
--font-display: system-ui, -apple-system, 'SF Pro Rounded', 'Segoe UI', Roboto, sans-serif;
--font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
/* Light mode tokens */
--bg-page: #ffffff;
--bg-card: #fafafa;
--bg-nav: rgba(255,255,255,0.95);
--text-primary: #000000;
--text-secondary: #737373;
--text-muted: #a3a3a3;
--border-color: #e5e5e5;
--section-label-color: #737373;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: var(--bg-page);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/* NAV */
.nav {
position: sticky;
top: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 40px;
background: var(--bg-nav);
backdrop-filter: blur(12px);
}
.nav-brand {
font-family: var(--font-display);
font-size: 18px;
font-weight: 500;
letter-spacing: -0.3px;
display: flex;
align-items: center;
gap: 8px;
color: var(--text-primary);
}
.nav-brand .llama { font-size: 22px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
color: var(--text-primary);
text-decoration: none;
font-size: 16px;
font-weight: 400;
}
.nav-cta {
background: var(--color-black);
color: var(--color-white);
padding: 10px 24px;
border: none;
border-radius: 9999px;
font-size: 16px;
font-family: var(--font-body);
font-weight: 500;
cursor: pointer;
}
/* HERO */
.hero {
text-align: center;
padding: 112px 40px 88px;
}
.hero h1 {
font-family: var(--font-display);
font-size: 48px;
font-weight: 500;
line-height: 1.0;
letter-spacing: normal;
margin-bottom: 24px;
color: var(--text-primary);
}
.hero p {
color: var(--text-secondary);
font-size: 18px;
line-height: 1.56;
margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; }
/* PILL BUTTONS */
.btn-black-pill {
background: var(--color-black);
color: var(--color-white);
padding: 10px 24px;
border: none;
border-radius: 9999px;
font-size: 18px;
font-family: var(--font-body);
font-weight: 500;
cursor: pointer;
}
.btn-gray-pill {
background: var(--color-light-gray);
color: var(--color-near-black);
padding: 10px 24px;
border: 1px solid var(--color-light-gray);
border-radius: 9999px;
font-size: 18px;
font-family: var(--font-body);
font-weight: 400;
cursor: pointer;
}
.btn-white-pill {
background: var(--color-white);
color: var(--color-button-text-dark);
padding: 10px 24px;
border: 1px solid var(--color-border-light);
border-radius: 9999px;
font-size: 18px;
font-family: var(--font-body);
font-weight: 400;
cursor: pointer;
}
/* SECTIONS */
.section {
max-width: 1024px;
margin: 0 auto;
padding: 88px 40px;
}
.section-title {
font-family: var(--font-body);
font-size: 14px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--section-label-color);
margin-bottom: 12px;
}
.section-heading {
font-family: var(--font-display);
font-size: 36px;
font-weight: 500;
line-height: 1.11;
margin-bottom: 48px;
color: var(--text-primary);
}
.section-divider {
border: none;
border-top: 1px solid var(--border-color);
margin: 0 40px;
max-width: 1024px;
margin-left: auto;
margin-right: auto;
}
/* COLOR PALETTE */
.color-group { margin-bottom: 40px; }
.color-group-title {
font-family: var(--font-display);
font-size: 20px;
font-weight: 500;
line-height: 1.2;
margin-bottom: 20px;
color: var(--text-secondary);
}
.color-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 16px;
}
.color-swatch {
border: 1px solid var(--border-color);
border-radius: 12px;
overflow: hidden;
}
.color-swatch-block {
height: 80px;
}
.color-swatch-info {
padding: 12px;
background: var(--bg-card);
}
.color-swatch-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.color-swatch-hex { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.color-swatch-role { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
/* TYPOGRAPHY */
.type-sample { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border-color); }
.type-sample:last-child { border-bottom: none; }
.type-sample-text { margin-bottom: 8px; }
.type-sample-label {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-muted);
}
/* BUTTONS */
.button-row {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: flex-start;
}
.button-demo { text-align: center; }
.button-demo-label {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-muted);
margin-top: 10px;
text-transform: uppercase;
letter-spacing: 0.55px;
}
/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
border-radius: 12px;
padding: 28px;
}
.card-bordered {
background: var(--bg-page);
border: 1px solid var(--border-color);
}
.card-snow {
background: var(--bg-card);
border: none;
}
.card h3 {
font-family: var(--font-display);
font-size: 24px;
font-weight: 500;
line-height: 1.33;
margin-bottom: 12px;
color: var(--text-primary);
}
.card p { color: var(--text-secondary); font-size: 15px; line-height: 1.63; }
.card-label {
font-family: var(--font-mono);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.55px;
color: var(--text-muted);
margin-bottom: 16px;
}
/* CODE BLOCK */
.code-block {
background: var(--bg-page);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 20px 24px;
margin-top: 24px;
font-family: var(--font-mono);
font-size: 16px;
line-height: 1.5;
color: var(--text-primary);
overflow-x: auto;
}
.code-block .prompt { color: var(--text-muted); }
/* SPACING */
.spacing-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.spacing-item { text-align: center; }
.spacing-box {
background: var(--color-light-gray);
border-radius: 2px;
margin-bottom: 8px;
}
.spacing-label {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-muted);
}
/* RADIUS */
.radius-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.radius-item { text-align: center; }
.radius-box {
width: 80px;
height: 80px;
background: var(--bg-card);
border: 1px solid var(--border-color);
margin-bottom: 8px;
}
.radius-label {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-muted);
}
.radius-context {
font-size: 11px;
color: var(--text-muted);
margin-top: 2px;
}
/* ELEVATION */
.elevation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.elevation-card {
border-radius: 12px;
padding: 24px;
min-height: 140px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.elevation-flat {
background: var(--bg-page);
border: none;
}
.elevation-bordered {
background: var(--bg-page);
border: 1px solid var(--border-color);
}
.elevation-name { font-family: var(--font-display); font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.elevation-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.elevation-level {
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.55px;
margin-top: 12px;
}
/* RESPONSIVE */
@media (max-width: 768px) {
.nav { padding: 12px 20px; }
.nav-links a:not(.nav-cta-wrapper) { display: none; }
.hero { padding: 80px 20px 60px; }
.hero h1 { font-size: 36px; }
.section { padding: 60px 20px; }
.section-heading { font-size: 28px; }
.color-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.card-grid { grid-template-columns: 1fr; }
.hero-buttons { flex-direction: column; align-items: center; }
.button-row { flex-direction: column; align-items: flex-start; }
}
</style>
</head>
<body>
<!-- NAV -->
<nav class="nav">
<div class="nav-brand"><span class="llama">&#x1F999;</span> ollama</div>
<div class="nav-links">
<a href="#colors">Colors</a>
<a href="#typography">Typography</a>
<a href="#buttons">Buttons</a>
<a href="#cards">Cards</a>
<a href="#spacing">Spacing</a>
<a href="#elevation">Elevation</a>
<button class="nav-cta">Download</button>
</div>
</nav>
<!-- HERO -->
<section class="hero">
<h1>Design System Preview:<br>Ollama</h1>
<p>Radical minimalism in pure grayscale. Zero color, zero shadows, zero excess.</p>
<div class="hero-buttons">
<button class="btn-black-pill">Explore Tokens</button>
<button class="btn-gray-pill">View Source</button>
</div>
</section>
<hr class="section-divider">
<!-- COLORS -->
<section class="section" id="colors">
<div class="section-title">01 / Color Palette</div>
<h2 class="section-heading">Grayscale Palette</h2>
<div class="color-group">
<h3 class="color-group-title">Primary</h3>
<div class="color-grid">
<div class="color-swatch">
<div class="color-swatch-block" style="background: #000000;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Pure Black</div>
<div class="color-swatch-hex">#000000</div>
<div class="color-swatch-role">Primary headlines, links, max emphasis</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #262626;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Near Black</div>
<div class="color-swatch-hex">#262626</div>
<div class="color-swatch-role">Button text on light surfaces</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #090909;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Darkest Surface</div>
<div class="color-swatch-hex">#090909</div>
<div class="color-swatch-role">Dark containers, footer background</div>
</div>
</div>
</div>
</div>
<div class="color-group">
<h3 class="color-group-title">Surface & Background</h3>
<div class="color-grid">
<div class="color-swatch">
<div class="color-swatch-block" style="background: #ffffff; border-bottom: 1px solid #e5e5e5;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Pure White</div>
<div class="color-swatch-hex">#ffffff</div>
<div class="color-swatch-role">Page background, button surfaces</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #fafafa; border-bottom: 1px solid #e5e5e5;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Snow</div>
<div class="color-swatch-hex">#fafafa</div>
<div class="color-swatch-role">Subtle surface distinction, section bg</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #e5e5e5;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Light Gray</div>
<div class="color-swatch-hex">#e5e5e5</div>
<div class="color-swatch-role">Button backgrounds, borders, containment</div>
</div>
</div>
</div>
</div>
<div class="color-group">
<h3 class="color-group-title">Neutrals & Text</h3>
<div class="color-grid">
<div class="color-swatch">
<div class="color-swatch-block" style="background: #737373;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Stone</div>
<div class="color-swatch-hex">#737373</div>
<div class="color-swatch-role">Secondary text, footer links, muted tone</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #525252;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Mid Gray</div>
<div class="color-swatch-hex">#525252</div>
<div class="color-swatch-role">Emphasized secondary text</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #a3a3a3;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Silver</div>
<div class="color-swatch-hex">#a3a3a3</div>
<div class="color-swatch-role">Tertiary text, placeholders, metadata</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #404040;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Button Text Dark</div>
<div class="color-swatch-hex">#404040</div>
<div class="color-swatch-role">White-surface button text</div>
</div>
</div>
<div class="color-swatch">
<div class="color-swatch-block" style="background: #d4d4d4;"></div>
<div class="color-swatch-info">
<div class="color-swatch-name">Border Light</div>
<div class="color-swatch-hex">#d4d4d4</div>
<div class="color-swatch-role">White-surface button borders</div>
</div>
</div>
</div>
</div>
</section>
<hr class="section-divider">
<!-- TYPOGRAPHY -->
<section class="section" id="typography">
<div class="section-title">02 / Typography Scale</div>
<h2 class="section-heading">Typography Rules</h2>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-display); font-size: 48px; font-weight: 500; line-height: 1.0;">Display Hero</div>
<div class="type-sample-label">Display / Hero &mdash; 48px / 500 / 1.00 &mdash; SF Pro Rounded (system-ui)</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-display); font-size: 36px; font-weight: 500; line-height: 1.11;">Section Heading</div>
<div class="type-sample-label">Section Heading &mdash; 36px / 500 / 1.11 &mdash; SF Pro Rounded (system-ui)</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1.20;">Sub-heading</div>
<div class="type-sample-label">Sub-heading &mdash; 30px / 500 / 1.20 &mdash; SF Pro Rounded (system-ui)</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-body); font-size: 24px; font-weight: 400; line-height: 1.33;">Card Title</div>
<div class="type-sample-label">Card Title &mdash; 24px / 400 / 1.33 &mdash; ui-sans-serif</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-body); font-size: 18px; font-weight: 400; line-height: 1.56;">Body large text for hero descriptions and button labels. The system sans-serif handles all UI copy with clean precision.</div>
<div class="type-sample-label">Body Large &mdash; 18px / 400 / 1.56 &mdash; ui-sans-serif</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.50;">Standard body text for paragraphs, navigation links, and general content. Weight 400 only.</div>
<div class="type-sample-label">Body / Link &mdash; 16px / 400 / 1.50 &mdash; ui-sans-serif</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 1.43; color: var(--text-secondary);">Caption and metadata text for descriptions</div>
<div class="type-sample-label">Caption &mdash; 14px / 400 / 1.43 &mdash; ui-sans-serif</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-mono); font-size: 16px; font-weight: 400; line-height: 1.50;">ollama run llama3.2</div>
<div class="type-sample-label">Code Body &mdash; 16px / 400 / 1.50 &mdash; ui-monospace</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-mono); font-size: 14px; font-weight: 400; line-height: 1.43; color: var(--text-secondary);">ollama pull mistral</div>
<div class="type-sample-label">Code Caption &mdash; 14px / 400 / 1.43 &mdash; ui-monospace</div>
</div>
<div class="type-sample">
<div class="type-sample-text" style="font-family: var(--font-mono); font-size: 12px; font-weight: 400; line-height: 1.63; color: var(--text-muted);">v0.9.1 latest</div>
<div class="type-sample-label">Code Small &mdash; 12px / 400 / 1.63 &mdash; ui-monospace</div>
</div>
</section>
<hr class="section-divider">
<!-- BUTTONS -->
<section class="section" id="buttons">
<div class="section-title">03 / Button Variants</div>
<h2 class="section-heading">Buttons</h2>
<div class="button-row">
<div class="button-demo">
<button class="btn-gray-pill">Models</button>
<div class="button-demo-label">Gray Pill (Primary)</div>
</div>
<div class="button-demo">
<button class="btn-white-pill">Sign in</button>
<div class="button-demo-label">White Pill (Secondary)</div>
</div>
<div class="button-demo">
<button class="btn-black-pill">Download</button>
<div class="button-demo-label">Black Pill (CTA)</div>
</div>
</div>
<div class="code-block" style="margin-top: 40px;">
<span class="prompt">$</span> ollama run llama3.2
</div>
</section>
<hr class="section-divider">
<!-- CARDS -->
<section class="section" id="cards">
<div class="section-title">04 / Card Examples</div>
<h2 class="section-heading">Cards & Containers</h2>
<div class="card-grid">
<div class="card card-bordered">
<div class="card-label">Standard Card</div>
<h3>Bordered Container</h3>
<p>Standard content card with 1px solid Light Gray border and 12px radius. The only container style in Ollama. Zero shadows.</p>
</div>
<div class="card card-snow">
<div class="card-label">Snow Surface</div>
<h3>Subtle Background</h3>
<p>Card distinguished by Snow (#fafafa) background instead of borders. The lightest possible surface distinction from pure white.</p>
</div>
</div>
</section>
<hr class="section-divider">
<!-- SPACING -->
<section class="section" id="spacing">
<div class="section-title">05 / Spacing Scale</div>
<h2 class="section-heading">Spacing System</h2>
<p style="color: var(--text-secondary); margin-bottom: 32px;">Base unit: 8px. Scale from 4px to 112px.</p>
<div class="spacing-row">
<div class="spacing-item"><div class="spacing-box" style="width: 16px; height: 16px;"></div><div class="spacing-label">4px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 24px; height: 24px;"></div><div class="spacing-label">8px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 40px; height: 40px;"></div><div class="spacing-label">12px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 64px; height: 64px;"></div><div class="spacing-label">16px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 80px; height: 80px;"></div><div class="spacing-label">20px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 96px; height: 96px;"></div><div class="spacing-label">24px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 128px; height: 128px;"></div><div class="spacing-label">32px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 160px; height: 160px;"></div><div class="spacing-label">40px</div></div>
<div class="spacing-item"><div class="spacing-box" style="width: 192px; height: 192px;"></div><div class="spacing-label">48px</div></div>
</div>
</section>
<hr class="section-divider">
<!-- BORDER RADIUS -->
<section class="section">
<div class="section-title">06 / Border Radius</div>
<h2 class="section-heading">Binary Radius System</h2>
<p style="color: var(--text-secondary); margin-bottom: 32px;">Only two values exist. No 4px, no 8px, no gradient of roundness. Containers or interactive -- nothing in between.</p>
<div class="radius-row">
<div class="radius-item">
<div class="radius-box" style="border-radius: 12px;"></div>
<div class="radius-label">12px</div>
<div class="radius-context">Containers</div>
</div>
<div class="radius-item">
<div class="radius-box" style="border-radius: 9999px;"></div>
<div class="radius-label">9999px</div>
<div class="radius-context">Interactive / Pills</div>
</div>
</div>
</section>
<hr class="section-divider">
<!-- ELEVATION -->
<section class="section" id="elevation">
<div class="section-title">07 / Elevation & Depth</div>
<h2 class="section-heading">Depth & Elevation</h2>
<p style="color: var(--text-secondary); margin-bottom: 32px;">Zero shadows. Depth comes from background color shifts and single-pixel borders only.</p>
<div class="elevation-grid">
<div class="elevation-card elevation-flat">
<div>
<div class="elevation-name">Flat</div>
<div class="elevation-desc">No shadow, no border. Page background and inline content. The default state for most elements.</div>
</div>
<div class="elevation-level">Level 0</div>
</div>
<div class="elevation-card elevation-bordered">
<div>
<div class="elevation-name">Bordered</div>
<div class="elevation-desc">1px solid Light Gray (#e5e5e5). Cards, code blocks, buttons. The only elevation that exists.</div>
</div>
<div class="elevation-level">Level 1</div>
</div>
</div>
</section>
<div style="height: 80px;"></div>
</body>
</html>