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 {
@apply btn;
@apply bg-hSecondary text-hOnSecondary;
@apply hover:brightness-90;
@apply hover:bg-hSecondary;
}
div.card {

View File

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

View File

@@ -1,28 +1,30 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
hBackground: "var(--h-background)",
hOnBackground: "var(--h-on-background)",
hSurface: "var(--h-surface)",
hOnSurface: "var(--h-on-surface)",
hPrimary: "var(--h-primary)",
hOnPrimary: "var(--h-on-primary)",
hSecondary: "var(--h-secondary)",
hOnSecondary: "var(--h-on-secondary)",
hTertiary: "var(--h-tertiary)",
hOnTertiary: "var(--h-on-tertiary)",
hError: "var(--h-error)",
hOnError: "var(--h-on-error)",
}
}
},
plugins: []
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
hutopyPrimary: "var(--hutopy-primary)",
hutopySecondary: "var(--hutopy-secondary)",
hBackground: "var(--h-background)",
hOnBackground: "var(--h-on-background)",
hSurface: "var(--h-surface)",
hOnSurface: "var(--h-on-surface)",
hPrimary: "var(--h-primary)",
hOnPrimary: "var(--h-on-primary)",
hSecondary: "var(--h-secondary)",
hOnSecondary: "var(--h-on-secondary)",
hTertiary: "var(--h-tertiary)",
hOnTertiary: "var(--h-on-tertiary)",
hError: "var(--h-error)",
hOnError: "var(--h-on-error)",
}
}
},
plugins: []
}