Themes: how to manage deprecated keys

This commit is contained in:
Yann Cébron 2019-06-17 16:49:26 +02:00
parent 62bb501670
commit b474fd64c9

View File

@ -61,6 +61,8 @@ The following minimal sample demonstrates all details required when exposing UI
> **TIP** It is highly recommended to always provide a `description` entry, so Theme authors can understand usages.
> **TIP** Do not remove existing keys, but deprecate them instead to help Theme authors upgrade their existing themes.
Color keys can be used via `JBColor#namedColor` providing defaults for Light and Dark theme:
```java
private static final Color SECTION_HEADER_FOREGROUND =