m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 01:23:39 -05:00

feat: add badges to web UI to quickly show which version is running and which the user will upgrade to

This is an example of a bad, long commit message.
This commit is contained in:
Sergio
2025-03-21 15:57:49 +02:00
parent 5fbbba32f1
commit dd68c5097a
3 changed files with 38 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ export default {
variants: ["hover"],
},
{
pattern: /bg-(gray|neutral)-(900|950)/,
pattern: /bg-(gray|neutral)-(400|900|950)/,
variants: ["dark"],
},
{
@@ -27,7 +27,7 @@ export default {
variants: ["before:dark", "after:dark", "dark", "hover:dark"],
},
{
pattern: /text-(gray|neutral)-(50|300|200)/,
pattern: /text-(gray|neutral)-(50|300|200|400)/,
variants: ["dark"],
},
{
@@ -68,5 +68,12 @@ export default {
pattern: /border-(gray|neutral)-(700|800|900)/,
variants: ["dark"],
},
{
pattern: /ring-(gray|neutral)-700/,
},
{
pattern: /ring-(gray|neutral)-400/,
variants: ["dark"],
},
],
};