feat: workflow note dark theme (#12932)
This commit is contained in:
@@ -4,39 +4,39 @@ export const CUSTOM_NOTE_NODE = 'custom-note'
|
||||
|
||||
export const THEME_MAP: Record<string, { outer: string; title: string; bg: string; border: string }> = {
|
||||
[NoteTheme.blue]: {
|
||||
outer: '#2E90FA',
|
||||
title: '#D1E9FF',
|
||||
bg: '#EFF8FF',
|
||||
border: '#84CAFF',
|
||||
outer: 'border-util-colors-blue-blue-500',
|
||||
title: 'bg-util-colors-blue-blue-100',
|
||||
bg: 'bg-util-colors-blue-blue-50',
|
||||
border: 'border-util-colors-blue-blue-300',
|
||||
},
|
||||
[NoteTheme.cyan]: {
|
||||
outer: '#06AED4',
|
||||
title: '#CFF9FE',
|
||||
bg: '#ECFDFF',
|
||||
border: '#67E3F9',
|
||||
outer: 'border-util-colors-cyan-cyan-500',
|
||||
title: 'bg-util-colors-cyan-cyan-100',
|
||||
bg: 'bg-util-colors-cyan-cyan-50',
|
||||
border: 'border-util-colors-cyan-cyan-300',
|
||||
},
|
||||
[NoteTheme.green]: {
|
||||
outer: '#16B364',
|
||||
title: '#D3F8DF',
|
||||
bg: '#EDFCF2',
|
||||
border: '#73E2A3',
|
||||
outer: 'border-util-colors-green-green-500',
|
||||
title: 'bg-util-colors-green-green-100',
|
||||
bg: 'bg-util-colors-green-green-50',
|
||||
border: 'border-util-colors-green-green-300',
|
||||
},
|
||||
[NoteTheme.yellow]: {
|
||||
outer: '#EAAA08',
|
||||
title: '#FEF7C3',
|
||||
bg: '#FEFBE8',
|
||||
border: '#FDE272',
|
||||
outer: 'border-util-colors-yellow-yellow-500',
|
||||
title: 'bg-util-colors-yellow-yellow-100',
|
||||
bg: 'bg-util-colors-yellow-yellow-50',
|
||||
border: 'border-util-colors-yellow-yellow-300',
|
||||
},
|
||||
[NoteTheme.pink]: {
|
||||
outer: '#EE46BC',
|
||||
title: '#FCE7F6',
|
||||
bg: '#FDF2FA',
|
||||
border: '#FAA7E0',
|
||||
outer: 'border-util-colors-pink-pink-500',
|
||||
title: 'bg-util-colors-pink-pink-100',
|
||||
bg: 'bg-util-colors-pink-pink-50',
|
||||
border: 'border-util-colors-pink-pink-300',
|
||||
},
|
||||
[NoteTheme.violet]: {
|
||||
outer: '#875BF7',
|
||||
title: '#ECE9FE',
|
||||
bg: '#F5F3FF',
|
||||
border: '#C3B5FD',
|
||||
outer: 'border-util-colors-violet-violet-500',
|
||||
title: 'bg-util-colors-violet-violet-100',
|
||||
bg: 'bg-util-colors-violet-violet-100',
|
||||
border: 'border-util-colors-violet-violet-300',
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user