Add themes file

Without this you cannot compile notepad_squared, don't know how I missed
this

Also, this commit also tidies up the imports in main, seperating the
core and vendor imports slightly
open-files
Ronald 7 months ago
parent 66627e6bb5
commit 97d8f60810

@ -7,8 +7,8 @@ import "core:slice"
import "core:strings" import "core:strings"
import "core:time" import "core:time"
import "core:math" import "core:math"
import rl "vendor:raylib"
import rl "vendor:raylib"
main :: proc() { main :: proc() {
context.logger = log.create_console_logger(.Debug) context.logger = log.create_console_logger(.Debug)

@ -0,0 +1,29 @@
#+feature dynamic-literals
package main
themes := map[string]Colours {
"gruvbox dark hard" = Colours{
background = Colour{29, 32, 33, 255},
text = Colour{227, 218, 186, 255},
status_bar_text = Colour{133, 153, 0, 255},
line_numbers = Colour{146, 131, 116, 255},
line_numbers_background = Colour{40, 40, 40, 255},
active_tab = Colour{60, 56, 54, 255},
inactive_tab = Colour{50, 48, 47, 255},
tab_border = Colour{102, 92, 84, 255},
cursor = Colour{251, 241, 199, 255},
},
"solarized dark" = Colours{
background = Colour{0, 43, 54, 255},
text = Colour{131, 148, 150, 255},
status_bar_text = Colour{133, 153, 0, 255},
line_numbers = Colour{88, 110, 117, 255},
line_numbers_background = Colour{7, 54, 66, 255},
active_tab = Colour{7, 54, 66, 255},
inactive_tab = Colour{0, 43, 54, 255},
tab_border = Colour{88, 110, 117, 255},
cursor = Colour{147, 161, 161, 255},
},
}
Loading…
Cancel
Save