Compare commits

...

3 Commits

Author SHA1 Message Date
18b5705372 Merge branch 'dark-mode' of https://github.com/crater-invoice/crater into dark-card 2023-03-20 17:20:03 +05:30
c61fbad5ce add dark base card and darkHighlight component 2023-03-20 16:31:56 +05:30
15f3f566e3 Dark sidebar header (#1156)
* add dark mode in sidebar and header

* add dark theme in blade file
2023-03-20 15:50:27 +05:30
3 changed files with 27 additions and 1 deletions

View File

@ -1,5 +1,9 @@
<template>
<div class="bg-white rounded-lg shadow">
<div
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
v-if="hasHeaderSlot"
class="px-5 py-4 text-black border-b border-gray-100 border-solid"

View File

@ -0,0 +1,21 @@
<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>

View File

@ -36,6 +36,7 @@ module.exports = {
900: withOpacityValue('--color-primary-900'),
},
black: '#040405',
highlight: 'rgb(56, 189, 248)',
red: colors.red,
teal: colors.teal,
gray: colors.slate,