Feat/prompt editor dark theme (#12976)

This commit is contained in:
zxhlyh 2025-01-23 16:20:00 +08:00 • committed by GitHub
commit e54ce479ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 27 deletions

View file

@ -24,7 +24,7 @@ export class VariableValueBlockNode extends TextNode {
createDOM(config: EditorConfig): HTMLElement {
const element = super.createDOM(config)
element.classList.add('inline-flex', 'items-center', 'px-0.5', 'h-[22px]', 'text-[#155EEF]', 'rounded-[5px]', 'align-middle')
element.classList.add('inline-flex', 'items-center', 'px-0.5', 'h-[22px]', 'text-text-accent', 'rounded-[5px]', 'align-middle')
return element
}