fix(themes): fix github theme colors

This commit is contained in:
Matt Leong 2022-01-17 15:34:37 -08:00
parent 680869ec1a
commit 6f1449dbca
2 changed files with 6 additions and 5 deletions

View file

@ -1,8 +1,8 @@
local cosmic_modules = { local cosmic_modules = {
'cosmic.core.disabled', 'cosmic.core.disabled',
'cosmic.core.editor',
'cosmic.core.pluginsInit', 'cosmic.core.pluginsInit',
'cosmic.core.commands', 'cosmic.core.commands',
'cosmic.core.editor',
'cosmic.core.mappings', 'cosmic.core.mappings',
'cosmic.config.editor', 'cosmic.config.editor',
} }

View file

@ -1,9 +1,10 @@
local theme_colors = require('github-theme.colors').setup() local config = require('github-theme.config')
local theme_colors = require('github-theme.colors').setup(config.schema)
local colors = { local colors = {
white = theme_colors.white, white = theme_colors.bright_white,
bg = theme_colors.bg_statusline, bg = theme_colors.bg,
bg_highlight = theme_colors.fg_statusline, bg_highlight = theme_colors.bg_highlight,
normal = theme_colors.blue, normal = theme_colors.blue,
insert = theme_colors.green, insert = theme_colors.green,
command = theme_colors.bright_magenta, command = theme_colors.bright_magenta,