Accents

Colorize important parts of the UI

This section describes the Accent Colors feature and how is it used by the plugin.

Definition

Accent Color refers to a color used to accentuate key parts of the UI, such as the active tab, focused input texts, checked boxes and so on. The Material Theme plugin enables this feature in the IDE and gives the ability to customize it to your heart’s content.

For more info about Accent Colors in the Material Design guidelines, follow this link: https://material.io/guidelines/style/color.html#color-color-system

Usage

Here is a list of components where accent color is used:

  • Active Tab Indicator
  • Close tab button on hover
  • Tree View selected item indicator
  • Checked boxes
  • Selected Radio buttons
  • Focused text inputs
  • Focused/Hovered comboboxes
  • Sliders
  • Toggled Action buttons
  • Edited file indicator
  • Code Completion pane
  • Parameter Info
  • Documentation’s links and bold texts
  • Panels’ links
  • Tree’s selected item expand and collapsed icons
  • Progress Bar
  • Circular progress indicator
  • Scrollbars (according to Accent Scrollbars setting)
  • VCS Log branches icon
  • Caret Color
  • Modified Setting Pages
  • On/Off Switches in Search Everywhere/Execute Action
  • Navigation Bar Focused Item
  • Search terms in lists

IMPORTANT NOTE

Accent Color is a required setting for the Material Theme plugin. As a result, if you encounter errors coming from the plugin, it might be because you don’t have an accent color set, or your accent color becoming unset as a result of plugin updates. Please check your Material Theme Settings xml file to see if you have a configured accent. If not, simply preselect one from the Accent Chooser and restart the IDE.

Customization

There are two ways of customizing the current accent color:

  • By selecting a color from the list of available colors
  • By setting a custom color in the settings

Accent Color chooser

A list of predefined accent colors is available in the Material Config Toolbar. These are colors frequently used from the Material Design color palette.

Accent Chooser
Accent Chooser

Here is the list of predefined colors:

Turquoise
Tomato
Lavender
Daisy
Lime
Amethyst
Abyss
Orange
Brick
Oceanic
Acid lime
Carbon
Pomegrenate
Dodgerblue
Strawberry
Light
Teal
Silver
Indigo
Water
Sky
Plant
Fuchsia
Aquamarine
Neon
Cyan
Breaking bad
Palenight
Amber
Graphite
Coffee
Atomic purple
Slate

Custom Accent Color

You can of course customize the accent color from the settings. Even when you choose a predefined color, you will see its value inside the settings.

Custom Accent Color
Custom Accent Color

Note: Because components’ colors are set at the start of the application, when changing the accent color some UI components will not get the change until next restart. Such examples of components are:

  • Quick documentation panes
  • Accent scrollbars
  • Project View decorators

Override Accent Color

Since version 2.6.0 there is the possibility to override the custom accent color with the default one bundled with the theme. For instance, for Oceanic the accent color will be teal while for Darker it will be orange etc.

This is especially useful for external themes, so that Themes designers can provide their own accent color.

Action Buttons
Action Buttons
Checkboxes
Checkboxes
Project View Directories
Project View Directories
Code Completion
Code Completion
Documentation
Documentation
Edit Indicator
Edit Indicator
Parameter Info
Parameter Info
Progress Bar
Progress Bar
Search Everywhere
Search Everywhere
Search Input
Search Input
Selected Item Arrow
Selected Item Arrow
Radio Buttons
Radio Buttons
Sliders
Sliders
Navigation Bar
Navigation Bar
On/Off Switches
On/Off Switches
Caret color
Caret color
Modified settings color
Modified settings color
Scroll Bar
Scroll Bar
Search Term in Lists
Search Term in Lists
Branch names in VCS Log
Branch names in VCS Log