Giter VIP home page Giter VIP logo

Comments (6)

zspher avatar zspher commented on August 24, 2024 1

currently using the ff. colors

FzfLuaBorder = { link = "FloatBorder" },
FzfLuaTitle = { link = "FloatBorder" },

FzfLuaHeaderBind = { fg = c.yellow },
FzfLuaBufNr = { fg = c.yellow },
FzfLuaTabMarker = { fg = c.yellow },
FzfLuaHeaderText = { fg = c.peach },
FzfLuaBufFlagCur = { fg = c.peach },
FzfLuaLiveSym = { fg = c.peach },

FzfLuaPathColNr = { fg = c.blue },
FzfLuaBufFlagAlt = { fg = c.blue },
FzfLuaTabTitle = { fg = c.sky },

FzfLuaPathLineNr = { fg = c.green },
FzfLuaBufName = { fg = c.mauve },

from

BlanchedAlmond -> yellow
Brown1 -> peach
CadetBlue1 -> blue
LightGreen -> green
LightMagenta -> mauve
LightSkyBlue1 -> sky

from nvim.

vollowx avatar vollowx commented on August 24, 2024 1

Seems to be a nice idea! I'll make this ASAP when I get some time!

from nvim.

zspher avatar zspher commented on August 24, 2024 1

i think the 2nd option should be better as it allows of more consistency and less maintenance. The fzf highlights should be the user's responsibility, either setting it in the fzf_lua plugin or via $FZF_DEFAULT_OPTS env.

from nvim.

db757 avatar db757 commented on August 24, 2024

This is what I currently use which complies with the fzf catppuccin theme and some personal preference changes:

'FzfLuaBorder', { link = "FloatBorder" }
'FzfLuaTitle', { link = "FloatBorder" }
'FzfLuaHeaderText', { foreground = C.mauve } -- Personal preference
'FzfLuaHeaderBind', { foreground = C.rosewater } -- Personal preference
...
fzf_colors = {
	["bg"] = '-1', -- Transparent background, originally base
	["fg"] = C.text,
	["bg+"] = C.ui_selection, -- Custom color, originally surface0
	["fg+"] = C.text,
	["hl"] = C.red,
	["hl+"] = C.red,
	["spinner"] = C.rosewater,
	["header"] = C.mauve, -- Personal preference, originally red
	["info"] = C.mauve,
	["pointer"] = C.rosewater,
	["marker"] = C.rosewater,
	["prompt"] = C.mauve,
	["gutter"] = '-1', -- Transparent background
},

from nvim.

vollowx avatar vollowx commented on August 24, 2024

At this point of working on the fzf integration, I'm not sure whether should I

  1. Copy the highlights in catppuccin/fzf into catppuccin/nvim besides the fzf_lua ones (requires fzf_colors = true in its setup function)
  2. Just highlight the fzf_lua ones

The 1st way causes duplication and might be out-dated when catppuccin/fzf updates, and the 2nd way requires users to finish the fzf highlights.

from nvim.

vollowx avatar vollowx commented on August 24, 2024

Will write the PR soon ❤️

from nvim.

Related Issues (20)

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.