mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
chore(templates): handle icons and without function
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export default (config: any) => ({
|
||||
export default (config: { colors: string[] }) => ({
|
||||
slots: {
|
||||
base: 'rounded-md font-medium inline-flex items-center focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 shrink-0',
|
||||
label: '',
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default () => ({
|
||||
export default {
|
||||
base: 'max-w-7xl mx-auto px-4 sm:px-6 lg:px-8'
|
||||
})
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
export { default as button } from './button'
|
||||
export { default as container } from './container'
|
||||
export { default as icons } from './icons'
|
||||
export { default as tooltip } from './tooltip'
|
||||
@@ -1,6 +1,6 @@
|
||||
export default () => ({
|
||||
export default {
|
||||
slots: {
|
||||
content: 'bg-white dark:bg-gray-900 text-gray-900 dark:text-white shadow rounded ring-1 ring-gray-200 dark:ring-gray-800 h-6 px-2 py-1 text-xs font-normal truncate relative',
|
||||
arrow: 'fill-white dark:fill-gray-900'
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user