Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(stats): use unicode explicit icon #174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheGoldenPatrik1
Copy link

Use the NEGATIVE SQUARED LATIN CAPITAL LETTER E unicode character for the explicit icon ("🅴"), instead of just a plaintext character ("E") styled by the main-tag-container class.

The goal is to fix an issue where the explicit icon is just an empty box, depending on the theme and the background color that the main-tag-container class has. For instance, using the Sleek theme, the explicit icon is just a solid white box:

Screenshot 2024-12-26 at 1 58 34 PM

Switching to the unicode character, removing the main-tag-container class, and setting the color to the spice-text CSS variable seems to produce much more consistent results across various themes. It has the added advantage of being closer in appearance to the actual Spotify explicit icon. For instance, using the same theme:

Screenshot 2024-12-26 at 2 02 54 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant