atom / one-light-syntax

Atom One light syntax theme
MIT License
66 stars 72 forks source link

Italic parameters #34

Closed crowsonkb closed 7 years ago

crowsonkb commented 7 years ago

Description of the Change

Function parameter names inside 'def' statements are now italic, like in Sublime Text.

Benefits

It just plain looks better to me.

Sublime Text

Possible Drawbacks

Some people just don't like italics in their text editor.

crowsonkb commented 7 years ago

I forgot to mention this also affects kwargs to functions when they're called, not just in 'def', and that this is intentional.

simurai commented 7 years ago

@crowsonkb I hope you're ok with closing this as wontfix. Adding the italic style can make it stand out more, but it's also very subjective.

Maybe this would fit better as an override in your styles.less file, like:

.syntax--variable.syntax--parameter {
  font-style: italic;
}