GithubHelp home page GithubHelp logo

emille1723 / fluoromachine.nvim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxmx03/fluoromachine.nvim

0.0 0.0 0.0 106 KB

FluoroMachine theme for neovim

License: MIT License

Scheme 0.63% Lua 99.26% Vim Script 0.12%

fluoromachine.nvim's Introduction

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.

preview

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

Maintainers

Max
Max Miliano

License

MIT License

fluoromachine.nvim's People

Contributors

maxmx03 avatar tssm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.