BrandToPrompt

CrazyGames Design System: Playful Dark Mode UI

Visit Site

Explore CrazyGames' design system - dark mode, purple accents, rounded UI. Learn how it delivers fast, friendly, gamer-focused experiences.

6 min read1,147 words

Brand Identity

Color Palette

Primary
Secondary

Typography

Primary Font
Nunito

Design Style

Style
playful yet structured with dark mode and saturated purple accents
Visual Density
compact grid-based with tight but breathable spacing
Border Style
mixed: 8px small, 10px cards, 30px pill buttons

Full Analysis

CrazyGames Brand Design System Deep-Dive


1. Brand Overview

CrazyGames is unapologetically fun. The site is a playground for quick-hit entertainment, and the visual language backs that up. It’s bold without being sloppy, colorful without going full-neon chaos. The design is aimed squarely at gamers who are there to play — not wade through corporate UX fluff.

First impression: dark mode default, with saturated purples and clean whites as accents. Buttons are pill-shaped, typography is friendly and round (Nunito everywhere), and spacing is tight but breathable. This is a UI that feels like a game lobby: inviting, slightly playful, but still structured.

They’re clearly targeting casual and competitive browser gamers — think Bloxd.io, Smash Karts — so the visual tone needs to be fast, legible, and responsive. The heavy use of rounded corners and pill buttons says “approachable,” while the high-contrast color palette says “pay attention.”

Material UI (MUI) underpins the component architecture. You can see it in the consistent paddings, breakpoints, and class naming. That means this design system is sitting on a very stable, componentized foundation — ideal for scaling.

