Git Product home page Git Product logo

Comments (7)

simurai avatar simurai commented on May 17, 2024

symbols are indeed the same color as strings. Symbols could be replaced with any of these.

Maybe @bright-orange?

screen shot 2015-01-24 at 6 52 13 pm

It would only clash with .source.ruby.embedded. Not sure if that's a problem.

from one-dark-syntax.

mnquintana avatar mnquintana commented on May 17, 2024

@bright-orange would definitely be better, and seems to be one of the only colors that wouldn't clash too much, but aesthetically I'm not sure I like it. It's a bit too... I dunno, bright and saturated? Enough that it's a little distracting.

I looked at all the other available colors, and they all clashed too much except @cyan, but that one was a bit too subtle. Personally, I think it might be worth adding another shade of blue to the color scheme, something stronger than @blue and @cyan – that seems like it would work well for symbols.

EDIT: Probably not this exact hue of blue, but something @dark-blue basically:
screenshot 2015-01-26 09 30 07

(Also I think it would be good to make the : match the symbol color for Ruby at least)

from one-dark-syntax.

simurai avatar simurai commented on May 17, 2024

Actually @blue should be a bit stronger in general since it's very close to the normal text. Adding another darker blue, might be too much blue? Not in your context, but in others. This theme is based on "base16 tomorrow" but I think it's ok to tweak the colors a bit. Made a new branch sm-improve-colors: https://github.com/atom/one-dark-syntax/tree/sm-improve-colors

Your example would look like this:

screen shot 2015-01-27 at 9 51 28 pm

Another ruby example like this:

screen shot 2015-01-27 at 10 00 03 pm

from one-dark-syntax.

simurai avatar simurai commented on May 17, 2024

The colors will probably change some more. Maybe even try another scheme. Base16 Tomorrow just seemed the most fitting.

from one-dark-syntax.

mnquintana avatar mnquintana commented on May 17, 2024

@simurai Thanks for taking a look at this! I have one more symbols request (I could open a new issue for this if you want but it seems too minor for that) – could you change the : color from orange to @cyan to match the symbol color? In Ruby the : isn't an operator like in many other languages, it's a part of the syntax for writing symbols, so it's a little weird for it to be a different color.

from one-dark-syntax.

simurai avatar simurai commented on May 17, 2024

Ohh.. right, you mentioned that above. It's not just the : in front of a symbol, also the one after, right? Pushed a fix like this:

screen shot 2015-01-29 at 9 59 36 pm

from one-dark-syntax.

mnquintana avatar mnquintana commented on May 17, 2024

Yup! Perfect. Thanks!

from one-dark-syntax.

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.