Update button support

This commit is contained in:
2025-02-13 00:38:38 -05:00
parent 28539c5191
commit 1c4f0ae353
3 changed files with 34 additions and 27 deletions

View File

@@ -41,7 +41,7 @@
button.secondary { button.secondary {
@apply btn; @apply btn;
@apply bg-hSecondary text-hOnSecondary; @apply bg-hSecondary text-hOnSecondary;
@apply hover:brightness-90; @apply hover:bg-hSecondary;
} }
div.card { div.card {

View File

@@ -1,6 +1,6 @@
<template> <template>
<button <button
class="secondary" class="secondary text-white donation-action"
@click="openDonationDialog()" @click="openDonationDialog()"
> >
{{ $t('isupportbtn.isupport') }} {{ $t('isupportbtn.isupport') }}
@@ -166,7 +166,12 @@ function preventNonNumeric(event) {
} }
</script> </script>
<style> <style scoped>
.donation-action {
@apply bg-hutopyPrimary;
}
.error-message { .error-message {
color: white; color: white;
background-color: red; background-color: red;

View File

@@ -8,6 +8,8 @@ export default {
theme: { theme: {
extend: { extend: {
colors: { colors: {
hutopyPrimary: "var(--hutopy-primary)",
hutopySecondary: "var(--hutopy-secondary)",
hBackground: "var(--h-background)", hBackground: "var(--h-background)",
hOnBackground: "var(--h-on-background)", hOnBackground: "var(--h-on-background)",
hSurface: "var(--h-surface)", hSurface: "var(--h-surface)",