mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
IntelliJ Platform UI Guidelines: update links
This commit is contained in:
parent
1b54c32009
commit
4e725283fc
@ -80,7 +80,7 @@ IntelliJ IDEA has default icon colors defined for `Actions` and `Objects` contex
|
||||
* `Actions` are Theme keys for icons that appear in the context of toolbars, and represent actions such as _Compile_, _Run_, or _Debug_.
|
||||
* `Objects` are Theme keys for icons that appear in the contexts of lists and trees, and represent entities like files, symbols, or run and debug configurations.
|
||||
|
||||
The [JetBrains Platform UI Guideline for Icons](https://jetbrains.github.io/ui/principles/icons/)
|
||||
The [JetBrains Platform UI Guideline for Icons](https://jetbrains.design/intellij/principles/icons/)
|
||||
defines the default hexadecimal RGB values of colors for `Actions` and `Objects` keys.
|
||||
Note that this document refers to `Objects` keys as "Noun icons."
|
||||
|
||||
@ -106,7 +106,7 @@ It will also, in the narrower context of blue `Actions` icons, supersede any glo
|
||||
### Custom Icons
|
||||
The default IntelliJ IDEA UI icons can be replaced by custom icons.
|
||||
The file format for icons is SVG.
|
||||
The [JetBrains Platform UI Guideline for Icons](https://jetbrains.github.io/ui/principles/icons/) has detailed specifications for icons.
|
||||
The [JetBrains Platform UI Guideline for Icons](https://jetbrains.design/intellij/principles/icons/) has detailed specifications for icons.
|
||||
|
||||
An icon replacement is described within the `icon {}` section of a Theme description file.
|
||||
Note that icon replacement key-value pairs appear outside of the `ColorPalette` section.
|
||||
|
@ -96,7 +96,7 @@ All keys must follow this Naming Pattern:
|
||||
| **`Focused`** | The current focused component. | `Button.focusedBorderColor` |
|
||||
| **`Selected`** | A selected tab or any other control that has equally meaningful selected and inactive states. | `ToolWindow.HeaderTab.selectedBackground` |
|
||||
| **`Hover`** <br/> **`Pressed`** | An action as indicated in states. | `Link.hoverForeground` <br/> `Link.pressedForeground` |
|
||||
| **`Error`** <br/> **`Warning`** <br/> **`Success`** | Validation states. [See example](https://jetbrains.github.io/ui/principles/validation_errors/) in the guide article. | `ValidationTooltip.errorBackground` <br/> `ValidationTooltip.warningBorderColor` |
|
||||
| **`Error`** <br/> **`Warning`** <br/> **`Success`** | Validation states. [See example](https://jetbrains.design/intellij/principles/validation_errors/) in the guide article. | `ValidationTooltip.errorBackground` <br/> `ValidationTooltip.warningBorderColor` |
|
||||
| **`Disabled`** | Unavailable components. | `Label.disabledForeground` |
|
||||
|
||||
#### Part
|
||||
|
@ -7,7 +7,7 @@ Icons and images are used widely by IntelliJ Platform plugins. Plugins need icon
|
||||
> **NOTE** Plugin Icons, which represent a plugin itself, have different requirements than icons and images used within a plugin.
|
||||
For more information see the [Plugin Icon](/basics/plugin_structure/plugin_icon_file.md) page.
|
||||
|
||||
> **TIP** Plugins should reuse existing platform icons whenever possible, see [AllIcons](upsource:///platform/util/src/com/intellij/icons/AllIcons.java). A detailed [design guideline](https://jetbrains.github.io/ui/principles/icons/) is available for creating custom icons.
|
||||
> **TIP** Plugins should reuse existing platform icons whenever possible, see [AllIcons](upsource:///platform/util/src/com/intellij/icons/AllIcons.java). A detailed [design guideline](https://jetbrains.design/intellij/principles/icons/) is available for creating custom icons.
|
||||
|
||||
## How to organize and how to use icons?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user