From fba5c9e6f49a27f8fb198fc2d5f3c7b8df3439f0 Mon Sep 17 00:00:00 2001 From: Elior Date: Wed, 18 Nov 2026 17:11:25 +0200 Subject: [PATCH] feat(docs): add configuration settings pages --- astro.config.mjs | 39 +- e2e/configuration-pages.spec.ts | 31 ++ scripts/convert-docs.mjs | 9 +- src/content/docs/docs/acknowledgements.mdx | 2 +- .../docs/docs/configuration/accent-mode.mdx | 70 +++ .../docs/docs/configuration/color-schemes.mdx | 182 +++++++ .../docs/docs/configuration/contrast.mdx | 57 ++ .../docs/configuration/features-settings.mdx | 242 +++++++++ .../docs/docs/configuration/license-info.mdx | 69 +++ src/content/docs/docs/configuration/peek.mdx | 99 ++++ .../project-title-bar-settings.mdx | 132 +++++ .../docs/docs/configuration/regions.mdx | 168 ++++++ .../docs/docs/configuration/settings.mdx | 513 ++++++++++++++++++ .../docs/configuration/spacing-settings.mdx | 121 +++++ .../docs/docs/configuration/tab-settings.mdx | 241 ++++++++ .../docs/configuration/trees-settings.mdx | 118 ++++ .../configuration/ui-component-settings.mdx | 271 +++++++++ .../docs/configuration/window-coloring.mdx | 237 ++++++++ 18 files changed, 2595 insertions(+), 6 deletions(-) create mode 100644 e2e/configuration-pages.spec.ts create mode 100644 src/content/docs/docs/configuration/accent-mode.mdx create mode 100644 src/content/docs/docs/configuration/color-schemes.mdx create mode 100644 src/content/docs/docs/configuration/contrast.mdx create mode 100644 src/content/docs/docs/configuration/features-settings.mdx create mode 100644 src/content/docs/docs/configuration/license-info.mdx create mode 100644 src/content/docs/docs/configuration/peek.mdx create mode 100644 src/content/docs/docs/configuration/project-title-bar-settings.mdx create mode 100644 src/content/docs/docs/configuration/regions.mdx create mode 100644 src/content/docs/docs/configuration/settings.mdx create mode 100644 src/content/docs/docs/configuration/spacing-settings.mdx create mode 100644 src/content/docs/docs/configuration/tab-settings.mdx create mode 100644 src/content/docs/docs/configuration/trees-settings.mdx create mode 100644 src/content/docs/docs/configuration/ui-component-settings.mdx create mode 100644 src/content/docs/docs/configuration/window-coloring.mdx diff --git a/astro.config.mjs b/astro.config.mjs index 5bae31e..0352b03 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -70,7 +70,26 @@ export default defineConfig({ { label: 'Getting Started', slug: 'docs/getting-started' }, { label: 'Configuration', - items: [{ label: 'Accents', slug: 'docs/configuration/accents' }], + items: [ + { label: 'Settings', slug: 'docs/configuration/settings' }, + { label: 'Color Schemes', slug: 'docs/configuration/color-schemes' }, + { label: 'License Info', slug: 'docs/configuration/license-info' }, + { label: 'Contrast Settings', slug: 'docs/configuration/contrast' }, + { label: 'Accents', slug: 'docs/configuration/accents' }, + { label: 'Accent Mode', slug: 'docs/configuration/accent-mode' }, + { label: 'Peek', slug: 'docs/configuration/peek' }, + { label: 'Regions', slug: 'docs/configuration/regions' }, + { label: 'Window Coloring', slug: 'docs/configuration/window-coloring' }, + { label: 'Tab Settings', slug: 'docs/configuration/tab-settings' }, + { label: 'Spacing Settings', slug: 'docs/configuration/spacing-settings' }, + { label: 'Trees Settings', slug: 'docs/configuration/trees-settings' }, + { label: 'UI Components Settings', slug: 'docs/configuration/ui-component-settings' }, + { label: 'Features Settings', slug: 'docs/configuration/features-settings' }, + { + label: 'Project Title Bar Settings', + slug: 'docs/configuration/project-title-bar-settings', + }, + ], }, { label: 'Reference', @@ -89,11 +108,25 @@ export default defineConfig({ starlightLinksValidator({ // Sections not converted yet (configuration, icons, reference, changelog, ...). exclude: [ - '/docs/configuration/**', + '/docs/configuration/file-header-settings/**', + '/docs/configuration/theme-color-overrides/**', + '/docs/configuration/custom-themes/**', + '/docs/configuration/language-additions/**', + '/docs/configuration/islands-settings/**', + '/docs/configuration/theme-ignores/**', + '/docs/configuration/theme-randomizer/**', + '/docs/configuration/other-tweaks-settings/**', + '/docs/configuration/quick-actions-panel/**', + '/docs/configuration/status-bar-widgets/**', + '/docs/configuration/excluded-files-colors/**', + '/docs/configuration/file-status-colors/**', + '/docs/configuration/scrollbars/**', + '/docs/configuration/adaptive-theme/**', + '/docs/configuration/recommended-plugins/**', '/docs/icons/**', '/docs/reference/**', '/docs/changelog/**', - '/docs/whats-new/**', + '/docs/what-s-new/**', '/docs/archives/**', '/docs/development/**', ], diff --git a/e2e/configuration-pages.spec.ts b/e2e/configuration-pages.spec.ts new file mode 100644 index 0000000..e742d40 --- /dev/null +++ b/e2e/configuration-pages.spec.ts @@ -0,0 +1,31 @@ +import { expect, test } from '@playwright/test'; + +const pages = [ + 'settings', + 'color-schemes', + 'license-info', + 'contrast', + 'accents', + 'accent-mode', + 'peek', + 'regions', + 'window-coloring', + 'tab-settings', + 'spacing-settings', + 'trees-settings', + 'ui-component-settings', + 'features-settings', + 'project-title-bar-settings', +]; + +for (const slug of pages) { + test(`configuration page ${slug} renders and is in the sidebar`, async ({ page }) => { + await page.goto(`/docs/configuration/${slug}/`); + + await expect(page.getByRole('heading', { level: 1 })).toBeVisible(); + await expect( + page.locator(`nav.sidebar a[href="/docs/configuration/${slug}/"]`), + ).toHaveAttribute('aria-current', 'page'); + await expect(page.locator('main')).not.toContainText(/\{%|\{\{/); + }); +} diff --git a/scripts/convert-docs.mjs b/scripts/convert-docs.mjs index 66c1174..19b850f 100644 --- a/scripts/convert-docs.mjs +++ b/scripts/convert-docs.mjs @@ -164,13 +164,18 @@ function convertProse(text, file) { ); result = result.replace(/\{\{\s*site\.baseurl\s*\}\}/g, ''); + // The only multi-line expression: the total theme count (32). + result = result.replace(/\{\{\s*site\.data\.themes\.material\.size[\s\S]*?\}\}/g, '32'); result = result.replace(/\n?/g, ''); result = result.replace(/\s+markdown="\d"/g, ''); result = result.replace(/<(br|hr|img|input)((?:\s[^<>]*?)?)\s*\/?>/gi, '<$1$2 />'); // Internal links get a trailing slash (trailingSlash: 'always'). - const slash = (_, start, url, hash = '', end) => - `${start}${/(\/|\.[a-z0-9]+)$/i.test(url) ? url : `${url}/`}${hash}${end}`; + const slash = (_, start, url, hash = '', end) => { + const clean = url.replace(/\.md$/, ''); + + return `${start}${/(\/|\.[a-z0-9]+)$/i.test(clean) ? clean : `${clean}/`}${hash}${end}`; + }; result = result.replace(/(\]\()(\/docs\/[^)#\s]*)(#[^)\s]*)?(\))/g, slash); result = result.replace(/(href=")(\/docs\/[^"#]*)(#[^"]*)?(")/g, slash); diff --git a/src/content/docs/docs/acknowledgements.mdx b/src/content/docs/docs/acknowledgements.mdx index bfbc92d..7f22c55 100644 --- a/src/content/docs/docs/acknowledgements.mdx +++ b/src/content/docs/docs/acknowledgements.mdx @@ -139,7 +139,7 @@ project settings. [Project Label](https://plugins.jetbrains.com/plugin/8032-project-label) A rather simple plugin that shows the current project in the status bar, which was the inspiration for the -[Status Bar Indicator](/docs/configuration/ui-components-settings/#theme-in-status-bar) feature. +[Status Bar Indicator](/docs/configuration/status-bar-widgets/) feature. ##### Browse word at caret diff --git a/src/content/docs/docs/configuration/accent-mode.mdx b/src/content/docs/docs/configuration/accent-mode.mdx new file mode 100644 index 0000000..6133977 --- /dev/null +++ b/src/content/docs/docs/configuration/accent-mode.mdx @@ -0,0 +1,70 @@ +--- +title: Accent Mode +description: Emphasize UI components with the accent color +--- + +
+ +Accent Mode allows you to emphasize specific UI components by applying the accent color more prominently throughout the IDE. + +
+ +:::caution +This feature is only available for premium users. You can either buy a premium license for the plugin, or purchase the license for this feature only by going to this link: [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras). +::: + +## Overview + +While [Accent Colors](/docs/configuration/accents/) are used for subtle highlights, **Accent Mode** takes it further by colorizing entire components—such as buttons, selected tabs, and list items—with the accent color. This ensures that active elements stand out clearly against the background. + +You can configure Accent Mode by navigating to `Settings → Appearance → Material Theme UI → Accent Mode`. + +
+ +## Settings + +### Enable + +When enabled, Accent Mode applies the accent color to various UI components to make them stand out. + +
+ +### Override second accent color + +By default, the plugin uses a secondary accent color defined by the theme for certain elements like links and icons when Accent Mode is active. Enabling this option allows you to override this with a custom color of your choice. + +### Second Accent Color + +Choose a custom color to be used as the secondary accent color. The second accent color takes the place of the accent color in elements such as links, tab indicators, etc., to stand out on elements that are painted with the primary accent color. + +
+ +### Allow Color Scheme Modifications + +When enabled, Accent Mode can override specific color scheme settings, such as the **Active Tab Color**, to ensure consistency across the UI. This allows the accent color to be applied to elements that are usually controlled by the editor's color scheme. + +
+ +:::caution +Important Note: This setting forcefully overrides the color scheme, meaning that once it is activated, it will not be possible to revert back to the original color scheme. Moreover, even turning off Accent Mode will not restore the original color scheme, as the override is applied at a global level. Use this option with caution. +::: + +## Fine-grained Control + +Accent Mode can be applied globally or restricted to specific UI components. This allows you to customize exactly which elements should reflect the accent color. + +Available components include: +- **Buttons**: Primary buttons in dialogs and toolbars. +- **Tabs**: The currently selected editor and tool window tabs. +- **Lists**: Selected items in lists and dropdowns. +- **Trees**: Selected items in the Project View and other tree structures. +- **Toolbars**: Selected or toggled elements within toolbars. +- **Notifications**: Colorized background or accents of IDE notifications. + +--- + +## Preview + +The settings page includes a **Preview** section where you can see how your Accent Mode configuration will look before applying it. + +
diff --git a/src/content/docs/docs/configuration/color-schemes.mdx b/src/content/docs/docs/configuration/color-schemes.mdx new file mode 100644 index 0000000..02f8e61 --- /dev/null +++ b/src/content/docs/docs/configuration/color-schemes.mdx @@ -0,0 +1,182 @@ +--- +title: Color Schemes +description: Installation and Configuration +--- + +
+ +The plugin provides a variety of color schemes optimized for Material Themes, delivering a flat, borderless, and modern interface. + +
+ +## Installation + +Change the active color scheme via: + +- IDE settings: `Editor → Color Scheme` +- `Quick Switch` menu: Select `Color Scheme`. + +
+ +The list includes all your installed color schemes as well as those provided by JetBrains. The color schemes included with the plugin are: + + +## Customization + +While color schemes are optimized for immediate use, you can customize them in the `Color Scheme` editor. + +Navigate to `Settings → Editor → Color Scheme` to modify colors. This will create a local copy of the scheme (e.g., +`_@user_.icls`), which you can then modify and rename. + +
+ +
+ +Note: If the [Automatically reset color schemes](/docs/configuration/other-tweaks-settings/#automatically-reset-color-schemes) option is +enabled, manual changes will not persist. We recommend using the `Duplicate` function to create a permanent copy. + +---- + +## Color Scheme Overrides + +Since version 12.0.0, you can override certain properties of **all** color schemes via these Settings, including the color schemes provided +by JetBrains or from third-party plugins. This allows you to align some colors with the theme, to use predefined values, to use your own +colors, etc. + +At this moment, only a handful of properties are available, tailored from the most common use cases. More properties will be added in future +releases. + +
+ +:::caution +**Note**: These properties forcefully override the color schemes, and therefore cannot be reverted once applied. If you want to preserve +any changes you could have made, create a backup of the color scheme before applying any overrides. +::: + +### Diff Colors Opacity + +**Diff Colors** are the colors displayed when opening a Diff or a Merge window. It showcases added lines, deleted lines, modified lines, and +sometimes conflicting lines. However, many theme editors provide a fully opaque, bright background, making it hard to understand what +changed. + +This setting allows you to adjust the opacity of the background color of these highlights. Reducing the +opacity can help make the editor less cluttered and easier to read. + +
+ +
+ +
+ +### VCS Gutter Colors + +Another area of concern are the VCS Gutter Indicator Colors. Some theme editors completely missed this section or provided values that don't +have enough contrast with the background, making it hard to see the changes in the gutter. + +This setting forcefully replaces these colors to use the same ones provided by the Material Themes. + +
+
+ +
+ +
+ +### Popups and Notifications + +Another point of contention is the color of popups and notifications, which is sometimes forgotten by theme editors, leading to the theme +displaying the default Darcula/Light color. + +Just like the above settings, this option forcefully replace these colors with values taken from the Theme itself, ensuring a consistent +look and feel across the IDE. + +
+ +
+ +### Override Accent + +This section allows you to automatically align certain color scheme properties with the current **Accent Color**. This makes sure that your +accent color changes are reflected to the color scheme as well. + +The following properties can be toggled: + +- **Override Scrollbar Thumb**: Align the scrollbar thumb color (and hover color) with the accent color. +- **Override Caret Color**: Align the editor caret color with the accent color. +- **Override Hyperlink**: Align the hyperlink color with the accent color. +- **Override Underline Tab**: Align the underline tab color (and inactive color) with the accent color. +- **Override Search Results**: Align the search results highlight color with the accent color. +- **Override Identifier Under Caret**: Align the identifier under caret color with the accent color. +- **Override Matched Brace**: Align the matched brace color with the accent color. + +
+ +### Automatically reset color scheme + +This option automatically removes all customizations from your color scheme when switching themes. This ensures a clean slate, which is +especially useful given that many plugins, including this one, modify color schemes. + +It also ensures you receive all the latest color scheme updates, as copied schemes cannot automatically detect changes to the original. + +:::note +**Note**: This setting was previously found in the **Other** section of the plugin settings. +::: + +### Use Editor Default Font + +This option overrides the color scheme's font with the *Default Font* defined in `Settings > Editor > Font`. Since color schemes can define +their own fonts—leading to inconsistencies across different themes—enabling this ensures a uniform typography regardless of the active color +scheme. + +:::note +**Note**: This setting was previously found in the **Other** section of the plugin settings. +::: + +### Restoring Color Scheme Defaults + +To revert a scheme to its original state, select `Restore Defaults` from the scheme's menu or use +the [Reset Color Scheme](/docs/configuration/quick-actions-panel/#material-theme-features) action in +the [Quick Actions Panel](/docs/configuration/quick-actions-panel/). + +In addition, a new **Force Reset Color Scheme** action has been added to the __Color Scheme Overrides__ settings page as well. + +:::caution +**Important**: Resetting or restoring defaults will permanently erase all changes made to that scheme. To preserve your modifications, +create a backup by using the `Duplicate` function before resetting. +::: + +---------- + +## Supported languages + +| | | | +|:-------------|:------------|:------------| +| Java | Properties | Erlang | +| Gradle | Yaml | Elm | +| Groovy | JSON | Matlab | +| Scala | Ruby | Haskell | +| Kotlin | Python | Elixir | +| CSS | PHP | Hibernate | +| Sass | Twig | SQL | +| LESS | Blade | Markdown | +| Stylus | C | Bash | +| HTML | C++ | HOCON | +| Haml | C# | Apache | +| XML | ASP | Gitignore | +| Jade/Pug | Objective C | Lua | +| JavaScript | Swift | Perl | +| TypeScript | Go | Slim | +| CoffeeScript | ERB | Velocity | +| Ini | EJS | Rust | +| Regex | Rdoc | HTTP Client | + +---------- + +## Color Palette + +The following palettes are relevant only for _Material Themes_ (hover to see the hex value): + +Dark variant +Light variant + + diff --git a/src/content/docs/docs/configuration/contrast.mdx b/src/content/docs/docs/configuration/contrast.mdx new file mode 100644 index 0000000..86868b0 --- /dev/null +++ b/src/content/docs/docs/configuration/contrast.mdx @@ -0,0 +1,57 @@ +--- +title: Contrast Settings +description: Enhance the UI with better contrast +--- + +
+ +Contrast settings allow you to improve the visibility of UI components by adding more contrast to specific panels and elements. + +
+ +:::caution +The High Contrast feature is only available for premium users. You can either buy a premium license for the plugin, or purchase the license for this feature only by going to this link: [Material Theme High Contrast](https://plugins.jetbrains.com/plugin/17456-material-theme-ui-high-contrast). +::: + +## Contrast Settings + +You can configure the contrast settings by navigating to `Settings → Appearance → Material Theme UI → Contrast`. + +
+ +### Contrast Mode + +When **Contrast Mode** is enabled, the plugin applies a more contrasted color to specific components and panels, such as the Project View, Tool Windows, and Tabbed Panes. + +This helps in distinguishing different areas of the IDE more easily, especially in dark themes. + +
+ +
+ +
+ +---- + +### High Contrast + +:::caution +This feature is only available for premium users. +::: + +**High Contrast** takes it a step further by increasing the contrast even more. It makes some colors brighter (or darker for light themes) to ensure that text and icons are as prominent as possible. + +### Contrast Value + +:::caution +This feature is only available for premium users. +::: + +The **Contrast Value** slider allows you to fine-tune the level of contrast applied when *High Contrast* is enabled. + +- **Range**: 0 to 8 +- **Effect**: Higher values result in a more pronounced contrast between different UI elements. + +
+ +
diff --git a/src/content/docs/docs/configuration/features-settings.mdx b/src/content/docs/docs/configuration/features-settings.mdx new file mode 100644 index 0000000..c5e7972 --- /dev/null +++ b/src/content/docs/docs/configuration/features-settings.mdx @@ -0,0 +1,242 @@ +--- +title: Feature Settings +description: Enable or disable Material Theme features +wallpapers: + - filename: https://images.material-theme.com/mariosmilax/image/upload/c_thumb,w_400,g_face/v1694951877/walls/oceanic.png + alttext: Material Oceanic + - filename: https://images.material-theme.com/mariosmilax/image/upload/c_thumb,w_400,g_face/v1694951877/walls/palenight.png + alttext: Material Palenight + - filename: https://images.material-theme.com/mariosmilax/image/upload/c_thumb,w_400,g_face/v1694951877/walls/lighter.png + alttext: Material Lighter + - filename: https://images.material-theme.com/mariosmilax/image/upload/c_thumb,w_400,g_face/v1694951877/walls/darker.png + alttext: Material Darker +--- + +
+ +Here you can turn on and off specific features of the Material Theme for even further customization. + +
+ +:::caution +Some features are only available for premium users. You can either buy a premium license for the plugin, or purchase the license for these +features only by going to this link: [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras). +::: + +## General + +### Animated Tool Windows + +Tool windows in JetBrains IDEs can have five different states: **Undocked**, **Floating**, **Windowed**, **Docked Pinned**, and **Docked +Unpinned**. + +By default, tool windows are **Docked Pinned**, meaning they are attached to the sides of the screen and always visible, unless minimized by +clicking the minimize button or using the `Shift + Escape` shortcut while the tool window is focused. + +This behavior can be changed by clicking the "More" button on any tool window. + +
+ +Among these, the **Undocked** state represents a tool window that opens when its button is pressed and then closes automatically when you +click outside of it. Unlike the **Docked Unpinned** state, an **Undocked** tool window opens **on top** of the main editor, rather than to +the side, similar to a drawer. However, the default opening and closing animation is instant, which can be somewhat jarring. + +This setting adds a smooth sliding animation to tool windows when they are in this state. + +
+ +In addition, two actions have been added to the _Material UI Actions Toolbar_ to set all current tool windows to either the **Undocked** or +**Docked Pinned** state. This allows you to quickly switch to an auto-hidden layout and enjoy the benefit of the animations. + +
+ +---- + +### Centered Editor + +This option centers the editor in the middle of the screen rather than pinning it to the left, providing a more focused experience that +complements the fully undocked layout. It is very similar to **Distraction Free Mode**, but without hiding the tabs or tool windows. + +
+ +The width of the editor depends on the **Hard Wrap** configured in your Code Style settings, e.g. in +`Settings > Editor > Code Style > [Your language] > Hard Wrap`. + +
+ +
+ +---- + +### Floating Action Button (FAB) + +This feature creates a small floating action button at the bottom right of the editor, serving as a customizable container for actions you +want to access at any time. + +
+ +By default, it contains three standard actions: + +- **New File**: Creates a new file in the same folder as the currently open editor. +- **New Directory**: Creates a new directory in the same folder as the currently open editor. +- **New Scratch File**: Creates a new scratch file of the selected type. + +
+ +However, you can also assign your own custom actions via `Settings > Menus and Toolbars > Material FAB`. This is useful for providing quick +access to common actions such as **Jump to Top**, **Reformat Code**, or **Push**. + +
+ +
+ +You can drag and drop the button to move it anywhere you like; it will remember its last position even after the IDE is restarted. You can +also temporarily hide it by clicking the "X" button, though it will reappear when you switch tabs. + +---- + +### Overlays + +The Material Theme UI follows Material Design principles, one of which is the use of overlays to create a sense of depth and hierarchy. This +setting enables or disables the use of overlays throughout the IDE. + +When enabled, certain UI elements will have a semi-transparent background that allows underlying content to show through, creating a layered +effect. This helps visually separate different sections of the UI and makes it easier to focus on specific elements. + +
+ +Overlays are displayed whenever a dialog or light popup is open, such as the **Settings** dialog, **Find in Files**, or **Search Everywhere +**. + +### More Overlays + +By default, overlays are only displayed for dialogs and light popups. Enabling this option extends overlays to more UI elements, such as +menus, **Quick Switch** panels, and other floating elements, for a more immersive experience. This feature is disabled by default. + +
+ +### Overlays Opacity + +This setting allows you to fine-tune the opacity of overlays. The default is 40%, but you can increase or decrease it to your preference. + +
+ +
+ +---- + +### Material Wallpapers + +JetBrains IDEs feature a built-in mechanism that allows you to set custom background images for the entire IDE or specifically for the * +*empty frame** (the background shown when no files are open). You can configure this manually in +`Settings > Appearance & Behavior > Appearance > Background Image`. + +The Material Theme UI leverages this feature to automatically replace the _empty frame_ with a custom-generated wallpaper. These wallpapers +feature the plugin logo with a color palette that dynamically matches your active theme. This aesthetic enhancement adds a personal touch to +your workspace, similar to what you might find in other editors like Atom or VS Code. + + + +These wallpapers are also compatible with custom and external themes, as they automatically adjust to the theme's colors. + +
+ +
+ +
+ +
+ +
+ +:::danger +**Note**: Enabling this option will replace any background image you may have previously configured. +::: + +:::caution +**Note 2**: As of March 2026, setting a wallpaper—whether through the plugin or manually—will disable gradients in the application frame. We +are investigating whether this limitation can be addressed in future updates. +::: + +---- + +### Custom UI Font + +The Material Theme UI plugin replaces the IDE's default font with the standard fonts recommended by Material Design style guides. + +For _Material Design (Material 1)_ and _Material Theme (Material 2)_, the recommended font is [**Roboto +**](https://fonts.google.com/specimen/Roboto). For _Material You (Material 3)_, it uses [**Google Sans +**](https://fonts.google.com/specimen/Google+Sans). For CJK (Chinese, Japanese, Korean) languages, it uses [**Noto Sans +**](https://fonts.google.com/noto/specimen/Noto+Sans?query=noto+sans). + +While you can change the font via `Settings > Appearance & Behavior > Appearance > Use custom font`, doing so sets a global IDE state that +may interfere with features like *Zoom Level* or *Presentation Mode*. + +The **Custom UI Font** option in the Material Theme settings allows you to customize the font without these side effects. + +
+ +
+ +:::caution +**Note**: If you have already set a custom font in the IDE's _Appearance_ settings, that setting will take precedence over this one. +::: + +---- + +### File Status Colors + +By default, JetBrains IDEs color filenames based on their Version Control (VCS) status ( +see [File Status Colors](/docs/configuration/file-status-colors/)). These colors are typically defined within the *Color Scheme* rather +than the *UI Theme*. + +This setting allows you to enforce these colors when switching themes, making them independent of the active *Color Scheme*. This is +particularly useful for themes that don't define these colors or if you prefer consistent file colors across different schemes. + +
+ +These colors can be customized in `Settings > Editor > Color Scheme > Custom File Colors` and will override the defaults in +`Settings > Version Control > File Status Colors`. + +:::caution +**Note**: Enabling this option modifies the current Color Scheme by creating a copy with the new settings. Disabling the option will not +automatically restore the original colors; you must manually click **Restore Defaults** in the Color Scheme settings to revert. +::: + +### Custom Directories Style + +Similar to *File Status Colors*, this setting adds an option to the *Custom File Colors* scheme settings, allowing you to set custom colors +for modules or directories. + +
+ +
+ +:::note +**Note**: Although you can configure background, marker, and effects colors, only the foreground color will be applied. +::: + +:::caution +**Note 2**: Like *File Status Colors*, this feature modifies your active color scheme. +::: + +---- + +### Tool Window Stripes Handle + +The **Tool Window Stripes Handle** feature allows you to automatically hide the tool window stripes and reveal them only when you hover over +a small handle on the side of the IDE. + +This is particularly useful for **"Zen Users"** — people who prefer to hide their tool windows to focus entirely on the code. When the +stripes are hidden, hovering over the handle reveals them, and the last auto-hidden tool window will reopen automatically. + +
+ +You can configure the following options: + +- **Hover Delay**: Adjust the delay before the stripes appear when hovering over the handle. +- **Handle Width**: Set the width of the visible handle on the IDE edge. + +:::note +**Note**: This feature is available for all users. +::: diff --git a/src/content/docs/docs/configuration/license-info.mdx b/src/content/docs/docs/configuration/license-info.mdx new file mode 100644 index 0000000..c5ed6c3 --- /dev/null +++ b/src/content/docs/docs/configuration/license-info.mdx @@ -0,0 +1,69 @@ +--- +title: License Information +description: License details for Material Theme UI plugins. +--- + +
+ +Manage your Material Theme UI license and subscription status directly within the IDE settings. + +
+ +## License Overview + +View details about your Material Theme UI license under the plugin settings. This page displays your current subscription status, account details, and installed plugin version. + +
+ +The following information is available on this page: +- **Plugin Version**: The currently installed version of the plugin. +- **License Type**: Indicates whether you are using the **Free** or **Premium** version. +- **Account Information**: Details of the account associated with the license. +- **Expiration Date**: The date when your current subscription or evaluation period ends. + +If you're on the free plan, this page will also provide a link to purchase a premium subscription. + +
+ +------ + +## Subscription Models + +Material Theme UI offers two primary subscription models: +- **Free**: Provides access to core features at no cost. +- **Premium**: Unlocks the full suite of Material Theme UI features. + +### Individual Feature Plugins + +Alternatively, Free version users can purchase individual premium features via **Material Theme UI Add-on Plugins**. This allows for a more tailored experience by paying only for specific functionality. + +Available add-on plugins include: +- [Material Theme High Contrast](https://plugins.jetbrains.com/plugin/17456-material-theme-ui-high-contrast): Unlocks the **High Contrast** feature. +- [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras): Unlocks **Tabs**, **Trees**, **UI Components**, **Spacing**, and other premium customization options. +- [Material Theme Project Frame](https://plugins.jetbrains.com/plugin/19310-material-theme-ui-project-frame): Unlocks **Project Frame** customization. +- [Material Theme Custom Theme](https://plugins.jetbrains.com/plugin/19308-material-theme-ui-custom-theme): Unlocks **Custom Theme** and **Light Custom Theme** creation. +- [Material Theme Language Additions](https://plugins.jetbrains.com/plugin/19309-material-theme-ui-language-additions): Unlocks **Language Additions**. +- [Material Theme Randomizer](https://plugins.jetbrains.com/plugin/28143-material-theme-ui-theme-randomizer): Unlocks the **Theme Randomizer**. +- [Material Theme Islands](https://plugins.jetbrains.com/plugin/28142-material-theme-ui-islands): Unlocks **Islands** customization features. + +Purchasing an add-on plugin while using the Free version grants access to that specific feature without requiring a full Premium subscription. + +Purchased add-on plugins are also listed on the License Information page. + +
+ +:::caution +**Note**: If you already have a **Premium** subscription, purchasing these individual add-on plugins is unnecessary, as all features are already included. +::: + +## License Activation + +After purchasing a license, you will typically be prompted to manage your subscription upon starting the IDE. If this prompt does not appear, you can manually activate your license by navigating to `Help → Manage Subscriptions`. + +
+ +Alternatively, open the *Material Theme Toolbar* and select **Activate License** to open the activation dialog. + +
+ +If you have any issues activating your license, please [contact support.](/docs/support-us/) diff --git a/src/content/docs/docs/configuration/peek.mdx b/src/content/docs/docs/configuration/peek.mdx new file mode 100644 index 0000000..1aa837f --- /dev/null +++ b/src/content/docs/docs/configuration/peek.mdx @@ -0,0 +1,99 @@ +--- +title: Peek +description: Quick code preview and editing without losing context +--- + +**Peek & Edit Definition** is a powerful feature that allows you to explore and modify your code without losing your current context. \{: +class='title'\} + +Inspired by the VSCode feature of the same name, it enables you to peek at definitions, make quick edits, and navigate your codebase more +efficiently, all within the same editor window. + +This feature is currently in beta and free for everyone. In the future, it will be part of the Premium Plan. \{:class='card-panel warn'\} + +## Overview + +Traditional code navigation often requires jumping between files, which can break your focus. **Peek** solves this by opening a small, +secondary editor window — either as a popup or inline — that displays the definition of the symbol under your cursor. + +You can configure Peek by navigating to `Settings → Appearance → Material Theme UI → Peek`. + +
+ +## Peek Modes + +There are two main ways to use Peek: + +### Peek & Edit Definition (Popup) + +This mode opens the definition in a separate, editable popup window. It's ideal for quick lookups and small edits where you want to keep the +main editor fully visible. + +To open it, simply place your cursor on a symbol and press `Ctrl + Shift + P` (or your configured shortcut). You can also press +`Alt + Shift + Click` on the symbol to open the Peek window directly. + +
+ +### Peek & Edit Definition (Inline) + +In this mode, the definition is embedded directly within your current editor, shifting the surrounding code to make room. You can add as +many inline Peek windows as you like, allowing for a more integrated and seamless editing experience. + +To open it, simply place your cursor on a symbol and press `Ctrl + Shift + I` (or your configured shortcut). You can also press +`Shift + Click` on the symbol to open the Peek window directly. + +To close them, you can either click the close button on the Peek window or press `Escape` twice if you have that option enabled in the +settings. + +
+ +--- + +## Appearance Settings + +You can customize the look and feel of the Peek window to match your preferences and theme. + +### Rounded Borders + +To match the modern aesthetic of the Material Theme, you can enable and adjust rounded borders for the Peek window. + +
+ +### Custom Colors + +Peek allows for fine-grained control over its color palette. You can customize the header background and the border colors to your tastes. + +
+ +### Padding and Layout + +The **Min Lines** and **Max Lines** settings let you control the size of the popup by specifying the minimum and maximum number of lines +displayed. You can adjust these values to ensure that the Peek window fits your workflow, whether you prefer a compact view or a more +spacious layout. + +The **Spacing** setting determines the space between the content and the edges of the Peek window, allowing you to create a more comfortable +reading experience. + +Lastly, the **Custom Width** option lets you define a specific width for the Peek window, giving you complete control over its dimensions. +The width will be clamped to the visible editor area, ensuring you won't need to scroll horizontally. Set it to `0` to take the full width. + +
+ +--- + +## Behavior + +### Replace Cmd/Ctrl Click + +This option will hijack the default behavior of the `Cmd/Ctrl + Click` action, replacing it with the _Peek Inline_ feature instead of the _Navigate to Definition_ action. + +This is useful if you prefer staying in the same context as much as possible, rather than jumping to a new file. You can still navigate to the definition by using the `F4` key or the `Navigate to Definition` action. + +:::caution +**Note**: This is a DESTRUCTIVE ACTION, e.g. this will modify your current keymap. Therefore, you should make a backup just in case. +::: + +### Double Escape to Close + +By default, you can close the Peek window by pressing `Escape` twice. However if you prefer to close it manually, you can disable this +option in the settings. diff --git a/src/content/docs/docs/configuration/project-title-bar-settings.mdx b/src/content/docs/docs/configuration/project-title-bar-settings.mdx new file mode 100644 index 0000000..0ef905f --- /dev/null +++ b/src/content/docs/docs/configuration/project-title-bar-settings.mdx @@ -0,0 +1,132 @@ +--- +title: Project Title Bar Settings +description: Customize the appearance of the IDE frame to better distinguish between projects. +--- + +
+ +This panel controls settings for the **Project Title Bar** and the **Project Banner** feature. + +
+ +:::caution +This feature is exclusive to premium users. You can purchase a premium license for the plugin or a dedicated license for this feature via the following link: [Material Theme Project Frame](https://plugins.jetbrains.com/plugin/19310-material-theme-ui-project-frame). +::: + +---- + +## Project Widget Settings + +This section provides configuration options for the native **Project Gradient** feature. + +### Gradient Radius + +Specify the radius of the gradient. The default value is 2000px. + +
+ +
+ +
+ +
+ +
+ +---- + +## Project Banner + +The **Project Banner** displays a customizable colored banner at the top of the IDE, providing information about the active file, project, or module. + +The banner color is derived from the same algorithm as the application frame (e.g., generated from the project name). + +
+ +The banner can display various information, including: +- Current opened file +- Path of the current file +- Current project name +- Current module name +- Current file icon + +### Show Project Icon + +Determines whether to display the project icon in the banner. + +
+ +### Show Project Text + +Determines whether to display text in the banner. + +
+ +### Customize Text + +Customize the banner text using the following dynamic variables: +- `{project}`: The name of the current project. +- `{subProject}`: The project name of the currently opened file (useful for multi-project workspaces). +- `{module}`: The name of the current module (for Java and Kotlin projects). +- `{file}`: The name of the currently opened file. +- `{fileIcon}`: The icon of the currently opened file. +- `{path}`: The path of the currently opened file, relative to the project root. +- `{fullPath}`: The full path of the currently opened file. + +
+ +---- + +## Project Banner Widget + +The plugin also provides a **Project Banner Widget** that can be added to the Title Bar, offering the same functionality as the Project Banner without occupying additional vertical space. + +
+ +To add it, right-click the Title Bar and select **Customize Toolbar**. Search for the **Material Project Title Bar Widget** and click **Add**. + +:::note +**Note**: This widget is added by default; use the same steps if you wish to remove it. +::: + +The widget also includes predefined presets for quick customization. + +
+ +---- + +## Project Banner Settings + +These settings customize the appearance of the Project Banner Widget. + +### Project Banner Width + +Specify a custom width for the Project Banner Widget. Set to `0` to use the full IDE width. + +The default value is `800`. + +
+ +### Project Banner Height + +Specify a custom height for the Project Banner Widget. + +The default value is `30`. + +
+ +### Project Banner Font Family and Font Size + +Customize the font family and size used in the Project Banner Widget. + +
+ +---- + +## Per-project Settings + +Like Tab and Tree settings, Project Banner Settings can be configured individually for each project. + +This allows you to define unique colors, custom text, or specific fonts for different projects. + +
diff --git a/src/content/docs/docs/configuration/regions.mdx b/src/content/docs/docs/configuration/regions.mdx new file mode 100644 index 0000000..3df818a --- /dev/null +++ b/src/content/docs/docs/configuration/regions.mdx @@ -0,0 +1,168 @@ +--- +title: Stylish Regions +description: Customize folded code regions with beautiful separators and title blocks +--- + +
+ +**Stylish Regions** transforms your folded code regions into beautifully styled visual separators, making it easier to organize and navigate +large files. + +
+ +With customizable styles, colors, fonts, and positioning options, you can create a personalized code organization system that matches your +workflow. + +:::caution +Most customization features require the **Advanced** license. Basic enable/disable is free for everyone. +::: + +## Overview + +When working with large files, code regions (`//region` and `//endregion` comments) help organize related code blocks. By default, these +regions collapse into folded text styles. + +**Stylish Regions** enhances them with: + +- Three distinct separator styles (Wavy, Line, Stripe) +- Customizable separator and text colors +- Adjustable fonts and sizes +- Positioned title blocks with rounded corners +- Auto-generated colors from region names + +You can configure Stylish Regions by navigating to `Settings → Appearance → Material Theme UI → Regions`. + +
+ +--- + +## Separator Styles + +Choose from three visual styles that determine how the collapsed region separator line appears: + +### Wavy + +The default style features a smooth, undulating wave pattern that provides a soft, organic look. Perfect for a modern, friendly aesthetic. + +
+ +### Line + +A clean, straight horizontal line that offers a minimalist appearance. Ideal for those who prefer sharp, crisp visual boundaries. + +
+ +### Stripe + +A thick, bold stripe that makes regions stand out prominently. Great for high-contrast organization and quick visual scanning. + +
+ +--- + +## Appearance Customization + +### Separator Color + +Customize the color of the separator line itself. By default, regions use a teal accent color (`#009688`), but you can choose any color that +fits your theme or organizational system. + +Enable **Custom Color** and select your preferred color from the color picker. When disabled, the separator uses the theme's default accent +color. + +
+ +### Text Color + +The region title text color can also be customized independently from the separator. By default, it uses a light gray color (`#B0BEC5`), but +you can set it to any color for better readability or visual hierarchy. + +This is particularly useful when you want the title to stand out more prominently or match specific branding colors. + +
+ +--- + +## Font Customization + +### Font Family + +Choose a custom font family for your region titles. The default is Roboto, but you can select from any font installed on your system. + +### Font Size + +Adjust the region title font size between **8px and 24px** (default is 14px). Larger sizes make regions more prominent and easier to spot +when scrolling, while smaller sizes provide a more subtle organizational cue. + +
+ +--- + +## Title Block Settings + +### Block Corner Radius + +Control the roundedness of the region title block's corners with a radius range of **0-32px** (default is 8px): + +Examples: + +- **0px**: Sharp, rectangular corners for a traditional look +- **8px**: Softly rounded corners (default, matches Material Design) +- **16px+**: Heavily rounded corners for a pill-shaped appearance + +
+ +### Block Position + +You can also choose where to place the Region Block in the line. Options are: + +- **Left**: Aligned to the left edge of the editor +- **Center**: Centered in the editor (default) +- **Right**: Aligned to the right edge of the editor + +### Block Offset + +When the block position is set to **Left** or **Right**, you can add an offset distance (**0-500px**, default is 0px) from the edge. This +creates breathing room or aligns the block with specific indentation levels in your code. + +For example, setting a left position with a 100px offset moves the title block 100 pixels away from the left edge, making it align with your +code's indentation. + +
+ +
+ +--- + +## Generate Block Color + +Lastly, the **Generate Block Color** feature automatically generates a background color for each region's title block based on its name. +Similarly to the Project Banner, it gives each region a unique color, making it easier to visually distinguish between different regions in +your code. + +Benefits: + +- **Visual Grouping**: Regions with the same name across different files get the same color +- **Quick Identification**: Instantly recognize region types by color +- **No Manual Setup**: Colors are generated automatically + +This is especially useful when you have standard region names like "Constants," "Helpers," or "API Calls" that appear across multiple files. + +
+ +--- + +## Premium Features + +**Most customization options require an Advanced license:** + +- Separator styles (Wavy, Line, Stripe) +- Custom separator and text colors +- Font family and size customization +- Title block corner radius, position, and offset +- Auto-generated block colors + +**The basic enable/disable toggle is available to all users** without a license. This allows you to try the default Wavy style before +upgrading. + +Learn more about [licensing](/docs/configuration/license-info/). diff --git a/src/content/docs/docs/configuration/settings.mdx b/src/content/docs/docs/configuration/settings.mdx new file mode 100644 index 0000000..9b6f7c3 --- /dev/null +++ b/src/content/docs/docs/configuration/settings.mdx @@ -0,0 +1,513 @@ +--- +title: Settings +description: Learn how to configure the plugin +--- + +
+ +The Material Theme UI plugin is highly configurable, offering a wide array of features that can be tailored to suit your workflow. + +
+ +## Themes and color schemes + +### Current Theme + +Since version 9.0.0, you can view the active theme's color palette directly within the settings. + +To access this, navigate to `Settings → Appearance → Material Theme UI → Current Theme`. + +
+ +### Preview Theme Colors + +This section provides a visual grid of all colors used by the currently active theme. + +
+ +### Theme switcher + +The plugin includes several prebundled themes that can be switched using the +![Theme Switcher](/img/icons/switcher.svg) **Theme Selector**. + +
+ +
+ +There are many ways to invoke the *Theme Switcher*: + +- From the IDE menu `Tools → Material Theme → Material Theme Chooser` +- From the _Main Toolbar_ +- From the `Search Everything` dialog, type `Material Theme` +- From the `Quick Switch` panel (Ctrl + \`) (Windows: Ctrl + ~)` +- From the `Status Bar Widget` + +
+ +Alternatively, use the **Theme Selector** at `Settings → Appearance → Material Theme UI → Theme Selector`. + +
+ +The plugin comes prebundled with 32 themes: + +#### Material themes + +These themes are based on the original Material Themes by Mattia Astorino ([@equinusocio](https://github.com/equinusocio)). + + +#### Other themes + +Besides the Material Themes, there are other prebundled themes contributed by the community: + + +----- + +#### Custom Themes + +:::caution +This feature is only available for premium users. +::: + +In addition, premium users can also define their own **Custom Themes**. + +
+ +There are two options available, *Custom Theme* for dark themes and *Light Custom Theme* for light themes. + +See [Custom Themes](/docs/configuration/custom-themes/) for more information. + +---- + +#### Native Themes + +Native Themes utilize the JetBrains Theme API. The plugin automatically converts these themes, allowing you to use their colors while still +benefiting from Material Theme features such as custom components and accent modes. + +No manual configuration is required: simply download a native theme and select it; the plugin will handle the conversion. + +Examples: + +
+ +
+ +
+ +
+ +---- + +#### Adaptive Theme + +:::caution +This feature is only available for premium users. +::: + +Since version 9.0, the plugin includes an **Adaptive Theme** that dynamically updates its colors based on your current **color scheme**. + +This is particularly useful when using color schemes that do not bundle their own UI themes ( +e.g., [Rainglow color schemes](https://rainglow.io/)). + +Examples: + +
+ +
+ +
+ +
+ +
+ +You can further customize the Adaptive Theme's behavior via the **Color Scheme Settings Page**, allowing you to fine-tune the UI directly +from your color scheme settings. + +
+ +---------- + +## Material Theme UI settings + +### Settings Page + +:::caution +Some settings are only available for premium users. +::: + +Configure various plugin features via the **plugin settings** at `Settings → Appearance → Material Theme UI`. + +Starting with version 9.0, settings are categorized into sub-pages for improved organization. + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +#### Summary + +Here's an exhaustive list of all available settings: + +**[Current Theme](#current-theme)**: + +View the active theme's colors. Click any color to copy its hex value to the clipboard. + +**[Preview Theme Colors](#preview-theme-colors)**: + +This section provides a visual grid of all colors used by the currently active theme. + +**[Theme Selector](#theme-switcher)**: + +- *Theme Selector*: Select a theme from the list of pre-bundled themes. A small preview is provided for easier selection. + +**[Contrast](/docs/configuration/contrast/)**: + +- *Contrast Mode*: Adds contrast to specific panels and components. +- *High Contrast*![premium](/img/icons/premium.png): Enable a more pronounced contrast by making text more prominent. +- *Contrast Value*![premium](/img/icons/premium.png): Fine-tune the contrast level. Higher values result in greater contrast. + +**[Accent Settings](/docs/configuration/accents/)**: + +- *Custom Accent Color*: Set a custom accent color. +- *Override Accent Color from Theme*: Use the predefined accent color associated with the theme. +- *Custom Accent Color*: Set a custom accent color. +- *Predefined Accent Colors*: Choose from a list of predefined accent colors. + +**[Accent Mode](/docs/configuration/accent-mode/)**: + +- *Accent Mode*![premium](/img/icons/premium.png): Emphasize specific components (buttons, tabs, selections, etc.) by applying the accent + color. +- *Second Accent Color*![premium](/img/icons/premium.png): Define an additional accent color to complement the primary one. +- *Allow Color Scheme Modifications*![premium](/img/icons/premium.png): Update the current color scheme to apply accent colors to elements + like links, tab indicators, and selections. +- *Fine-grained settings*![premium](/img/icons/premium.png): Apply accent mode to specific UI components rather than globally. + - *Buttons*: Primary buttons + - *Tabs*: Selected tabs + - *Lists*: Selected list items + - *Trees*: Selected tree items + - *Toolbars*: Selected toolbar elements + - *Notifications*: Accent-colored notifications + +**[Custom Theme](/docs/configuration/custom-themes/)**: + +- *Custom Theme*![premium](/img/icons/premium.png): Configure the colors of the **Custom Theme** +- *Color Scheme*: Select a color scheme to be loaded alongside your custom theme. +- *Load from XML*: Import a custom theme in XML format. +- *Save to Disk*: Export your custom theme to an XML file. + +**[Light Custom Theme](/docs/configuration/custom-themes/#light-custom-theme)**: + +- *Light Custom Theme*![premium](/img/icons/premium.png): Configure the colors of the **Light Custom Theme.** +- *Color Scheme*: Select a color scheme to be loaded alongside your custom theme. +- *Load from XML*: Import a custom theme in XML format. +- *Save to Disk*: Export your custom theme to an XML file. + +**[Tabs](/docs/configuration/tab-settings/)**: + +- *Enable Customization*: Whether to use the Material Theme's tabs implementation or the native one. +- *Tabs Height*: Customize the height of the tabs (between `25` and `60` pixels). +- *Active Tab Highlight Color*![premium](/img/icons/premium.png): Customize the active tab's indicator color. +- *Thickness*![premium](/img/icons/premium.png): Set the indicator thickness for the active tab. +- *Rounded Tabs*: Use **Rounded Tabs** instead of the classic Material Design tabs. + - *Rounded Tabs Opacity*![premium](/img/icons/premium.png): Customize the opacity of the background color. + - *Rounded Tabs Border Size*![premium](/img/icons/premium.png): Customize the border size of the selected tab. + - *Rounded Tabs Arc*![premium](/img/icons/premium.png): Customize the arc radius of the selected tab. + - *Rounded Tabs Padding*![premium](/img/icons/premium.png): Customize the internal padding of the selected tab. +- *Uppercase Tabs*![premium](/img/icons/premium.png): Set the tabs' text to uppercase. +- *Bold Active Tab*![premium](/img/icons/premium.png): Make the active tab bold. +- *Custom Tab Font*![premium](/img/icons/premium.png): Control the font and size of the tabs. +- *Tab Highlight Position*![premium](/img/icons/premium.png): Customize the position of the tab highlighter. +- *Tabs Shadow Effect*![premium](/img/icons/premium.png): Add a subtle shadow or glow effect under the tabs. +- *Animated Tabs*: Animate the tab indicator when switching tabs. +- *Tab Separators*: Add thin borders between tabs. +- *Customize Active Tab Color*: Allows overriding the active tab highlight color from the Color Scheme. + +**[Spacing](/docs/configuration/spacing-settings/)**: + +- *Header Size*![premium](/img/icons/premium.png): Control the size of the header. + - *Compact Mode Header Size*![premium](/img/icons/premium.png): Control the size of the header in compact mode. +- *Custom Statusbar Size*![premium](/img/icons/premium.png): Control the size of the status bar. +- *Custom Table Cells*: Control the size of table headers and table cells. + - *Modify Database Tables*: Apply the custom table cell size to editor tables such as Database Views. +- *Custom Dropdowns*: Control the size of dropdowns. +- *Custom Menus*: Control the size of the menus. +- *Custom List Items Height*: Control the size of items in lists and dropdowns. +- *Custom Fields*: Control the size of fields, such as input, numeric and passwords. + +**[Islands](/docs/configuration/islands-settings/)**: + +- *Islands Layout*: Enable the new islands layout. +- *Background Contrast*![premium](/img/icons/premium.png): Give more contrast between the IDE and the islands. +- *Custom Background Color*![premium](/img/icons/premium.png): Set a custom background color between the islands. +- *Border Color*![premium](/img/icons/premium.png): Set a custom border color. +- *Island Arc Size*![premium](/img/icons/premium.png): Sets a custom arc radius. +- *Inner Spacing*![premium](/img/icons/premium.png): Customize the inner spacing inside the islands. +- *Outer Margin*![premium](/img/icons/premium.png): Customize the spacing between the islands. +- *Islands Gap*![premium](/img/icons/premium.png): Set the gap between the islands and the window borders (only when the tool windows are + hidden). +- *Tool Window Overlay Opacity*: Customize the opacity applied to the tool windows when the IDE is inactive. + +**[Trees](/docs/configuration/trees-settings/)**: + +- *Custom Tree Indent*![premium](/img/icons/premium.png): Fine-tune the indentation of tree items. + - You can configure both *Left* and *Right* indents. +- *Custom Line Item Height*![premium](/img/icons/premium.png): Set custom line height in trees (min: `18`, max: `44`). +- *Custom Tree Font*![premium](/img/icons/premium.png): Customize the font and font size of the project trees. +- *Selected Indicator Style*![premium](/img/icons/premium.png): Change the visual style of the indicator for selected tree items. + - *Border*: Add a small rounded border to the left + - *Dot*: Add a dot to the left of the selected item. + - *Sharp*: Add a small sharp border to the left + - *Right Border*: Add a small rounded border to the right + - *Boxed*: Add a box around the selected item + - *Underline*: Add an underline to the selected item + - *None*: Remove the indicator +- *Thickness*![premium](/img/icons/premium.png): Control the thickness of the indicator. +- *Use Gradient*![premium](/img/icons/premium.png): Use a gradient instead of a single color for the indicator. +- *Use complementary color*![premium](/img/icons/premium.png): If using a gradient, use the complementary color of the accent color for the + gradient. +- *Arrows Style*![premium](/img/icons/premium.png): Change the style of the arrows in the trees. + - *Material*: Material UI Styled Arrows (chevrons) + - *Darcula*: Darcula Styled Arrows (triangles) + - *Plus-Minus*: Plus and Minus signs + - *Arrows*: Simple arrows + - *Circle*: Circled arrows + - *None*: No arrows +- *Colored Open Directories*![premium](/img/icons/premium.png): Assign a specific style to directories. Can be configured from the *Custom + File Colors* settings page. + +**[UI Components](/docs/configuration/ui-component-settings/)**: + +- *Material Design Style*: Select the style of the components. + - *Legacy Material Design*: Use the old Material Design style (sharp corners, borderless input fields…). + - *Material Theme*: Use the Material Theme style (rounded corners, bordered input fields…). + - *Material 3*: Use the Material 3 style (rounded buttons and search fields, Google Sans font...). +- *Borderless Mode*![premium](/img/icons/premium.png): Remove most borders and separators. +- *Uppercase buttons*: Set the button text to uppercase. +- *Outlined buttons*![premium](/img/icons/premium.png): Use outline buttons instead of full buttons. +- *Custom Button Radius*![premium](/img/icons/premium.png): Override the default button radius. +- *Action Buttons Radius*![premium](/img/icons/premium.png): Customize the radius of the action buttons. +- *Round Notifications*![premium](/img/icons/premium.png): Make notifications rounder. +- *Search Everywhere Customization*![premium](/img/icons/premium.png): Customize the look of the Search Everywhere popup. + - *Custom Input Padding*![premium](/img/icons/premium.png): Increase or decrease the size of the Search Everywhere input field. + - *Font Size Delta*![premium](/img/icons/premium.png): Increase or decrease the size of the font. +- *Inverted Completion Selection Color*: Toggle between the theme's selection color and a high-contrast color for the active item in the + *Autocomplete* popup. +- *Scrollbars*: + - *Accent Scrollbars*: Set the color of the scrollbars to the accent color (requires restart). + - *Transparent Scrollbars*: Enable/Disable transparency in scrollbars (requires restart). +- *Extra Shadows*![premium](/img/icons/premium.png): Add a subtle shadow around notifications and some popups. +- *Material Circular Loader Icon*: Replace the loading icon with a Material Design circular loader icon (available only in conjunction with + the [Atom Material Icons](https://plugins.jetbrains.com/plugin/10044-atom-material-icons) plugin). +- *Use original Tool Window Hover Buttons*: Replace the look of the hover indicator on the Tool Windows with the native one. + +**[Features](/docs/configuration/features-settings/)**: + +- *Animated Tool Windows*: Animate the opening and closing of tool windows when they are undocked. +- *Centered Editor*: Center the code in open editors, similar to distraction-free mode. +- *Floating Action Button*: Add a floating action button to the bottom right corner of the screen. +- *Show Overlays*: Display an overlay when modals are open. + - *Add more popups under overlays*: When enabled, triggers overlays for additional popups such as right-click menus and dropdowns. + - *Overlays Opacity*: Customize the opacity of the overlays. +- *Material Wallpapers*![premium](/img/icons/premium.png): Add a custom wallpaper per theme for the empty frame window. +- *Custom UI Font*![premium](/img/icons/premium.png): Set your own custom UI Font. Supplements the IDE's [_Custom + Font_](https://www.jetbrains.com/help/idea/settings-appearance.html). +- *Material File Status Colors*: Enable/Disable the [Material File Status Colors](/docs/configuration/file-status-colors/). +- *Custom Directories Style*![premium](/img/icons/premium.png): Customize the style of directories. +- *Automatically reset color scheme*: Automatically reset the color scheme on theme activation (_only for bundled color schemes_). +- *Use Editor Default Font*![premium](/img/icons/premium.png): Automatically update color schemes to use the default font of your choice. + +**[Theme Randomizer](/docs/configuration/theme-randomizer/)**: + +- *Enabled*: Enable the theme randomizer. +- *Theme Change Interval*: Set the interval between theme changes. +- *Theme List*: Check or uncheck themes to be included in the randomization. + +**[Theme Ignores](/docs/configuration/theme-ignores/)**: + +This section allows you to add specific UI Properties to ignore when loading custom themes, so that they will be replaced by the plugin's +default values. + +This is particularly useful in the case when external themes don't define properties, so that you don't end up with the default `Darcula` +values. + +**[Language Additions](/docs/configuration/language-additions/)**: + +- *Language Additions*![premium](/img/icons/premium.png): Enable/Disable the [Language Additions](/docs/configuration/language-additions/). +- *Advanced Settings*![premium](/img/icons/premium.png): Turn off language additions for specific languages, depending on the IDE. The + available options are: + - Java (IntelliJ IDEA) + - Kotlin (IntelliJ IDEA) + - JavaScript (WebStorm, JavaScript plugin) + - TypeScript (WebStorm, TypeScript plugin) + - Ruby (RubyMine, Ruby plugin) + - Python (PyCharm, Python plugin) + - PHP (PhpStorm, PHP plugin) + - Go (GoLand, Go plugin) + - Rust (CLion, RustRover, Rust plugin) + +**[Project Title Bar](/docs/configuration/project-title-bar-settings/)**: + +- *Colorize Title Bar*![premium](/img/icons/premium.png): Colorize the title bar with a random color (only for the New UI). +- *Colorize Left Tool Window*![premium](/img/icons/premium.png): Colorize the left tool window (only for the New UI). +- *Colorize Right Tool Window*![premium](/img/icons/premium.png): Colorize the right tool window (only for the New UI). +- *Colorize Status Bar*![premium](/img/icons/premium.png): Colorize the status bar (only for the New UI). +- *Gradient Radius*![premium](/img/icons/premium.png): Customize the Project Widget Gradient radius on the title bar. +- *Project Title Bar*![premium](/img/icons/premium.png): Add a colored stripe on the top of each project window for easier differentiation. +- *Show Project Icon*![premium](/img/icons/premium.png): Display the _project's custom icon_ on the stripe. +- *Show Project Title*![premium](/img/icons/premium.png): Displays the _project title_ on the stripe. +- *Customize Text*![premium](/img/icons/premium.png): Customize the displayed text. + - You can use the keywords `{project}`, `{module}`, `{fullPath}`, `{path}` and `{file}` to refer respectively to the current project, + module, full path, local path and/or current file. +- *Project Title Frame Settings*: + - *Project Frame Width*: Set the width of the project frame (use 0 for the whole width). + - *Project Frame Height*: Set the height of the project frame. + - *Project Frame Font Family*: Customize the font family of the project frame text. + - *Project Frame Font Size*: Customize the font size of the project frame text. + +**[Other Tweaks](/docs/configuration/other-tweaks-settings/)**: + +- *Show What's New on each update*: Whether to display the [What's New](/docs/what-s-new/) page after each update. +- *Show Wizard on Welcome Screen*: Add or remove the Wizard option in the Welcome Screen. + +**UI DSL Showcase**: + +This settings page simply displays a list of UI components to preview how they will look like in the IDE. + +----- + +#### Settings shortcuts + +You can also quickly toggle some settings by using the _Search Everywhere_ or the _Command Panel_ capability of the IDE. +Simply press `Shift-Shift` and type `Material Theme` to get the list of available toggles. + +Same goes for the `Command Panel` (Ctrl-Shift-A/Cmd-Shift-A). + +
+ +You can also use the `Keymap Editor` to assign your own custom shortcuts to these toggles. + +#### Settings File + +Your current configuration is stored inside the IDE settings' directory under the filenames: + +- **Main Settings**: `material_theme_new.xml`. +- **Custom Theme**: `material_custom_theme_new.xml`. +- **Per Project Settings**: `material_theme_project.xml`. + +If, for some reason, there are issues with the plugin, +or you don't manage to reset to a stable state, delete these files and restart the IDE. + +Read +the [IDE Settings](https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs) +and [Directories used by the IDE](https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html) +documentation to learn where these configuration files are stored. + +The files in question should be located in the following directories: + +- within `/config` +- within each project's `.idea` directory for the **Per-Project Settings**. + +---------- + +## Custom themes + +:::caution +This feature is only available for premium users. +::: + +Aside from the bundled themes, you can also set up your own Material Theme. + +You can do so by selecting `Custom Theme` in the theme list, +then customize the theme colors in the settings page at `Settings → Appearance → Material Theme -> Custom Theme`. + +
+ +Once you set these colors, select the `Custom Theme` in the _Material Theme Chooser_ and see your colors take effect. + +See [Custom Theme](/docs/configuration/custom-themes/) for more details. + +----- + +## Frequently Asked Questions + +**Q**: **I've updated the IDE or plugin, and now the plugin fails to initialize. How can I fix this?** + +**A**: This may occur if your settings are incompatible with the new version. Try creating a backup of your settings file, then delete the +original and restart the IDE. If the issue is resolved, you can reconfigure your settings manually. If it persists, please report the issue +on our GitHub repository. + +**Q**: **I've removed the plugin, but the background image persists!** + +**A**: This occurs because the *Custom Wallpaper* feature utilizes the IDE's native `Set Background image` function. If removing the plugin +doesn't clear the image, you can do so manually via the Command Panel (`Cmd-Shift-A`/`Ctrl-Shift-A`) by searching for `Set Background image` +and clearing the value, or by navigating to `Settings → Appearance → Background Image`. + +**Q**: **What data is collected via the analytics option?** + +**A**: This option sends anonymous usage data to Material Theme servers to help us understand user configurations and trends. These metrics +allow us to prioritize development and improve the plugin. The data is entirely anonymous and is never shared with or sold to third parties. +You can disable this option at any time in `material_theme.xml`. + +**Q**: **My settings seem jumbled or lost.** + +**A**: As the plugin evolves, some settings may be modified or retired, which can occasionally impact configuration files. We aim to +minimize these disruptions. If you encounter issues, try deleting your configuration files or specific properties until the IDE launches +correctly. + +**Q**: **The wizard only appeared once and I can't find it anymore.** + +**A**: By design, the wizard only appears upon initial installation. However, you can relaunch it at any time via +the [Material Theme Toolbar](/docs/configuration/quick-actions-panel/), under the Features menu. + +**Q**: **Where have all the icons gone?** + +**A**: Starting with version 5.0.0, icon-related settings have been moved to +the [Atom Material Icons plugin](https://plugins.jetbrains.com/plugin/10044-atom-material-icons), also developed by the Material Theme team. +This change encourages the development of independent _Icon Themes_, as the main plugin no longer bundles icons. + +**Q**: **I've installed a theme from the Marketplace, but some UI elements are not correctly themed.** + +**A**: These are likely "Native Themes" that use the JetBrains Theme API. While the Material Theme UI plugin attempts to convert them to its +own format for better compatibility, the result may not always be perfect. If you encounter significant issues, please report them to the +respective theme's repository. + +**Q**: **I've bought a license, but I am still identified as a Free User!** + +**A**: This indicates that your license has not yet been activated. To activate it, run the action to open the _Registration Modal_. + +
+ +
+ +**Important note**: Android Studio users must install +the [JetBrains Marketplace Licensing Support](https://plugins.jetbrains.com/plugin/13407-jetbrains-marketplace-licensing-support) plugin to +activate the Material Theme UI (or any other paid plugin). diff --git a/src/content/docs/docs/configuration/spacing-settings.mdx b/src/content/docs/docs/configuration/spacing-settings.mdx new file mode 100644 index 0000000..c02c1b4 --- /dev/null +++ b/src/content/docs/docs/configuration/spacing-settings.mdx @@ -0,0 +1,121 @@ +--- +title: Spacing Settings +description: Control the size of various IDE components. +--- + +:::caution +Some features are only available in the premium plan. +::: + +
+ +These settings give you precise control over the spacing and sizing of various IDE components, allowing you to tailor the overall look and feel of your development environment to your preference. + +
+ +---- + +## Spacing Settings + +You can access the **Spacing** menu under the **Material Theme** settings group. Since version 11.0, the plugin has shifted from a simple "Compact vs. Regular" mode to a more granular system where you can control the size of each component individually using intuitive sliders. + +
+ +---- + +### Main Toolbar + +This setting allows you to adjust the height of the **Main Toolbar** for both regular and compact modes. This is especially useful for high-resolution displays where you might want a more spacious or a more compact layout. + +- **Header Size**: Adjusts the height of the toolbar in standard mode. +- **Compact Mode Header Size**: Adjusts the height when the IDE is set to [Compact Mode](https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html#compact-mode). + +
+ +
+ +---- + +### Custom Status Bar Size + +The IDE's **Status Bar** has been redesigned to align with Material Design principles, featuring increased padding and a cleaner look. Use this slider to find the perfect balance between information density and visual breathing room. + +
+ +
+ +---- +### Custom Table Cells Size + +This setting controls the vertical padding of **Table Cells** and **Table Headers** across the IDE. This is particularly helpful when working with long lists or complex configurations where you want to minimize vertical scrolling. + +**Note**: This setting does not affect database tables. + +
+ +
+ +
+ +### Modify Database Tables + +The previous setting only applies to tables within the IDE interface. However, for tables within the Editor — such as **Database Views** — a separate IDE configuration is typically used (found under `Settings -> Appearance -> Data Editor and Viewer`). + +By enabling this option, the plugin will automatically apply your custom table size settings to the Data Editor as well, ensuring a consistent look across the entire environment. + +
+ +
+ +:::caution +**Note**: This option directly overrides the values in `Settings -> Appearance -> Data Editor and Viewer`. Be aware that these changes are permanent and cannot be automatically reverted to their previous state once applied. +::: + +---- +### Custom Dropdowns Size + +This setting allows you to customize the size of **Dropdown Menus** (Comboboxes) used throughout the UI, such as the branch selector or run configurations. + +
+ +
+ +
+ +---- + +### Custom Menus Size + +Customize the padding and overall size of the IDE's **Menus**. This affects both the top-level application menus and context (right-click) menus. + +
+ +
+ +---- + +### Custom List Items Height + +This slider controls the height of individual items in **Lists**, such as the "Find in Files" results or the "Search Everywhere" list. + +:::caution +**Note**: This also affects **Autocompletion choices** and **Menu Items**. +::: + +
+ +
+ +
+ +
+ +---- + +### Custom Input Fields Size + +Finally, this setting allows you to adjust the size of **Input Fields** used in the UI, including text fields, password fields, number fields, and search fields. + +
+ +
diff --git a/src/content/docs/docs/configuration/tab-settings.mdx b/src/content/docs/docs/configuration/tab-settings.mdx new file mode 100644 index 0000000..21a549c --- /dev/null +++ b/src/content/docs/docs/configuration/tab-settings.mdx @@ -0,0 +1,241 @@ +--- +title: Tab Settings +description: Control the appearance of the Editor Tabs +--- + +
+ +These settings allow you to customize the appearance of the Tabs, whether it's Editor Tabs, Debugger Tabs, or any tabbed pane in the IDE. You can customize the height, the active tab indicator, the font, and much more to achieve the perfect look for your IDE. + +
+ +:::caution +Some features are only available for premium users. You can either buy a premium license for the plugin, or purchase the license for these features only by going to this link: [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras). +::: + +---- + +## Tab Customization + +
+ +### Enable Customization + +The Material Theme UI plugin provides it's own implementation of the tabs, giving you a lot of control over the appearance and behavior. However, JetBrains' implementation is generally more polished for general use. + +Therefore, this setting allows you to turn off the Material Theme UI tabs and revert to the default ones. However, this also means that you won't benefit from the features such as the custom tab highlighter, custom tab font, custom rounded tabs, etc. + +:::caution +**Note**: Some settings do not apply with the *Rounded Tabs* layout. +::: + +### Tab Height + +This setting allows you to customize the height for the different tabs of the IDE, giving you full control over the tabs' appearance. + +You can set a custom height between `24` and `60`. + +
+ +
+ +
+ +:::note +**Note**: The _Tabs Height_ setting also affects the **Tool Windows' Height**, to provide a consistent look between the Editor Tabs and other tool windows. +::: + +### Active Tab Highlight Color + +:::caution +This feature is only available for premium users. +::: + +By default, the active tab indicator takes its color from the following sources: +- From the color scheme, via the Color Scheme Settings at `Editor -> Color Scheme -> General -> Tabs -> Underline` +- From the accent color of the current theme. + +However, if you want to customize the color independently of the color scheme or the current theme, this setting provides you with the ability to customize it globally or per-project. + +
+ +
+ +
+ +### Thickness + +In addition of the highlight color, you can also customize the thickness of the active tab indicator. Similarly, you can set a global thickness or on a per-project basis. + +
+ +
+ +----- + +## Rounded Tabs + +:::caution +This feature is only available for free, but some customization options are only available in the premium version. +::: + +### Overview + +The classic Material Design tabs design give the following recommendation for tabs: +- The tabs should have no borders +- The active tab has a bottom, thick indicator line with the accent color + +While this design has made its way into a lot of apps, recently a newer design is starting to get some traction: **Rounded Tabs**. + +Unlike classic tabs, rounded tabs follow the following guidelines: +- The tabs should have a border with the accent color +- The active tab should have a transparent background with the accent color + +
+ +The Material Theme UI plugin allows you to use either design, or even a mix of both, e.g. you can decide to use the rounded tabs design while still keeping the classic tab indicator, if you feel like it. + +
+ +This mode is available in the free plan, to coincide with JetBrains' _Islands Layout_ which is also free. However, the plugin provides a bunch of additional customization options to make it even more unique. + +### Rounded Tabs Opacity + +Controls the transparency of the background. + +
+ +
+ +### Rounded Tabs Border Size + +Controls the size of the border of the tabs. + +
+ +
+ +### Rounded Tabs Arc + +You can also control the arc radius of the border (to some extent). + +
+ +
+ +### Rounded Tabs Padding + +Lastly, this setting allows you to control the padding between the outer tab and the rounded border. + +
+ +
+ +----- + +## Tab Label Settings + +These settings allow you to customize the appearance of the tab labels, such as making them uppercase, bold, or changing the font. + +:::caution +Some features are only available for premium users. +::: + +### Uppercase Tabs + +This setting allows you to make the tab titles appear in **UPPERCASE**, removes any other symbols than alphanumeric characters, and adds spaces between words. + +
+ +### Bold Active Tab + +Make the active tab **bold**. + +
+ +When coupled with the `Uppercase Tabs` setting, you can achieve a look very close to the original Material Design. + +
+ +### Custom Font + +These settings allow you to customize the font family and font size of the tab labels. + +
+ +----- + +## Tab Highlight Position + +This setting allows you to customize the position of the active tab indicator. + +
+ +You have the choice of the following positions: +- **Default (Bottom)** +- **Bottom** +- **Top** +- **Left** +- **Right** +- **Top-Bottom** +- **Left-Right** +- **Boxed** +- **Bottomless** +- **Topless** +- **None** + +:::note +**Tip**: If you use the _Rounded Tabs_ layout, it's recommended to set the tab highlighter position to **None** for the best visual results. +::: + +----- + +## Tab Tweaks + +Lastly, there are a few small and free tweaks to apply to the tabs. + +### Tabs Shadow Effect + +Adds a shadow or glow effect under the tabs. + +
+ +
+ +### Animated Tabs + +This option sports a slight animation when switching between tabs. + +
+ +### Tab Separators + +Add a small separator between tabs to provide a better distinction between tabs. + +
+ +:::note +**Tip**: We encourage disabling this option if you use the _Rounded Tabs_ layout. +::: + +### Customize Active Tab Color + +By default, the active tab indicator takes its color from the current theme's accent color, disabling the ability to take it from the color scheme, to provide a more consistent look. + +But if you prefer to let the color scheme determine that color, this option allows you to do so. + +---- + +## FAQ + +**Q**: Is there a way to completely remove the Active Tab Indicator? + +**A**: Yes, by setting the **Tab Highlighter Position** to **None**. + +**Q**: The _Tab Height_ feature is cool in the editor, but I'd rather leave other tabs untouched. + +**A**: Unfortunately, currently the setting that sets the tab height is shared between all tabs in the IDE. + +**Q**: Why limit the thickness or the tab height? + +**A**: Because allowing values past these limits would make the UI look inconsistent or cause layout issues. diff --git a/src/content/docs/docs/configuration/trees-settings.mdx b/src/content/docs/docs/configuration/trees-settings.mdx new file mode 100644 index 0000000..8c813f3 --- /dev/null +++ b/src/content/docs/docs/configuration/trees-settings.mdx @@ -0,0 +1,118 @@ +--- +title: Trees Settings +description: Customize the Look and Feel of the IDE's Trees +--- + +
+ +These settings allow you to customize the look and feel of the IDE's tree views, including spacing, fonts, and indicators. + +
+ +:::caution +Some features are only available for premium users. You can either buy a premium license for the plugin, or purchase the license for these features only by going to this link: [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras). +::: + +---- + +Trees Settings are grouped into the following categories: +- [Spacing Settings](#spacing-settings) +- [Font Settings](#font-settings) +- [Indicator Settings](#indicators) +- [Arrows Settings](#arrows-style) +- [Other](#colored-open-directories) + +
+ +---- + +## Spacing Settings + +Adjust the spacing of various tree elements to improve readability or maximize screen real estate. + +### Custom Tree Indent + +Control the indentation of items within tree views. Whether you prefer a condensed or spacious layout, this setting helps you adjust the visual hierarchy in views like the _Project View_ and _Settings View_. + +
+ +
+ +### Custom item line height + +Adjust the vertical spacing between items by controlling the line height. This is particularly useful for improving readability or fitting more items on the screen at once. + +
+ +
+ +---- + +### Font Settings + +Customize the font family and size for tree views independently of the rest of the IDE. + +
+ +
+ +---- +### Indicators + +Choose from several indicator styles to highlight the active item in tree views. + +
+ +Available styles: + +| Style | Screenshot | +|:-----------------|:--------------------------------------------------| +| Border (default) | | +| Sharp Border | | +| Dot | | +| Boxed | | +| Right Border | | +| Underline | | +| None | (no indicator) | + +You can also adjust the indicator thickness (from `1` to `5`). + +Additionally, you can enable: +- **Use gradient**: Sets the indicator color as a gradient between the accent color and a secondary color. +- **Use complementary color**: Uses the accent color's complementary color, or a custom one of your choice. + +
+ +
+ +Moreover, you can switch styles from the [Actions Panel](/docs/configuration/quick-actions-panel/). + +---- + +### Arrows style + +Select from a variety of arrow styles for expanding and collapsing tree nodes. + +
+ +Available styles: + +| Style | Screenshot | +|:-------------------|:----------------------------------------------| +| Material (default) | | +| Triangle | | +| Arrows | | +| Plus-Minus | | +| Circle | | +| None | (no arrows) | + +:::caution +**Note**: If the [Atom Material Icons](https://plugins.jetbrains.com/plugin/10044-atom-material-icons) plugin is installed, this setting is disabled as it is managed by the plugin itself. +::: + +---- +### Colored open directories + +This setting applies the accent color to directories containing open files in the _Project View_, making them easier to identify. + +
diff --git a/src/content/docs/docs/configuration/ui-component-settings.mdx b/src/content/docs/docs/configuration/ui-component-settings.mdx new file mode 100644 index 0000000..0b3f4b7 --- /dev/null +++ b/src/content/docs/docs/configuration/ui-component-settings.mdx @@ -0,0 +1,271 @@ +--- +title: UI Components Settings +description: Customize various components of the IDE. +--- + +These settings provide you with a wide range of customization options for various IDE components. \{:class='title'\} + +Some features are only available for premium users. You can either buy a premium license for the plugin, or purchase the license for these +features only by going to this link: [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras). \{: +class='card-panel warn'\} + +---- + +## Look And Feel + +
+ +### Material Design Style + +This feature is available in the free plan. \{:class='card-panel warn'\} + +This setting allows you to choose between three _Material Design_ styles, each offering a distinct visual experience: **Material Design**, * +*Material Theme**, and **Material You**. + +#### Material Design (Material 1) + +The first iteration of [Material Design from Google](https://m1.material.io/) features flat, rectangular elements with consistent spacing +and shadows to convey depth. Input fields blend seamlessly with the background by omitting borders, **Roboto** serves as the primary font, +toggled elements display an overlaid circle indicator, and selected tabs are marked by an underline. + +
+ +#### Material Theme (Material 2) + +[Material Theme](https://m2.material.io) builds upon the same principles as Material Design while introducing a more modern and refined +aesthetic. It incorporates softer, more rounded elements with enhanced emphasis on color and typography. Input fields now include borders +for clearer distinction from the background, **Roboto** remains the primary font, menus and popups feature rounded corners, and most +elements maintain Material 1's core principles with increased roundness throughout. + +
+ +#### Material You (Material 3) + +The latest iteration, [Material You](https://m3.material.io), introduces a more dynamic and contemporary design language. Input fields and +buttons feature prominently rounded borders, **Google Sans** replaces Roboto as the primary typeface, and rounded corners appear throughout +the interface. Tabs are now represented by a rounded indicator instead of a solid line, offering improved visibility and a more cohesive +visual style. + +
+ +### Borderless Mode + +The Material Theme UI designs feature very subtle borders and separators to create an "almost-flat" experience. However, you can take this +further by blending borders completely with the background. + +This option replaces the color of various borders and separators with the background color, simulating a **pure borderless** interface. + +
+ +
+ +
+ +
+ +
+ +
+---- + +## Components + +### Uppercase buttons + +This setting changes the button text to uppercase, giving it a look reminiscent of Material Design guidelines. + +
+ +
+ +
+ +
+ +---- + +### Outline buttons + +This setting gives buttons an alternate look, sporting a transparent background, and the border and text having the color of the current +accent color, making them looking like "outlined buttons". + +
+ +---- + +### Custom Button Radius + +By default, the buttons have a different radius depending on the _Material Design Style_ selected: + +- Material 1: 0px +- Material 2: 8px +- Material 3: 20px + +However, if these defaults don't suit your tastes, you can use these settings to change the radius of the buttons. + +
+ +
+ +
+ +
+ +### Custom Action Buttons Radius + +Like the _Custom Button Radius_, this setting allows you to change the radius of the action buttons, which are the buttons found in the +toolbars and some popups. In this case, the default value is always 20px, giving it a full circle shape. + +
+ +
+ +
+ +
+ +----- + +### Round Notifications + +This setting allows you to make the notifications round. + +
+ +
+ +
+ +
+ +### Outline Notifications + +You can also select an alternative style of notifications: **Outline Notifications**. With this style, the notifications will have its +background color mixed with a small tint of the _Accent Color_, and with an accented border color. + +
+ +---- + +### Inverted Completion Color + +This setting gives you the choice to change the color of the selected line in the autocompletion popup. When selected, it uses the *Contrast +Color* instead of the *Selection Color*. + +
+ +
+ +
+ +
+ +---- + +## Search Everywhere + +### Customize Search Everywhere + +This section allows you to customize many aspects of the Search Everywhere popup, such as the padding, or the font size. + +This feature is available for premium users. \{:class='card-panel warn'\} + +#### Custom Input Padding + +This setting allows you to customize the size of the search input field. The more padding, the bigger the input will become. The default +value is 12px. + +
+ +
+ +
+ +
+ +#### Font Size Delta + +In addition, this setting gives the ability to increase or decrease the font size of the search field. + +
+ +
+ +
+ +
+ +---- + +## Scrollbars + +### Transparent scrollbars and accent scrollbars + +These options control the appearance of the IDE's scrollbars. Please note that this doesn't affect the scrollbars in the editor; for those +you have a dedicated setting page: [**Scrollbars Color Scheme**](/docs/configuration/scrollbars/). + +- When both options are unchecked, the scrollbars will sport the same color as the foreground color. +- *Transparent scrollbars*: make scrollbars 50% transparent. +- *Accent scrollbars* changes the scrollbar color with the _current theme's accent color_. +- When both options are checked, the scrollbars will be accent colored and 50% transparent. + +
+ +
+ +
+ +
+ +
+ +
+ +**Important**: this feature works natively on Windows and Linux, but on macOS it's dependent on the "_System Scrollbars_" +setting. + +
+ +---- + +## Misc + +These features are available in the free plan. \{:class='card-panel warn'\} + +### Extra Shadows + +This small tweak adds a shadow to some popups and notifications. + +
+ +### Circular Icon Loader + +This setting replaces the default icon loader (the gear-like animated icon) with the Material Icons' circular loader icon. + +
+ +
+ +**Note**: This feature is only usable in coordination with the _Atom Material Icons_ plugin, as the icon is part of that plugin. \{: +class='card-panel warn'\} + +**Note 2**: You need to restart the IDE for this setting to take effect. \{:class='card-panel warn'\} + +### Use Original Tool Window Buttons + +The plugin replaces the appearance of the tool window buttons with a circular, transparent shape on hover, and a fully squared, transparent +shape for opened tool windows. + +This setting allows you to revert to the original tool window appearance instead. + +
+ +
+ +
+ +
+ +
+ +
diff --git a/src/content/docs/docs/configuration/window-coloring.mdx b/src/content/docs/docs/configuration/window-coloring.mdx new file mode 100644 index 0000000..1a1c30c --- /dev/null +++ b/src/content/docs/docs/configuration/window-coloring.mdx @@ -0,0 +1,237 @@ +--- +title: Window Coloring +description: Per-project IDE frame coloring with solid and gradient fills +--- + +
+ +**Window Coloring** (Application Frame) gives each project a unique visual identity by coloring specific regions of the IDE window frame. + +
+ +With solid colors or sophisticated gradients, you can instantly identify which project you're working in — especially useful when managing +multiple IDE windows. + +This feature requires the **Project Frame** license. \{:class='card-panel warn'\} + +## Overview + +When working with multiple projects simultaneously, it's easy to lose track of which IDE window belongs to which project. **Window +Coloring** solves this by applying distinctive colors to your IDE's frame regions. + +Previously grouped with the **Project Banner** settings, this feature automatically assigns a unique color for each project based on its +name, or you can manually set custom colors per project. + +Previously, only **Solid Colors** were available, but from now on you can also assign **Gradients**, for a more modern and visually +appealing look. + +You can configure Window Coloring globally at `Settings → Appearance → Material Theme UI → Window Coloring`, or override settings +per-project for fine-grained control. + +
+ +## Colored Regions + +Introduced with the New UI (2023), JetBrains IDEs feature a thick, colorful application frame encompassing the editor and tool windows. This +frame contains action buttons, widgets, and other supplementary elements. + +By default, this frame remains consistent across all projects, which can make it difficult to distinguish between multiple open windows. + +The **Colored Regions** settings allow you to apply a unique color to the frame, automatically generated based on the project name. This +makes it easier to visually identify and switch between different projects. + +
+ +:::note +Colors are generated by an algorithm using the project name to ensure a unique and consistent appearance for each project. +::: + +You can customize which parts of the application frame to colorize. While only the **Title Bar** is colorized by default, you can also +enable: + +- **Title Bar** +- **Left Tool Window** +- **Right Tool Window** +- **Status Bar** + +
+ +**Note**: Starting with the Islands UI (2025), JetBrains IDEs include a built-in **Project Gradient** feature (located in +`Settings > Appearance > Use project colors in main toolbar`). Enabling any **Colorize Application Frame** setting in the Material Theme UI +plugin will automatically disable the IDE's native Project Gradient. \{:class='card-panel warn'\} + +
+ +--- + +## Fill Modes + +Choose how the colored regions are filled: + +### Solid Fill + +A single, flat color fills the entire region. This provides a clean, professional look and optimal readability for text and icons within the +frame. + +Solid fills are the default and work great when you want clear project differentiation without visual complexity. + +
+ +### Gradient Fill + +A smooth color transition from the project color to your theme's panel color creates a more subtle look. You can select between two gradient +types: + +- **Linear**: Colors transition along a straight line at a configurable angle +- **Radial**: Colors radiate outward from a configurable anchor point + +Gradients add a modern, polished aesthetic to your IDE while maintaining project identification. + +
+ +--- + +## Gradient Customization + +When using **Gradient** fill mode, you have extensive control over the gradient appearance: + +### Gradient Type + +#### Linear Gradients + +Linear gradients transition colors along a straight line. You control the **angle** of this line from **0 to 360 degrees**: + +- **0°**: Left to right +- **90°**: Top to bottom +- **180°**: Right to left +- **270°**: Bottom to top +- Any angle in between for diagonal transitions + +This allows you to create horizontal, vertical, or diagonal color flows that complement your IDE layout. + +
+ +#### Radial Gradients + +Radial gradients emanate outward from a central **anchor point**. You can position this anchor at any of **9 locations**: + +- **Top**: Left, Center, Right +- **Middle**: Left Center, Center, Right Center +- **Bottom**: Left, Center, Right + +The default is **Top Left**, creating a glow effect from the upper-left corner. Center anchors create a spotlight effect, while bottom +anchors create an inverted glow. + +
+ +
+ +
+ +
+ +#### Second Gradient Anchor + +Radial gradients support an optional **second anchor point**, allowing you to create two-color gradients. With a second anchor, the gradient +transitions from the project color at the first anchor to a different color at the second anchor, creating a more dynamic and visually +rich effect. + +
+ +### Gradient Size + +The **gradient size** (0-100%) controls the region before the gradient starts fading out to the background color (in gradient terms, it +means the "fraction before the first color stop" of the gradient). + +Examples: + +- **25%**: Quick transition, subtle gradient, most of the region is the background color +- **50%**: Balanced transition (default), colors blend evenly +- **75%**: Slow transition, project color dominates more area +- **100%**: Full color, similar to solid fill. + +Smaller sizes create bold, concentrated color pops. Larger sizes create subtle, widespread color washes. + +### Gradient Opacity + +While not exposed as a separate setting, gradients always transition to your theme's panel color with full opacity, ensuring text and icons +remain readable throughout the frame. + +--- + +## Project Colors + +### Auto-Generated Colors + +By default, Window Coloring automatically generates a unique color for each project based on its name. This ensures: + +- **Consistency**: The same project always gets the same color +- **Zero Configuration**: Colors appear immediately without manual setup +- **Visual Diversity**: Different projects get distinct, well-distributed hues + +The auto-generation algorithm creates vibrant, saturated colors optimized for frame visibility. + +
+ +### Regenerating Colors + +Both the global Application Frame settings and per-project settings include a **color seed** value. This seed is mixed into the color +generation algorithm, allowing you to "regenerate" a project's color to a different but still stable hue. + +This allows you to "Regenerate" the project color if you don't like the automatically generated one without the need to override +per-project. + +Simply click the regenerate button in settings to cycle through alternative colors until you find one you like. + +
+ +**Note**: This setting shows a preview of the generated color of the current project, but in fact the seed affects all projects. Thus, +generating a new color effectively generates new colors for all projects. \{:class='card-panel warn'\} + +### Manual Color Override + +For complete control, you can manually set a specific color for any project: + +1. Open project-specific settings: `Settings → Appearance → Material Theme UI → Application Frame → Project Settings` +2. Enable **Override Color** +3. Use the color picker to select your exact desired color + +This is perfect when you have brand colors or prefer specific hues for certain projects. + +
+ +--- + +## Per-Project Customization + +Each project can override the global Application Frame settings with its own configuration: + +- Different enabled regions (e.g., one project colors only the title bar, another colors everything) +- Different fill modes (solid vs. gradient) +- Different gradient settings (type, angle/anchor, size) +- Different colors (manual or different seed) + +To access per-project settings: + +**Settings → Appearance → Material Theme UI → Window Coloring → Enable Per-Project Settings** + +Once enabled, all frame settings in that settings dialog apply only to the current project, while other projects continue using the global +settings or their own overrides. + +--- + +## Premium Features + +**All Window Coloring features require a Project Frame license:** + +- Colored title bar, tool window headers, and status bar +- Solid and gradient fill modes +- Linear and radial gradient types with full angle/anchor control +- Gradient size customization +- Auto-generated project colors +- Manual color override per project +- Per-project settings + +Without a license, all window regions remain their default theme color. + +Learn more about [licensing](/docs/configuration/license-info/).