forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDark.vue
More file actions
30 lines (27 loc) · 631 Bytes
/
Dark.vue
File metadata and controls
30 lines (27 loc) · 631 Bytes
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
<template>
<div class="q-pa-md">
<div class=" row items-start q-gutter-md">
<q-color v-model="hex" dark class="my-picker" />
<q-color v-model="hexa" dark class="my-picker" />
<q-color v-model="rgb" dark class="my-picker" />
<q-color v-model="rgba" dark class="my-picker" />
</div>
</div>
</template>
<script>
import { ref } from 'vue'
export default {
setup () {
return {
hex: ref('#FF00FF'),
hexa: ref('#FF00FFCC'),
rgb: ref('rgb(0,0,0)'),
rgba: ref('rgba(255,0,255,0.8)')
}
}
}
</script>
<style lang="sass" scoped>
.my-picker
max-width: 250px
</style>