mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-12 23:36:00 +00:00
fix layer issue
This commit is contained in:
parent
72f6546e89
commit
abff99de66
@ -108,7 +108,7 @@ export function OverlayItemProfileSettings() {
|
||||
|
||||
}
|
||||
else {
|
||||
const layer = layers.find(l => l.name == "People")
|
||||
const layer = layers.find(l => l.itemType.name == "user")
|
||||
layer?.api?.createItem && toast.promise(
|
||||
layer?.api?.createItem(changedItem),
|
||||
{
|
||||
|
||||
@ -42,7 +42,6 @@ export const OverlayItemsIndexPage = ({ url, layerName, parameterField, breadcru
|
||||
scroll();
|
||||
}, [addItemPopupType])
|
||||
|
||||
|
||||
const navigate = useNavigate();
|
||||
|
||||
const tags = useTags();
|
||||
|
||||
@ -43,7 +43,17 @@ module.exports = {
|
||||
require("tw-elements/dist/plugin.cjs")
|
||||
],
|
||||
daisyui: {
|
||||
themes: ["light", "dark", "cupcake", "retro", "cyberpunk", "aqua"]
|
||||
themes: ["light", "dark", "cupcake", "retro", "cyberpunk", "aqua",
|
||||
{
|
||||
docutopia: {
|
||||
"primary": "#8e00ff",
|
||||
"secondary": "#00bb7a",
|
||||
"accent": "#006aff",
|
||||
"neutral": "#231502",
|
||||
"base-content": "#ffad6b",
|
||||
"base-100": "#440844",
|
||||
},
|
||||
},]
|
||||
},
|
||||
prefix: 'tw-',
|
||||
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user