Giter VIP home page Giter VIP logo

Comments (5)

whatyouhide avatar whatyouhide commented on May 28, 2024

This is how autocompletion looks in vim with the Gotham colorscheme:

What about those colors? If you like them, here's the relevant part of the vim highlighting:

call s:Col('Pmenu', 'base6', 'base2')
call s:Col('PmenuSel', 'base7', 'base4')
call s:Col('PmenuSbar', '', 'base2')
call s:Col('PmenuThumb', '', 'base4')

If you aren't familiar with VimL, those are just function calls where the first argument is what is being highlighted, the second argument is the foreground color and the last argument is the background color.

From vim's help, here's the (easy-to-guess) meaning of those highlight groups:

Pmenu       Popup menu: normal item.
PmenuSel    Popup menu: selected item.
PmenuSbar   Popup menu: scrollbar.
PmenuThumb  Popup menu: Thumb of the scrollbar.

PS @wasamasa I hope you don't mind, I edited the issue text in order to display the screenshot right here.

PPS I'd be more than happy and more than grateful if you made an Emacs version too. I'm currently in the process of slowly learning emacs but I still don't know enough elisp to port the colorscheme.

from vim-gotham.

wasamasa avatar wasamasa commented on May 28, 2024

Thanks for the swift reply. I already suspected there are enough shades of the base color to use for the completion popups, however I had extra shades of the other colors (red, orange, yellow, green, cyan, blue, magenta, violet) in mind. They might come in handy if you for example would use the color theme in an IRC client and would like to color nicks with more than sixteen colors. Another example would be diffs à la Github where they use the base green and red highlighting and add a darker shade on the whitespace and word differences or the following screenshot of a calendar:

from vim-gotham.

whatyouhide avatar whatyouhide commented on May 28, 2024

I suspect that calendar view lives inside Emacs, doesn't it? I just didn't anticipate so many possible functionalities (= things to highlight) 😄.

I don't think I'm going to add shades to the colorscheme for now since I'm afraid I would screw the colorscheme up.

The calendar screenshot you posted, which I'm assuming is solarized, seems to use colors that aren't in the (original) solarized palette either. Could the "new" colors just be transparentized (with lack of a better word) versions of the original colors? Or lighter versions of the original colors? I'm talking specifically about the red, cyan and aqua colors in the screenshot.

Would you be able to sketch a working Emacs version of the colorscheme with just the available colors or views like the calendar you posted are plain ugly?

Thanks for the interest! ❤️

from vim-gotham.

wasamasa avatar wasamasa commented on May 28, 2024

Yes, the calendar is an external package and lends itself for theming experiments. All of my screenshots show Emacs with my personal fork of bbatsov's solarized theme.

The extra shades are indeed inofficial and I doubt there went as much thought into them as the official ones. The only theme I can think of where the original has that many shades would be Zenburn.

I think I'll keep this issue open then until a final decision is made and start out a very basic port. In case additional questions pop up, I'll create separate issues and can be reached on Freenode and channels such as #archlinux, #vim and #emacs.

from vim-gotham.

whatyouhide avatar whatyouhide commented on May 28, 2024

Ok great, I'll label this on-hold for now, can't wait to see an emacs port though! 👍

from vim-gotham.

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.