{
"$type": "site.standard.document",
"description": "Bramus with a rad snippet : @function --light-dark(--l, --d) { result: if (color-scheme(dark): var(--d); else: var(--l)); } In 3 lines, a --light-dark() CSS function that works anywhere 🤩",
"path": "/a-rad-function-to-be-excited-about",
"publishedAt": "2025-10-01T05:03:02.153Z",
"site": "at://did:plc:jnj7wcwuvspxdsipmecmx7rs/site.standard.publication/self",
"tags": [
"note",
"css"
],
"textContent": "Bramus with a rad snippet : @function --light-dark(--l, --d) { result: if (color-scheme(dark): var(--d); else: var(--l)); } In 3 lines, a --light-dark() CSS function that works anywhere 🤩",
"title": "A Rad Function To Be Excited About"
}