Dark Color Scheme Definition?


#1

Love Glitch, love the dark color theme. Is that theme based on an existing terminal color scheme? Is there a color definition available anywhere so that we can use it in our other applications?


#2

Hey webrender,

The glitch color scheme is fully bespoke. It’s internally called ‘cosmos’ and is designed to emphasize content over comments, and a minimum of syntax colors.

the way we define color schemes is pretty straightforward so hopefully you can use the snippet below and port it to whatever you’d like

// editor colors

selection-highlight = rgba(77, 151, 255, 0.33)
selection-unfocused-highlight = #777777
active-line-color = rgba(255, 255, 255, 0.1)
gutter-active-line-color = rgba(255,255,255, 0.07)
gutter-text-color = #565656


// theme colors🎄

comment = #898989
keyword = #79E6D9
string = #FDDD88
number = #6eca98
operator = #79e6d9
property = #a4a4e4
definition = #dadada

matching-bracket-highlight = rgba(114, 192, 194, 0.5)
matching-tag-highlight = #444122

#3

Thanks very much! :heart_eyes: