# All files / src/components/atoms ColorsSection.tsx

0% Statements 0/73
0% Branches 0/1
0% Functions 0/1
0% Lines 0/73

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    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
    74

     import { Card } from '@/components/ui/card'

    export function ColorsSection() {
      return (
        <section className="space-y-6">
          <div>
            <h2 className="text-3xl font-bold mb-2">Colors</h2>
            <p className="text-muted-foreground">
              Semantic color palette with accessibility in mind
            </p>
          </div>

          <Card className="p-6">
            <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
              <div className="space-y-2">
                <div className="h-24 rounded-lg bg-primary" />
                <div>
                  <p className="font-medium">Primary</p>
                  <code className="text-xs text-muted-foreground">
                    oklch(0.50 0.18 310)
                  </code>
                </div>
              </div>
              <div className="space-y-2">
                <div className="h-24 rounded-lg bg-secondary" />
                <div>
                  <p className="font-medium">Secondary</p>
                  <code className="text-xs text-muted-foreground">
                    oklch(0.30 0.08 310)
                  </code>
                </div>
              </div>
              <div className="space-y-2">
                <div className="h-24 rounded-lg bg-accent" />
                <div>
                  <p className="font-medium">Accent</p>
                  <code className="text-xs text-muted-foreground">
                    oklch(0.72 0.20 25)
                  </code>
                </div>
              </div>
              <div className="space-y-2">
                <div className="h-24 rounded-lg bg-destructive" />
                <div>
                  <p className="font-medium">Destructive</p>
                  <code className="text-xs text-muted-foreground">
                    oklch(0.577 0.245 27.325)
                  </code>
                </div>
              </div>
              <div className="space-y-2">
                <div className="h-24 rounded-lg bg-muted" />
                <div>
                  <p className="font-medium">Muted</p>
                  <code className="text-xs text-muted-foreground">
                    oklch(0.25 0.06 310)
                  </code>
                </div>
              </div>
              <div className="space-y-2">
                <div className="h-24 rounded-lg bg-card border border-border" />
                <div>
                  <p className="font-medium">Card</p>
                  <code className="text-xs text-muted-foreground">
                    oklch(0.20 0.12 310)
                  </code>
                </div>
              </div>
            </div>
          </Card>
        </section>
      )
    }