From 30e34913f62acb63a28ed4d45916337760a37f1d Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Sat, 1 Mar 2025 22:04:20 +0100 Subject: [PATCH] chore: fix the file structure --- .github/workflows/static.yml | 2 +- .github/workflows/whiskers.yml | 4 ++-- template.tera => jellyfin.tera | 2 +- {src => themes}/frappe.css | 0 {src => themes}/latte.css | 0 {src => themes}/macchiato.css | 0 {src => themes}/mocha.css | 0 {src => themes}/rounding.css | 0 {src => themes}/theme.css | 0 9 files changed, 4 insertions(+), 4 deletions(-) rename template.tera => jellyfin.tera (94%) rename {src => themes}/frappe.css (100%) rename {src => themes}/latte.css (100%) rename {src => themes}/macchiato.css (100%) rename {src => themes}/mocha.css (100%) rename {src => themes}/rounding.css (100%) rename {src => themes}/theme.css (100%) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c222c01..cb45a4b 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -29,7 +29,7 @@ jobs: - name: Prepare files run: | mkdir -p build - cp src/*.css build + cp themes/*.css build cd build sed -i 's/\[URL\]/https:\/\/adamperkowski.github.io\/jellyfin/g' *.css - name: Upload artifact diff --git a/.github/workflows/whiskers.yml b/.github/workflows/whiskers.yml index 7092449..27635e2 100644 --- a/.github/workflows/whiskers.yml +++ b/.github/workflows/whiskers.yml @@ -2,7 +2,7 @@ name: Whiskers Check on: push: - paths: ['template.tera', 'src', '.github/workflows/whiskers.yml'] + paths: ['jellyfin.tera', 'themes', '.github/workflows/whiskers.yml'] pull_request: workflow_dispatch: @@ -15,4 +15,4 @@ jobs: - uses: catppuccin/setup-whiskers@v1.0.0 with: whiskers-version: '2.5.1' - - run: whiskers template.tera --check + - run: whiskers jellyfin.tera --check diff --git a/template.tera b/jellyfin.tera similarity index 94% rename from template.tera rename to jellyfin.tera index 67dfb45..a28d796 100644 --- a/template.tera +++ b/jellyfin.tera @@ -3,7 +3,7 @@ whiskers: version: 2.5.1 matrix: - flavor - filename: 'src/{{flavor.identifier}}.css' + filename: 'themes/{{flavor.identifier}}.css' --- :root { --rosewater: #{{rosewater.hex}}; diff --git a/src/frappe.css b/themes/frappe.css similarity index 100% rename from src/frappe.css rename to themes/frappe.css diff --git a/src/latte.css b/themes/latte.css similarity index 100% rename from src/latte.css rename to themes/latte.css diff --git a/src/macchiato.css b/themes/macchiato.css similarity index 100% rename from src/macchiato.css rename to themes/macchiato.css diff --git a/src/mocha.css b/themes/mocha.css similarity index 100% rename from src/mocha.css rename to themes/mocha.css diff --git a/src/rounding.css b/themes/rounding.css similarity index 100% rename from src/rounding.css rename to themes/rounding.css diff --git a/src/theme.css b/themes/theme.css similarity index 100% rename from src/theme.css rename to themes/theme.css