Comments (7)
symbols are indeed the same color as strings. Symbols could be replaced with any of these.
Maybe @bright-orange
?
It would only clash with .source.ruby.embedded. Not sure if that's a problem.
from one-dark-syntax.
@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:
(Also I think it would be good to make the :
match the symbol color for Ruby at least)
from one-dark-syntax.
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:
Another ruby example like this:
from one-dark-syntax.
The colors will probably change some more. Maybe even try another scheme. Base16 Tomorrow just seemed the most fitting.
from one-dark-syntax.
@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.
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:
from one-dark-syntax.
Yup! Perfect. Thanks!
from one-dark-syntax.
Related Issues (20)
- PHP highlighting messed up in Atom Beta (1.21.0) HOT 8
- Wrong curly bracket color HOT 5
- Make background pure black, and/or add config option for background color HOT 1
- Code background color is not same with background color HOT 2
- Comments move text below HOT 6
- Syntax highlight issue HOT 4
- "DISTINCT" in SQL is not highlighted HOT 2
- improve json highlighting HOT 4
- and, or, ... keywords not highlighted HOT 1
- 1.6.0 breaks syntax highlighting on one light/dark HOT 4
- Syntax highlight broken after update HOT 10
- Latest Atom Breaks One Dark Syntax HOT 2
- Markdown Syntax coloring (links vs. emphasis) HOT 1
- Question about custom syntax HOT 3
- <unknown> is deprecated. HOT 1
- PHP syntax highlighting issue inside HTML quotes HOT 1
- Improve LESS Highlighting
- Syntax color is mismatch for this PHP source (1.18.0) HOT 1
- How to remove italics from comments HOT 1
- Comment documentation highlighting is incorrect for class properties. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-dark-syntax.