status.health logo status.health logo status.health

Style Validation Prompt

Style Validation Prompt

Before Making ANY Style Changes

Ask yourself these questions and verify compliance:

1. Color Variables

2. Dark Mode

3. Typography

4. Layout

5. Signature Elements

6. Attest Badge

7. Testing

Quick Reference CSS

/* EXACT status.health colors - DO NOT MODIFY */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --heading-color: #222222;
    --highlight-color: #4a90e2;
    --highlight-bg: rgba(74, 144, 226, 0.1);
    --muted-color: #777777;
    --border-color: #eeeeee;
    --card-bg: #ffffff;
    --footer-bg: #f8f8f8;
    --toc-hover: #f0f4f8;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

:root.dark-theme {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --highlight-color: #64a0ff;
    --highlight-bg: rgba(100, 160, 255, 0.1);
    --muted-color: #a0a0a0;
    --border-color: #333333;
    --card-bg: #1e1e1e;
    --footer-bg: #181818;
    --toc-hover: #252a32;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

Command to Run Before Committing

# Check that all tests pass
./test-suite.sh

# Verify dark mode works
# 1. Open site
# 2. Click dark mode toggle
# 3. Refresh page - should stay dark
# 4. Clear localStorage
# 5. Refresh - should respect system preference

Red Flags - DO NOT PROCEED IF: