File | Settings | File Colors for Windows and Linux DataGrip | Preferences | File Colors for macOS Ctrl+Alt+S
The dialog box opens when you click the Add button on the File Colors page. Use this dialog box to configure a new color-scope association.
Item
Description
Scope
From this drop-down list, select the desired scope. The default scopes are:
Non-Project Files
Problems
All
Production
Tests
Color
In this area, select the desired color label to use as the background for displaying the names of files, folders, or packages within the specified scope.