New: Added a way to easily switch between IMDb and TMDB star colors (#300)

```
.starIcon{
    /* use --imdb for a gold star */
    --colors: var(--tmdb);
}
```
This commit is contained in:
lscambo13 committed 2026-07-05 15:54:06 +05:30
1 parent f916d5a8af
commit 6659e42fe5
1 file changed
+4 -1
+4 -1
View File
@@ -1186,7 +1186,10 @@ select {
}
.starIcon {
background: linear-gradient(to right, #90cea1, #01b4e4);
--tmdb: linear-gradient(to right, #90cea1, #01b4e4);
--imdb: linear-gradient(to right, #f2db83, #dba506);
--colors: var(---tmdb);
background: var(--colors);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-left: -0.125em;