Pre-PMTools

This commit is contained in:
2026-10-16 19:15:33 +02:00
parent 1bddc5597e
commit 496606653d
51 changed files with 3659 additions and 268 deletions

View File

@@ -0,0 +1,24 @@
import { fields } from '@keystatic/core'
import { inline } from '@keystatic/core/content-components'
import { flameIcon } from '@keystar/ui/icon/icons/flameIcon'
import { ELEMENT_STYLES, ELEMENTS } from '@/lib/constants/elements'
export const element = inline({
label: 'Element',
description: 'An elemental glyph, set in Unigrim Dee',
icon: flameIcon,
schema: {
name: fields.select({
label: 'Element',
options: ELEMENTS,
defaultValue: 'earth',
}),
style: fields.select({
label: 'Style',
options: ELEMENT_STYLES,
defaultValue: 'filled',
}),
},
})