Theme Showcase

This page is live. Use the Theme Dropdown in the header to change the theme. Watch how the specific Corbs-theme variables (like Containers and Tertiary colors) update instantly.


1. Color Palette

Base Colors

Background --bg-color
Card Bg --card-bg
Text Color --text-color
Border --border-color

Accents & Typography

Heading --heading-color
Link --link-color
Tertiary --tertiary-color

Containers

Primary Container (Sidebar BG)
Secondary Container (Blockquotes/Tags)

2. Typography

Primary Font:
The quick brown fox jumps over the lazy dog. (1234567890)


Secondary Font (Headings)

ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz


Monospace Font:
const code = "looks like this";


3. UI Components

Testing the specific element styles we implemented.

Blockquotes

This is a blockquote. In the Corbs theme, this uses secondary-container-bg for the background, tertiary-color for the border, and on-secondary-container-color for text.

Tags (Pills)

These use the new Pill styling:

Data Tables

The custom grid styling for data.

Player Average HR
Hank Aaron .305 755
Babe Ruth .342 714
Mookie Wilson .274 67

4. Syntax Highlighting

This section tests the token colors of your currently selected Syntax Highlight theme (e.g., Atom Dark, Dracula).

JavaScript

// This is a comment
import React, { useState } from 'react';

const SyntaxTest = ({ name, count = 0 }) => {
  const [isActive, setIsActive] = useState(false);

  // Function definition
  function calculateScore(points) {
    if (points > 100) return "High";
    return `Score: ${points}`;
  }

  return (
    <div className="container">
      <h1 id="title">Hello, {name}!</h1>
      <p>Count is: <span className="highlight">{count}</span></p>
      {/* Boolean and String test */}
      <button onClick={() => setIsActive(!isActive)}>
        Toggle {isActive ? "On" : "Off"}
      </button>
    </div>
  );
};

export default SyntaxTest;
@import url('https://fonts.googleapis.com/css2');

/* Selector and properties */
body {
  background-color: #1a1a1a;
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

#header .logo {
  font-size: 2rem;
  color: #ff79c6; /* Hex value */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
    display: block !important;
  }
}