Den Datafag Trollmann :flag: on Nostr: Good news: buttons and unstyled buttons look great in Themes 3.0 or at least the way ...
Good news: buttons and unstyled buttons look great in Themes 3.0 or at least the way they should, also reduced the extraneous CSS that some places did to change icon color of unstyled buttons on hover.
Bad news: themes 3 initialization time is around 1 second, but i'm sure I can optimize it further.
Undetermined news: I'm considering making states essentially "hard-coded" or at least partially. I can't think of many cases where a component might need more than 1 state unless it's an inherently stateful component like Button/Input, all other components so far either have one extra state (text has "faint") or none. It would also help the inheritance between disabled/hover/active/focused.
Oh and also specificity sorting is in place, at least for parents amount.
Published at
2024-02-12 15:36:31Event JSON
{
"id": "14eb42f6e1371821e54bae4853209e09ec1fb17dbbfc8b1ec37aa5eecf5163f9",
"pubkey": "6387482bc4cbd27eab5eeb91f7f84eb3a17582c8291d331feb32bb089594b609",
"created_at": 1707752191,
"kind": 1,
"tags": [
[
"proxy",
"https://shigusegubu.club/objects/d42c864e-12b9-4bb8-819d-fbee64a5b4e5",
"activitypub"
]
],
"content": "Good news: buttons and unstyled buttons look great in Themes 3.0 or at least the way they should, also reduced the extraneous CSS that some places did to change icon color of unstyled buttons on hover.\n\nBad news: themes 3 initialization time is around 1 second, but i'm sure I can optimize it further.\n\nUndetermined news: I'm considering making states essentially \"hard-coded\" or at least partially. I can't think of many cases where a component might need more than 1 state unless it's an inherently stateful component like Button/Input, all other components so far either have one extra state (text has \"faint\") or none. It would also help the inheritance between disabled/hover/active/focused.\n\nOh and also specificity sorting is in place, at least for parents amount.",
"sig": "2a7165b075971d9534994688f911bedbcb26cce7d6a6459aa5b6aee514424cb7c45e0392179b38db6eab5c9a8e98f270fdc985c4306d571e0e7cb8ff03da51d8"
}