From c60795afcec8b12032999e04cce000ce19e72ae1 Mon Sep 17 00:00:00 2001 From: "thang.tranxuan" Date: Wed, 25 Dec 2024 16:31:57 +0700 Subject: [PATCH] Bump version, some minor UI update, remove obsolete CSS style --- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/components/About.vue | 111 ++++++++++++----------- src/components/common/CheckboxButton.vue | 2 +- src/components/common/RadioButton.vue | 2 +- src/components/library/Config.vue | 2 +- src/style.css | 29 +----- 8 files changed, 67 insertions(+), 85 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 210b0c1..5d00130 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2370,7 +2370,7 @@ dependencies = [ [[package]] name = "lrcget" -version = "0.5.0" +version = "1.0.0-beta.1" dependencies = [ "anyhow", "collapse", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index cdac8f5..7e3d64e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lrcget" -version = "0.5.0" +version = "1.0.0-beta.1" description = "Utility for mass-downloading LRC synced lyrics for your offline music library." authors = ["tranxuanthang"] license = "MIT" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index c1687e6..6519fd0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -72,4 +72,4 @@ "csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost; media-src *; connect-src ipc: http://ipc.localhost 'self' asset: *; style-src 'unsafe-inline' 'self'" } } -} \ No newline at end of file +} diff --git a/src/components/About.vue b/src/components/About.vue index 71ecadd..173e019 100644 --- a/src/components/About.vue +++ b/src/components/About.vue @@ -5,79 +5,86 @@ @close="emit('close')" >
-
+
-
Current version: {{ version }}
- -
- Failed to check update from GitHub. -
-
- Fetching newest version data from GitHub...
-
+
-
-
GitHub Sponsors (Recommended):
-
- - https://github.com/sponsors/tranxuanthang - +
+
+
GitHub Sponsors (Recommended):
+
-
-
-
Buy Me a Coffee:
- -
-
Paypal:
- -
-
Monero (XMR):
- 43ZN5qDdGQhPGthFnngD8rjCHYLsEFBcyJjDC1GPZzVxWSfT8R48QCLNGyy6Z9LvatF5j8kSgv23DgJpixJg8bnmMnKm3b7 -
+
+
Monero (XMR):
+ 43ZN5qDdGQhPGthFnngD8rjCHYLsEFBcyJjDC1GPZzVxWSfT8R48QCLNGyy6Z9LvatF5j8kSgv23DgJpixJg8bnmMnKm3b7 +
-
-
Litecoin (LTC):
- ltc1q7texq5qsp59gclqlwf6asrqmhm98gruvz94a48 +
+
Litecoin (LTC):
+ ltc1q7texq5qsp59gclqlwf6asrqmhm98gruvz94a48 +
-
+
- +
diff --git a/src/components/common/CheckboxButton.vue b/src/components/common/CheckboxButton.vue index 827b88a..644bbb1 100644 --- a/src/components/common/CheckboxButton.vue +++ b/src/components/common/CheckboxButton.vue @@ -21,7 +21,7 @@ v-else class="w-6 h-6 text-brave-30 dark:text-brave-90" /> - + diff --git a/src/components/common/RadioButton.vue b/src/components/common/RadioButton.vue index bde6c14..4435f3c 100644 --- a/src/components/common/RadioButton.vue +++ b/src/components/common/RadioButton.vue @@ -22,7 +22,7 @@ v-else class="w-6 h-6 text-brave-30 dark:text-brave-90" /> - + diff --git a/src/components/library/Config.vue b/src/components/library/Config.vue index 85813e4..e5ef262 100644 --- a/src/components/library/Config.vue +++ b/src/components/library/Config.vue @@ -69,7 +69,7 @@ >
Try to embed the lyrics to the track files when possible - This option could corrupt your track files. Make sure to backup your library before enabling it. + This option could corrupt your track files. Make sure to backup your library before enabling it.
diff --git a/src/style.css b/src/style.css index 2c38f9f..2a83292 100644 --- a/src/style.css +++ b/src/style.css @@ -48,10 +48,6 @@ body { @apply bg-yellow-100 hover:bg-yellow-200 text-yellow-800 active:bg-yellow-300; } -.border-normal { - @apply border-brave-25; -} - .button-primary { @apply bg-brave-30 hover:bg-brave-35 text-white active:bg-brave-25 dark:bg-brave-80 dark:hover:bg-brave-90 dark:active:bg-brave-90 dark:text-brave-20; } @@ -85,21 +81,13 @@ body { } .group-label { - @apply font-bold text-xs uppercase text-brave-30 dark:text-brave-80 block; + @apply font-bold text-brave-30 dark:text-brave-90 block; } .child-label { @apply text-sm text-brave-35 dark:text-brave-95; } -.checkbox { - @apply w-4 h-4 text-brave-90 bg-brave-35 accent-brave-35 rounded border-brave-35; -} - -.checkbox-label { - @apply text-sm text-brave-35 dark:text-brave-95; -} - .input { @apply bg-brave-98 box-border border border-brave-90 focus:border-brave-80 outline-none text-sm rounded-full transition text-brave-35 placeholder:text-brave-70 @@ -123,7 +111,7 @@ body { } .modal-content { - @apply rounded-lg bg-white dark:bg-brave-5 flex flex-col m-2 select-none text-brave-5 dark:text-brave-95; + @apply rounded-lg bg-white dark:bg-brave-5 flex flex-col m-2 select-none text-brave-35 dark:text-brave-95; overscroll-behavior: contain; } @@ -131,21 +119,8 @@ body { @apply bg-brave-98 box-border border border-brave-90 focus:border-brave-80 outline-none text-sm rounded-lg transition text-brave-35 placeholder:text-brave-70 resize-none; } -.modal-title-bar { - @apply flex-none flex justify-between items-center px-6 py-2; -} - -.modal-button { - @apply flex-none button text-brave-35 hover:text-brave-30 active:text-brave-25 rounded-full p-4; -} - -.modal-title { - @apply text-lg grow line-clamp-1 overflow-hidden text-brave-30; -} - .modal-content { @apply rounded-lg bg-white flex flex-col m-2 select-none; - overscroll-behavior: contain; } .Vue-Toastification__toast.lrcget-toast {