|
Hey there! I like the github light default theme, but some of the colors don't match. This is what it should look like: <ul hidden>
<li id="a11y-new-window-message"></li>
</ul>
<script>
window.routes = {
cart_add_url: 'add',
cart_change_url: 'change',
cart_update_url: 'update',
}
</script>I'm trying to override the colors, but it doesn't seem to work overrides = function(c)
return {
htmlArg = { fg = c.blue },
htmlSpecialTagName = { fg = c.green },
}
endMaybe I'm doing something wrong? Any ideas |
Answered by
tmillr
Aug 8, 2023
Replies: 2 comments 2 replies
|
Only a few highlights have been defined for Html in this theme, but the highlights aren't always the same due to constant changes in the treesitter. But still, you can override the highlights not already defined in this theme by enabling require('github-theme').setup({
-- ...
overrides = function(_)
return {
htmlArg = { fg = c.blue },
htmlSpecialTagName = { fg = c.green },
}
end,
dev = true,
})
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




@slavamak it has been some months since this was originally posted, but just letting you know that alot of these issues have been fixed now and all you should need to do is update the plugin