ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Maybe a dumb tailwind question, but how do I define colors that are only for text or backgrounds or borders? It seems I can only define 'colors' at the theme level, but then using those colors in classes are prefixed with their use, like bg-red-50 or text-red-500. What if I want 'text-secondary'?

Apr 18, 2025, 4:18 AM

Record data

{
  "uri": "at://did:plc:kfva6dexodbbocpikyrllbb2/app.bsky.feed.post/3ln2rc7a2mk2z",
  "cid": "bafyreiaa3qmo2bflaupiktfgmxchpizfwd75a7nahlzv56gtyvomqjzpya",
  "value": {
    "text": "Maybe a dumb tailwind question, but how do I define colors that are only for text or backgrounds or borders? It seems I can only define 'colors' at the theme level, but then using those colors in classes are prefixed with their use, like bg-red-50 or text-red-500. What if I want 'text-secondary'?",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "createdAt": "2025-04-18T04:18:43.219Z"
  }
}