ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

hm, what stops me from making text in my post that has different colours depending on light/dark theme? :neocat_thinking_256: <span style="color: light-dark(blue, red)">this text will be blue in light mode and red in dark mode</span>

Apr 30, 2025, 11:44 AM

Record data

{
  "uri": "at://did:plc:p2gc5i45oudxdhnc5knzpvuc/app.bsky.feed.post/3lnzprwbf4c2e",
  "cid": "bafyreifqostqsdvqdg7sxguzqwsso37c4u3vgladon25qn6yv72alu4tkq",
  "value": {
    "text": "hm, what stops me from making text in my post that has different colours depending on light/dark theme? :neocat_thinking_256: \n\n<span style=\"color: light-dark(blue, red)\">this text will be blue in light mode and red in dark mode</span>",
    "$type": "app.bsky.feed.post",
    "fullTags": "",
    "fullText": "<p>hm, what stops me from making text in my post that has different colours depending on light/dark theme? :neocat_thinking_256: </p>\n<p><span style=\"color: light-dark(blue, red)\">this text will be blue in light mode and red in dark mode</span></p>",
    "createdAt": "2025-04-30T11:44:59.244Z",
    "fediverseId": "https://app.wafrn.net/fediverse/post/097d2591-f9e1-44fe-9c8b-e259ea8391e8"
  }
}