mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Compare commits
1 Commits
dark-card
...
dark-base-
| Author | SHA1 | Date | |
|---|---|---|---|
| 67cc9211d6 |
@ -1,9 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div class="bg-white rounded-lg shadow">
|
||||||
class="bg-white rounded-lg shadow dark:bg-gray-800 dark:text-white dark:shadow-glass dark:border dark:border-white/10 dark:bg-gray-800/70 relative"
|
|
||||||
>
|
|
||||||
<BaseDarkHighlight class="z-[-1] mt-10" />
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="hasHeaderSlot"
|
v-if="hasHeaderSlot"
|
||||||
class="px-5 py-4 text-black border-b border-gray-100 border-solid"
|
class="px-5 py-4 text-black border-b border-gray-100 border-solid"
|
||||||
|
|||||||
@ -1,21 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div
|
|
||||||
class="
|
|
||||||
hidden
|
|
||||||
top-0
|
|
||||||
w-full
|
|
||||||
absolute
|
|
||||||
ml-auto
|
|
||||||
mr-auto
|
|
||||||
left-0
|
|
||||||
right-0
|
|
||||||
text-center
|
|
||||||
h-full
|
|
||||||
rounded-full
|
|
||||||
bg-highlight/[.10]
|
|
||||||
blur-2xl
|
|
||||||
dark:block
|
|
||||||
z-[-1]
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
@ -19,7 +19,7 @@
|
|||||||
]"
|
]"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
>
|
>
|
||||||
<span class="rounded-full bg-white w-1.5 h-1.5" />
|
<span class="rounded-full bg-white w-1.5 h-1.5" :class="{ 'bg-white': checked }"/>
|
||||||
</span>
|
</span>
|
||||||
<div class="flex flex-col ml-3">
|
<div class="flex flex-col ml-3">
|
||||||
<RadioGroupLabel
|
<RadioGroupLabel
|
||||||
@ -66,11 +66,11 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
checkedStateClass: {
|
checkedStateClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'bg-primary-600',
|
default: 'bg-primary-600 ',
|
||||||
},
|
},
|
||||||
unCheckedStateClass: {
|
unCheckedStateClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'bg-white ',
|
default: 'bg-white dark:bg-transparent',
|
||||||
},
|
},
|
||||||
optionGroupActiveStateClass: {
|
optionGroupActiveStateClass: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -78,16 +78,16 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
checkedStateLabelClass: {
|
checkedStateLabelClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'text-primary-900 ',
|
default: 'text-primary-900 dark:text-primary-400',
|
||||||
},
|
},
|
||||||
unCheckedStateLabelClass: {
|
unCheckedStateLabelClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'text-gray-900',
|
default: 'text-gray-900 dark:text-white',
|
||||||
},
|
},
|
||||||
optionGroupClass: {
|
optionGroupClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default:
|
default:
|
||||||
'h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center',
|
'h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center dark:border-gray-600',
|
||||||
},
|
},
|
||||||
optionGroupLabelClass: {
|
optionGroupLabelClass: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@ -36,7 +36,6 @@ module.exports = {
|
|||||||
900: withOpacityValue('--color-primary-900'),
|
900: withOpacityValue('--color-primary-900'),
|
||||||
},
|
},
|
||||||
black: '#040405',
|
black: '#040405',
|
||||||
highlight: 'rgb(56, 189, 248)',
|
|
||||||
red: colors.red,
|
red: colors.red,
|
||||||
teal: colors.teal,
|
teal: colors.teal,
|
||||||
gray: colors.slate,
|
gray: colors.slate,
|
||||||
|
|||||||
Reference in New Issue
Block a user