How set a function color


#1

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


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

#3

tks,it work


#4

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


#5

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?