What I love: the brand purple (#6842ff) is everywhere, but it’s not screaming at you. It’s balanced with desaturated text grays and the occasional bright white. The dark background makes the colors pop, and the typography choice (Nunito) gives a soft, human touch to what could otherwise be a stark gamer UI.

Odd choice: multiple heading styles at the same size (24px) but different weights (400, 700, 900). It works visually, but it’s unusual to see so much variation without changing size.

Overall: CrazyGames’ design system is built for speed — both in gameplay and UI recognition. It uses clear, consistent tokens, and the personality is baked right into the shape language and color accents.


2. Color System

2.1 Primary Colors

The hero here is Brand Purple: #6842ff. This is the “press me” color. CTAs, primary buttons, active states — it’s the visual anchor. Purple is an interesting choice in gaming; it’s less aggressive than red, more distinctive than blue. It communicates creativity and individuality, which makes sense for a site full of unique indie and casual games.

Competitor comparison: Miniclip often leans on orange/blue combos — more sporty. Poki uses a bright saturated blue — more default web. CrazyGames choosing purple sets them apart instantly.

2.2 Complete Palette

Color Name / SourceHexRoleUsage
Brand 100#6842ffPrimary brandPrimary buttons, key CTAs
Brand 150#342180Deep accentBackgrounds, dark sections
Brand 140#3e2899Accent dark purpleHover states, overlays
Brand 40#c3b3ffLight accentSecondary UI backgrounds
Brand 30#d2c6ffLightest purple accentHover/focus backgrounds
Brand 160#2a1a66Deep brand shadeCards, containers
Brand 20#e1d9ffVery light purpleBackground fills
Brand 60#a48effMid-light purpleLink text, secondary buttons
Brand 120#5335ccDarker purpleHover/focus states
Brand 80#8668ffMid purpleLink hover, text accents
Brand 180#150d33Very darkPage background
Brand 130#492eb3Deep purple accentHover/focus
Brand 200#07050fNear blackBackground
Brand 70#957bffLight purpleLinks, highlights
Brand 50#b4a1ffLight purpleSecondary UI fills
Brand 0#ffffffWhiteText on dark, backgrounds
#f9faff#f9faffOff-whiteUI panels, cards
#36390d#36390dOlive-ish darkRare accents
#c3c5d3#c3c5d3GrayHover/focus outlines
#2871c9#2871c9BlueHover/focus highlight
#abaebf#abaebfGrayHover/focus
#c0c3d0#c0c3d0GrayHover/focus
#c0c2d0#c0c2d0GrayHover/focus
#7d5cff#7d5cffBright purpleHover/focus

2.3 Color Relationships

Dark mode is the default. Backgrounds are near-black (#07050f, #150d33), with white and off-white text. Purples act as highlights, not backgrounds. Contrast is strong — white text on dark backgrounds easily meets WCAG AA, likely AAA.

Accent blues (#2871c9) are rare, likely for special states or links. Grays are muted, never pure — they lean toward blue or purple undertones, which keeps the palette cohesive.

2.4 Usage Guide

  • Primary actions: #6842ff backgrounds with white text.
  • Secondary actions: Light purple (#a48eff) text on transparent or pill-shaped containers.
  • Backgrounds: Very dark (#07050f) for page, slightly lighter darks for cards.
  • Text: White or #f9faff on dark; purple accents on light.
  • Avoid mixing olive (#36390d) with purples — it clashes.
  • Keep blues for special interactive states — don’t overuse.

3. Typography

3.1 Font Families

Nunito everywhere. Friendly, rounded, sans-serif. Fallbacks: Nunito Fallback, Arial, Helvetica Neue, Helvetica. No Google Fonts load detected here; likely self-hosted.

3.2 Type Scale

ElementFontSizeWeightLine Height
ButtonNunito24px400
Heading-1Nunito24px400
Heading-1Nunito24px7001.30
Heading-1Nunito24px9001.29
Heading-1Nunito20px9001.50
Heading-1Nunito19.2px9001.50
ButtonNunito16px800
ButtonNunito16px400
LinkNunito16px7001.50
Heading-1Nunito16px4001.50
LinkNunito14px7001.50
ButtonNunito14px800
CaptionNunito14px4001.50
CaptionNunito14px7001.50
ButtonNunito13.3333px400

3.3 Hierarchy

They rely on weight more than size for hierarchy. That means headings can be same size but feel bigger via boldness. Links and captions sit at 14px, body-level buttons at 16px or up to 24px for prominence. Line heights are comfortable (1.29–1.50), boosting readability.


4. Spacing & Layout

4.1 Spacing Scale

Base: 8px grid. Values:

  • 1px — hairlines, borders
  • 2px — micro spacing
  • 3px — tight gaps
  • 4px — small gaps
  • 6px — small padding
  • 8px — core unit
  • 10px, 12px, 14px, 16px — increments for padding, margins
  • Larger jumps: 20px, 24px, 30px, 31.8px, 46px, 60px — used for structural spacing.

4.2 Layout

Breakpoints are plentiful — from micro (95px) to ultra-wide (1910px). MUI is handling the responsive rules. Mobile-first, scaling up with consistent jumps: mobile (<600px), tablet (~1082px), desktop (1200–1600px), wide (1910px).


5. Visual Elements

Border Radius

  • 8px — small buttons, menus
  • 10px — dominant radius, used everywhere (cards, game thumbnails)
  • 20px — rare
  • 30px — pill buttons, inputs
  • 50% — circular icons

Shadows

Mostly one: rgba(0, 0, 0, 0.5) 4px 4px 20px 0px. Soft, wide — gives depth without harshness. Rare heavier shadow: rgba(0, 0, 0, 0.9) 0px 14px 40px.

Borders and Dividers

Minimal. 2px solid used sparingly (rgb(47, 49, 72)), often for secondary buttons. Hairline dividers (rgba(255, 255, 255, 0.12)).


6. Components

6.1 Buttons

Primary (Contained)

  • Default: background: #6842ff, text #f9faff, padding 8px 16px, radius 30px, no border.
  • Font: Nunito, 800, 16px.
  • Focus: outline none.

Secondary (Outlined)

  • Default: transparent, text #efeff7, padding 8px 16px, radius 30px, border 2px solid #2f3148.
  • Font: Nunito, 800, 16px.

Link-style

  • Transparent background, text #efeff7, radius 30px, no border.
  • Font: Nunito, 800, 16px.

Locale Selector

  • Background: rgba(0,0,0,0.3), text #f9faff, padding 1px 16px, radius 8px, border 2px solid rgba(255,255,255,0.2).

Mini Buttons

  • Background: #f9faff, text #2f3148, padding 8px 16px, radius 30px.

Carousel Arrow

  • Transparent, opacity 0, padding 1px 6px, no radius, hover darkens.
  • White (#ffffff) or light purple (#a48eff) text.
  • No underline by default; purple links get underline.
  • Hover: brand purple (#6842ff).

6.3 Forms

No text input styles in data — likely MUI defaults overridden lightly.

6.4 Cards

Radius 10px, background dark, shadow rgba(0,0,0,0.5) 4px 4px 20px.


7. Design Tokens

:root {
  /* Colors */
  --brand-100: #6842ff;
  --brand-150: #342180;
  --brand-140: #3e2899;
  --brand-40: #c3b3ff;
  --brand-30: #d2c6ff;
  --brand-160: #2a1a66;
  --brand-20: #e1d9ff;
  --brand-60: #a48eff;
  --brand-120: #5335cc;
  --brand-80: #8668ff;
  --brand-180: #150d33;
  --brand-130: #492eb3;
  --brand-200: #07050f;
  --brand-70: #957bff;
  --brand-50: #b4a1ff;
  --brand-0: #ffffff;
  --color-offwhite: #f9faff;
  --color-olive-dark: #36390d;
  --color-gray-1: #c3c5d3;
  --color-blue-accent: #2871c9;
  --color-gray-2: #abaebf;
  --color-gray-3: #c0c3d0;
  --color-gray-4: #c0c2d0;
  --color-bright-purple: #7d5cff;

  /* Typography */
  --font-primary: "Nunito", Nunito Fallback, Arial, Helvetica Neue, Helvetica;
  --font-size-xl: 24px;
  --font-size-lg: 20px;
  --font-size-md: 16px;
  --font-size-sm: 14px;
  --font-size-xs: 13.3333px;
  --line-height-tight: 1.29;
  --line-height-normal: 1.50;

  /* Spacing */
  --space-1: 1px;
  --space-2: 2px;
  --space-3: 3px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-30: 30px;
  --space-31-8: 31.8px;
  --space-46: 46px;
  --space-60: 60px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 30px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-default: rgba(0, 0, 0, 0.5) 4px 4px 20px 0px;
  --shadow-heavy: rgba(0, 0, 0, 0.9) 0px 14px 40px 0px;
}

8. AI Coding Assistant Prompt

# CrazyGames Design System Specification

You are a CrazyGames design expert. Build UIs matching their visual language exactly.

## Brand Context
CrazyGames is a gaming platform with a dark mode-first, playful yet structured visual style. It uses saturated purples for action, soft rounded typography, and consistent pill-shaped buttons. The design balances fun and clarity — accessible for casual gamers, sharp enough for competitive play.

## Color Palette
- Brand 100: #6842ff — Primary buttons, CTAs
- Brand 150: #342180 — Dark accents
- Brand 140: #3e2899 — Hover backgrounds
- Brand 40: #c3b3ff — Light accents
- Brand 30: #d2c6ff — Hover fills
- Brand 160: #2a1a66 — Dark surfaces
- Brand 20: #e1d9ff — Light fills
- Brand 60: #a48eff — Link text, secondary buttons
- Brand 120: #5335cc — Hover states
- Brand 80: #8668ff — Link hover
- Brand 180: #150d33 — Page background
- Brand 130: #492eb3 — Hover/focus
- Brand 200: #07050f — Background
- Brand 70: #957bff — Highlights
- Brand 50: #b4a1ff — Secondary fills
- Brand 0: #ffffff — Text, backgrounds
- Offwhite: #f9faff — Panels, cards
- Olive Dark: #36390d — Rare accents
- Gray 1: #c3c5d3 — Hover outlines
- Blue Accent: #2871c9 — Special hover
- Gray 2: #abaebf — Hover/focus
- Gray 3: #c0c3d0 — Hover/focus
- Gray 4: #c0c2d0 — Hover/focus
- Bright Purple: #7d5cff — Hover/focus

## Typography
Font Family: "Nunito", Nunito Fallback, Arial, Helvetica Neue, Helvetica

| Element | Size | Weight | Line Height | Use |
|---------|------|--------|-------------|-----|
| Button | 24px | 400 | — | Large CTAs |
| Heading-1 | 24px | 400 | — | Title |
| Heading-1 | 24px | 700 | 1.30 | Title emphasis |
| Heading-1 | 24px | 900 | 1.29 | Strong emphasis |
| Heading-1 | 20px | 900 | 1.50 | Section headings |
| Heading-1 | 19.2px | 900 | 1.50 | Subheadings |
| Button | 16px | 800 | — | Standard button |
| Button | 16px | 400 | — | Secondary button |
| Link | 16px | 700 | 1.50 | Navigation |
| Heading-1 | 16px | 400 | 1.50 | Body heading |
| Link | 14px | 700 | 1.50 | Footer links |
| Button | 14px | 800 | — | Small button |
| Caption | 14px | 400 | 1.50 | Metadata |
| Caption | 14px | 700 | 1.50 | Metadata emphasis |
| Button | 13.3333px | 400 | — | Mini button |

## Spacing & Grid
Base: 8px
Scale: 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 20, 24, 30, 31.8, 46, 60px
Use multiples for all padding/margin.

## Border Radius
- sm: 8px — small buttons, menus
- md: 10px — cards, thumbnails
- lg: 20px — rare large surfaces
- pill: 30px — pill buttons, inputs
- full: 50% — circular avatars

## Shadows & Depth
- Default: rgba(0,0,0,0.5) 4px 4px 20px
- Heavy: rgba(0,0,0,0.9) 0px 14px 40px — rare overlays

## Component Specifications

### Primary Button
Default:
```css
background: #6842ff;
color: #f9faff;
padding: 8px 16px;
border-radius: 30px;
border: none;
font-weight: 800;
font-size: 16px;
outline: none;
```
Hover: no change (color stable)
Focus: outline none
Active: no data
Disabled: reduce opacity to 0.5

### Secondary Button
```css
background: transparent;
color: #efeff7;
padding: 8px 16px;
border-radius: 30px;
border: 2px solid #2f3148;
font-weight: 800;
font-size: 16px;
```

### Navigation Links
Default: color #ffffff or #a48eff; no underline unless purple link
Hover: color #6842ff

### Cards
Background: dark (`#150d33`)
Radius: 10px
Shadow: rgba(0,0,0,0.5) 4px 4px 20px
Padding: multiple of 8px

## Layout & Responsive Rules
Breakpoints: 0, 95, 98, 293, 321, 330, 350, 481, 585, 600, 615, 650, 700, 750, 1082, 1200, 1280, 1520, 1550, 1600, 1910px

## Interaction Rules
Transitions: 150ms ease for state changes
Focus: outline none unless specified

## DO List
- Use only colors from palette
- Maintain 8px spacing grid
- Use Nunito for all text
- Keep pill buttons at 30px radius
- Default dark mode backgrounds
- Keep hover/focus colors in purple/blue accents

## DON'T List
- Don't introduce new colors
- Don't mix sharp corners with rounded
- Don't use heavy shadow everywhere
- Don't change font family
- Don't use underline on non-link text

## Code Examples

Primary Button:
```css
.btn-primary {
  background: #6842ff;
  color: #f9faff;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 16px;
  border: none;
  transition: background 150ms ease;
}
.btn-primary:hover { background: #6842ff; }
.btn-primary:focus { outline: none; }
```

Secondary Button:
```css
.btn-secondary {
  background: transparent;
  color: #efeff7;
  padding: 8px 16px;
  border-radius: 30px;
  border: 2px solid #2f3148;
  font-weight: 800;
  font-size: 16px;
}
```

Card:
```css
.card {
  background: #150d33;
  border-radius: 10px;
  box-shadow: rgba(0,0,0,0.5) 4px 4px 20px;
  padding: 16px;
}
```

9. Summary

TL;DR
CrazyGames runs on a dark, purple-forward design system. Nunito type, pill buttons, an 8px grid, and strong contrast make it fast, friendly, and gamer-focused. Material UI components keep it sane.

Brand Keywords

  • dark-playful
  • purple-action
  • rounded-friendly
  • gamer-focused
  • MUI-structured