aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/UIButton.vue33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/components/UIButton.vue b/src/components/UIButton.vue
new file mode 100644
index 0000000..59f4686
--- /dev/null
+++ b/src/components/UIButton.vue
@@ -0,0 +1,33 @@
+<template>
+ <button class="ui-button"><slot></slot></button>
+</template>
+
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
+ name: 'UIButton',
+});
+</script>
+
+<style>
+.ui-button {
+ background-color: #500000;
+ border: none;
+ color: white;
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ font-size: 1em;
+ padding: 0.5em;
+}
+
+.ui-button:hover {
+ color: grey;
+ cursor: pointer;
+}
+
+@media (prefers-color-scheme: dark) {
+ .ui-button {
+ background-color: #81302b;
+ }
+}
+</style>