How to Bold Function Keyword in Default Atom Theme


#1

Is there any way to bold the “function” keyword in all javascript files regardless of theme? I really like that the Inspired Github scheme bolds the “function” keyword but when I try applying the same styling to my master less file I see no changes.

Thank you!


#2

See the “Shadow DOM Selectors” section here:

https://atom.io/docs/v1.0.2/upgrading-to-1-0-apis-upgrading-your-ui-theme-or-package-selectors#shadow-dom-selectors

You need to add atom-text-editor::shadow to the front of your selector when you put something in the global styles.less that you want to affect editor styles.


#3

@leedohm Thanks a ton! That resolved my issue.