Git Product home page Git Product logo

Comments (8)

JannatinNaim avatar JannatinNaim commented on June 25, 2024 1

Whatever man, just leave it. This isn't something worth wasting your time for. Thanks for all the help till now. This is really a great theme as I was looking for OneDark with the kind of highlighting VSCode has. This is the only one that does that. Great work. 😉

from onedarkpro.nvim.

JannatinNaim avatar JannatinNaim commented on June 25, 2024

image

I tried copying some of the colors from the old scheme but, that doesn't seem to help.

from onedarkpro.nvim.

JannatinNaim avatar JannatinNaim commented on June 25, 2024

I'm guessing what I want can be done through this file, but IDK how to customize this one.
https://github.com/olimorris/onedarkpro.nvim/blob/main/lua/lualine/themes/onedarkpro.lua

from onedarkpro.nvim.

olimorris avatar olimorris commented on June 25, 2024

You should be able to override any colors you like with the color overrides as you have done in your config. Are you referring to the lualine highlight groups? If so, you'll need to apply highlight group overrides as per the readme.

Regarding the purple accent, you could override like I have in the screenshot below:

Screen Shot 2022-05-17 at 19 31 39@2x

That's an extreme example 😄 . I'm choosing to stay as close to the original OneDarkPro as possible with colors.

from onedarkpro.nvim.

JannatinNaim avatar JannatinNaim commented on June 25, 2024

I just loaded my previous theme as the lualine theme which fixed that issue but, as for the purple accent, I wanted it to be blue. If I change that, the if and else statements also turn blue which doesn't look great next to functions. I'm not sure what the HlGroup for those are so, I can't seem to fix that yet.

from onedarkpro.nvim.

olimorris avatar olimorris commented on June 25, 2024

Sorry I misread your posts. To alter Lualine colors, you could do change the following colors:

colors = {
  onedark_vivid = {
    bg_statusline = "",
    fg_gutter = "",
    fg_sidebar = ""
  }
}

Not sure if this will give you the level of customisation you require.

To change to a blue accent, the highlight groups you'll likely wish to change will be in theme.lua and treesitter.lua. You can search for = theme.colors.purple to see all of the purple accents.

from onedarkpro.nvim.

JannatinNaim avatar JannatinNaim commented on June 25, 2024

Thanks for your help. This is what I got things to look like.

image

Couldn't fix the purple folders yet because I can't seem to find the hlgroup for it. Other than that, everything is all good and I love it. Great work.

from onedarkpro.nvim.

JannatinNaim avatar JannatinNaim commented on June 25, 2024

Although, I just realized that lualine was still using the old onedark theme colors. This is what it looks like with the settings.

image

Is there a way to change the green text? I guess I can live with the purple accent, not so sure about the green text though.

from onedarkpro.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.