Skip to content

Instantly share code, notes, and snippets.

@dmtrek14
Created November 6, 2022 03:53
Show Gist options
  • Save dmtrek14/67124af7eafc8916627d21960f0046ec to your computer and use it in GitHub Desktop.
Save dmtrek14/67124af7eafc8916627d21960f0046ec to your computer and use it in GitHub Desktop.
Nord theme for Gittyup
-- For Windows: Place this file in C:\Users\{username}\AppData\Local\Gittyup\themes
--
--
-- Many colors support 'active', 'inactive', and 'disabled' states.
-- They can all be set to the same color with the syntax:
--
-- key = '<color>'
--
-- Or set individually with syntax like:
--
-- key = { active = '<color>', inactive = '<color>', disabled = '<color>' }
--
-- Use the 'default' key set one state individually and the remainder
-- to a default value:
--
-- key = { default = '<color>', disabled = '<color>' }
--
-- generic colors used to render borders and separators
-- { default, active, inactive, disabled }
theme['palette'] = {
-- These names correspond to a dark on light theme.
-- The values should be inverted in light on dark themes.
light = '#2e3440', -- inverse of dark
midlight = '#3b4252', -- inverse of middark
middark = '#434c5e', -- inverse of midlight
dark = '#4c566a', -- inverse of light
-- This should always be a dark color.
--shadow = '#212226'
shadow = '#3b4252'
}
-- the colors of text entry, list view, and other widgets
-- { default, active, inactive, disabled }
theme['widget'] = {
text = { default = '#eceff4', disabled = '#d8dee9' },
bright_text = '#d8dee9',
background = '#3b4252',
alternate = '#434c5e', -- an alternate background color for list rows
highlight = { active = '#81a1c1', inactive = '#5e81ac' },
highlighted_text = { active = '#eceff4', inactive = '#eceff4' },
}
-- window colors
-- { default, active, inactive, disabled }
theme['window'] = {
text = '#eceff4',
background = '#2e3440'
}
-- button colors
-- { default, active, inactive, disabled, checked, pressed }
theme['button'] = {
text = { default = '#eceff4', inactive = '#d8dee9', disabled = '#d8dee9' },
background = { default = '#3b4252', checked = '#5e81ac', pressed = '#81a1c1' }
}
-- commit list colors
-- { default, active, inactive, disabled }
theme['commits'] = {
text = '#eceff4',
bright_text = '#d8dee9',
background = '#3b4252',
alternate = '#434c5e', -- an alternate background color for list rows
highlight = { active = '#81a1c1', inactive = '#5e81ac' },
highlighted_text = { active = '#E1E5F2', inactive = '#E1E5F2' },
highlighted_bright_text = { active = '#ffffff', inactive = '#d8dee9' }
}
-- status badge colors
-- { normal, selected, conflicted, head, notification }
theme['badge'] = {
foreground = {
normal = '#eceff4',
selected = '#5e81ac'
},
background = {
normal = '#5e81ac', -- the default color
selected = '#eceff4', -- the color when a list item is selected
conflicted = '#b48ead', -- the color of conflicted items
head = '#a3be8c', -- a bolder color to indicate the HEAD
notification = '#bf616a' -- the color of toolbar notifications badges
}
}
-- blame margin heatmap background colors
theme['blame'] = {
cold = '#3b4252',
hot = '#bf616a'
}
-- graph edge colors
theme['graph'] = {
edge1 = '#5e81ac',
edge2 = '#8fbcbb',
edge3 = '#b48ead',
edge4 = '#d08770',
edge5 = '#88c0d0',
edge6 = '#bf616a',
edge7 = '#8fbcbb',
edge8 = '#5e81ac',
edge9 = '#b48ead',
edge10 = '#88c0d0',
edge11 = '#ebcb8b',
edge12 = '#a3be8c',
edge13 = '#88c0d0',
edge14 = '#a3be8c',
edge15 = '#d08770'
}
-- checkbox colors
-- { default, active, inactive, disabled }
theme['checkbox'] = {
text = '#eceff4',
fill = '#434c5e',
outline = '#3b4252'
}
-- commit editor colors
theme['commiteditor'] = {
spellerror = '#bf616a', -- spell check error
spellignore = '#eceff4', -- spell check ignored word(s)
lengthwarning = '#d08770' -- line length limit warning (background)
}
-- diff view colors
theme['diff'] = {
addition = '#394734', -- added lines
deletion = '#5E3638', -- deleted lines
plus = '#207A00', -- plus icon
minus = '#BC0009', -- minus icon
ours = '#000060', -- ours conflict lines
theirs = '#600060', -- theirs conflict lines
word_addition = '#296812', -- added words
word_deletion = '#781B20', -- deleted words
note = '#E1E5F2', -- note squiggle
warning = '#E8C080', -- warning background
error = '#7E494B' -- error background
}
-- link colors
-- { default, active, inactive, disabled }
theme['link'] = {
link = '#81a1c1',
link_visited = '#b48ead'
}
-- menubar background color
theme['menubar'] = {
text = '#2e3440',
background = '#d8dee9'
}
-- tabbar background color (uncomment lines to customize)
theme['tabbar'] = {
-- text = theme['widget']['text'],
-- base = theme['palette']['dark'],
-- selected = theme['window']['background'],
}
-- remote comment colors
theme['comment'] = {
background = '#2e3440',
body = '#d8dee9',
author = '#81a1c1',
timestamp = '#E1E5F2'
}
-- star fill color
theme['star'] = {
fill = '#E1E5F2'
}
-- titlebar background color (currently only supported on macOS)
theme['titlebar'] = {
background = '#434c5e'
}
-- popup tooltip colors
-- { default, active, inactive, disabled }
theme['tooltip'] = {
text = '#eceff4',
background = '#5e81ac'
}
-- editor styles
-- Styles are composed of a string like:
-- fore:<color>,back:<color>,bold,italics,underline
-- Symbolic style names are allowed:
-- $(style.name)
-- http://www.scintilla.org/MyScintillaDoc.html#Styling
-- colors
theme.property['color.red'] = '#bf616a'
theme.property['color.yellow'] = '#ebcb8b'
theme.property['color.green'] = '#a3be8c'
theme.property['color.teal'] = '#8fbcbb'
theme.property['color.purple'] = '#b48ead'
theme.property['color.orange'] = '#d08770'
theme.property['color.blue'] = '#5e81ac'
theme.property['color.black'] = '#2e3440'
theme.property['color.grey'] = '#4c566a'
theme.property['color.white'] = '#d8dee9'
-- styles
theme.property['style.bracebad'] = 'fore:#bf616a'
theme.property['style.bracelight'] = 'fore:#88c0d0'
theme.property['style.calltip'] = 'fore:#d8dee9,back:#3b4252'
theme.property['style.class'] = 'fore:#ebcb8b'
theme.property['style.comment'] = 'fore:#E2D9C9'
theme.property['style.constant'] = 'fore:#d08770'
theme.property['style.controlchar'] = '$(style.nothing)'
theme.property['style.default'] = 'fore:#d8dee9,back:#2e3440'
theme.property['style.definition'] = 'fore:#F6E9D0'
theme.property['style.embedded'] = '$(style.tag),back:#3b4252'
theme.property['style.error'] = 'fore:#bf616a'
theme.property['style.function'] = 'fore:#81a1c1'
theme.property['style.identifier'] = '$(style.nothing)'
theme.property['style.indentguide'] = 'fore:#3b4252,back:#3b4252'
theme.property['style.keyword'] = 'fore:#88c0d0,bold'
theme.property['style.label'] = 'fore:#d08770'
theme.property['style.linenumber'] = 'fore:#d8dee9,back:#2e3440,bold'
theme.property['style.nothing'] = ''
theme.property['style.number'] = 'fore:#81a1c1'
theme.property['style.operator'] = 'fore:#CCCCCC,bold'
theme.property['style.preprocessor'] = 'fore:#b48ead,bold'
theme.property['style.regex'] = 'fore:#80CC80'
theme.property['style.string'] = 'fore:#93C37E'
theme.property['style.tag'] = 'fore:#CCCCCC'
theme.property['style.type'] = 'fore:#b48ead'
theme.property['style.variable'] = 'fore:#88c0d0'
theme.property['style.whitespace'] = '$(style.nothing)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment