mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
Themes: how to manage deprecated keys
This commit is contained in:
parent
62bb501670
commit
b474fd64c9
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user