Skip to content

Commit

Permalink
Merge pull request #87 from Hashino/patch-1
Browse files Browse the repository at this point in the history
docs: include custom_highlights style example
  • Loading branch information
rmehri01 authored Aug 22, 2024
2 parents 70b716f + 2112b37 commit 057d704
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ local colors = require("onenord.colors").load()

require("onenord").setup({
custom_highlights = {
["@constructor"] = { fg = colors.dark_blue },
["@constructor"] = { fg = colors.dark_blue, style = 'bold' },
},
custom_colors = {
red = "#ffffff",
Expand All @@ -134,7 +134,7 @@ local colors = require("onenord.colors").load()
require("onenord").setup({
custom_highlights = {
light = {
["@constructor"] = { fg = colors.dark_blue }, -- only applies in light theme
["@constructor"] = { fg = colors.dark_blue, style = 'bold' }, -- only applies in light theme
},
},
custom_colors = {
Expand Down
4 changes: 2 additions & 2 deletions doc/onenord.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Here is an example of overwriting the default highlight groups and colors:

require("onenord").setup({
custom_highlights = {
["@constructor"] = { fg = colors.dark_blue },
["@constructor"] = { fg = colors.dark_blue, style = 'bold' },
},
custom_colors = {
red = "#ffffff",
Expand All @@ -152,7 +152,7 @@ If you use the `light` and `dark` keys, the override will be specific to those t
require("onenord").setup({
custom_highlights = {
light = {
["@constructor"] = { fg = colors.dark_blue }, -- only applies in light theme
["@constructor"] = { fg = colors.dark_blue, style = 'bold' }, -- only applies in light theme
},
},
custom_colors = {
Expand Down

0 comments on commit 057d704

Please sign in to comment.