<reponame>ibynx/greenpaint
#!/usr/bin/env python3

import json

doom_themes = [
    ['doom_iosvkem', """(bg         '("#1b1d1e" "#1b1d1e" nil))
   (bgAlt     '("#262829" "#262829" nil))
   (base0      '("#1b1d1e" "#1b1d1e" "black"))
   (base1      '("#202020" "#202020" "brightblack"))
   (base2      '("#303030" "#303030" "brightblack"))
   (base3      '("#303030" "#303030" "brightblack"))
   (base4      '("#505050" "#505050" "brightblack"))
   (base5      '("#505050" "#505050" "brightblack"))
   (base6      '("#808080" "#808080" "brightblack"))
   (base7      '("#808080" "#808080" "brightblack"))
   (base8      '("#DFDFDF" "#dfdfdf" "white"))
   (fg         '("#dddddd" "#dddddd" "white"))
   (fgAlt     '("#5B6268" "#2d2d2d" "white"))
   (red        '("#d02b61" "#d02b61" "red"))
   (orange     '("#da8548" "#dd8844" "brightred"))
   (green      '("#60aa00" "#60aa00" "green"))
   (teal       '("#4db5bd" "#44b9b1" "brightgreen"))
   (yellow     '("#d08928" "#d08928" "yellow"))
   (blue       '("#6c9ef8" "#6c9ef8" "brightblue"))
   (darkBlue  '("#6688aa" "#6688aa" "blue"))
   (magenta    '("#b77fdb" "#b77fdb" "magenta"))
   (violet     '("#a9a1e1" "#a9a1e1" "brightmagenta"))
   (cyan       '("#00aa80" "#00aa80" "brightcyan"))
   (darkCyan  '("#5699AF" "#5699AF" "cyan"))
   (urlblue    '("#57aadd" "#57aadd" "blue"))
   (iolime     '("#bbfc20" "#bbfc20" "green"))
   (iopurple   '("#bb20fc" "#bb20fc" "magenta"))
   (iocyan     '("#20bbfc" "#20bbfc" "cyan"))
   (iopink     '("#fc20bb" "#fc20bb" "red"))
   (ioteal     '("#20fcbb" "#20fcbb" "brightgreen"))"""],
    
    ['doom_acario_dark', """(bg         '("#0D0E16" "color-233" "black"        ))
   (bgAlt     '("#040408" "color-232" "brightblack"  ))
   (base0      '("#0F1019" "color-234" "black"        ))
   (base1      '("#121212" "color-233" "brightblack"  ))
   (base2      '("#1E1E33" "color-236" "brightblack"  ))
   (base3      '("#464A56" "color-240" "brightblack"  ))
   (base4      '("#585C6C" "color-60"  "brightblack"  ))
   (base5      '("#767676" "color-243" "brightblack"  ))
   (base6      '("#959EA5" "color-109" "white"        ))
   (base7      '("#B2B2B2" "color-249" "white"        ))
   (base8      '("#D0D0D0" "color-252" "brightwhite"  ))
   (fg         '("#CEDBE5" "color-152" "brightwhite"  ))
   (fgAlt     '("#E5F4FF" "color-195" "brightwhite"  ))
   (red        '("#D83441" "color-167" "red"          ))
   (green      '("#79D836" "color-113" "green"        ))
   (yellow     '("#D8B941" "color-179" "yellow"       ))
   (blue       '("#3679D8" "color-68"  "blue"         ))
   (magenta    '("#8041D8" "color-98"  "magenta"      ))
   (cyan       '("#36D8BD" "color-79"  "cyan"         ))
   (orange     '("#D85F00" "color-166"   "brightred"    ))
   (teal       '("#2D9574" "color-29"  "brightcyan"   ))
   (violet     '("#AB11D8" "color-128" "brightmagenta"))
   (darkBlue    '("#0C213E" "color-17"  "brightblack"  ))
   (darkCyan    '("#092D27" "color-23"   "brightblack"  ))"""],

    ['doom_acario_light', """(bg         '("#F5F5F9" "color-255" "black"        ))
   (bgAlt     '("#E9E9F2" "color-254" "brightblack"  ))
   (base0      '("#D0D0E3" "color-188" "black"        ))
   (base1      '("#D0D0E3" "color-188" "brightblack"  ))
   (base2      '("#C0CCD0" "color-152" "brightblack"  ))
   (base3      '("#9EA6B0" "color-103" "brightblack"  ))
   (base4      '("#585C6C" "color-60"  "brightblack"  ))
   (base5      '("#4E4E4E" "color-239" "brightblack"  ))
   (base6      '("#3A3A3A" "color-237" "white"        ))
   (base7      '("#303030" "color-236" "white"        ))
   (base8      '("#1E1E33" "color-236" "brightwhite"  ))
   (fg         '("#0F1019" "color-234" "brightwhite"  ))
   (fgAlt     '("#0D0E16" "color-233" "brightwhite"  ))
   (red        '("#D70000" "color-160" "red"          ))
   (green      '("#005F00" "color-22"  "green"        ))
   (yellow     '("#AF8700" "color-136" "yellow"       ))
   (blue       '("#1F55A0" "color-25"  "blue"         ))
   (magenta    '("#AF005F" "color-125" "magenta"      ))
   (cyan       '("#007687" "color-30"  "cyan"         ))
   (orange     '("#D75F00" "color-166" "brightred"    ))
   (teal       '("#009B7C" "color-36"  "brightgreen"  ))
   (violet     '("#8700AF" "color-91"  "brightmagenta"))
   (darkBlue    '("#DEEAF8" "color-189"   "blue"         ))
   (darkCyan    '("#D5FAFF" "color-195"   "cyan"         ))"""],

    ['doom_challenger_dark', """(bg         '("#1E1C31" "#121212" nil            ))
   (bgAlt     '("#12111E" "#111111" nil            ))
   (base0      '("#100E23" "#080808" "black"        ))
   (base1      '("#292F37" "#262626" "brightblack"  ))
   (base2      '("#3D4551" "#3A3A3A" "brightblack"  ))
   (base3      '("#4C4B68" "#444466" "brightblack"  ))
   (base4      '("#565575" "#555577" "brightblack"  ))
   (base5      '("#858FA5" "#8888AA" "brightblack"  ))
   (base6      '("#9BA7BF" "#99AABB" "brightblack"  ))
   (base7      '("#B0BED8" "#BBBBDD" "brightblack"  ))
   (base8      '("#BAC9E4" "#BBCCEE" "white"        ))
   (fgAlt     '("#B2B2B2" "#BBBBBB" "brightwhite"  ))
   (fg         '("#CBE3E7" "#CCEEEE" "white"        ))
   (red        '("#FF8080" "#FF8888" "red"          ))
   (orange     '("#FFB378" "#FFBB77" "brightred"    ))
   (green      '("#95FFA4" "#99FFAA" "green"        ))
   (teal       '("#63F2F1" "#66FFFF" "brightgreen"  ))
   (yellow     '("#FFE9AA" "#FFEEAA" "yellow"       ))
   (blue       '("#91DDFF" "#99DDFF" "brightblue"   ))
   (darkBlue  '("#65B2FF" "#66BBFF" "blue"         ))
   (magenta    '("#C991E1" "#CC99EE" "magenta"      ))
   (violet     '("#906CFF" "#9966FF" "brightmagenta"))
   (cyan       '("#AAFFE4" "#AAFFEE" "brightcyan"   ))
   (darkCyan  '("#62D196" "#66DD99" "cyan"   ))"""],

    ['doom_city_lights', """(bg         '("#1D252C" nil       nil            ))
   (bgAlt     '("#181E24" nil       nil            ))
   (base0      '("#10151C" "black"   "black"        ))
   (base1      '("#171D22" "#111122" "brightblack"  ))
   (base2      '("#20282F" "#222222" "brightblack"  ))
   (base3      '("#28323B" "#223333" "brightblack"  ))
   (base4      '("#384551" "#334455" "brightblack"  ))
   (base5      '("#56697A" "#556677" "brightblack"  ))
   (base6      '("#688094" "#668899" "brightblack"  ))
   (base7      '("#7FA0B7" "#77AABB" "brightblack"  ))
   (base8      '("#9CAABB" "#99AABB" "white"        ))
   (fgAlt     '("#728CA0" "#7788AA" "brightwhite"  ))
   (fg         '("#A0B3C5" "#AABBCC" "white"        ))
   (grey        '("#41505E" "#ff6655" "red"          ))
   (red         '("#D95468" "#ff6655" "red"          ))
   (orange      '("#D98E48" "#dd8844" "brightred"    ))
   (green       '("#8BD49C" "#99bb66" "green"        ))
   (teal        '("#33CED8" "#33CCDD" "brightgreen"  ))
   (yellow      '("#EBBF83" "#EEBB88" "yellow"       ))
   (blue        '("#5EC4FF" "#55CCFF" "brightblue"   ))
   (brightBlue '("#539AFC" "#5599FF" "blue"         ))
   (darkBlue   '("#718CA1" "#7788AA" "blue"         ))
   (magenta     '("#E27E8D" "#EE7788" "magenta"      ))
   (violet      '("#B62D65" "#BB2266" "brightmagenta"))
   (cyan        '("#70E1E8" "#77EEEE" "brightcyan"   ))
   (darkCyan   '("#008B94" "#008899" "cyan"   ))"""],

    ['doom_dark+', """(bg         '("#1e1e1e" "#1e1e1e" nil))
   (bgAlt     '("#252526" "#222222"  nil))
   (base0      '("#171F24" "#111122"   "black"))
   (base1      '("#1C1C1C" "#1C1C1C" "brightblack"))
   (base2      '("#121212" "#626262" "brightblack"))
   (base3      '("#313131" "#3a3a3a" "brightblack"))
   (base4      '("#4b474c" "#444444" "brightblack"))
   (base5      '("#37474F" "#585858" "brightblack"))
   (base6      '("#237AD3" "#2277DD" "brightblack"))
   (base7      '("#777778" "#767676" "brightblack"))
   (base8      '("#f4f4f4" "#a8a8a8" "white"))
   (fg         '("#d4d4d4" "#e4e4e4" "brightwhite"))
   (fgAlt     '("#AEAFAD" "#bcbcbc" "white"))
   (red          '("#D16969" "#DD6666" "red"))
   (orange       '("#DB8E73" "#DD8877" "brightred"))
   (green        '("#579C4C" "#559944" "green"))
   (lightGreen  '("#B5CEA8" "#BBCCAA" "green"))
   (teal         '("#35CDAF" "#33CCAA" "brightgreen"))
   (yellow       '("#D7BA7D" "#DDBB77" "brightyellow"))
   (lightYellow '("#D9DAA2" "#DDDDAA" "brightyellow"))
   (blue         '("#339CDB" "#3399DD" "brightblue"))
   (darkBlue    '("#124F7B" "#114477" "blue"))
   (magenta      '("#C586C0" "#CC88CC" "brightmagenta"))
   (violet       '("#BB80B3" "#BB88BB" "magenta"))
   (darkViolet  '("#68217A" "#662277" "magenta"))
   (cyan         '("#85DDFF" "#5FD7FF" "brightcyan"))
   (darkCyan    '("#207FA1" "#2277AA" "cyan"))"""],

    ['doom_dracula', """(bg         '("#282a36" "#262626" nil            ))
   (bgAlt     '("#1E2029" "#1c1c1c" nil            ))
   (base0      '("#1E2029" "#1c1c1c"   "black"      ))
   (base1      '("#282a36" "#1e1e1e" "brightblack"  ))
   (base2      '("#373844" "#2e2e2e" "brightblack"  ))
   (base3      '("#44475a" "#262626" "brightblack"  ))
   (base4      '("#565761" "#3f3f3f" "brightblack"  ))
   (base5      '("#6272a4" "#525252" "brightblack"  ))
   (base6      '("#b6b6b2" "#bbbbbb" "brightblack"  ))
   (base7      '("#ccccc7" "#cccccc" "brightblack"  ))
   (base8      '("#f8f8f2" "#dfdfdf" "white"        ))
   (fg         '("#f8f8f2" "#ffffff" "white"        ))
   (fgAlt     '("#e2e2dc" "#bfbfbf" "brightwhite"  ))
   (red        '("#ff5555" "#ff6655" "red"          ))
   (orange     '("#ffb86c" "#ffbb66" "brightred"    ))
   (green      '("#50fa7b" "#55ff77" "green"        ))
   (teal       '("#0189cc" "#0088cc" "brightgreen"  ))
   (yellow     '("#f1fa8c" "#ffff88" "yellow"       ))
   (blue       '("#61bfff" "#66bbff" "brightblue"   ))
   (darkBlue  '("#0189cc" "#0088cc" "blue"         ))
   (magenta    '("#ff79c6" "#ff77cc" "magenta"      ))
   (violet     '("#bd93f9" "#bb99ff" "brightmagenta"))
   (cyan       '("#8be9fd" "#88eeff" "brightcyan"   ))
   (darkCyan  '("#8be9fd" "#88eeff" "cyan"         ))"""],

    ['doom_ephemeral', """(bg         '("#323f4e" nil       nil            ))
   (bgAlt     '("#28323e" nil       nil            ))
   (base0      '("#181e26" "black"   "black"        ))
   (base1      '("#1e262d" "#1e262f" "brightblack"  ))
   (base2      '("#242d39" "#242d39" "brightblack"  ))
   (base3      '("#2a3542" "#2a3542" "brightblack"  ))
   (base4      '("#323f4e" "#323f4e" "brightblack"  ))
   (base5      '("#364455" "#364455" "brightblack"  ))
   (base6      '("#505d6f" "#505d6f" "brightblack"  ))
   (base7      '("#77818f" "#77818f" "brightblack"  ))
   (base8      '("#ebedef" "#ebedef" "white"        ))
   (fg         '("#f8f8f2" "#f8f8f2" "white"        ))
   (fgAlt     '("#fdfdfd" "#fdfdfd" "brightwhite"  ))
   (grey       '("#3d4c5f" "#3d4c5f" "grey"         ))
   (red        '("#f48fb1" "#f48fb1" "red"          ))
   (orange     '("#f2a272" "#f2a272" "brightred"    ))
   (green      '("#53e2ae" "#53e2ae" "green"        ))
   (teal       '("#a1efd3" "#a1efd3" "brightgreen"  ))
   (yellow     '("#f1fa8c" "#f1fa8c" "yellow"       ))
   (blue       '("#92b6f4" "#92b6f4" "brightblue"   ))
   (darkBlue  '("#9f92f4" "#9f92f4" "blue"         ))
   (magenta    '("#BD99FF" "#c574dd" "magenta"      ))
   (violet     '("#8897f4" "#8897f4" "brightmagenta"))
   (darkViolet     '("#985EFF" "#8897f4" "brightmagenta"))
   (cyan       '("#79e6f3" "#87dfeb" "brightcyan"   ))
   (darkCyan  '("#24d1e7" "#24d1e7" "cyan"         ))"""],

    ['doom_fairy_floss', """(bg         '("#5a5475" nil       nil           ))
   (bgAlt     '("#343145" nil       nil           ))
   (base0      '("#464258" "black"   "black"       ))
   (base1      '("#514C66" "#1e1e1e" "brightblack" ))
   (base2      '("#6A6483" "#2e2e2e" "brightblack" ))
   (base3      '("#9673D3" "#262626" "brightblack" ))
   (base4      '("#A0A0C0" "#3f3f3f" "brightblack" ))
   (base5      '("#B8A2CE" "#525252" "brightblack" ))
   (base6      '("#726C8A" "#6b6b6b" "brightblack" ))
   (base7      '("#5B576C" "#979797" "brightblack" ))
   (base8      '("#716799" "#dfdfdf" "white"       ))
   (fgAlt     '("#B5B2Bd" "#2d2d2d" "white"       ))
   (fg         '("#F8F8F0" "#bfbfbf" "brightwhite" ))
   (grey       '("#656565" "#515154" "brightblack"  ))
   (red        '("#CC6666" "#CC6666" "red"          ))
   (orange     '("#E6C000" "#E6C000" "brightred"    ))
   (green      '("#C2FFDF" "#C2FFDF" "green"        ))
   (yellow     '("#FFEA00" "#FFEA00" "yellow"       ))
   (blue       '("#55b3cc" "#55b3cc" "brightblue"   ))
   (teal       '("#8295D6" "#8295D6" "brightgreen"  ))
   (darkBlue  '("#167be2" "#3F88AD" "blue"         ))
   (magenta    '("#FFB8D1" "#FFB8D1" "magenta"      ))
   (violet     '("#C5A3FF" "#C5A3FF" "brightmagenta"))
   (cyan       '("#96CBFE" "#C2FFDF" "brightcyan"   ))
   (darkCyan  '("#204052" "#204052" "cyan"         ))"""],

    ['doom_henna', """(bg         '("#21272e" nil       nil            ))
   (bgAlt     '("#1B1F23" nil       nil            ))
   (base0      '("#10151a" "black"   "black"        ))
   (base1      '("#181A1F" "#2e2e2e" "brightblack"  ))
   (base2      '("#1B1F23" "#262626" "brightblack"  ))
   (base3      '("#262D35" "#3f3f3f" "brightblack"  ))
   (base4      '("#282C34" "#525252" "brightblack"  ))
   (base5      '("#2c313a" "#6b6b6b" "brightblack"  ))
   (base6      '("#3B4048" "#979797" "brightblack"  ))
   (base7      '("#495162" "#dfdfdf" "white"        ))
   (base8      '("#606F73" "#1e1e1e" "brightblack"  ))
   (fg         '("#f8f8f0" "#bfbfbf" "brightwhite"  ))
   (fgAlt     '("#6B717D" "#979797" "white"        ))
   (red        '("#e74c3c" "#ff6655" "red"          ))
   (green      '("#53df83" "#99bb66" "green"        ))
   (teal       '("#1abc9c" "#44b9b1" "brightgreen"  ))
   (blue       '("#56b5c2" "#51afef" "brightblue"   ))
   (cyan       '("#56b6c2" "#46D9FF" "brightcyan"   ))
    (orange     '("#e74c3c" "#ff6655" "red"          ))
   (yellow     '("#ECBE7B" "#ECBE7B" "yellow"       ))
   (magenta    '("#FFB8D1" "#FFB8D1" "magenta"      ))
   (violet     '("#C5A3FF" "#C5A3FF" "brightmagenta"))
   (darkBlue  '("#2257A0" "#2257A0" "blue"         ))
   (darkCyan  '("#2e4a54" "#204052" "cyan"         ))"""],

    ['doom_horizon', """(bg         '("#1c1e26" "#232530" nil            ))
    (bgAlt     '("#232530" "#1c1e26" nil            ))
    (base0      '("#16161c" "#16161c" "black"        ))
    (base1      '("#1a1c23" "#1a1c23" "brightblack"  ))
    (base2      '("#1d1f27" "#1c1e26" "brightblack"  ))
    (base3      '("#232530" "#232530" "brightblack"  ))
    (base4      '("#6a6a6a" "#6a6a6a" "brightblack"  ))
    (base5      '("#f9cec3" "#f9cec3" "brightblack"  ))
    (base6      '("#f9cbbe" "#f9cbbe" "brightblack"  ))
    (base7      '("#fadad1" "#fadad1" "brightblack"  ))
    (base8      '("#fdf0ed" "#fdf0ed" "white"        ))
    (fgAlt     '("#fdf0ed" "#fdf0ed" "brightwhite"  ))
    (fg         '("#c7c9cb" "#c7c9cb" "white"        ))
    (red        '("#e95678" "#e95678" "red"          ))
    (orange     '("#f09383" "#f09383" "brightred"    ))
    (green      '("#09f7a0" "#09f7a0" "green"        ))
    (teal       '("#21bfc2" "#21bfc2" "brightgreen"  ))
    (yellow     '("#fab795" "#fab795" "yellow"       ))
    (blue       '("#21bfc2" "#21bfc2" "brightblue"   ))
    (darkBlue  '("#25b2bc" "#25b2bc" "blue"         ))
    (magenta    '("#6c6f93" "#6c6f93" "magenta"      ))
    (violet     '("#b877db" "#b877db" "brightmagenta"))
    (cyan       '("#59e3e3" "#59e3e3" "brightcyan"   ))
    (darkCyan  '("#27d797" "#27d797" "cyan"   ))"""],

    ['doom_laserwave', """(bg         '("#27212E" nil       nil            ))
   (bgAlt     '("#1B1720" nil       nil            ))
   (base0      '("#222228" "black"   "black"        ))
   (base1      '("#24262D" "#222222" "brightblack"  ))
   (base2      '("#282b33" "#222233" "brightblack"  ))
   (base3      '("#3E3549" "#333344" "brightblack"  ))
   (base4      '("#4E415C" "#444455" "brightblack"  ))
   (base5      '("#544863" "#554466" "brightblack"  ))
   (base6      '("#ED60BA" "#EE66BB" "brightblack"  ))
   (base7      '("#91889B" "#998899" "brightblack"  ))
   (base8      '("#ECEFF4" "#EEEEFF" "white"        ))
   (fgAlt     '("#EEEEEE" "#EEEEEE" "brightwhite"  ))
   (fg         '("#FFFFFF" "#FFFFFF" "white"        ))
   (red        '("#964C7B" "#964477" "red"          ))
   (orange     '("#FFB85B" "#FFBB55" "brightred"    ))
   (green      '("#74DFC4" "#77DDCC" "green"        ))
   (teal       '("#4D8079" "#448877" "brightgreen"  ))
   (yellow     '("#FFE261" "#FFEE66" "yellow"       ))
   (blue       '("#40B4C4" "#44BBCC" "brightblue"   ))
   (darkBlue  '("#336A79" "#336677" "blue"         ))
   (magenta    '("#EB64B9" "#EE66BB" "brightmagenta"))
   (violet     '("#B381C5" "#BB88CC" "magenta"      ))
   (cyan       '("#B4DCE7" "#BBDDEE" "brightcyan"   ))
   (darkCyan  '("#6D7E8A" "#667788" "cyan"         ))"""],

    ['doom_manegram', """(bg        '("#1c1408" nil       nil            ))
   (bgAlt    '("#181107" nil       nil            ))
   (base0      '("#1B2229" "black"   "black"        ))
   (base1      '("#1c1f24" "#1c1f24" "brightblack"  ))
   (base2      '("#202328" "#202328" "brightblack"  ))
   (base3      '("#23272e" "#23272e" "brightblack"  ))
   (base4      '("#3f444a" "#3f444a" "brightblack"  ))
   (base5      '("#95836f" "#95836f" "brightblack"  ))
   (base6      '("#73797e" "#73797e" "brightblack"  ))
   (base7      '("#9ca0a4" "#9ca0a4" "brightblack"  ))
   (base8      '("#dfdfdf" "#dfdfdf" "white"        ))
   (fg         '("#5b8512" "#5b8512" "brightwhite"  ))
   (fgAlt     '("#4f7410" "#4f7410" "white"        ))
   (grey       '("#707a6a" "#707a6a" "brightblack"  ))
   (red        '("#ff4e00" "#ff4e00" "red"          ))
   (orange     '("#ff7000" "#ff7000" "brightred"    ))
   (green      '("#7cb518" "#7cb518" "green"        ))
   (teal       '("#dbc077" "#dbc077" "brightgreen"  ))
   (yellow     '("#ffbf00" "#ffbf00" "yellow"       ))
   (blue       '("#0075c4" "#0075c4" "brightblue"   ))
   (darkBlue  '("#0060a1" "#0060a1" "blue"         ))
   (magenta    '("#d72638" "#d72638" "brightmagenta"))
   (violet     '("#76597b" "#76597b" "magenta"      ))
   (cyan       '("#898989" "#898989" "brightcyan"   ))
   (darkCyan  '("#4f7410" "#4f7410" "cyan"         ))"""],

    ['doom_material', """(bg         '("#263238" nil       nil))
   (bgAlt     '("#1C262B" nil       nil))
   (base0      '("#171F24" "black"   "black"))
   (base1      '("#1C262B" "#262626" "brightblack"))
   (base2      '("#222D32" "#303030" "brightblack"))
   (base3      '("#171F24" "#3a3a3a" "brightblack"))
   (base4      '("#314048" "#444444" "brightblack"))
   (base5      '("#37474F" "#585858" "brightblack"))
   (base6      '("#556369" "#626262" "brightblack"))
   (base7      '("#737E84" "#767676" "brightblack"))
   (base8      '("#9BA3A7" "#a8a8a8" "white"))
   (fg         '("#EEFFFF" "#e4e4e4" "brightwhite"))
   (fgAlt     '("#BFC7D5" "#bcbcbc" "white"))
   (red         '("#ff5370" "#ff0000" "red"))
   (orange      '("#f78c6c" "#ff5f00" "brightred"))
   (green       '("#c3e88d" "#afff00" "green"))
   (teal        '("#44b9b1" "#00d7af" "brightgreen"))
   (yellow      '("#ffcb6b" "#ffd700" "brightyellow"))
   (blue        '("#82aaff" "#5fafff" "brightblue"))
   (darkBlue   '("#7986E7" "#d7ffff" "blue"))
   (magenta     '("#c792ea" "#d787d7" "brightmagenta"))
   (violet      '("#bb80b3" "#d787af" "magenta"))
   (cyan        '("#89DDFF" "#5fd7ff" "brightcyan"))
   (darkCyan   '("#80cbc4" "#00d7af" "cyan"))"""],

    ['doom_miramare', """(bg         '("#2a2426" "#2a2426" nil          ))
   (bgAlt     '("#242021" "#242021" nil          )) 
   (base0      '("#0d1011" "black"   "black"      )) 
   (base1      '("#1d2021" "#1d1d1d" "brightblack")) 
   (base2      '("#282828" "#282828" "brightblack")) 
   (base3      '("#3c3836" "#383838" "brightblack")) 
   (base4      '("#5b5b5b" "#5c5c5c" "brightblack")) 
   (base5      '("#7c6f64" "#6f6f6f" "brightblack")) 
   (base6      '("#928374" "#909090" "brightblack")) 
   (base7      '("#d5c4a1" "#cccccc" "brightblack")) 
   (base8      '("#fbf1c7" "#fbfbfb" "brightwhite")) 
   (fg         '("#e6d6ac" "#e6d6ac" "brightwhite")) 
   (fgAlt     '("#d8caac" "#d8caac" "brightwhite")) 
   (grey       '("#5b5b5b" "#5b5b5b" "brightblack"))   
   (red        '("#e68183" "#e68183" "red"))           
   (magenta    '("#e68183" "#e68183" "magenta"))       
   (violet     '("#d3a0bc" "#d3a0bc" "brightmagenta")) 
   (orange     '("#e39b7b" "#e39b7b" "orange"))        
   (yellow     '("#d9bb80" "#d9bb80" "yellow"))        
   (teal       '("#87af87" "#87af87" "green"))         
   (green      '("#87af87" "#87af87" "green"))         
   (darkGreen '("#678f67" "#678f67" "green"))         
   (blue       '("#89beba" "#89beba" "brightblue"))    
   (darkBlue  '("#458588" "#458588" "blue"))          
   (cyan       '("#87c095" "#87c095" "brightcyan"))    
   (darkCyan  '("#67a075" "#67a075" "cyan"))"""],

    ['doom_molokai', """(bg         '("#1c1e1f" nil       nil          ))
   (bgAlt     '("#222323" nil       nil          ))
   (base0      '("#1B2229" "black"   "black"      ))
   (base1      '("#151617" "#101010" "brightblack"))
   (base2      '("#1d1f20" "#191919" "brightblack"))
   (base3      '("#2d2e2e" "#252525" "brightblack"))
   (base4      '("#4e4e4e" "#454545" "brightblack"))
   (base5      '("#555556" "#6b6b6b" "brightblack"))
   (base6      '("#767679" "#7b7b7b" "brightblack"))
   (base7      '("#cfc0c5" "#c1c1c1" "brightblack"))
   (base8      '("#ffffff" "#ffffff" "brightwhite"))
   (fg         '("#d6d6d4" "#dfdfdf" "brightwhite"))
   (fgAlt     '("#556172" "#4d4d4d" "white"))
   (grey       '("#525254" "#515154" "brightblack"))
   (red        '("#e74c3c" "#e74c3c" "red"))
   (orange     '("#fd971f" "#fd971f" "brightred"))
   (green      '("#b6e63e" "#b6e63e" "green"))
   (teal       green)
   (yellow     '("#e2c770" "#e2c770" "yellow"))
   (blue       '("#268bd2" "#2686D6" "brightblue"))
   (darkBlue  '("#727280" "#727280" "blue"))
   (magenta    '("#fb2874" "#fb2874" "magenta"))
   (violet     '("#9c91e4" "#9c91e4" "brightmagenta"))
   (cyan       '("#66d9ef" "#66d9ef" "brightcyan"))
   (darkCyan  '("#8fa1b3" "#8FA1B3" "cyan"))"""],

    ['doom_monokai_classic', """(bg         '("#272822" nil       nil          ))
   (bgAlt     '("#1D1E19" nil       nil          ))
   (base0      '("#1B2229" "black"   "black"      ))
   (base1      '("#161613" "#101010" "brightblack"))
   (base2      '("#1D1F20" "#191919" "brightblack"))
   (base3      '("#2D2E2E" "#252525" "brightblack"))
   (base4      '("#4E4E4E" "#454545" "brightblack"))
   (base5      '("#555556" "#6B6B6B" "brightblack"))
   (base6      '("#767679" "#7B7B7B" "brightblack"))
   (base7      '("#CFC0C5" "#C1C1C1" "brightblack"))
   (base8      '("#FFFFFF" "#FFFFFF" "brightwhite"))
   (fg         '("#F8F8F2" "#DFDFDF" "brightwhite"))
   (fgAlt     '("#556172" "#4D4D4D" "white"))
   (grey       '("#525254" "#525254" "brightblack"))
   (red        '("#E74C3C" "#E74C3C" "red"))
   (orange     '("#FD971F" "#FD971F" "brightred"))
   (green      '("#A6E22E" "#A6E22E" "green"))
   (teal       '("#A6E22E" "#A6E22E" "green"))
   (yellow     '("#E6DB74" "#E6DB74" "yellow"))
   (blue       '("#268bd2" "#268bd2" "brightblue"))
   (darkBlue  '("#727280" "#727280" "blue"))
   (magenta    '("#F92660" "#F92660" "magenta"))
   (violet     '("#9C91E4" "#9C91E4" "brightmagenta"))
   (cyan       '("#66D9EF" "#66D9EF" "brightcyan"))
   (darkCyan  '("#8FA1B3" "#8FA1B3" "cyan"))"""],

    ['doom_monokai_pro', """(bg         '("#2D2A2E" nil       nil          ))
   (bgAlt     '("#221F22" nil       nil          ))
   (base0      '("#19181A" "black"   "black"      ))
   (base1      '("#1B1B1B" "#1B1B1B"              ))
   (base2      '("#212122" "#212122"              ))
   (base3      '("#2B2B2B" "#2B2B2B" "brightblack"))
   (base4      '("#383539" "#3F4040" "brightblack"))
   (base5      '("#4C4A4D" "#5C5E5E" "brightblack"))
   (base6      '("#727072" "#757878" "brightblack"))
   (base7      '("#c1c0c0" "#969896" "brightblack"))
   (base8      '("#FCFCFA" "#FCFCFA" "white"      ))
   (fg         '("#FCFCFA" "#939293" "white"))
   (fgAlt     '("#939293" "#A3A2A3" "white"))
   (grey       '("#727072" "#727072" "brightblack"))
   (red        '("#CC6666" "#CC6666" "red"))
   (orange     '("#FC9867" "#FC9867" "orange"))
   (green      '("#A9DC76" "#A9DC76" "green"))
   (teal       '("#A9DC76" "#A9DC76" "green"))
   (yellow     '("#FFD866" "#FFD866" "yellow"))
   (blue       '("#78DCE8" "#78DCE8" "blue"))
   (darkBlue  '("#81A2BE" "#81A2BE" "blue"))
   (magenta    '("#FF6188" "#FF6188" "violet"))
   (violet     '("#AB9DF2" "#AB9DF2" "violet"))
   (cyan       '("#78DCE8" "#78DCE8" "blue"))
   (darkCyan  '("#81A2BE" "#81A2BE" "blue"))"""],

    ['doom_moonlight', """(bg         '("#212337" "#212337"  "black"))
   (bgAlt     '("#191a2a" "#191a2a" "black"))
   (base0      '("#161a2a" "#161a2a" "black"))
   (base1      '("#191a2a" "#191a2a" "brightblack"))
   (base2      '("#1e2030" "#1e2030" "brightblack"))
   (base3      '("#222436" "#222436" "brightblack"))
   (base4      '("#2f334d" "#2f334d" "brightblack"))
   (base5      '("#444a73" "#444a73" "brightblack"))
   (base6      '("#828bb8" "#828bb8" "brightblack"))
   (base7      '("#a9b8e8" "#a9b8e8" "brightblack"))
   (base8      '("#b4c2f0" "#b4c2f0" "white"))
   (indigo     '("#7a88cf" "#7a88cf" "brightblack"))
   (region     '("#383e5c" "#383e5c" "brightblack"))
   (fg         '("#c8d3f5" "#c8d3f5" "brightwhite"))
   (fgAlt     '("#b4c2f0" "#b4c2f0" "white"))
   (darkRed      '("#ff5370" "#ff5370" "red"))
   (red           '("#ff757f" "#ff757f" "red"))
   (lightRed     '("#ff98a4" "#ff98a4" "brightred"))
   (orange        '("#ff995e" "#ff995e" "brightred"))
   (green         '("#c3e88d" "#c3e88d" "green"))
   (darkTeal     '("#4fd6be" "#4fd6be" "green"))
   (teal          '("#77e0c6" "#77e0c6" "brightgreen"))
   (lightTeal    '("#7af8ca" "#7af8ca" "brightgreen"))
   (yellow        '("#ffc777" "#ffc777" "brightyellow"))
   (blue          '("#82aaff" "#82aaff" "brightblue"))
   (darkBlue     '("#4976eb" "#4976eb" "brightblue"))
   (lightBlue    '("#50c4fa" "#50c4fa" "blue"))
   (lightMagenta '("#baacff" "#baacff" "brightmagenta"))
   (magenta       '("#c099ff" "#c099ff" "brightmagenta"))
   (violet        '("#f989d3" "#f989d3" "magenta"))
   (lightPink    '("#fca7ea" "#fca7ea" "magenta"))
   (pink          '("#f3c1ff" "#f3c1ff" "magenta"))
   (cyan          '("#b4f9f8" "#b4f9f8" "brightcyan"))
   (darkCyan     '("#86e1fc" "#86e1fc" "cyan"))"""],

    ['doom_nord_light', """(bg         '("#E5E9F0" nil       nil))
   (bgAlt     '("#D8DEE9" nil       nil))
   (base0      '("#F0F4FC" "black"   "black"))
   (base1      '("#E3EAF5" "#1e1e1e" "brightblack"))
   (base2      '("#D8DEE9" "#2e2e2e" "brightblack"))
   (base3      '("#C2D0E7" "#262626" "brightblack"))
   (base4      '("#B8C5DB" "#3f3f3f" "brightblack"))
   (base5      '("#AEBACF" "#525252" "brightblack"))
   (base6      '("#A1ACC0" "#6b6b6b" "brightblack"))
   (base7      '("#60728C" "#979797" "brightblack"))
   (base8      '("#485163" "#dfdfdf" "white"))
   (fg         '("#3B4252" "#2d2d2d" "white"))
   (fgAlt     '("#2E3440" "#bfbfbf" "brightwhite"))
   (red       '("#99324B" "#ff6655" "red"))
   (orange    '("#AC4426" "#dd8844" "brightred"))
   (green     '("#4F894C" "#99bb66" "green"))
   (teal      '("#29838D" "#44b9b1" "brightgreen"))
   (yellow    '("#9A7500" "#ECBE7B" "yellow"))
   (blue      '("#3B6EA8" "#51afef" "brightblue"))
   (darkBlue '("#5272AF" "#2257A0" "blue"))
   (magenta   '("#97365B" "#c678dd" "magenta"))
   (violet    '("#842879" "#a9a1e1" "brightmagenta"))
   (cyan      '("#398EAC" "#46D9FF" "brightcyan"))
   (darkCyan '("#2C7088" "#5699AF" "cyan"))"""],

    ['doom_nord', """(bg         '("#2E3440" nil       nil            ))
   (bgAlt     '("#272C36" nil       nil            ))
   (base0      '("#191C25" "black"   "black"        ))
   (base1      '("#242832" "#1e1e1e" "brightblack"  ))
   (base2      '("#2C333F" "#2e2e2e" "brightblack"  ))
   (base3      '("#373E4C" "#262626" "brightblack"  ))
   (base4      '("#434C5E" "#3f3f3f" "brightblack"  ))
   (base5      '("#4C566A" "#525252" "brightblack"  ))
   (base6      '("#9099AB" "#6b6b6b" "brightblack"  ))
   (base7      '("#D8DEE9" "#979797" "brightblack"  ))
   (base8      '("#F0F4FC" "#dfdfdf" "white"        ))
   (fg         '("#ECEFF4" "#ECECEC" "white"        ))
   (fgAlt     '("#E5E9F0" "#bfbfbf" "brightwhite"  ))
   (red        '("#BF616A" "#ff6655" "red"          )) 
   (orange     '("#D08770" "#dd8844" "brightred"    )) 
   (green      '("#A3BE8C" "#99bb66" "green"        )) 
   (teal       '("#8FBCBB" "#44b9b1" "brightgreen"  )) 
   (yellow     '("#EBCB8B" "#ECBE7B" "yellow"       )) 
   (blue       '("#81A1C1" "#51afef" "brightblue"   )) 
   (darkBlue  '("#5E81AC" "#2257A0" "blue"         )) 
   (magenta    '("#B48EAD" "#c678dd" "magenta"      )) 
   (violet     '("#5D80AE" "#a9a1e1" "brightmagenta")) 
   (cyan       '("#88C0D0" "#46D9FF" "brightcyan"   )) 
   (darkCyan  '("#507681" "#5699AF" "cyan"         ))"""],

    ['doom_oceanic_next', """(bg         '("#1B2B34" nil       nil            ))
   (bgAlt     '("#14232D" nil       nil            ))
   (base0      '("#1B2B34" "black"   "black"        ))
   (base1      '("#343D46" "#1e1e1e" "brightblack"  ))
   (base2      '("#4F5B66" "#2e2e2e" "brightblack"  ))
   (base3      '("#65737E" "#262626" "brightblack"  ))
   (base4      '("#A7ADBA" "#3f3f3f" "brightblack"  ))
   (base5      '("#C0C5CE" "#525252" "brightblack"  ))
   (base6      '("#CDD3DE" "#6b6b6b" "brightblack"  ))
   (base7      '("#D8DEE9" "#979797" "white"        ))
   (base8      '("#D8DEE9" "#979797" "white"        ))
   (fgAlt     '("#CDD3DE" "#6b6b6b" "brightblack"  ))
   (fg         '("#D8DEE9" "#979797" "white"        ))
   (red        '("#EC5f67" "#EC5f67" "red"          ))
   (orange     '("#F99157" "#F99157" "brightred"    ))
   (green      '("#99C794" "#99bb66" "green"        ))
   (teal       '("#5FB3B3" "#44b9b1" "brightgreen"  ))
   (yellow     '("#FAC863" "#ECBE7B" "yellow"       ))
   (blue       '("#6699CC" "#51afef" "brightblue"   ))
   (darkBlue  '("#6699CC" "#51afef" "brightblue"   ))
   (magenta    '("#E27E8D" "#c678dd" "magenta"      ))
   (violet     '("#C594C5" "#a9a1e1" "brightmagenta"))
   (cyan       '("#5FB3B3" "#44b9b1" "brightgreen"  ))
   (darkCyan  '("#5FB3B3" "#44b9b1" "brightgreen"  ))"""],

    ['doom_old_hope', """(bg         '("#1c1d20" "#1c1d20"       nil))
   (bgAlt     '("#151619" "#151619" nil))
   (base0      '("#1B2229" "black"   "black"))
   (base1      '("#1c1f24" "#1e1e1e" "brightblack"))
   (base2      '("#202328" "#2e2e2e" "brightblack"))
   (base3      '("#23272e" "#262626" "brightblack"))
   (base4      '("#3f444a" "#3f3f3f" "brightblack"))
   (base5      '("#5B6268" "#525252" "brightblack"))
   (base6      '("#686b78" "#686b78" "brightblack"))
   (base7      '("#9ca0a4" "#979797" "brightblack"))
   (base8      '("#DFDFDF" "#dfdfdf" "white"))
   (fg         '("#cbccd1" "#cbccd1" "brightwhite"))
   (fgAlt     '("#5B6268" "#2d2d2d" "white"))
   (red        '("#ea3d54" "#ea3d54" "red"))
   (orange     '("#ee7b29" "#ee7b29" "brightred"))
   (green      '("#78bd65" "#78bd65" "green"))
   (teal       '("#78bd65" "#78bd65" "brightgreen"))
   (yellow     '("#fedd38" "#fedd38" "yellow"))
   (blue       '("#4fb3d8" "#4fb3d8" "brightblue"))
   (darkBlue  '("#5689f0" "#5689f0" "blue"))
   (magenta    '("#b978ab" "#b978ab" "brightmagenta"))
   (violet     '("#b978ab" "#b978ab" "brightmagenta"))
   (cyan       '("#4fb3d8" "#4fb3d8" "brightcyan"))
   (darkCyan  '("#4fb3d8" "#4fb3d8" "cyan"))"""],

    ['doom_one_light', """(bg         '("#fafafa" nil       nil            ))
   (bgAlt     '("#f0f0f0" nil       nil            ))
   (base0      '("#f0f0f0" "#f0f0f0" "white"        ))
   (base1      '("#e7e7e7" "#e7e7e7" "brightblack"  ))
   (base2      '("#dfdfdf" "#dfdfdf" "brightblack"  ))
   (base3      '("#c6c7c7" "#c6c7c7" "brightblack"  ))
   (base4      '("#9ca0a4" "#9ca0a4" "brightblack"  ))
   (base5      '("#383a42" "#424242" "brightblack"  ))
   (base6      '("#202328" "#2e2e2e" "brightblack"  ))
   (base7      '("#1c1f24" "#1e1e1e" "brightblack"  ))
   (base8      '("#1b2229" "black"   "black"        ))
   (fg         '("#383a42" "#424242" "black"        ))
   (fgAlt     '("#c6c7c7" "#c7c7c7" "brightblack"  ))
   (red        '("#e45649" "#e45649" "red"          ))
   (orange     '("#da8548" "#dd8844" "brightred"    ))
   (green      '("#50a14f" "#50a14f" "green"        ))
   (teal       '("#4db5bd" "#44b9b1" "brightgreen"  ))
   (yellow     '("#986801" "#986801" "yellow"       ))
   (blue       '("#4078f2" "#4078f2" "brightblue"   ))
   (darkBlue  '("#a0bcf8" "#a0bcf8" "blue"         ))
   (magenta    '("#a626a4" "#a626a4" "magenta"      ))
   (violet     '("#b751b6" "#b751b6" "brightmagenta"))
   (cyan       '("#0184bc" "#0184bc" "brightcyan"   ))
   (darkCyan  '("#005478" "#005478" "cyan"         ))"""],

    ['doom_one', """(bg         '("#282c34" nil       nil            ))
   (bgAlt     '("#21242b" nil       nil            ))
   (base0      '("#1B2229" "black"   "black"        ))
   (base1      '("#1c1f24" "#1e1e1e" "brightblack"  ))
   (base2      '("#202328" "#2e2e2e" "brightblack"  ))
   (base3      '("#23272e" "#262626" "brightblack"  ))
   (base4      '("#3f444a" "#3f3f3f" "brightblack"  ))
   (base5      '("#5B6268" "#525252" "brightblack"  ))
   (base6      '("#73797e" "#6b6b6b" "brightblack"  ))
   (base7      '("#9ca0a4" "#979797" "brightblack"  ))
   (base8      '("#DFDFDF" "#dfdfdf" "white"        ))
   (fg         '("#bbc2cf" "#bfbfbf" "brightwhite"  ))
   (fgAlt     '("#5B6268" "#2d2d2d" "white"        ))
   (red        '("#ff6c6b" "#ff6655" "red"          ))
   (orange     '("#da8548" "#dd8844" "brightred"    ))
   (green      '("#98be65" "#99bb66" "green"        ))
   (teal       '("#4db5bd" "#44b9b1" "brightgreen"  ))
   (yellow     '("#ECBE7B" "#ECBE7B" "yellow"       ))
   (blue       '("#51afef" "#51afef" "brightblue"   ))
   (darkBlue  '("#2257A0" "#2257A0" "blue"         ))
   (magenta    '("#c678dd" "#c678dd" "brightmagenta"))
   (violet     '("#a9a1e1" "#a9a1e1" "magenta"      ))
   (cyan       '("#46D9FF" "#46D9FF" "brightcyan"   ))
   (darkCyan  '("#5699AF" "#5699AF" "cyan"         ))"""],

    ['doom_opera_light', """(bg         '("#fafafa" nil       nil ))
   (bgAlt     '("#eeeeee" nil       nil ))
   (base0      '("#fafafa" "#dfdfdf" nil ))
   (base1      '("#f5f5f5" "#979797" nil ))
   (base2      '("#eeeeee" "#6b6b6b" nil ))
   (base3      '("#e0e0e0" "#525252" nil ))
   (base4      '("#bdbdbd" "#3f3f3f" nil ))
   (base5      '("#9e9e9e" "#262626" nil ))
   (base6      '("#757575" "#2e2e2e" nil ))
   (base7      '("#616161" "#1e1e1e" nil ))
   (base8      '("#424242" "black"   nil ))
   (fg         '("#2a2a2a" "#2a2a2a" nil ))
   (fgAlt     '("#454545" "#757575" nil ))
   (red        '("#99324b" "#ff6655" nil ))
   (orange     '("#ac4426" "#dd8844" nil ))
   (green      '("#4f894c" "#99bb66" nil ))
   (teal       '("#29838d" "#44b9b1" nil ))
   (yellow     '("#9a7500" "#ECBE7B" nil ))
   (blue       '("#3b6ea8" "#51afef" nil ))
   (darkBlue  '("#5272AF" "#2257A0" nil ))
   (magenta    '("#97365b" "#c678dd" nil ))
   (violet     '("#842879" "#a9a1e1" nil ))
   (cyan       '("#398eac" "#46D9FF" nil ))
   (darkCyan  '("#2c7088" "#5699AF" nil ))"""],

    ['doom_opera', """(bg         '("#323334" nil       nil            ))
   (bgAlt     '("#222224" nil       nil            ))
   (base0      '("#000000" "black"   "black"        ))
   (base1      '("#1e1e1e" "#1e1e1e" "brightblack"  ))
   (base2      '("#2e2e2e" "#2e2e2e" "brightblack"  ))
   (base3      '("#262626" "#262626" "brightblack"  ))
   (base4      '("#3f3f3f" "#3f3f3f" "brightblack"  ))
   (base5      '("#525252" "#525252" "brightblack"  ))
   (base6      '("#6b6b6b" "#6b6b6b" "brightblack"  ))
   (base7      '("#979797" "#979797" "brightblack"  ))
   (base8      '("#dfdfdf" "#dfdfdf" "white"        ))
   (fg         '("#eceff4" "#dfdfdf" "white"        ))
   (fgAlt     '("#727269" "#bfbfbf" "brightwhite"  ))
   (red        '("#C16069" "#ff6655" "red"          ))
   (orange     '("#D2876D" "#dd8844" "brightred"    ))
   (green      '("#A2BF8A" "#99bb66" "green"        ))
   (teal       '("#8EBCBB" "#44b9b1" "brightgreen"  ))
   (yellow     '("#ECCC87" "#ECBE7B" "yellow"       ))
   (blue       '("#80A0C2" "#51afef" "brightblue"   ))
   (darkBlue  '("#5C748E" "#2257A0" "blue"         ))
   (magenta    '("#B58DAE" "#c678dd" "magenta"      ))
   (violet     '("#5D80AE" "#a9a1e1" "brightmagenta"))
   (cyan       '("#86C0D1" "#46D9FF" "brightcyan"   ))
   (darkCyan  '("#507681" "#5699AF" "cyan"         ))"""],

    ['doom_outrun_electric', """(bg         '("#0c0a20" "#0c0a20" nil           ))
   (bgAlt     '("#090819" "#090819" nil           ))
   (base0      '("#131033" "#131033" "black"       ))
   (base1      '("#1f1147" "#161130" "brightblack" ))
   (base2      '("#110d26" "#110d26" "brightblack" ))
   (base3      '("#3b4167" "#3b4167" "brightblack" ))
   (base4      '("#2d2844" "#2d2844" "brightblack" ))
   (base5      '("#BA45A3" "#BA45A3" "brightblack" ))
   (base6      '("#6A6EA3" "#6A6EA3" "brightblack" ))
   (base7      '("#6564D1" "#6564D1" "brightblack" ))
   (base8      '("#919ad9" "#919ad9" "white"       ))
   (fgAlt     '("#7984D1" "#7984D1" "white"       ))
   (fg         '("#f2f3f7" "#f2f3f7" "brightwhite" ))
   (grey       '("#546A90" "#546A90" "gray"          ))
   (red        '("#e61f44" "#e61f44" "red"          ))
   (orange     '("#cf433e" "#ff9b50" "brightred"    ))
   (green      '("#a7da1e" "#a7da1e" "green"        ))
   (teal       '("#A875FF" "#A875FF" "brightgreen"  ))
   (yellow     '("#ffd400" "#ffd400" "yellow"       ))
   (blue       '("#1ea8fc" "#1ea8fc" "brightblue"   ))
   (darkBlue  '("#3F88AD" "#3F88AD" "blue"         ))
   (magenta    '("#ff2afc" "#ff2afc" "magenta"      ))
   (violet     '("#df85ff" "#df85ff" "brightmagenta"))
   (cyan       '("#42c6ff" "#42c6ff" "brightcyan"   ))
   (darkCyan  '("#204052" "#204052" "cyan"         ))"""],

    ['doom_palenight', """(bg         '("#292D3E" nil       nil))
   (bgAlt     '("#242837" nil       nil))
   (base0      '("#1c1f2b" "black"   "black"))
   (base1      '("#1e212e" "#262626" "brightblack"))
   (base2      '("#232635" "#303030" "brightblack"))
   (base3      '("#3C435E" "#3a3a3a" "brightblack"))
   (base4      '("#4E5579" "#444444" "brightblack"))
   (base5      '("#676E95" "#585858" "brightblack"))
   (base6      '("#697098" "#626262" "brightblack"))
   (base7      '("#717CB4" "#767676" "brightblack"))
   (base8      '("#A6Accd" "#a8a8a8" "white"))
   (fg         '("#EEFFFF" "#e4e4e4" "brightwhite"))
   (fgAlt     '("#BFC7D5" "#bcbcbc" "white"))
   (red         '("#ff5370" "#ff0000" "red"))
   (orange      '("#f78c6c" "#ff5f00" "brightred"))
   (green       '("#c3e88d" "#afff00" "green"))
   (teal        '("#44b9b1" "#00d7af" "brightgreen"))
   (yellow      '("#ffcb6b" "#ffd700" "brightyellow"))
   (blue        '("#82aaff" "#5fafff" "brightblue"))
   (darkBlue   '("#7986E7" "#d7ffff" "blue"))
   (magenta     '("#c792ea" "#d787d7" "brightmagenta"))
   (violet      '("#bb80b3" "#d787af" "magenta"))
   (cyan        '("#89DDFF" "#5fd7ff" "brightcyan"))
   (darkCyan   '("#80cbc4" "#00d7af" "cyan"))"""],

    ['doom_peacock', """(bg         '("#2b2a27" nil       nil            ))
   (bgAlt     '("#1F1E1D" nil       nil            ))
   (base0      '("#2b2a27" "black"   "black"        ))
   (base1      '("#1c1f24" "#1e1e1e" "brightblack"  ))
   (base2      '("#202328" "#2e2e2e" "brightblack"  ))
   (base3      '("#23272e" "#262626" "brightblack"  ))
   (base4      '("#3f444a" "#3f3f3f" "brightblack"  ))
   (base5      '("#5B6268" "#525252" "brightblack"  ))
   (base6      '("#73797e" "#6b6b6b" "brightblack"  ))
   (base7      '("#9ca0a4" "#979797" "brightblack"  ))
   (base8      '("#DFDFDF" "#dfdfdf" "white"        ))
   (fg         '("#ede0ce" "#bfbfbf" "brightwhite"  ))
   (fgAlt     '("#5B6268" "#2d2d2d" "white"        ))
   (white      '("#f8f8f0" "base4"   "base4"        ))
   (red        '("#ff5d38" "#ff6655" "red"          )) 
   (orange     '("#cb4b16" "#dd8844" "brightred"    ))
   (green      '("#98be65" "#99bb66" "green"        ))
   (teal       '("#26a6a6" "#44b9b1" "brightgreen"  )) 
   (yellow     '("#bcd42a" "#ECBE7B" "yellow"       )) 
   (blue       '("#51afef" "#51afef" "brightblue"   ))
   (darkBlue  '("#2257A0" "#2257A0" "blue"         ))
   (magenta    '("#c678dd" "#c678dd" "magenta"      ))
   (violet     '("#a9a1e1" "#a9a1e1" "brightmagenta"))
   (cyan       '("#46D9FF" "#46D9FF" "brightcyan"   ))
   (darkCyan  '("#5699AF" "#5699AF" "cyan"         ))"""],

    ['doom_rouge', """(bg         '("#172030" nil       nil            ))
   (bgAlt     '("#172030" nil       nil            ))
   (base0      '("#070A0E" "black"   "black"        ))
   (base1      '("#0E131D" "#1e1e1e" "brightblack"  ))
   (base2      '("#151D2B" "#2e2e2e" "brightblack"  ))
   (base3      '("#1F2A3F" "#262626" "brightblack"  ))
   (base4      '("#5D636E" "#3f3f3f" "brightblack"  ))
   (base5      '("#64727d" "#64727d" "brightblack"  ))
   (base6      '("#B16E75" "#6b6b6b" "brightblack"  ))
   (base7      '("#E8E9EB" "#979797" "brightblack"  ))
   (base8      '("#F0F4FC" "#dfdfdf" "white"        ))
   (fg         '("#FAFFF6"    "#bbb"    "white"        ))
   (fgAlt     '("#A7ACB9" "#bfbfbf" "brightwhite"  ))
   (red        '("#c6797e" "#c6797e" "red"          ))
   (lightRed  '("#DB6E8F" "#DB6E8F" "red"          ))
   (orange     '("#eabe9a" "#eabe9a" "brightred"    ))
   (green      '("#A3B09A" "#A3B9A4" "green"        ))
   (teal       '("#7ea9a9" "#7ea9a9" "brightgreen"  ))
   (yellow     '("#F7E3AF" "#F7E3AF" "yellow"       ))
   (blue       '("#6e94b9" "#6e94b9" "brightblue"   ))
   (darkBlue  '("#1E6378" "#1E6378" "blue"         ))
   (magenta    '("#b18bb1" "#b18bb1" "magenta"      ))
   (salmon     '("#F9B5AC" "#F9B5AC" "orange"       ))
   (violet     '("#5D80AE" "#5D80AE" "brightmagenta"))
   (cyan       '("#88C0D0" "#88C0D0" "brightcyan"   ))
   (darkCyan  '("#507681" "#507681" "cyan"         ))"""],

    ['doom_snazzy', """(bg         '("#282a36" "#282a36" nil          ))
   (bgAlt     '("#242631" "#242631" nil          ))
   (base0      '("#282a36" "#282a36" "black"      ))
   (base1      '("#34353e" "#34353e" "brightblack"))
   (base2      '("#43454f" "#43454f" "brightblack"))
   (base3      '("#78787e" "#78787e" "brightblack"))
   (base4      '("#a5a5a9" "#a5a5a9" "brightblack"))
   (base5      '("#e2e4e5" "#e2e4e5" "brightblack"))
   (base6      '("#eff0eb" "#eff0eb" "brightblack"))
   (base7      '("#f1f1f0" "#f1f1f0" "brightblack"))
   (base8      '("#ff5c57" "#ff5c57" "white"      ))
   (fg         '("#f9f9f9" "#f9f9f9" "white"      ))
   (fgAlt     '("#d1d1d1" "#d1d1d1" "brightwhite"))
   (red        '("#ff5c57" "#ff5c57" "red"          ))
   (green      '("#5af78e" "#5af78e" "brightred"    ))
   (yellow     '("#f3f99d" "#f3f99d" "green"        ))
   (blue       '("#57c7ff" "#57c7ff" "brightgreen"  ))
   (darkBlue  '("#459fcc" "#459fcc" "yellow"       ))
   (magenta    '("#ff6ac1" "#ff6ac1" "brightblue"   ))
   (cyan       '("#9aedfe" "#9aedfe" "blue"         ))
   (violet     '("#bd93f9" "#bd93f9" "magenta"      ))
   (orange     '("#ffb86c" "#ffb86c" "brightmagenta"))
   (teal       '("#aad4d3" "#aad4d3" "brightcyan"   ))
   (darkCyan  '("#82c9d7" "#82c9d7" "cyan"         ))"""],

    ['doom_solarized_dark', """(bg         '("#002b36" "#002b36"       nil     ))
   (bgAlt     '("#00212B" "#00212B"       nil     ))
   (base0      '("#073642" "#073642"   "black"     ))
   (base1      '("#03282F" "#03282F" "brightblack" ))
   (base2      '("#00212C" "#00212C" "brightblack" ))
   (base3      '("#13383C" "#13383C" "brightblack" ))
   (base4      '("#56697A" "#56697A" "brightblack" ))
   (base5      '("#405A61" "#405A61" "brightblack" ))
   (base6      '("#96A7A9" "#96A7A9" "brightblack" ))
   (base7      '("#788484" "#788484" "brightblack" ))
   (base8      '("#626C6C" "#626C6C" "white"       ))
   (fgAlt     '("#657b83" "#657b83" "white"       ))
   (fg         '("#BBBBBB" "#BBBBBB" "brightwhite" ))
   (red        '("#dc322f" "#ff6655" "red"          ))
   (orange     '("#cb4b16" "#dd8844" "brightred"    ))
   (green      '("#859900" "#99bb66" "green"        ))
   (teal       '("#35a69c" "#33aa99" "brightgreen"  ))
   (yellow     '("#b58900" "#ECBE7B" "yellow"       ))
   (blue       '("#268bd2" "#51afef" "brightblue"   ))
   (darkBlue  '("#3F88AD" "#2257A0" "blue"         ))
   (magenta    '("#d33682" "#c678dd" "magenta"      ))
   (violet     '("#6c71c4" "#a9a1e1" "brightmagenta"))
   (cyan       '("#2aa198" "#46D9FF" "brightcyan"   ))
   (darkCyan  '("#204052" "#5699AF" "cyan"         ))"""],

    ['doom_solarized', """(bg         '("#FDF6E3" "#FDF6E3" nil            ))
   (bgAlt     '("#FFFBEA" "#FFFBEA" nil            ))
   (base0      '("#FFFBF0" "#FFFBF0" "white"        ))
   (base1      '("#FCF8ED" "#FCF8ED" "brightblack"  ))
   (base2      '("#FCF7E8" "#FCF7E8" "brightblack"  ))
   (base3      '("#F2E6CE" "#F2E6CE" "brightblack"  ))
   (base4      '("#E1DBCD" "#E1DBCD" "brightblack"  ))
   (base5      '("#D6D6D6" "#D6D6D6" "brightblack"  ))
   (base6      '("#96A7A9" "#96A7A9" "brightblack"  ))
   (base7      '("#788484" "#788484" "brightblack"  ))
   (base8      '("#626C6C" "#626C6C" "black"        ))
   (fg         '("#556b72" "#556b72" "black"        ))
   (fgAlt     '("#7B8787" "#7B8787" "brightwhite"  ))
   (red        '("#dc322f" "#dc322f" "red"          ))
   (orange     '("#cb4b16" "#cb4b16" "brightred"    ))
   (green      '("#859900" "#859900" "green"        ))
   (teal       '("#35a69c" "#35a69c" "brightgreen"  ))
   (yellow     '("#b58900" "#b58900" "yellow"       ))
   (blue       '("#268bd2" "#268bd2" "brightblue"   ))
   (darkBlue  '("#3F88AD" "#3F88AD" "blue"         ))
   (magenta    '("#d33682" "#d33682" "magenta"      ))
   (violet     '("#6c71c4" "#6c71c4" "brightmagenta"))
   (cyan       '("#2aa198" "#2aa198" "brightcyan"   ))
   (darkCyan  '("#204052" "#204052" "cyan"         ))"""],

    ['doom_spacegrey', """(bg         '("#2b303b" nil       nil            ))
   (bgAlt     '("#232830" nil       nil            ))
   (base0      '("#1B2229" "black"   "black"        ))
   (base1      '("#1c1f24" "#1e1e1e" "brightblack"  ))
   (base2      '("#202328" "#2e2e2e" "brightblack"  ))
   (base3      '("#2F3237" "#2F3237" "brightblack"  ))
   (base4      '("#4f5b66" "#4f5b66" "brightblack"  ))
   (base5      '("#65737E" "#65737E" "brightblack"  ))
   (base6      '("#73797e" "#6b6b6b" "brightblack"  ))
   (base7      '("#9ca0a4" "#979797" "brightblack"  ))
   (base8      '("#DFDFDF" "#dfdfdf" "white"        ))
   (fg         '("#c0c5ce" "#c0c5ce" "brightwhite"  ))
   (fgAlt     '("#c0c5ce" "#c0c5ce" "white"        ))
   (red        '("#BF616A" "#BF616A" "red"          ))
   (orange     '("#D08770" "#D08770" "brightred"    ))
   (green      '("#A3BE8C" "#A3BE8C" "green"        ))
   (blue       '("#8FA1B3" "#8FA1B3" "brightblue"   ))
   (violet     '("#b48ead" "#b48ead" "brightmagenta"))
   (teal       '("#4db5bd" "#44b9b1" "brightgreen"  ))
   (yellow     '("#ECBE7B" "#ECBE7B" "yellow"       ))
   (darkBlue  '("#2257A0" "#2257A0" "blue"         ))
   (magenta    '("#c678dd" "#c678dd" "magenta"      ))
   (cyan       '("#46D9FF" "#46D9FF" "brightcyan"   ))
   (darkCyan  '("#5699AF" "#5699AF" "cyan"         ))"""],

    ['doom_vibrant', """(bg         '("#242730" nil       nil))
   (bgAlt     '("#2a2e38" nil       nil))
   (base0      '("#1c1f24" "#101010" "black"        ))
   (base1      '("#1c1f24" "#1e1e1e" "brightblack"  ))
   (base2      '("#21272d" "#21212d" "brightblack"  ))
   (base3      '("#23272e" "#262626" "brightblack"  ))
   (base4      '("#484854" "#5e5e5e" "brightblack"  ))
   (base5      '("#62686E" "#666666" "brightblack"  ))
   (base6      '("#757B80" "#7b7b7b" "brightblack"  ))
   (base7      '("#9ca0a4" "#979797" "brightblack"  ))
   (base8      '("#DFDFDF" "#dfdfdf" "white"        ))
   (fg         '("#bbc2cf" "#bfbfbf" "t" ))
   (fgAlt     '("#5D656B" "#5d5d5d" "t" ))
   (red        '("#ff665c" "#ff6655" "t" ))
   (orange     '("#e69055" "#dd8844" "t" ))
   (green      '("#7bc275" "#99bb66" "t" ))
   (teal       '("#4db5bd" "#44b9b1" "t" ))
   (yellow     '("#FCCE7B"  "t"          "t" ))
   (blue       '("#51afef"  "t"          "t" ))
   (darkBlue  '("#1f5582"  "t"          "t" ))
   (magenta    '("#C57BDB"  "t"          "t" ))
   (violet     '("#a991f1"  "t"          "t" ))
   (cyan       '("#5cEfFF"  "t"          "t" ))
   (darkCyan  '("#6A8FBF"  "t"          "t" ))"""],

    ['doom_wilmersdorf', """(bg         '("#282b33" "#282b33" nil            ))
   (bgAlt     '("#1f2024" "#1f2024" nil            ))
   (base0      '("#222228" "#222228" "black"        ))
   (base1      '("#282b33" "#282b33" "brightblack"  ))
   (base2      '("#34373e" "#34373e" "brightblack"  ))
   (base3      '("#41454b" "#41454b" "brightblack"  ))
   (base4      '("#515462" "#515462" "brightblack"  ))
   (base5      '("#888395" "#888395" "brightblack"  ))
   (base6      '("#929292" "#929292" "brightblack"  ))
   (base7      '("#727269" "#727269" "brightblack"  ))
   (base8      '("#eceff4" "#eceff4" "white"        ))
   (fgAlt     '("#c9d9ff" "#c9d9ff" "brightwhite"  ))
   (fg         '("#c6c6c6" "#c6c6c6" "white"        ))
   (red        '("#e1c1ee" "#e1c1ee" "red"          ))
   (orange     '("#a6c1e0" "#a6c1e0" "brightred"    ))
   (green      '("#5b94ab" "#5b94ab" "green"        ))
   (teal       '("#7ebebd" "#7ebebd" "brightgreen"  ))
   (yellow     '("#cfcf9c" "#cfcf9c" "yellow"       ))
   (blue       '("#819cd6" "#819cd6" "brightblue"   ))
   (lightBlue '("#90a6db" "#90a6db" "yellow"       ))
   (darkBlue  '("#616c96" "#616c96" "blue"         ))
   (magenta    '("#a6c1e0" "#a6c1e0" "magenta"      ))
   (violet     '("#b0a2e7" "#b0a2e7" "brightmagenta"))
   (cyan       '("#7289bc" "#7289bc" "brightcyan"   ))
   (darkCyan  '("#6e7899" "#6e7899" "cyan"   ))"""],

    ['doom_zenburn', """(bg         '("#3F3F3F" nil       nil            ))
   (bgAlt     '("#383838" nil       nil            )) 
   (base0      '("#000000" "black"   "black"        )) 
   (base1      '("#2B2B2B" "#1e1e1e" "brightblack"  )) 
   (base2      '("#303030" "#2e2e2e" "brightblack"  )) 
   (base3      '("#383838" "#262626" "brightblack"  )) 
   (base4      '("#494949" "#3f3f3f" "brightblack"  )) 
   (base5      '("#4F4F4F" "#525252" "brightblack"  )) 
   (base6      '("#5F5F5F" "#6b6b6b" "brightblack"  )) 
   (base7      '("#6F6F6F" "#979797" "brightblack"  )) 
   (base8      '("#FFFFEF" "#dfdfdf" "white"        )) 
   (fg         '("#DCDCDC" "#bfbfbf" "brightwhite"  )) 
   (fgAlt     '("#989890" "#2d2d2d" "white"        )) 
   (red        '("#CC9393" "#ff6655" "red"          )) 
   (orange     '("#DFAF8F" "#dd8844" "brightred"    )) 
   (green      '("#7F9F7F" "#99bb66" "green"        )) 
   (teal       '("#4db5bd" "#44b9b1" "brightgreen"  )) 
   (yellow     '("#F0DFAF" "#ECBE7B" "yellow"       )) 
   (blue       '("#8CD0D3" "#51afef" "brightblue"   )) 
   (darkBlue  '("#2257A0" "#2257A0" "blue"         )) 
   (magenta    '("#DC8CC3" "#c678dd" "brightmagenta")) 
   (violet     '("#a9a1e1" "#a9a1e1" "magenta"      )) 
   (cyan       '("#93E0E3" "#46D9FF" "brightcyan"   )) 
   (darkCyan  '("#5699AF" "#5699AF" "cyan"         ))"""]
]

def convert_theme(theme_el):
    """Convert Doom theme to JSON"""
    theme_string = theme_el[1]
    theme_dict = {}
    theme_list = theme_string.split("\n")
    # strip whitespace
    theme_list = [colorline.strip() for colorline in theme_list if colorline]
    for colorline in theme_list:
        this_color = colorline.split()
        if len(this_color) <= 2:
            # skip irregular rows
            continue
        hex_string = this_color[1][3:10]  # string representing hex code in "default" column
        color_name = this_color[0][1:]
        theme_dict[color_name] = hex_string
    with open(f"{theme_el[0]}.json", 'w') as j:
        json.dump(theme_dict, j)

def convert_all_themes(doom_list):
    """Convert list of Doom themes to JSON"""
    for theme in doom_list:
        convert_theme(theme)
