Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Main.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="fixed bottom-4 right-4 bg-neutral-800 font-sans text-white px-4 rounded-lg py-2">
<div class="fixed bottom-4 right-4 bg-neutral-800 font-sans text-white px-4 rounded-lg py-2 z-[99]">
<input type="checkbox" v-model="readonly" class="mr-2" />
<label for="checkbox">Read-only</label>
</div>
Expand Down
24 changes: 10 additions & 14 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,24 @@
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')


module.exports = {
prefix: '',
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
'sans': ['Inter', ...defaultTheme.fontFamily.sans],
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
boxShadow: {
'block': 'rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px',
block: 'rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px',
},
borderWidth: {
DEFAULT: '1px',
'0': '0',
'2': '2px',
'3': '3px',
'4': '4px',
}
0: '0',
2: '2px',
3: '3px',
4: '4px',
},
},
groups: ['tooltip'],
},
Expand All @@ -39,6 +35,6 @@ module.exports = {
return `:merge(.group-${group}):hover &`
})
})
})
]
}),
],
}