Dashboard Temp Share Shortlinks Frames API

HTMLify

colors.html
Views: 36 | Author: karbonsites
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Color Palette Showcase</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap" rel="stylesheet">
</head>
<body>
    <header>
        <nav>
            <div class="logo">UI Lab</div>
            <div class="nav-links">
                <a href="buttons.html">Buttons</a>
                <a href="inputs.html">Inputs</a>
                <a href="sliders.html">Sliders</a>
                <a href="colors.html" class="active">Colors</a>
                <a href="typography.html">Typography</a>
                <a href="about.html">About</a>
            </div>
        </nav>
    </header>

    <main class="container">
        <section class="hero fade-in">
            <h1>Color Palette</h1>
            <p>Showcasing the core palette used for depth, accentuation, and state indication in this modern UI.</p>
        </section>

        <section class="component-section fade-in" id="colors">
            <h2>Palette Elements</h2>
            <div class="grid-container" style="grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));">
                <div class="color-swatch primary-bg fade-in-delay-1">
                    <h3>Background</h3>
                    <code>--color-bg: #121212</code>
                </div>
                <div class="color-swatch surface-bg fade-in-delay-2">
                    <h3>Surface</h3>
                    <code>--color-surface: #1e1e1e</code>
                </div>
                <div class="color-swatch primary-text fade-in-delay-3">
                    <h3>Text Primary</h3>
                    <code>--color-text-primary: #e0e0e0</code>
                </div>
                <div class="color-swatch secondary-text fade-in-delay-1">
                    <h3>Text Secondary</h3>
                    <code>--color-text-secondary: #a0a0a0</code>
                </div>
                <div class="color-swatch accent-color fade-in-delay-2">
                    <h3>Accent Color</h3>
                    <code>--color-accent: #00bcd4</code>
                </div>
                <div class="color-swatch error-color fade-in-delay-3">
                    <h3>Error State</h3>
                    <code>--color-error: #cf6679</code>
                </div>
                <div class="color-swatch success-color fade-in-delay-1">
                    <h3>Success State</h3>
                    <code>--color-success: #66bb6a</code>
                </div>
            </div>
        </section>
    </main>

    <script src="script.js" defer></script>

  <a href="https://karbonsites.space/home" target="_blank" id="karbon-promo-banner">
      <span></span>
      <div>Built with <b>Karbon Sites</b></div>
  </a>
</body>
</html>