TheTechMargin
A comprehensive design and style guide for designers and developers building products for The Tech Margin brand.
Logo & Favicon
The crystalline gem logo represents innovation, multi-faceted creativity, and the vibrant energy of The Tech Margin brand.
On Dark Background

Primary usage (recommended)
On Light Background

When necessary
Size Variations
Large (64px)
XL (96px)Clear Space

Maintain minimum clear space of 25% of logo width on all sides
Implementation
<Image src="/images/logo.png" alt="TheTechMargin Logo" width={32} height={32} /><img src="/images/logo.png" alt="TheTechMargin Logo" width="32" height="32" />Download
Usage Guidelines
Do
- Use the logo at provided sizes or larger
- Maintain the clear space around the logo
- Use on dark backgrounds when possible
- Keep the logo proportions intact
Don't
- Stretch or distort the logo
- Add effects like shadows or glows
- Change the colors of the logo
- Use smaller than 16px (illegible)
Portfolio / Library of Work
Reference implementations showcasing The Tech Margin design system in action.
TheTechMargin
PrimaryPrimary hub featuring AI insights, tech articles, creative portfolio, and professional services.
IIIF Collection Explorer
Browse cultural heritage collections from Smithsonian, Harvard Art Museums, and Europeana through IIIF.
Next Dream
Career navigation for curiosity-driven learning journeys with multi-step profile builder.
Codex Protocol
Network initialization interface with dark, mysterious aesthetic and loading visualizations.
Mesh Video Explorer
3D viewer and mesh exploration tool with WebGL/Three.js integration.
Four Corners Metadata Editor
Metadata editing tool for managing image context and provenance.
Design Pattern References
Article/Blog Cards
the-tech-margin.com
Collection Browsing
collection-explorer
Multi-Step Forms
nextdream.work
3D/WebGL
mask.thetechmargin.com
Loading States
codex-protocol
Metadata Editing
four-corners
Colors
Vibrant neon palette for an energetic, tech-forward aesthetic.
Brand Colors
Vibrant Pink
#E904E5
var(--brand-pink)
Primary brand color
Lime
#a1ff00
var(--brand-lime)
Secondary brand color
Cyan
#09FFF0
var(--brand-cyan)
Accent color
Hot Red
#ff0080
var(--brand-hot-red)
Highlights & CTAs
Goldenrod
#ff9500
var(--brand-goldenrod)
Warnings & accents
Neutrals & Backgrounds
Dark Blue
#030729
var(--background)
Background
Card Surface
#0a0f2e
var(--card)
Card backgrounds
Dark Plum
#250F25
var(--muted)
Muted surfaces
Border
#1a1f4e
var(--border)
Borders & dividers
Gray
#767676
var(--muted-foreground)
Muted text
Terminal Thememaths.thetechmargin.com
Terminal BG
#f2ede1
var(--ttm-bg)
Terminal background
Terminal Text
#2b2a28
var(--ttm-text)
Terminal text
Terminal Green
#7c9f35
var(--ttm-lime)
Terminal accent
Terminal Pink
#e85d9c
var(--ttm-pink)
Terminal highlight
Terminal Cyan
#09d3c5
var(--ttm-cyan)
Terminal info
Retro terminal aesthetic with cream background and monospace fonts. Switch to "Terminal" theme to preview.
Usage Guidelines
Do
- Use vibrant colors sparingly
- Maintain high contrast
- Use dark backgrounds
Don't
- Overuse neon colors
- Neon on light backgrounds
- Multiple neons together
Typography
Poppins for body/copy/newsletters, Pacifico for display headings, Geist Mono for terminal aesthetic.
Poppins
Body & Newsletters
The quick brown fox
Body text, newsletters, copy, readable long-form content.
font-sansPacifico
Display & Headlines
The quick brown fox
Hero headings, branded highlights, decorative text.
font-serifGeist Mono
Terminal & Code
TECHMARGIN.EXE
Code blocks, terminal UI, retro aesthetic.
font-monoIBM Plex Mono
Terminal Alt
SYSTEM.RUN
Alternative terminal font, slightly warmer feel.
--font-ibm-plex-monoScript Font Guidelines
Pacifico Rules
- xNever uppercase - Script fonts lose their flow and become illegible
- ✓Use generous line-height - Prevent ascenders/descenders from colliding (min 1.4)
- ✓Single lines preferred - Multi-line script text is hard to read
- ✓Large sizes only - Script fonts need space to breathe (24px+)
Ascender/Descender Spacing
Bad: Line-height 1.0
jumping quickly
flying high
Good: Line-height 1.5
jumping quickly
flying high
Use leading-relaxed or leading-loose for script fonts.
H1 Styles by Type and Vibe
Different heading styles for different contexts. Choose based on your content's tone and purpose.
Enterprise Solutions
Poppins, semibold, tight tracking. Clean and authoritative.
font-sans text-3xl font-semibold tracking-tightLet's Create Something Amazing
Pacifico, natural case, generous line-height. Warm and inviting.
font-serif text-4xl leading-relaxedSYSTEM.INITIALIZE
Geist Mono, uppercase, wide tracking. Technical and edgy.
font-mono text-2xl font-semibold uppercase tracking-widestThe Future of Design
Poppins light, tight line-height. Elegant and sophisticated.
font-sans text-4xl font-light tracking-tight leading-noneMake It Happen
Poppins bold, uppercase, compressed. Attention-grabbing.
font-sans text-5xl font-bold uppercase leading-noneless is more
Poppins regular, lowercase, wide tracking. Understated and modern.
font-sans text-2xl font-normal lowercase tracking-wideWhen to Use Each Font
Poppins (font-sans)
- - Newsletter content
- - Blog posts and articles
- - Marketing copy
- - UI labels and buttons
- - Long-form reading
Pacifico (font-serif)
- - Hero headlines (single line)
- - Brand wordmarks
- - Decorative titles
- - Special callouts
- - Never uppercase
Geist Mono (font-mono)
- - Code snippets
- - Terminal interfaces
- - Technical data
- - File names / paths
- - Retro/hacker aesthetic
Recommended Font Alternatives
Fonts that pair well with our design system and can be swapped in for different project needs.
Heading Fonts
Inter
Clean, modern sans-serif. Great for tech/SaaS.
fonts.google.com/specimen/InterPlayfair Display
Elegant serif. Perfect for editorial/luxury brands.
fonts.google.com/specimen/Playfair+DisplaySpace Grotesk
Geometric sans with personality. Tech-forward feel.
fonts.google.com/specimen/Space+GroteskSora
Friendly geometric. Works for apps and dashboards.
fonts.google.com/specimen/SoraBody Fonts
DM Sans
Low-contrast geometric. Excellent readability.
fonts.google.com/specimen/DM+SansPlus Jakarta Sans
Modern variable font. Versatile for UI.
fonts.google.com/specimen/Plus+Jakarta+SansSource Sans 3
Adobe's open-source classic. Long-form content.
fonts.google.com/specimen/Source+Sans+3Nunito
Rounded, friendly feel. Great for consumer apps.
fonts.google.com/specimen/NunitoPairing Tips
- • Pair a decorative heading font with a neutral body font
- • Use max 2-3 font families per project
- • Contrast weights: bold headings + regular body
Type Scale
Creative Tech Innovation
48px / 700 weight / Line height 1.1Welcome to TheTechMargin
36px / 600 weight / Line height 1.2Our Design Philosophy
30px / 600 weight / Line height 1.3Component Guidelines
24px / 500 weight / Line height 1.4Button Variants
20px / 500 weight / Line height 1.4Innovation meets artistry in every pixel we craft.
18px / 400 weight / Line height 1.6Our design system empowers creators to build beautiful, consistent experiences that delight users and drive engagement.
16px / 400 weight / Line height 1.6Last updated 2 hours ago
14px / 400 weight / Line height 1.5Required field
12px / 400 weight / Line height 1.4Cards
Content containers with consistent visual hierarchy.
Basic Cards
Cards with Actions
Glow Effect Cards
Card Classes
bg-cardBackgroundborder-borderBorderglow-pink | glow-cyan | glow-limeGlowGradients
Dynamic gradients for energy and depth. Use sparingly.
Aurora
linear-gradient(135deg, rgba(9, 255, 240, 0.5), rgba(233, 4, 229, 0.4), rgba(161, 255, 0, 0.35))
Cyan to Pink
linear-gradient(135deg, #09FFF0, #E904E5)
Cyan Glow
linear-gradient(135deg, rgba(9, 255, 240, 0.7), rgba(9, 255, 240, 0.2))
Pink Mist
linear-gradient(135deg, rgba(233, 4, 229, 0.6), rgba(255, 0, 128, 0.3))
Lime Fade
linear-gradient(135deg, rgba(161, 255, 0, 0.6), rgba(255, 149, 0, 0.35))
Sunset
linear-gradient(135deg, #ff0080, #ff9500)
Gradient Text
TheTechMargin
Creative Tech Innovation
.gradient-text { background: linear-gradient(90deg, #09FFF0, #E904E5, #ff0080); -webkit-background-clip: text; }Guidelines
Do
- Hero sections, headlines
- Decorative backgrounds
- 1-2 per view max
Don't
- Body text
- Small UI elements
- Light backgrounds
Spacing & Layout
Concise, consistent spacing. No options, just standards.
Layout Standards
p-3Card paddinggap-2Element gapmb-3Section marginpx-4ContainerBorder Radius
03px(default)fullConcise Layout Example
Tight spacing, minimal radius, clear hierarchy.
Iconography
Lucide icons for consistent, clean interfaces.
Brand Icons
Sparkles
AI, Magic
Brain
AI, Intelligence
Zap
Speed, Power
Palette
Creative, Art
Code
Development
Rocket
Launch, Growth
UI Icons
Settings
User
Bell
Search
Menu
Close
Chevron
Arrow
External
Download
Upload
Feedback Icons
Success
Warning
Error
Info
Icon Sizes
w-4w-5w-6w-8Guidelines
Usage
w-4inline,w-5buttons,w-6standalone
Color
- UI:
text-foreground, Brand:text-brand-*
Noun Project Icons
Search and browse icons from The Noun Project. Icons require attribution or a Pro subscription.
No icons found. Try a different search term.
Noun Project Viewer
- Always check the license before commercial use
- Icons can be customized with brand colors using CSS filters or SVG fill
Accessibility
Guidelines for building inclusive, WCAG 2.1 AA compliant interfaces.
WCAG Compliance Levels
Minimum accessibility
Target compliance (recommended)
Enhanced accessibility
Color Contrast Ratios
| Color Pair | Ratio | Status | Level |
|---|---|---|---|
| Primary Text on Background | 15.2:1 | PassesPass | AAA |
| Secondary Text on Background | 10.8:1 | PassesPass | AAA |
| Muted Text on Background | 5.4:1 | PassesPass | AA |
| Cyan on Background | 12.1:1 | PassesPass | AAA |
| Pink on Background | 4.6:1 | PassesPass | AA |
| Lime on Background | 14.8:1 | PassesPass | AAA |
Minimum ratio: 4.5:1 for normal text (AA), 3:1 for large text (AA), 7:1 for enhanced (AAA)
Keyboard Navigation
- TabMove focus to next interactive element
- Shift + TabMove focus to previous element
- Enter / SpaceActivate buttons and links
- EscapeClose modals and dropdowns
- Arrow KeysNavigate within menus and tabs
Focus States
All interactive elements must have visible focus indicators. Use focus:ring-2 focus:ring-offset-2
ARIA Patterns
<button aria-busy="true" aria-label="Saving...">
<Spinner /> Save
</button><button aria-label="Close dialog">
<X className="w-4 h-4" />
</button><input
aria-invalid="true"
aria-describedby="email-error"
/>
<span id="email-error" role="alert">
Invalid email address
</span><nav aria-label="Main navigation">
<ul role="list">
<li><a href="/">Home</a></li>
</ul>
</nav>Best Practices
Do
- Use semantic HTML elements (button, nav, main, article)
- Provide alt text for all meaningful images
- Ensure color is not the only indicator of state
- Support 200% text zoom without loss of content
- Use aria-label for icon-only buttons
- Group form fields with fieldset and legend
- Announce dynamic content with aria-live regions
Don't
- Use div or span for interactive elements
- Remove focus outlines without replacement
- Rely on hover-only interactions
- Use placeholder as the only label
- Auto-play media without controls
- Create keyboard traps in modals
- Use tabindex greater than 0
Screen Reader Utilities
sr-onlyVisually hidden but accessible to screen readersnot-sr-onlyUndo sr-only, making element visible againaria-hidden="true"Hide decorative elements from assistive techMotion & Animation
Respect user motion preferences with the prefers-reduced-motion media query:
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}Tailwind: Use motion-safe: and motion-reduce: variants
Downloads
Export design system files for use in other projects.
design-system.md
Complete design system documentation
globals-export.css
Standalone CSS with all variables
Quick Copy
:root {
--ttm-bg: #030729;
--ttm-pink: #E904E5;
--ttm-lime: #a1ff00;
--ttm-cyan: #09FFF0;
--ttm-hot-red: #ff0080;
--ttm-goldenrod: #ff9500;
--ttm-radius: 3.25rem;
}.gradient-text {
background: linear-gradient(90deg, #09FFF0, #ff0080, #E904E5, #a1ff00, #ff9500);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}<footer class="ttm-footer">
<p>made with <span class="heart">❤️</span> by <span class="brand">thetechmargin</span></p>
</footer>.terminal {
--ttm-bg: #f2ede1;
--ttm-text: #2b2a28;
--ttm-lime: #7c9f35;
--ttm-pink: #e85d9c;
--ttm-cyan: #09d3c5;
--ttm-font-mono: 'Geist Mono', 'IBM Plex Mono', monospace;
}/* Next.js font imports */
import { Geist_Mono, IBM_Plex_Mono } from 'next/font/google'
const geistMono = Geist_Mono({ subsets: ['latin'], variable: '--font-geist-mono' })
const ibmPlexMono = IBM_Plex_Mono({ subsets: ['latin'], weight: ['400', '500', '600', '700'], variable: '--font-ibm-plex-mono' })