From 65cf90d3354f8f7ae2958ce21487f53d87c4f529 Mon Sep 17 00:00:00 2001 From: Hammy <58985301+sgoudham@users.noreply.github.com> Date: Sun, 17 Nov 2024 19:47:12 +0000 Subject: [PATCH] refactor: add whiskers check & update to whiskers v2.5.1 (#44) --- .github/workflows/check.yml | 19 +++++++++++++++++++ react_native.tera | 4 ++-- themes/frappe/blue.json | 2 +- themes/frappe/flamingo.json | 2 +- themes/frappe/green.json | 2 +- themes/frappe/lavender.json | 2 +- themes/frappe/maroon.json | 2 +- themes/frappe/mauve.json | 2 +- themes/frappe/peach.json | 2 +- themes/frappe/pink.json | 2 +- themes/frappe/red.json | 2 +- themes/frappe/rosewater.json | 2 +- themes/frappe/sapphire.json | 2 +- themes/frappe/sky.json | 2 +- themes/frappe/teal.json | 2 +- themes/frappe/yellow.json | 2 +- themes/latte/blue.json | 2 +- themes/latte/flamingo.json | 2 +- themes/latte/green.json | 2 +- themes/latte/lavender.json | 2 +- themes/latte/maroon.json | 2 +- themes/latte/mauve.json | 2 +- themes/latte/peach.json | 2 +- themes/latte/pink.json | 2 +- themes/latte/red.json | 2 +- themes/latte/rosewater.json | 2 +- themes/latte/sapphire.json | 2 +- themes/latte/sky.json | 2 +- themes/latte/teal.json | 2 +- themes/latte/yellow.json | 2 +- themes/macchiato/blue.json | 2 +- themes/macchiato/flamingo.json | 2 +- themes/macchiato/green.json | 2 +- themes/macchiato/lavender.json | 2 +- themes/macchiato/maroon.json | 2 +- themes/macchiato/mauve.json | 2 +- themes/macchiato/peach.json | 2 +- themes/macchiato/pink.json | 2 +- themes/macchiato/red.json | 2 +- themes/macchiato/rosewater.json | 2 +- themes/macchiato/sapphire.json | 2 +- themes/macchiato/sky.json | 2 +- themes/macchiato/teal.json | 2 +- themes/macchiato/yellow.json | 2 +- themes/mocha/blue.json | 2 +- themes/mocha/flamingo.json | 2 +- themes/mocha/green.json | 2 +- themes/mocha/lavender.json | 2 +- themes/mocha/maroon.json | 2 +- themes/mocha/mauve.json | 2 +- themes/mocha/peach.json | 2 +- themes/mocha/pink.json | 2 +- themes/mocha/red.json | 2 +- themes/mocha/rosewater.json | 2 +- themes/mocha/sapphire.json | 2 +- themes/mocha/sky.json | 2 +- themes/mocha/teal.json | 2 +- themes/mocha/yellow.json | 2 +- 58 files changed, 77 insertions(+), 58 deletions(-) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..b625003 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,19 @@ +name: Whiskers Check + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + check: + # change to ubuntu-latest after GitHub properly rolls out 24.04 (whiskers v2.5.1 depends on 24.04) + # ref: https://github.com/actions/runner-images/issues/10636 + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: catppuccin/setup-whiskers@v1 + with: + whiskers-version: 2.5.1 + - run: whiskers react_native.tera --check diff --git a/react_native.tera b/react_native.tera index 6df70f3..16bbf9d 100644 --- a/react_native.tera +++ b/react_native.tera @@ -1,6 +1,6 @@ --- whiskers: - version: 2.1.0 + version: 2.5.1 matrix: - flavor - accent @@ -239,4 +239,4 @@ whiskers: } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/blue.json b/themes/frappe/blue.json index e97f67f..9dccae9 100644 --- a/themes/frappe/blue.json +++ b/themes/frappe/blue.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/flamingo.json b/themes/frappe/flamingo.json index ae2a44b..efd91bd 100644 --- a/themes/frappe/flamingo.json +++ b/themes/frappe/flamingo.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/green.json b/themes/frappe/green.json index b5614da..8214268 100644 --- a/themes/frappe/green.json +++ b/themes/frappe/green.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/lavender.json b/themes/frappe/lavender.json index 29684b5..19833da 100644 --- a/themes/frappe/lavender.json +++ b/themes/frappe/lavender.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/maroon.json b/themes/frappe/maroon.json index 3f28db5..9fc1eef 100644 --- a/themes/frappe/maroon.json +++ b/themes/frappe/maroon.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/mauve.json b/themes/frappe/mauve.json index 470ac6e..b945d56 100644 --- a/themes/frappe/mauve.json +++ b/themes/frappe/mauve.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/peach.json b/themes/frappe/peach.json index 2884ca6..773775f 100644 --- a/themes/frappe/peach.json +++ b/themes/frappe/peach.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/pink.json b/themes/frappe/pink.json index eee1095..4cbd710 100644 --- a/themes/frappe/pink.json +++ b/themes/frappe/pink.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/red.json b/themes/frappe/red.json index 8848dcf..df6344a 100644 --- a/themes/frappe/red.json +++ b/themes/frappe/red.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/rosewater.json b/themes/frappe/rosewater.json index 21a17df..3864cf1 100644 --- a/themes/frappe/rosewater.json +++ b/themes/frappe/rosewater.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/sapphire.json b/themes/frappe/sapphire.json index a58b2cb..ce70e6d 100644 --- a/themes/frappe/sapphire.json +++ b/themes/frappe/sapphire.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/sky.json b/themes/frappe/sky.json index 92793b3..5c6d85e 100644 --- a/themes/frappe/sky.json +++ b/themes/frappe/sky.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/teal.json b/themes/frappe/teal.json index ff16690..d847bbe 100644 --- a/themes/frappe/teal.json +++ b/themes/frappe/teal.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/frappe/yellow.json b/themes/frappe/yellow.json index 13b8d97..41c8422 100644 --- a/themes/frappe/yellow.json +++ b/themes/frappe/yellow.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/blue.json b/themes/latte/blue.json index b63abc5..b3d3c6d 100644 --- a/themes/latte/blue.json +++ b/themes/latte/blue.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/flamingo.json b/themes/latte/flamingo.json index 920d5cd..72f7aa2 100644 --- a/themes/latte/flamingo.json +++ b/themes/latte/flamingo.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/green.json b/themes/latte/green.json index d3c2084..15ea39f 100644 --- a/themes/latte/green.json +++ b/themes/latte/green.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/lavender.json b/themes/latte/lavender.json index 4c1c909..f46ea21 100644 --- a/themes/latte/lavender.json +++ b/themes/latte/lavender.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/maroon.json b/themes/latte/maroon.json index 9caae98..a814e51 100644 --- a/themes/latte/maroon.json +++ b/themes/latte/maroon.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/mauve.json b/themes/latte/mauve.json index 6ebc982..3ecb5a9 100644 --- a/themes/latte/mauve.json +++ b/themes/latte/mauve.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/peach.json b/themes/latte/peach.json index 2b5ddad..e25d8bb 100644 --- a/themes/latte/peach.json +++ b/themes/latte/peach.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/pink.json b/themes/latte/pink.json index c2696ce..d8ca1c6 100644 --- a/themes/latte/pink.json +++ b/themes/latte/pink.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/red.json b/themes/latte/red.json index 06b41e0..38a721d 100644 --- a/themes/latte/red.json +++ b/themes/latte/red.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/rosewater.json b/themes/latte/rosewater.json index e409892..c3af8e6 100644 --- a/themes/latte/rosewater.json +++ b/themes/latte/rosewater.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/sapphire.json b/themes/latte/sapphire.json index 41854eb..96a5578 100644 --- a/themes/latte/sapphire.json +++ b/themes/latte/sapphire.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/sky.json b/themes/latte/sky.json index 7e9cb55..0fdd2c1 100644 --- a/themes/latte/sky.json +++ b/themes/latte/sky.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/teal.json b/themes/latte/teal.json index 0220a3d..edaf55c 100644 --- a/themes/latte/teal.json +++ b/themes/latte/teal.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/latte/yellow.json b/themes/latte/yellow.json index 642e0d1..5c44cc3 100644 --- a/themes/latte/yellow.json +++ b/themes/latte/yellow.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/blue.json b/themes/macchiato/blue.json index 41bfc2c..ac4f3da 100644 --- a/themes/macchiato/blue.json +++ b/themes/macchiato/blue.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/flamingo.json b/themes/macchiato/flamingo.json index abb05c2..74a62ed 100644 --- a/themes/macchiato/flamingo.json +++ b/themes/macchiato/flamingo.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/green.json b/themes/macchiato/green.json index 7afbb96..596ab06 100644 --- a/themes/macchiato/green.json +++ b/themes/macchiato/green.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/lavender.json b/themes/macchiato/lavender.json index 36cd6c4..1d90be7 100644 --- a/themes/macchiato/lavender.json +++ b/themes/macchiato/lavender.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/maroon.json b/themes/macchiato/maroon.json index 7ce1bcd..659aadb 100644 --- a/themes/macchiato/maroon.json +++ b/themes/macchiato/maroon.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/mauve.json b/themes/macchiato/mauve.json index 6978035..ffa8571 100644 --- a/themes/macchiato/mauve.json +++ b/themes/macchiato/mauve.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/peach.json b/themes/macchiato/peach.json index 7f72e81..935cf2c 100644 --- a/themes/macchiato/peach.json +++ b/themes/macchiato/peach.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/pink.json b/themes/macchiato/pink.json index a534b14..ab0f603 100644 --- a/themes/macchiato/pink.json +++ b/themes/macchiato/pink.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/red.json b/themes/macchiato/red.json index 3ee14bc..83d9693 100644 --- a/themes/macchiato/red.json +++ b/themes/macchiato/red.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/rosewater.json b/themes/macchiato/rosewater.json index 958e3d4..28feef6 100644 --- a/themes/macchiato/rosewater.json +++ b/themes/macchiato/rosewater.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/sapphire.json b/themes/macchiato/sapphire.json index fe6f11a..aabc721 100644 --- a/themes/macchiato/sapphire.json +++ b/themes/macchiato/sapphire.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/sky.json b/themes/macchiato/sky.json index 81e4d6c..f939555 100644 --- a/themes/macchiato/sky.json +++ b/themes/macchiato/sky.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/teal.json b/themes/macchiato/teal.json index af305f8..c45ded6 100644 --- a/themes/macchiato/teal.json +++ b/themes/macchiato/teal.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/macchiato/yellow.json b/themes/macchiato/yellow.json index 10ee916..643541a 100644 --- a/themes/macchiato/yellow.json +++ b/themes/macchiato/yellow.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/blue.json b/themes/mocha/blue.json index 214c7d1..1570604 100644 --- a/themes/mocha/blue.json +++ b/themes/mocha/blue.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/flamingo.json b/themes/mocha/flamingo.json index 13e0862..5f5fb54 100644 --- a/themes/mocha/flamingo.json +++ b/themes/mocha/flamingo.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/green.json b/themes/mocha/green.json index ece4e63..c80eabe 100644 --- a/themes/mocha/green.json +++ b/themes/mocha/green.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/lavender.json b/themes/mocha/lavender.json index 28f9799..c082720 100644 --- a/themes/mocha/lavender.json +++ b/themes/mocha/lavender.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/maroon.json b/themes/mocha/maroon.json index 8ebee8f..6b458a6 100644 --- a/themes/mocha/maroon.json +++ b/themes/mocha/maroon.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/mauve.json b/themes/mocha/mauve.json index 4436b35..2fc56e4 100644 --- a/themes/mocha/mauve.json +++ b/themes/mocha/mauve.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/peach.json b/themes/mocha/peach.json index 46beef4..e5dfd01 100644 --- a/themes/mocha/peach.json +++ b/themes/mocha/peach.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/pink.json b/themes/mocha/pink.json index 0179667..fb1a158 100644 --- a/themes/mocha/pink.json +++ b/themes/mocha/pink.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/red.json b/themes/mocha/red.json index 611dcfd..21b295f 100644 --- a/themes/mocha/red.json +++ b/themes/mocha/red.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/rosewater.json b/themes/mocha/rosewater.json index 23be127..5c393ec 100644 --- a/themes/mocha/rosewater.json +++ b/themes/mocha/rosewater.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/sapphire.json b/themes/mocha/sapphire.json index 6b340cf..f060fd7 100644 --- a/themes/mocha/sapphire.json +++ b/themes/mocha/sapphire.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/sky.json b/themes/mocha/sky.json index 329eab3..5ae0c76 100644 --- a/themes/mocha/sky.json +++ b/themes/mocha/sky.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/teal.json b/themes/mocha/teal.json index 8c35261..ab35c4c 100644 --- a/themes/mocha/teal.json +++ b/themes/mocha/teal.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +} diff --git a/themes/mocha/yellow.json b/themes/mocha/yellow.json index ea5e68e..74ee768 100644 --- a/themes/mocha/yellow.json +++ b/themes/mocha/yellow.json @@ -227,4 +227,4 @@ } }, "spec": 2 -} \ No newline at end of file +}