{
  "id": "dark-mode-elevation",
  "name": "Dark Mode Elevation",
  "category": "shadows",
  "tags": [
    "dark theme",
    "surface",
    "lighter",
    "overlay",
    "levels"
  ],
  "description": "Elevation for dark themes, where higher surfaces get lighter instead of relying on shadows alone.",
  "url": "https://copy-css.com/snippets/dark-mode-elevation",
  "markdown": "https://copy-css.com/snippets/dark-mode-elevation.md",
  "html": "<div class=\"dm-surface dm-level-1\">1</div>\n<div class=\"dm-surface dm-level-2\">2</div>\n<div class=\"dm-surface dm-level-3\">3</div>\n<div class=\"dm-surface dm-level-4\">4</div>",
  "css": "/* Page background: #121212 */\n.dm-surface {\n  display: grid;\n  place-items: center;\n  width: 48px;\n  height: 48px;\n  border-radius: 12px;\n  color: #e0e0e0;\n  font: 600 14px system-ui, sans-serif;\n}\n\n.dm-level-1 {\n  background: #1e1e1e;\n  box-shadow: 0 1px 2px #00000066;\n}\n\n.dm-level-2 {\n  background: #242424;\n  box-shadow: 0 2px 6px #00000080;\n}\n\n.dm-level-3 {\n  background: #2c2c2c;\n  box-shadow: 0 6px 14px #00000099;\n}\n\n.dm-level-4 {\n  background: #383838;\n  box-shadow: 0 12px 28px #000000b3;\n}",
  "features": [
    "box shadows",
    "CSS Grid"
  ],
  "customProperties": []
}
