mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
Update palette (#58)
* chore: format * feat!: use new palette - color "inactive" has been renamed to "muted" - update subtle and muted colors
This commit is contained in:
parent
ed2dd129b6
commit
e0fd291fb0
7 changed files with 35 additions and 51 deletions
|
|
@ -26,12 +26,7 @@ function util.blend(fg, bg, alpha)
|
|||
return math.floor(math.min(math.max(0, ret), 255) + 0.5)
|
||||
end
|
||||
|
||||
return string.format(
|
||||
'#%02X%02X%02X',
|
||||
blendChannel(1),
|
||||
blendChannel(2),
|
||||
blendChannel(3)
|
||||
)
|
||||
return string.format('#%02X%02X%02X', blendChannel(1), blendChannel(2), blendChannel(3))
|
||||
end
|
||||
|
||||
return util
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue