Update button support
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
button.secondary {
|
||||
@apply btn;
|
||||
@apply bg-hSecondary text-hOnSecondary;
|
||||
@apply hover:brightness-90;
|
||||
@apply hover:bg-hSecondary;
|
||||
}
|
||||
|
||||
div.card {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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: []
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user