Skip to content

Commit

Permalink
styles: auto-format with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 14, 2024
1 parent 018b963 commit b854754
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/pastelnight/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function M.setup(opts)

local style = config.options.style
local palette = M[style] or {}
if type(palette) == "function" then
if type(palette) == 'function' then
palette = palette()
end

Expand Down Expand Up @@ -174,12 +174,12 @@ function M.setup(opts)

-- Sidebar and Floats are configurable
colors.bg_sidebar = config.options.styles.sidebars == 'transparent' and colors.none
or config.options.styles.sidebars == 'dark' and colors.base600
or colors.bg
or config.options.styles.sidebars == 'dark' and colors.base600
or colors.bg

colors.bg_float = config.options.styles.floats == 'transparent' and colors.none
or config.options.styles.floats == 'dark' and colors.base600
or colors.bg
or config.options.styles.floats == 'dark' and colors.base600
or colors.bg

colors.fg_float = colors.fg

Expand Down

0 comments on commit b854754

Please sign in to comment.