Frontier Code UI standards based on Hero section patterns (dark theme, cyan/purple accents, gradients, glowing effects). Trigger: When creating/modifying UI components, sections, or visual elements.
Official Brand Colors (from Brand Identity Manual - see docs/Frontiercode/BRAND IDENTITY/)
#0862C8 (PANTONE 2387 C) - Main brand color#2AD1C9 (PANTONE 3252 C) - Secondary brand color#0C171A (PANTONE Black 6 C) - Backgrounds, dark elements#DEE6EC (PANTONE 656 C) - Light text, backgroundsProhibited by Brand Guidelines:
Backgrounds (Dark Theme)
#0C171A (brand dark neutral)dark-900, dark-800 as fallbacksdark-800/50 (semi-transparent)Accent Colors (Use Hex Codes or Custom Tailwind Colors)
#0862C8 (brand blue) - for buttons, links, CTAs#2AD1C9 (brand cyan) - for highlights, accents#0C171A - for backgrounds#DEE6EC - for text on dark backgroundsTailwind Color Mapping (predefined in theme.css):
// Available as: text-frontier-blue, bg-frontier-cyan, etc.
--color-frontier-blue: #0862C8,
--color-frontier-cyan: #2AD1C9,
--color-frontier-dark: #0C171A,
--color-frontier-light: #DEE6EC,
Text Colors
#DEE6EC (light neutral) on dark backgroundsdark-400dark-500Text Gradients (use brand colors)
<span class="bg-linear-to-r from-frontier-blue to-frontier-cyan bg-clip-text text-transparent">
Frontier Code
</span>
Background Gradients
<!-- Hero background -->
<div class="bg-linear-to-br from-frontier-dark via-dark-900 to-frontier-dark"></div>
<!-- Button gradient -->
<div class="bg-linear-to-r from-frontier-blue to-frontier-cyan"></div>
<!-- Text gradient with brand colors -->
<span class="bg-linear-to-r from-frontier-cyan to-frontier-blue bg-clip-text text-transparent"></span>
Official Brand Fonts (from Brand Identity Manual)
Font Setup (add to tailwind.config):
fontFamily: {
'monda': ['Monda', 'sans-serif'],
'nunito': ['Nunito Sans', 'sans-serif'],
}
Hero Headings (Monda, bold)
<h1 class="font-monda text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-bold">
Title
</h1>
Subheadings (Monda, light weight)
<h2 class="font-monda text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-light text-frontier-light">
Subtitle
</h2>
Body Text (Nunito Sans)
<p class="font-nunito text-lg sm:text-xl text-dark-400 leading-relaxed">
Description text
</p>
Small Labels (Nunito Sans, mono style)
<span class="font-nunito px-4 py-2 bg-dark-800/50 border border-frontier-cyan/30 rounded-full text-frontier-cyan text-sm">
<Frontier />
</span>
Status Badges
<div class="flex items-center gap-2">
<div class="w-2 h-2 bg-frontier-cyan rounded-full animate-pulse"></div>
<span class="font-nunito text-dark-500 text-sm">Status</span>
</div>
Vertical Spacing
py-16 sm:py-20 lg:py-24mb-8, mb-12, mb-16gap-2, gap-4, gap-8Subtle Borders (use brand colors)
<!-- Outline button/badge -->
class="border-2 border-frontier-cyan/50"
<!-- Badge border -->
class="border border-frontier-cyan/30"
<!-- Hover state border -->
class="hover:border-frontier-cyan"
rounded-lgrounded-fullPulse Animation
class="animate-pulse"
<!-- Add delay for staggered effects -->
style="animation-delay: 0.2s;"
Bounce Animation
class="animate-bounce"
Custom Blink (Cursor)
<style>
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.animate-blink {
animation: blink 1s infinite;
}
</style>
<span class="w-2 h-8 bg-frontier-cyan animate-blink"></span>
Standard Transitions
class="transition-all duration-300"
<!-- Hover effects -->
class="hover:scale-105"
class="hover:bg-frontier-cyan/10"
class="hover:border-frontier-cyan hover:text-frontier-cyan"
<!-- Opacity transitions -->
class="opacity-0 group-hover:opacity-100 transition-opacity duration-300"
Primary Gradient Button (brand colors, NO shadows per brand guidelines)
<a href="#" class="group relative px-8 py-4 bg-linear-to-r from-frontier-blue to-frontier-cyan text-white font-semibold rounded-lg overflow-hidden transition-all duration-300 hover:scale-105">
<span class="relative flex items-center gap-2">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="..." />
</svg>
<span>Button Text</span>
</span>
</a>
Outline Button (brand colors)
<a href="#" class="px-8 py-4 border-2 border-frontier-cyan/50 text-frontier-cyan font-semibold rounded-lg hover:bg-frontier-cyan/10 hover:border-frontier-cyan hover:text-frontier-cyan transition-all duration-300 hover:scale-105">
Button Text
</a>
Hero Section Structure (NO glow orbs per brand guidelines)
<section id="hero" class="relative min-h-screen flex items-center justify-center overflow-hidden bg-frontier-dark">
<!-- Background layers -->
<div id="particles" class="absolute inset-0 opacity-20"></div>
<div class="absolute inset-0 bg-linear-to-br from-frontier-dark via-dark-900 to-frontier-dark"></div>
<!-- Grid pattern -->
<div class="absolute inset-0 bg-[linear-gradient(rgba(42,209,201,0.03)_1px,transparentlinear-gradient(90_1px),deg,rgba(42,209,201,0.03)_1px,transparent_1px)] bg-[size:50px_50px]"></div>
<!-- Content -->
<Container>
<div class="relative z-10 max-w-5xl mx-auto text-center">
<!-- Content goes here -->
</div>
</Container>
</section>
Standard Section
<section id="{id}" class="relative py-16 sm:py-20 lg:py-24 bg-frontier-dark">
<Container>
<div class="max-w-6xl mx-auto">
<!-- Section content -->
</div>
</Container>
</section>
<div class="relative z-10 max-w-5xl mx-auto text-center">
<!-- Centered content -->
</div>
<div class="max-w-6xl mx-auto">
<!-- Full-width container -->
</div>
<div class="max-w-3xl mx-auto leading-relaxed">
<!-- Text content -->
</div>
Always use mobile-first responsive utilities:
<!-- Spacing -->
class="py-16 sm:py-20 lg:py-24"
<!-- Typography -->
class="text-5xl sm:text-6xl md:text-7xl lg:text-8xl"
<!-- Layout -->
class="flex flex-col sm:flex-row gap-4 justify-center"
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="..." />
</svg>
---
const { label = '', color = 'cyan' } = Astro.props;
const colors = {
cyan: 'text-frontier-cyan border-frontier-cyan/30 bg-dark-800/50',
blue: 'text-frontier-blue border-frontier-blue/30 bg-dark-800/50',
green: 'text-green-400 border-green-500/30 bg-dark-800/50'
};
---
<span class={`px-4 py-2 rounded-full text-sm border ${colors[color]}`}>
{label}
</span>
---
const { status = '', color = 'cyan', delay = 0 } = Astro.props;
const colors = {
cyan: 'bg-frontier-cyan',
blue: 'bg-frontier-blue',
green: 'bg-green-500'
};
---
<div class="flex items-center gap-2">
<div class={`w-2 h-2 ${colors[color]} rounded-full animate-pulse`} style={`animation-delay: ${delay}s;`}></div>
<span class="text-dark-500 text-sm">{status}</span>
</div>
| Situation | Use |
|---|---|
| Primary action | Gradient button from-frontier-blue to-frontier-cyan |
| Secondary action | Outline button border-frontier-cyan/50 |
| Headings | Large with text gradient from-frontier-cyan to-frontier-blue using MONDA font |
| Subheadings | Light weight font-light text-frontier-light using MONDA font |
| Body text | NUNITO SANS with leading-relaxed |
| Labels/badges | Rounded pill rounded-full with subtle border |
| Background | Dark bg-frontier-dark with gradient overlay |
| Hover effects | hover:scale-105 with color transitions (NO shadows per brand guidelines) |
| Grid patterns | bg-[linear-gradient(...)] bg-[size:50px_50px] |
ā PROHIBITED by Brand Guidelines:
ā Don't use:
frontier-dark)frontier-blue, frontier-cyan, frontier-dark, frontier-light)leading-relaxed)sm: md: lg:)No specific commands - UI is purely declarative through Tailwind classes.
docs/Frontiercode/BRAND IDENTITY/ (10 PNG pages with official guidelines)src/components/sections/Hero.astro#0862C8 (PANTONE 2387 C)#2AD1C9 (PANTONE 3252 C)#0C171A (PANTONE Black 6 C)#DEE6EC (PANTONE 656 C)@keyframes for blinking