Skip to content

Instantly share code, notes, and snippets.

@judah-caruso
Last active February 3, 2023 03:15
Show Gist options
  • Save judah-caruso/66c8a45ad4555ba63c553dc0c24fc5aa to your computer and use it in GitHub Desktop.
Save judah-caruso/66c8a45ad4555ba63c553dc0c24fc5aa to your computer and use it in GitHub Desktop.
A file containing 4coder theme definitions and their descriptions
// This file contains each 4coder theme definition and what it does within the editor.
// Main editor
defcolor_back = 0xFF000000; // Main buffer background
defcolor_text_default = 0xFFFFFFFF; // Default character foreground
defcolor_at_cursor = 0xFF000000; // Cursor foreground
defcolor_cursor = {0xFF000000, 0xFF000000}; // [0] Cursor background, [1] Active macro recording cursor background
defcolor_mark = 0xFF000000; // Mark background
defcolor_highlight_cursor_line = 0xFF000000; // Current line background
defcolor_margin_active = 0xFF000000; // Active buffer outline
defcolor_margin = 0xFF000000; // Inactive buffer outline
defcolor_margin_hover = 0xFF000000; // Word complete menu outline
defcolor_list_item = {0xFF000000, 0xFF000000}; // [0] List item outline, [1] List item background
defcolor_list_item_hover = {0xFF000000, 0xFF000000}; // [0] Active list item outline (mouse hover), [1] Active list item background (mouse hover)
defcolor_list_item_active = {0xFF000000, 0xFF000000}; // Like defcolor_list_item_hover but on keyboard selection instead of mouse hover
defcolor_base = 0xFF000000; // File bar foreground
defcolor_bar = 0xFF000000; // File bar background
defcolor_pop1 = 0xFF000000; // Query prompt foreground
defcolor_pop2 = 0xFF000000; // List item keybinding foreground, File bar dirty buffer asterisk
defcolor_line_numbers_back = 0xFF000000; // Line number margin background
defcolor_line_numbers_text = 0xFF000000; // Line number margin foreground
defcolor_highlight = 0xFF000000; // Notepad-like highlight background, incremental search background
defcolor_at_highlight = 0xFF000000; // Notepad-like highlight foreground, incremental search foreground
// Language-specific
defcolor_keyword = 0xFF000000; // Language keyword foreground
defcolor_str_constant = 0xFF000000; // Language string foreground
defcolor_char_constant = 0xFF000000; // Language character foreground
defcolor_int_constant = 0xFF000000; // Language integer foreground
defcolor_float_constant = 0xFF000000; // Language float foreground
defcolor_bool_constant = 0xFF000000; // Language boolean foreground
defcolor_preproc = 0xFF000000; // Language preprocessor directive foreground (including '#include')
defcolor_include = 0xFF000000; // Currently unused
defcolor_comment = 0xFF000000; // Comment foreground
defcolor_comment_pop = {0xFF000000, 0xFF000000}; // Special comment foreground (TODO, NOTE, etc.)
// Misc.
defcolor_paste = 0xFF000000; // Paste animation starting foreground (fades to defcolor_text_default)
defcolor_undo = 0xFF000000; // Undo animation starting foreground (fades to defcolor_text_default)
defcolor_highlight_junk = 0xFF000000; // Error highlight background
defcolor_highlight_white = 0xFF000000; // Whitespace background (toggle_show_whitespace)
defcolor_ghost_character = 0xFF000000; // Non-interactive layout character foreground
defcolor_special_character = 0xFF000000; // Incorrectly decoded character foreground
// Current scope depth background
defcolor_back_cycle = {
0xFF000000, // 1st level (outermost)
0xFF000000, // 2nd level
0xFF000000, // 3rd level
0xFF000000, // 4th level
// Nth level (innermost)
};
// Current parenthetical depth foreground
defcolor_text_cycle = {
0xFF000000, // 1st level (outermost)
0xFF000000, // 2nd level
0xFF000000, // 3rd level
0xFF000000 // 4th level
// Nth level (innermost)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment