ronilaukkarinen / mastodon-bird-ui

🐘🐦 Mastodon web UI, but strongly inspired by Twitter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Character counter indicator does not change color when char limit is reached/exceeded

frncs-eu opened this issue · comments

When using default Mastodon stylesheet, if a user writes too many characters inside the compose form, the counter becomes red by applying the character-counter--over class.

char counter with default mastodon style

The theme right know ignores the applied class and keeps styling the counter color with --color-dim.

char counter with Bird UI

I don't know if it's intentional, IMHO the theme should understand the applied class and use the appropriate token to colorize the counter (perhaps --color-destructive?)

@kde3kko Thanks! Haha I have 10000 characters limit so I never encountered this. Thanks for spotting it!