How set a function color


How to set the def line argument’s color in my styles.less

atom-text-editor::shadow {
  .python .variable.parameter {
    color: @someColor;


tks,it work


could you tell me where to find API’s like this


Shadow DOM is mentioned in FAQ:

You can find out what scope is under cursor by running “Editor: Log Cursor Scope” command from the command palette:

You can also inspect the dom with developer tools:

Taken from

How do I determine what CSS class to use to highlight a specific syntax?