Giter VIP home page Giter VIP logo

Comments (7)

phelps-matthew avatar phelps-matthew commented on September 27, 2024

Just to follow up - I am curious if you have a screenshot of the expected ipython scheme. The hex color codes in the style.py look good to me, but things like the red on error messages, for example, look darker than the BRIGHT_RED = '#fb4934' setting in the GruvboxBase class definition.

Here is my output
color-gruv

from gruvbox_pygments.

farisachugthai avatar farisachugthai commented on September 27, 2024

Thank you for using it!

No that's not what was intended at all and I appreciate you pointing this out. After getting the repository set up, I began modifying the original colorscheme to more closely reflect a gruvbox-material repo I found. However, that wasn't mentioned in the README.

I'm currently updating this but as I've been going I noticed a few more inconsitencies that I'm still trying to iron out.

However, if you'd like to fork the repo and continue some work on it, I'd definitely encourage that and love to see any changes you make if you'd consider pushing them back to master!

from gruvbox_pygments.

farisachugthai avatar farisachugthai commented on September 27, 2024

Just to follow up - I am curious if you have a screenshot of the expected ipython scheme. The hex color codes in the style.py look good to me, but things like the red on error messages, for example, look darker than the BRIGHT_RED = '#fb4934' setting in the GruvboxBase class definition.

I've been meaning to upload screenshots since the day I created this. I'll make sure I get on that.
I've also noticed that, but unfortunately I can't tell what it originates from. Frankly it seems to be a discrepency in how vim and pygments process colors because if you set the colorscheme similarly using prompt_toolkit, ipython, pygments, or xonsh they display the same.

from gruvbox_pygments.

phelps-matthew avatar phelps-matthew commented on September 27, 2024

Thanks for the comments. I haven't gotten back to it for a few days, but here is where I have left off. I was able to modify the ipython prompt and prompt number to a desired color by making adjustments to ~/.ipython/profile_default/ipython_config.py. Particularly
c.TerminalInteractiveShell.highlighting_style_overrides

I'll fork and send your way if I ever make decent progress and have something usable.

ipython_config.txt

from gruvbox_pygments.

farisachugthai avatar farisachugthai commented on September 27, 2024

Take your time I'll be here haha.

Would you be able to paste the contents of the file you linked to?

A link to a gist would also work.

from gruvbox_pygments.

phelps-matthew avatar phelps-matthew commented on September 27, 2024

Is there a better way to embed this?

<script src="https://gist.github.com/phelps-matthew/4d8668ac1edd4ee6283f9e7a5f7aedd5.js"></script>

from gruvbox_pygments.

farisachugthai avatar farisachugthai commented on September 27, 2024

Lol a url works just fine.

## Override highlighting format for specific tokens

c.TerminalInteractiveShell.highlighting_style_overrides = { 
Token.Prompt: "#b8bb26", 
Token.PromptNum: "#b8bb26",
}

I think this is the only part I needed anyway

from gruvbox_pygments.

Related Issues (1)

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.