Theme: more links to theme sample plugin

This commit is contained in:
Yann Cébron 2024-07-24 15:14:06 +02:00
parent 58b70684c9
commit ab095395b4
4 changed files with 16 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. --> <!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# Developing a Theme # Developing a Theme
@ -14,3 +14,11 @@ The DevKit-based theme development workflow includes:
* [Building and Running a Theme](running_and_debugging_a_theme.md) * [Building and Running a Theme](running_and_debugging_a_theme.md)
* [Deploying a Theme in IDE](deploying_theme.md) * [Deploying a Theme in IDE](deploying_theme.md)
* [Uploading a Theme to JetBrains Marketplace](publishing_plugin.md#uploading-a-plugin-to-jetbrains-marketplace) * [Uploading a Theme to JetBrains Marketplace](publishing_plugin.md#uploading-a-plugin-to-jetbrains-marketplace)
<snippet id="themeSamplePlugin">
> To see a full example theme project, see the [Theme Basics](%gh-sdk-samples-master%/theme_basics) in IntelliJ SDK Code Samples.
>
{title="Theme Plugin Sample" style="note"}
</snippet>

View File

@ -7,9 +7,7 @@
Themes are components within [IntelliJ Platform plugins](plugin_structure.topic). Themes are components within [IntelliJ Platform plugins](plugin_structure.topic).
The theme plugins should be stand-alone and not combined with other plugin functionality. The theme plugins should be stand-alone and not combined with other plugin functionality.
> To see a full example theme project, see the [Theme Basics](%gh-sdk-samples-master%/theme_basics) in IntelliJ SDK Code Samples. <include from="developing_themes.md" element-id="themeSamplePlugin"/>
>
{style="note"}
Themes have several components: Themes have several components:
* A required Theme description (JSON) file in the plugin project's <path>resources</path> folder. * A required Theme description (JSON) file in the plugin project's <path>resources</path> folder.

View File

@ -17,6 +17,8 @@ For plugin developers, [Exposing Theme Metadata](themes_metadata.md) discusses t
> [Color Highlighter Plugin](https://plugins.jetbrains.com/plugin/13309-color-highlighter) adds additional color preview inside the editor. > [Color Highlighter Plugin](https://plugins.jetbrains.com/plugin/13309-color-highlighter) adds additional color preview inside the editor.
> >
<include from="developing_themes.md" element-id="themeSamplePlugin"/>
## Introduction to Theme Description File Syntax ## Introduction to Theme Description File Syntax
The syntax of a Theme description file follows the JSON open-standard file format of key-value pairs. The syntax of a Theme description file follows the JSON open-standard file format of key-value pairs.

View File

@ -1,11 +1,13 @@
# Themes - Editor Schemes and Background Images <!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<!-- Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. --> # Themes - Editor Schemes and Background Images
<link-summary>Customizing editor schemes and editor or application background images in a theme plugin.</link-summary> <link-summary>Customizing editor schemes and editor or application background images in a theme plugin.</link-summary>
Themes can also provide custom color and font settings, as well as custom images for display in the IDE application window. Themes can also provide custom color and font settings, as well as custom images for display in the IDE application window.
<include from="developing_themes.md" element-id="themeSamplePlugin"/>
## Adding a Custom Editor Scheme ## Adding a Custom Editor Scheme
Users of IntelliJ Platform-based IDEs, such as IntelliJ IDEA, can set preferences to configure the colors and fonts used in the Editor. Users of IntelliJ Platform-based IDEs, such as IntelliJ IDEA, can set preferences to configure the colors and fonts used in the Editor.