blob: 59f46860937c7064329070e744ca49aea48e4fc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>
|