From 4b50636ef11b01104f7ca759f54e48d5644c42de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 29 Apr 2025 14:18:14 +0200 Subject: [PATCH] platform_theme_colors.md: cleanup --- topics/ui/principles/platform_theme_colors.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/topics/ui/principles/platform_theme_colors.md b/topics/ui/principles/platform_theme_colors.md index 07ea19323..7fcbc54b3 100644 --- a/topics/ui/principles/platform_theme_colors.md +++ b/topics/ui/principles/platform_theme_colors.md @@ -1,4 +1,4 @@ - + # Platform Theme Colors @@ -28,7 +28,7 @@ Each key has two default color values: one for IntelliJ Light and another for Da Keys allow creating [custom color themes](themes_getting_started.md). A custom theme is one of the default themes plus a set of color keys with new values in a JSON file. Example: the High contrast theme is a custom theme based on Darcula. New color values are stored in the [`HighContrast.theme.json`](%gh-ic%/platform/platform-resources/src/themes/HighContrast.theme.json) JSON file. -See custom themes in the plugins repository. +See custom themes in the [JetBrains Marketplace](https://plugins.jetbrains.com/search?tags=Theme) repository. See the meanings of the parts in a color key in the [key naming scheme](themes_metadata.md#key-naming-scheme). @@ -47,7 +47,7 @@ See the color values for the currently selected theme in the LaF Defaul ![](03_LaF_Defaults.png){width=641} > For IntelliJ designers: -> * Provide color keys in design specifications to be sure that correct keys are used. +> * Provide color keys in design specifications to be sure that the correct keys are used. > * When a new key is implemented, check that [`IntelliJPlatform.themeMetadata.json`](%gh-ic%/platform/platform-resources/src/themes/metadata/IntelliJPlatform.themeMetadata.json) has the new key with the `since` parameter and description, and the old keys are deprecated. > {style="note"} @@ -66,7 +66,7 @@ If a color is needed: **Example** -Incorrect: A new component with a light-blue background reuses Focus.borderColor which has a light-blue color in the default themes. A theme author decides they need a bright focus border and changes the color value for Focus.borderColor. As a result, the new component has a bright background with the text unreadable over it. +Incorrect: A new component with a light-blue background reuses `Focus.borderColor`, which has a light-blue color in the default themes. A theme author decides they need a bright focus border and changes the color value for `Focus.borderColor`. As a result, the new component has a bright background with the text unreadable over it. Correct: A new component with a light-blue background has its own color key ComponentName.background.