Skip to content

Commit

Permalink
chore: sort editor colours
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrossmann committed Apr 4, 2024
1 parent c448634 commit ab8bc5f
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/generators/mkui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,32 +331,34 @@ function mkui({ ui, code }: MKUIParams): UIColourPalette {
'editor.foreground': ui.text.primary.hex(),
'editor.hoverHighlightBackground': ui.highlight.hover.alpha(ch(0x11)).hexa(),
'editor.lineHighlightBackground': ui.highlight.line.alpha(ch(0x09)).hexa(),
'editor.onTypeRenameBackground': ui.highlight.word.matches.alpha(ch(0x33)).hexa(),
'editor.rangeHighlightBackground': ui.highlight.range.alpha(ch(0x11)).hexa(),
'editor.selectionBackground': ui.highlight.selection.alpha(ch(0x22)).hexa(),
'editor.selectionHighlightBackground': ui.highlight.selection.alpha(ch(0x11)).hexa(),
'editor.wordHighlightBackground': ui.highlight.word.highlight.alpha(ch(0x11)).hexa(),
'editor.wordHighlightStrongBackground': ui.highlight.word.source.alpha(ch(0x33)).hexa(),
'editor.wordHighlightStrongBorder': ui.highlight.word.source.alpha(ch(0xaa)).hexa(),
'editor.onTypeRenameBackground': ui.highlight.word.matches.alpha(ch(0x33)).hexa(),
'editorCursor.foreground': ui.text.primary.hex(),
'editorIndentGuide.activeBackground': ui.text.secondary.alpha(ch(0x99)).hexa(),
'editorIndentGuide.background': ui.text.secondary.alpha(ch(0x33)).hexa(),
'editorLineNumber.activeForeground': ui.text.primary.hex(),
'editorLineNumber.foreground': ui.text.secondary.hex(),
'editorRuler.foreground': ui.text.secondary.alpha(ch(0x99)).hexa(),
'editorWhitespace.foreground': ui.text.secondary.alpha(ch(0x99)).hexa(),
'editorLink.activeForeground': ui.accent.hex(),
'editor.rangeHighlightBackground': ui.highlight.range.alpha(ch(0x11)).hexa(),
'editorCursor.background': ui.background.panel.hex(),
'editorStickyScrollHover.background': ui.highlight.line.alpha(ch(0x09)).hexa(),
'editorBracketHighlight.foreground1': ui.terminal.bright.magenta.alpha(ch(0x88)).hexa(),
'editorBracketHighlight.foreground2': ui.terminal.bright.red.alpha(ch(0x88)).hexa(),
'editorBracketHighlight.foreground3': ui.terminal.bright.yellow.alpha(ch(0x88)).hexa(),
'editorBracketHighlight.foreground4': ui.terminal.bright.cyan.alpha(ch(0x88)).hexa(),
'editorBracketHighlight.foreground5': ui.terminal.bright.green.alpha(ch(0x88)).hexa(),
'editorBracketHighlight.foreground6': ui.terminal.bright.blue.alpha(ch(0x88)).hexa(),
'editorBracketHighlight.unexpectedBracket.foreground': ui.problems.warning.hex(),
'editorGhostText.foreground': ui.text.secondary.hex(),
'editorCursor.background': ui.background.panel.hex(),
'editorCursor.foreground': ui.text.primary.hex(),
// 'editorMultiCursor.primary.background': '#ff0000',
// 'editorMultiCursor.secondary.background': '#ff0000',
'editorGhostText.background': ui.text.secondary.alpha(ch(0x22)).hexa(),
'editorGhostText.foreground': ui.text.secondary.hex(),
'editorIndentGuide.activeBackground': ui.text.secondary.alpha(ch(0x99)).hexa(),
'editorIndentGuide.background': ui.text.secondary.alpha(ch(0x33)).hexa(),
'editorLineNumber.activeForeground': ui.text.primary.hex(),
'editorLineNumber.foreground': ui.text.secondary.hex(),
'editorLink.activeForeground': ui.accent.hex(),
'editorRuler.foreground': ui.text.secondary.alpha(ch(0x99)).hexa(),
'editorStickyScrollHover.background': ui.highlight.line.alpha(ch(0x09)).hexa(),
'editorWhitespace.foreground': ui.text.secondary.alpha(ch(0x99)).hexa(),
// 'editorGhostText.border': '#FF0000',
// 'editor.wordHighlightBorder': '#FF0000',
// 'editor.inactiveSelectionBackground': '#FF0000',
Expand Down

0 comments on commit ab8bc5f

Please sign in to comment.