Fluoromachine for Neovim
Created with colorgen
Fluoromachine is a fork of the popular Synthwave84 color scheme, which is inspired by the aesthetics of the 1980s and the retro-futuristic genre known as synthwave. Fluoromachine (Colorscheme) incorporates this neon-drenched style into its design, with a glowing effect that adds a touch of sci-fi to your coding experience.
Install
To install fluoromachine you need a plugin manager.
Example with Lazy.nvim
return {
{
'maxmx03/fluoromachine.nvim',
config = function ()
local fm = require 'fluoromachine'
fm.setup {
glow = false,
theme = 'fluoromachine'
}
vim.cmd.colorscheme 'fluoromachine'
end
}
}
Configuration
Name | type | default value | Description |
---|---|---|---|
glow | boolean | false |
Enable and disable the glow effect |
brightness | number | 0.05 |
The value should be a float value from 0 to 1 |
theme | string | fluoromachine |
Change the theme of the colorscheme, you can choose between fluoromachine and retrowave |
transparent | boolean/string | false |
Change the background to transparent, you can set "full" to make everything transparent. |
colors | table/callback | {} |
Add or override to fluoromachine colors |
overrides | table/callback | {} |
Update or add new highlight groups. |
example:
local fm = require 'fluoromachine'
fm.setup {
glow = true,
theme = 'retrowave',
transparent = 'full',
}
vim.cmd.colorscheme('fluoromachine')
Customization
Fluoromachine is a fully customizable colorscheme, you can even create a colorscheme within fluoromachine. You can add new colors, add new highlight groups, and update highlight groups.
examples
Changing the colorscheme style.
local fm = require 'fluoromachine'
fm.setup {
overrides = {
['@type'] = { italic = true, bold = false },
['@function'] = { italic = false, bold = false },
['@comment'] = { italic = true },
['@keyword'] = { italic = false },
['@constant'] = { italic = false, bold = false },
['@variable'] = { italic = true },
['@field'] = { italic = true },
['@parameter'] = { italic = true },
}
}
vim.cmd.colorscheme 'fluoromachine'
Customizing Telescope.
The "callback overrides" function receives "colors", "darken", "lighten", and "blend" as parameters. The "darken" function takes two arguments: the color you want to make darker and the percentage of darkness. The "lighten" function works the same way as "darken". The "blend" function takes three arguments: color, background, and alpha.
local fm = require 'fluoromachine'
function overrides(c)
return {
TelescopeResultsBorder = { fg = c.alt_bg, bg = c.alt_bg },
TelescopeResultsNormal = { bg = c.alt_bg },
TelescopePreviewNormal = { bg = c.bg },
TelescopePromptBorder = { fg = c.alt_bg, bg = c.alt_bg },
TelescopeTitle = { fg = c.fg, bg = c.comment },
TelescopePromptPrefix = { fg = c.purple },
}
end
fm.setup {
overrides = overrides
}
Customizing colors
You can customize colors in the same way you customize highlight groups. The color callback function receives the same parameters as overrides. The added or customized colors can be used later in overrides.
local fm = require 'fluoromachine'
fm.setup {
colors = function (c, _, lighten)
return {
bg = lighten(c.bg, 10)
}
end
}
vim.cmd.colorscheme 'fluoromachine'
Lualine
themes: fluoromachine
retrowave
local lualine = require 'lualine'
lualine.setup {
options = {
theme = 'fluoromachine'
}
}
Contribution
Pull requests are welcome.
To learn more about the colorscheme, please read the SPECIFICATION.md
![]() |
---|
Max Miliano |