blob: 57b155bb56c4a3d6e6eadd915bae7e36f22dbfe8 (
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
|
<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-size: 1em;
padding: 0.5em;
}
.ui-button:hover {
color: grey;
cursor: pointer;
}
@media (prefers-color-scheme: dark) {
.ui-button {
background-color: #81302b;
}
}
</style>
|