From 6a152d5cf5f35bc58fc4b659fe6edcb6f94f760c Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Tue, 13 Apr 2021 12:35:46 -0500
Subject: Add custom button to normalize styling with FileUpload

---
 src/components/UIButton.vue | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 src/components/UIButton.vue

(limited to 'src/components/UIButton.vue')

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>
-- 
cgit v1.2.3

