Skip to content

Commit

Permalink
Add dynamic CSS support
Browse files Browse the repository at this point in the history
This PR will remove the custom CSS changes from this repo.
A PR in the Vaultwarden repo will add these in a different way.

To make the dynamic CSS work other changes are done to add a custom
stylesheet link tag.

Also moved some legacy patch files.
  • Loading branch information
BlackDex committed Sep 11, 2024
1 parent bfa7310 commit 5a77451
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 5,878 deletions.
426 changes: 0 additions & 426 deletions patches/v2023.1.0.patch

This file was deleted.

439 changes: 0 additions & 439 deletions patches/v2023.1.1.patch

This file was deleted.

616 changes: 0 additions & 616 deletions patches/v2023.10.0.patch

This file was deleted.

614 changes: 0 additions & 614 deletions patches/v2023.12.0.patch

This file was deleted.

445 changes: 0 additions & 445 deletions patches/v2023.2.0.patch

This file was deleted.

445 changes: 0 additions & 445 deletions patches/v2023.3.0.patch

This file was deleted.

445 changes: 0 additions & 445 deletions patches/v2023.4.0.patch

This file was deleted.

472 changes: 0 additions & 472 deletions patches/v2023.5.0.patch

This file was deleted.

459 changes: 0 additions & 459 deletions patches/v2023.5.1.patch

This file was deleted.

471 changes: 0 additions & 471 deletions patches/v2023.7.1.patch

This file was deleted.

515 changes: 0 additions & 515 deletions patches/v2023.8.2.patch

This file was deleted.

530 changes: 0 additions & 530 deletions patches/v2023.9.1.patch

This file was deleted.

5 changes: 4 additions & 1 deletion scripts/generate_patch_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ fi
PATCH_FILENAME="${VAULT_VERSION}.patch"

if [ "$(git status --porcelain | wc -l)" -ge 1 ]; then
git --no-pager diff --no-color --minimal --abbrev=10 -- . \
git add -A
git --no-pager diff --cached --no-color --minimal --abbrev=10 -- . \
':!package-lock.json' \
':!apps/web/src/favicon.ico' \
':!apps/web/src/images/[email protected]' \
':!apps/web/src/images/[email protected]' \
':!apps/web/src/images/icon-white.png' \
':!apps/web/src/images/icon-dark.png' \
':!apps/web/src/images/icons/android-chrome-192x192.png' \
':!apps/web/src/images/icons/android-chrome-512x512.png' \
':!apps/web/src/images/icons/apple-touch-icon.png' \
Expand All @@ -40,6 +42,7 @@ if [ "$(git status --porcelain | wc -l)" -ge 1 ]; then
':!apps/web/src/app/layouts/password-manager-logo.ts' \
':!bitwarden_license/' \
> "../patches/${PATCH_FILENAME}"
git reset -q
echo "Patch has been created here: patches/${PATCH_FILENAME}"
else
echo "No changes found, skip generating a patch file."
Expand Down

0 comments on commit 5a77451

Please sign in to comment.