Feat/prompt editor dark theme (#12976)

This commit is contained in:
zxhlyh
2025-01-23 16:20:00 +08:00
committed by GitHub
parent 6024d8a42d
commit e54ce479ad
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
}