Why Nostr? What is Njump?
2024-06-26 14:13:53

James Edwards on Nostr: Is it an abuse of #css #system #colors to use them as a generalized palette for UI ...

Is it an abuse of #css #system #colors to use them as a generalized palette for UI features that don't have an explicit system color (assuming no direct contradiction)?

For example -- a button's border should be `ButtonBorder`, the text in a form field should be `FieldText`, and it would be bad practice to use any other name.

But there's no "FieldBorder" (it inherits from `ButtonBorder`) so would it be legit to use something like `VisitedText` as the border-color for an invalid field?
Author Public Key
npub1t4u2jqzxdjr66fmdkvfgggs08tpkz8uagr2wp7dd4058vuantc9qdu07pz