Skip to content

Instantly share code, notes, and snippets.

@0riginaln0
Created June 1, 2025 20:08
Show Gist options
  • Select an option

  • Save 0riginaln0/677b35add8c7b353e394d94b9c057a3f to your computer and use it in GitHub Desktop.

Select an option

Save 0riginaln0/677b35add8c7b353e394d94b9c057a3f to your computer and use it in GitHub Desktop.
Default Light Theme for Lite XL
local style = require "core.style"
local common = require "core.common"
style.background = { common.color "#f5f5f5" } -- Docview
style.background2 = { common.color "#e0e0e0" } -- Treeview
style.background3 = { common.color "#e0e0e0" } -- Command view
style.text = { common.color "#333333" }
style.caret = { common.color "#0078D7" }
style.accent = { common.color "#0078D7" }
style.dim = { common.color "#a0a0a0" }
style.divider = { common.color "#d0d0d0" } -- Line between nodes
style.selection = { common.color "#d0d0d0" }
style.line_number = { common.color "#a0a0a0" }
style.line_number2 = { common.color "#555555" } -- With cursor
style.line_highlight = { common.color "#e0e0e0" }
style.scrollbar = { common.color "#b0b0b0" }
style.scrollbar2 = { common.color "#a0a0a0" } -- Hovered
style.scrollbar_track = { common.color "#e0e0e0" }
style.nagbar = { common.color "#FF0000" }
style.nagbar_text = { common.color "#FFFFFF" }
style.nagbar_dim = { common.color "rgba(255, 255, 255, 0.45)" }
style.drag_overlay = { common.color "rgba(0, 0, 0, 0.1)" }
style.drag_overlay_tab = { common.color "#0078D7" }
style.good = { common.color "#4CAF50" }
style.warn = { common.color "#FFC107" }
style.error = { common.color "#F44336" }
style.modified = { common.color "#2196F3" }
style.syntax["normal"] = { common.color "#333333" } -- ( ) { }
style.syntax["symbol"] = { common.color "#333333" }
style.syntax["comment"] = { common.color "#9E9E9E" } -- -- comment
style.syntax["keyword"] = { common.color "#9C27B0" } -- local function end if case
style.syntax["keyword2"] = { common.color "#ad1403" } -- @ self int float GlobalName
style.syntax["number"] = { common.color "#9e580d" } -- 123 0x1654 0b0110101
style.syntax["literal"] = { common.color "#9e580d" } -- true false nil
style.syntax["string"] = { common.color "#b58900" } -- "strings"
style.syntax["operator"] = { common.color "#0078D7" } -- = + - / < > ! [ ] :
style.syntax["function"] = { common.color "#0078D7" } -- calling functions
style.log["INFO"] = { icon = "i", color = style.text }
style.log["WARN"] = { icon = "!", color = style.warn }
style.log["ERROR"] = { icon = "!", color = style.error }
return style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment