diff --git a/astro.config.mjs b/astro.config.mjs index 803ce91..9918b96 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -81,6 +81,8 @@ export default defineConfig({ sidebar: [ { label: 'Introduction', slug: 'docs/introduction' }, { label: 'Getting Started', slug: 'docs/getting-started' }, + { label: "What's New", slug: 'docs/what-s-new' }, + { label: 'Changelog', slug: 'docs/changelog' }, { label: 'Configuration', items: [ @@ -154,33 +156,7 @@ export default defineConfig({ { label: 'Support Us', slug: 'docs/support-us' }, { label: 'EULA', slug: 'docs/eula' }, ], - plugins: [ - starlightLinksValidator({ - // Sections not converted yet (configuration, icons, reference, changelog, ...). - exclude: [ - '/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/what-s-new/**', - '/docs/archives/**', - ], - }), - ], + plugins: [starlightLinksValidator()], components: { ThemeProvider: './src/components/overrides/ThemeProvider.astro', ThemeSelect: './src/components/overrides/ThemeSelect.astro', diff --git a/e2e/fixtures/old-img-paths.json b/e2e/fixtures/old-img-paths.json new file mode 100644 index 0000000..088f603 --- /dev/null +++ b/e2e/fixtures/old-img-paths.json @@ -0,0 +1,731 @@ +[ + "/img/accents/actionButtons.png", + "/img/accents/autocomplete.png", + "/img/accents/branchNames.png", + "/img/accents/caret.png", + "/img/accents/checkboxes.png", + "/img/accents/containingDir.png", + "/img/accents/documentation.png", + "/img/accents/editIndicator.png", + "/img/accents/modifiedSettings.png", + "/img/accents/navbar.png", + "/img/accents/newSEHighlight.png", + "/img/accents/parameterInfo.png", + "/img/accents/progressBar.png", + "/img/accents/radio.png", + "/img/accents/runningIndicator.png", + "/img/accents/scrollbar.png", + "/img/accents/searchEverywhere.png", + "/img/accents/searchInput.png", + "/img/accents/selectedItem.png", + "/img/accents/selectedItemArrow.png", + "/img/accents/slider.png", + "/img/accents/switch.png", + "/img/arrows/arrows.png", + "/img/arrows/darcula.png", + "/img/arrows/material.png", + "/img/arrows/plusminus.png", + "/img/brand/logo.png", + "/img/brand/material-logo.png", + "/img/brand/material-social-logo.png", + "/img/brand/wall.jpg", + "/img/chrome/brand.png", + "/img/chrome/darker.png", + "/img/chrome/github.png", + "/img/chrome/list.png", + "/img/chrome/oceanic.png", + "/img/chrome/onedark.png", + "/img/chrome/popup.png", + "/img/chrome/solarizedlight.png", + "/img/chromethemes/arcdark_640.png", + "/img/chromethemes/catpuccin_640.png", + "/img/chromethemes/darker_640.png", + "/img/chromethemes/deepocean_640.png", + "/img/chromethemes/dracula_640.png", + "/img/chromethemes/forest_640.png", + "/img/chromethemes/github_640.png", + "/img/chromethemes/github_dark_640.png", + "/img/chromethemes/lighter_640.png", + "/img/chromethemes/lightowl_640.png", + "/img/chromethemes/monokai_640.png", + "/img/chromethemes/moonlight_640.png", + "/img/chromethemes/nightowl_640.png", + "/img/chromethemes/oceanic_640.png", + "/img/chromethemes/onedark_640.png", + "/img/chromethemes/onelight_640.png", + "/img/chromethemes/palenight_640.png", + "/img/chromethemes/sandybeach_640.png", + "/img/chromethemes/skyblue_640.png", + "/img/chromethemes/solardark_640.png", + "/img/chromethemes/solarlight_640.png", + "/img/chromethemes/synthwave_640.png", + "/img/chromethemes/volcano_640.png", + "/img/components/actionButton.png", + "/img/components/buttons.png", + "/img/components/checkbox.png", + "/img/components/dialog.png", + "/img/components/dropdown.png", + "/img/components/input.png", + "/img/components/navbar.png", + "/img/components/number.png", + "/img/components/password.png", + "/img/components/progress.png", + "/img/components/radio.png", + "/img/components/slider.png", + "/img/components/spinner.png", + "/img/components/switches.png", + "/img/components/table.png", + "/img/components/table2.png", + "/img/components/tabs.png", + "/img/components/treeArrows.png", + "/img/favicon-16x16.png", + "/img/favicon-32x32.png", + "/img/favicon.ico", + "/img/features/background.svg", + "/img/features/colorschemes.svg", + "/img/features/customizable.svg", + "/img/features/extensible.svg", + "/img/features/icons-folder.svg", + "/img/features/lookandfeel.svg", + "/img/icons/editIcon.png", + "/img/icons/files.png", + "/img/icons/folders.png", + "/img/icons/new-box.png", + "/img/icons/pin.png", + "/img/icons/premium.png", + "/img/icons/switcher.png", + "/img/icons/switcher.svg", + "/img/laptop.png", + "/img/logo/material-arcdark.svg", + "/img/logo/material-cobalt2.svg", + "/img/logo/material-darker.svg", + "/img/logo/material-deepocean.svg", + "/img/logo/material-dracula.svg", + "/img/logo/material-forest.svg", + "/img/logo/material-github.svg", + "/img/logo/material-githubdark.svg", + "/img/logo/material-horizon.svg", + "/img/logo/material-horizonBright.svg", + "/img/logo/material-lighter.svg", + "/img/logo/material-lightowl.svg", + "/img/logo/material-monokai.svg", + "/img/logo/material-moonlight.svg", + "/img/logo/material-nightowl.svg", + "/img/logo/material-noctis.svg", + "/img/logo/material-oceanic.svg", + "/img/logo/material-omni.svg", + "/img/logo/material-onedark.svg", + "/img/logo/material-onelight.svg", + "/img/logo/material-palenight.svg", + "/img/logo/material-prism.svg", + "/img/logo/material-prismLight.svg", + "/img/logo/material-sandybeach.svg", + "/img/logo/material-shadesOfPurple.svg", + "/img/logo/material-skyblue.svg", + "/img/logo/material-solardark.svg", + "/img/logo/material-solarlight.svg", + "/img/logo/material-space.svg", + "/img/logo/material-synthwave.svg", + "/img/logo/material-volcano.svg", + "/img/logo/material-winterIsComing.svg", + "/img/monokaiProColors.png", + "/img/profile-pic.jpg", + "/img/screens/accentMode/accentModeEnabled.png", + "/img/screens/accentMode/accentModePreview.png", + "/img/screens/accentMode/overrideColorScheme.png", + "/img/screens/accentMode/secondAccentColor.png", + "/img/screens/accents/accentPicker.png", + "/img/screens/accents/accentPreview.png", + "/img/screens/adaptive/adaptive.gif", + "/img/screens/adaptive/adaptiveScheme.png", + "/img/screens/adaptive/overridenAdaptiveScheme.png", + "/img/screens/additions/advancedToggles.png", + "/img/screens/additions/cssAdditions.png", + "/img/screens/additions/customEntries.png", + "/img/screens/additions/customProvidersJS.png", + "/img/screens/additions/customProvidersKotline.png", + "/img/screens/additions/htmlAdditions.png", + "/img/screens/additions/jsAdditions.png", + "/img/screens/additions/phpAdditions.png", + "/img/screens/archive/accentChooser.png", + "/img/screens/archive/accentColorWidget.png", + "/img/screens/archive/accentMode.png", + "/img/screens/archive/actionButtonsRadius.png", + "/img/screens/archive/activateLicense.png", + "/img/screens/archive/activeBoldTab.png", + "/img/screens/archive/advancedSettingsRestart.png", + "/img/screens/archive/annotations.png", + "/img/screens/archive/arcdarkscheme.png", + "/img/screens/archive/autoResetSettings.png", + "/img/screens/archive/cmdpanel.png", + "/img/screens/archive/colorSchemeCustomTheme.png", + "/img/screens/archive/colorized.png", + "/img/screens/archive/colorizedProjectBar.png", + "/img/screens/archive/colorizedProjectBar2.png", + "/img/screens/archive/compactRunConf.png", + "/img/screens/archive/componentsDisabled.png", + "/img/screens/archive/componentsEnabled.png", + "/img/screens/archive/contrastIslands.png", + "/img/screens/archive/countdown.png", + "/img/screens/archive/customAccentColor.png", + "/img/screens/archive/customBackground.png", + "/img/screens/archive/customFocusColor.png", + "/img/screens/archive/customFocusColorWhite.png", + "/img/screens/archive/customKeywords.png", + "/img/screens/archive/customTabFont.png", + "/img/screens/archive/customTheme.png", + "/img/screens/archive/customTitleBar.png", + "/img/screens/archive/customTreeFont.png", + "/img/screens/archive/customsettings.png", + "/img/screens/archive/darcula.png", + "/img/screens/archive/darculaExtended.png", + "/img/screens/archive/disableThemes.png", + "/img/screens/archive/dracula.png", + "/img/screens/archive/dropdownEnhanced.png", + "/img/screens/archive/dropdownOverlays.png", + "/img/screens/archive/dslShowcase.png", + "/img/screens/archive/enforceHighlighting.png", + "/img/screens/archive/external.png", + "/img/screens/archive/focusModeLighter.png", + "/img/screens/archive/focusModeOceanic.png", + "/img/screens/archive/fullRadius.png", + "/img/screens/archive/gitBranches.png", + "/img/screens/archive/gradianto.png", + "/img/screens/archive/gradleTasks.png", + "/img/screens/archive/halfRadius.png", + "/img/screens/archive/highContrast.png", + "/img/screens/archive/importTheme.png", + "/img/screens/archive/inlayParamsThemed.png", + "/img/screens/archive/inlayParamsUnthemed.png", + "/img/screens/archive/inlayThemed.png", + "/img/screens/archive/inlayUnthemed.png", + "/img/screens/archive/inlineThemed.png", + "/img/screens/archive/inlineUnthemed.png", + "/img/screens/archive/intellij.png", + "/img/screens/archive/invertedSelection.png", + "/img/screens/archive/invertedSelectionColor.png", + "/img/screens/archive/islands.png", + "/img/screens/archive/islandsBackground.png", + "/img/screens/archive/islandsContrast.png", + "/img/screens/archive/islandsLayout.png", + "/img/screens/archive/islandsSettings.png", + "/img/screens/archive/islandsWithImage.png", + "/img/screens/archive/javaScriptAdditions.png", + "/img/screens/archive/landingPage.png", + "/img/screens/archive/largerSearch.png", + "/img/screens/archive/learnIDEthemed.png", + "/img/screens/archive/learnIDEunthemed.png", + "/img/screens/archive/license.png", + "/img/screens/archive/licenses.png", + "/img/screens/archive/lightCustomTheme.png", + "/img/screens/archive/listplugin.png", + "/img/screens/archive/loader.png", + "/img/screens/archive/materialMonokai.png", + "/img/screens/archive/materialStatusbar.png", + "/img/screens/archive/materialTheme2016.png", + "/img/screens/archive/materialfilecolors.png", + "/img/screens/archive/maxSize.png", + "/img/screens/archive/minSize.png", + "/img/screens/archive/modalOverlay.png", + "/img/screens/archive/monokaiProScheme.png", + "/img/screens/archive/newWidgets.png", + "/img/screens/archive/noRadius.png", + "/img/screens/archive/notification.png", + "/img/screens/archive/onelight.png", + "/img/screens/archive/originalToolWindowButtons.png", + "/img/screens/archive/overrideAccent.png", + "/img/screens/archive/paddedRunConf.png", + "/img/screens/archive/perProject.png", + "/img/screens/archive/perprojectDefaults.png", + "/img/screens/archive/pluginsPage.png", + "/img/screens/archive/problemsThemed.png", + "/img/screens/archive/problemsUnthemed.png", + "/img/screens/archive/projectIcons.png", + "/img/screens/archive/projectTitleTweaks.png", + "/img/screens/archive/projectsWidget.png", + "/img/screens/archive/quickActionsPanel.png", + "/img/screens/archive/randomWizard.png", + "/img/screens/archive/randomizer.png", + "/img/screens/archive/randomizerPlaylist.png", + "/img/screens/archive/recommendedPlugins.png", + "/img/screens/archive/resetColors.png", + "/img/screens/archive/roundNotifications.png", + "/img/screens/archive/roundedButtons.png", + "/img/screens/archive/roundedTabs.png", + "/img/screens/archive/roundedTabsPadding.png", + "/img/screens/archive/roundedTabsSettings.png", + "/img/screens/archive/ruby-additions.png", + "/img/screens/archive/scopes.png", + "/img/screens/archive/search.png", + "/img/screens/archive/semitransparent.png", + "/img/screens/archive/settings.png", + "/img/screens/archive/settingsMenu.png", + "/img/screens/archive/settingsOverlay.png", + "/img/screens/archive/settingsV2.png", + "/img/screens/archive/space.png", + "/img/screens/archive/statusAccentWidget.png", + "/img/screens/archive/statusbar.png", + "/img/screens/archive/stripedToolWindows.png", + "/img/screens/archive/subproject.png", + "/img/screens/archive/switchSettings.png", + "/img/screens/archive/switcher.png", + "/img/screens/archive/syncSettings.png", + "/img/screens/archive/tabFont.png", + "/img/screens/archive/tabFontSize.png", + "/img/screens/archive/tabs.png", + "/img/screens/archive/themeDisabled.png", + "/img/screens/archive/themeGroups.png", + "/img/screens/archive/themeSelector.png", + "/img/screens/archive/themedColor.png", + "/img/screens/archive/themedProjectBar.png", + "/img/screens/archive/thickness.png", + "/img/screens/archive/titleBarOptions.png", + "/img/screens/archive/titlebarThemed.png", + "/img/screens/archive/toolbar.png", + "/img/screens/archive/toolsMenu.png", + "/img/screens/archive/transparenter.png", + "/img/screens/archive/treeFont.png", + "/img/screens/archive/uppercasebold.png", + "/img/screens/archive/useEditorDefaultFont.png", + "/img/screens/archive/widgetStatusbar.png", + "/img/screens/archive/widgetsMenu.png", + "/img/screens/archive/withBorder.png", + "/img/screens/archive/withColorizedTitle.png", + "/img/screens/archive/withContrast.png", + "/img/screens/archive/withCustomBorder.png", + "/img/screens/archive/withProjectFrame.png", + "/img/screens/archive/withTabHighlighter.png", + "/img/screens/arrows/arrows.png", + "/img/screens/arrows/circle.png", + "/img/screens/arrows/material.png", + "/img/screens/arrows/none.png", + "/img/screens/arrows/plusMinus.png", + "/img/screens/arrows/triangle.png", + "/img/screens/atom/atomMaterial.png", + "/img/screens/atom/atomMaterialSettings.png", + "/img/screens/atom/biggerIcons.png", + "/img/screens/atom/customAssociations.png", + "/img/screens/atom/decoFolders.png", + "/img/screens/atom/file-icons.png", + "/img/screens/atom/hideFileIcons.png", + "/img/screens/atom/hideFolderIcons.png", + "/img/screens/atom/hollowFolders.png", + "/img/screens/atom/monochrome.png", + "/img/screens/atom/normalIcons.png", + "/img/screens/atom/psiIcons.png", + "/img/screens/atom/psiStructure.png", + "/img/screens/atom/vscode.png", + "/img/screens/autoDarkMode.png", + "/img/screens/chrome.png", + "/img/screens/colorSchemes/colorSchemeOverrides.png", + "/img/screens/colorSchemes/fiftyPercentOpaqueDiff.png", + "/img/screens/colorSchemes/fullyOpaqueDiff.png", + "/img/screens/colorSchemes/originalPopupColor.png", + "/img/screens/colorSchemes/originalVCS.png", + "/img/screens/colorSchemes/overrideAccents.png", + "/img/screens/colorSchemes/transparentDiff.png", + "/img/screens/colorSchemes/updatedPopupColor.png", + "/img/screens/colorSchemes/updatedVCS.png", + "/img/screens/colors/catpuccinColors.png", + "/img/screens/colors/cobaltColors.png", + "/img/screens/colors/darkerExcluded.png", + "/img/screens/colors/fileColors.png", + "/img/screens/colors/materialColors.png", + "/img/screens/colors/oceanicExcluded.png", + "/img/screens/colors/scopes.png", + "/img/screens/colors/scopes2.png", + "/img/screens/colors/spaceExcluded.png", + "/img/screens/consent.png", + "/img/screens/contrast/contrast.png", + "/img/screens/contrast/highContrast2.png", + "/img/screens/contrast/highContrast4.png", + "/img/screens/contrast/noContrast.png", + "/img/screens/contrast/noContrast2.png", + "/img/screens/contrast/withContrast.png", + "/img/screens/custom/colorPicker.png", + "/img/screens/custom/colorSchemeSelect.png", + "/img/screens/custom/customThemeSettings.png", + "/img/screens/custom/export.png", + "/img/screens/custom/lightCustomTheme.png", + "/img/screens/custom/loadFrom.png", + "/img/screens/customWallpaper.png", + "/img/screens/features/animatedToolWindows.gif", + "/img/screens/features/appearance.png", + "/img/screens/features/autohide.gif", + "/img/screens/features/centeredEditor.png", + "/img/screens/features/customDirectoriesStyle.png", + "/img/screens/features/customFabActions.png", + "/img/screens/features/customFileColors.png", + "/img/screens/features/customFont.png", + "/img/screens/features/customizeFab.png", + "/img/screens/features/directories.png", + "/img/screens/features/dockingOptions.png", + "/img/screens/features/fab.png", + "/img/screens/features/fabActions.png", + "/img/screens/features/hardWrap80.png", + "/img/screens/features/hardWrapGlobal.png", + "/img/screens/features/moreOverlays.png", + "/img/screens/features/overlays.png", + "/img/screens/features/restoreDefault.png", + "/img/screens/features/toolWindowStates.png", + "/img/screens/features/transparent.png", + "/img/screens/features/veryOpaque.png", + "/img/screens/fileHeader/bottomFileHeader.png", + "/img/screens/fileHeader/centerFileHeader.png", + "/img/screens/fileHeader/customPresets.png", + "/img/screens/fileHeader/fileHeader.png", + "/img/screens/fileHeader/fileHeaderTint.png", + "/img/screens/fileHeader/fontSizeFileHeader.png", + "/img/screens/fileHeader/headerStyle.png", + "/img/screens/fileHeader/hideOtherPanels.png", + "/img/screens/fileHeader/seamlessStyle.png", + "/img/screens/home.png", + "/img/screens/ignores/ignoreList.png", + "/img/screens/ignores/noIgnore.png", + "/img/screens/ignores/tableNoIgnore.png", + "/img/screens/ignores/tableWithIgnores.png", + "/img/screens/ignores/themeIgnores.png", + "/img/screens/ignores/themeSelector.png", + "/img/screens/ignores/withIgnores.png", + "/img/screens/indicators/border.png", + "/img/screens/indicators/boxed.png", + "/img/screens/indicators/dot.png", + "/img/screens/indicators/right.png", + "/img/screens/indicators/sharp.png", + "/img/screens/indicators/underline.png", + "/img/screens/islands/angledCorners.png", + "/img/screens/islands/customBorderColor.png", + "/img/screens/islands/customColor.png", + "/img/screens/islands/fullOpacity.png", + "/img/screens/islands/halfOpacity.png", + "/img/screens/islands/islandsGap.png", + "/img/screens/islands/islandsSettings.png", + "/img/screens/islands/maxGap.png", + "/img/screens/islands/maxInnerSpacing.png", + "/img/screens/islands/maxOuterMargin.png", + "/img/screens/islands/noBorder.png", + "/img/screens/islands/noContrast.png", + "/img/screens/islands/noInnerSpacing.png", + "/img/screens/islands/noOpacity.png", + "/img/screens/islands/noOuterMargin.png", + "/img/screens/islands/roundedCorners.png", + "/img/screens/islands/withBorder.png", + "/img/screens/islands/withContrast.png", + "/img/screens/langs/chinese.png", + "/img/screens/langs/japanese.png", + "/img/screens/langs/korean.png", + "/img/screens/langs/wizard.png", + "/img/screens/license/activateLicense.png", + "/img/screens/license/freeVersion.png", + "/img/screens/license/manageSubscriptions.png", + "/img/screens/materialTabbedPanes.png", + "/img/screens/materialWizard.png", + "/img/screens/newLogo.png", + "/img/screens/other/accentSwitcher.png", + "/img/screens/other/actions.png", + "/img/screens/other/bannerMenu.png", + "/img/screens/other/componentsMenu.png", + "/img/screens/other/featuresMenu.png", + "/img/screens/other/islandsMenu.png", + "/img/screens/other/langagesMenu.png", + "/img/screens/other/otherMenu.png", + "/img/screens/other/quickSwitch.png", + "/img/screens/other/randomizerMenu.png", + "/img/screens/other/spacingMenu.png", + "/img/screens/other/switchMenu.png", + "/img/screens/other/tabsMenu.png", + "/img/screens/other/themeSwitcher.png", + "/img/screens/other/toolbarMenu.png", + "/img/screens/other/toolsMenu.png", + "/img/screens/other/treesMenu.png", + "/img/screens/other/welcomeScreen.png", + "/img/screens/other/whatsnew.png", + "/img/screens/override/colorSelector.png", + "/img/screens/override/editColor.png", + "/img/screens/override/inspector1.png", + "/img/screens/override/inspector2.png", + "/img/screens/override/inspector3.png", + "/img/screens/override/overrideThemeColors.png", + "/img/screens/override/toolWindow.png", + "/img/screens/peek/borderRadiusPeek.png", + "/img/screens/peek/customColorsPeek.png", + "/img/screens/peek/customLinesPeek.png", + "/img/screens/peek/inlinePeek.png", + "/img/screens/peek/peekSettings.png", + "/img/screens/peek/popupPeek.png", + "/img/screens/plugins.png", + "/img/screens/projectFrame/2000gradient.png", + "/img/screens/projectFrame/4000gradient.png", + "/img/screens/projectFrame/600gradient.png", + "/img/screens/projectFrame/colorAllFrame.png", + "/img/screens/projectFrame/colorTitleFrame.png", + "/img/screens/projectFrame/customFont.png", + "/img/screens/projectFrame/customHeight.png", + "/img/screens/projectFrame/customProjectSettings.png", + "/img/screens/projectFrame/customWidth.png", + "/img/screens/projectFrame/customizedText.png", + "/img/screens/projectFrame/presets.png", + "/img/screens/projectFrame/projectBannerWidget.png", + "/img/screens/projectFrame/projectBanners.png", + "/img/screens/projectFrame/projectColors.png", + "/img/screens/projectFrame/projectFrame.png", + "/img/screens/projectFrame/withoutIcon.png", + "/img/screens/projectFrame/withoutText.png", + "/img/screens/randomizer/playlist.png", + "/img/screens/randomizer/randomizerActions.png", + "/img/screens/randomizer/shuffle.png", + "/img/screens/randomizer/themeInterval.png", + "/img/screens/randomizer/themeList.png", + "/img/screens/randomizer/themeRandomizer.png", + "/img/screens/regions/customFont.png", + "/img/screens/regions/customRadius.png", + "/img/screens/regions/customSeparatorColor.png", + "/img/screens/regions/customTextColor.png", + "/img/screens/regions/generateColors.png", + "/img/screens/regions/leftAligned.png", + "/img/screens/regions/line.png", + "/img/screens/regions/regions.png", + "/img/screens/regions/rightAligned.png", + "/img/screens/regions/stripe.png", + "/img/screens/regions/wavy.png", + "/img/screens/schemes/colorschemes.png", + "/img/screens/schemes/colorschemes2.png", + "/img/screens/schemes/quickSwitch.png", + "/img/screens/scrollbars/macScrollSettings.png", + "/img/screens/scrollbars/scrollbarSettings.png", + "/img/screens/scrollbars/scrollbarsSettings.png", + "/img/screens/scrollbars/scrollbarsTrack.png", + "/img/screens/scrollbars/welcomeScreen.png", + "/img/screens/settingsv3/accentColors.png", + "/img/screens/settingsv3/accentMode.png", + "/img/screens/settingsv3/adaptiveTheme.png", + "/img/screens/settingsv3/arrowsStyle.png", + "/img/screens/settingsv3/borderless.png", + "/img/screens/settingsv3/cmdPanel.png", + "/img/screens/settingsv3/contrastMode.png", + "/img/screens/settingsv3/currentTheme.png", + "/img/screens/settingsv3/customTheme.png", + "/img/screens/settingsv3/featureSettings.png", + "/img/screens/settingsv3/hugeHeaderStatusBar.png", + "/img/screens/settingsv3/islands.png", + "/img/screens/settingsv3/langAdditions.png", + "/img/screens/settingsv3/mainSettings.png", + "/img/screens/settingsv3/migrate.png", + "/img/screens/settingsv3/otherTweaks.png", + "/img/screens/settingsv3/overlays.png", + "/img/screens/settingsv3/previewThemeColors.png", + "/img/screens/settingsv3/projectTitle.png", + "/img/screens/settingsv3/projectTitleBar.png", + "/img/screens/settingsv3/quickswitch.png", + "/img/screens/settingsv3/spacing.png", + "/img/screens/settingsv3/spacingNew.png", + "/img/screens/settingsv3/switcher.png", + "/img/screens/settingsv3/tabSettings.png", + "/img/screens/settingsv3/themeIgnores.png", + "/img/screens/settingsv3/themeRandomizer.png", + "/img/screens/settingsv3/themeSelector.png", + "/img/screens/settingsv3/treeSettings.png", + "/img/screens/settingsv3/uiComponents.png", + "/img/screens/spacing/dataViewsLarge.png", + "/img/screens/spacing/dataViewsSmall.png", + "/img/screens/spacing/defaultCells.png", + "/img/screens/spacing/defaultDropdowns.png", + "/img/screens/spacing/largeCells.png", + "/img/screens/spacing/largeComplete.png", + "/img/screens/spacing/largeDropdowns.png", + "/img/screens/spacing/largeFields.png", + "/img/screens/spacing/largeHeader.png", + "/img/screens/spacing/largeLists.png", + "/img/screens/spacing/largeMenus.png", + "/img/screens/spacing/largeStatus.png", + "/img/screens/spacing/smallCells.png", + "/img/screens/spacing/smallComplete.png", + "/img/screens/spacing/smallDropdowns.png", + "/img/screens/spacing/smallFields.png", + "/img/screens/spacing/smallHeader.png", + "/img/screens/spacing/smallLists.png", + "/img/screens/spacing/smallMenus.png", + "/img/screens/spacing/smallStatus.png", + "/img/screens/tabs/animatedtabs.gif", + "/img/screens/tabs/boldTabs.png", + "/img/screens/tabs/customFont.png", + "/img/screens/tabs/largePadding.png", + "/img/screens/tabs/largeThickness.png", + "/img/screens/tabs/largestTabs.png", + "/img/screens/tabs/noTabSeparators.png", + "/img/screens/tabs/normalTabs.png", + "/img/screens/tabs/opaque.png", + "/img/screens/tabs/overrideTabColorGlobal.png", + "/img/screens/tabs/perProjectSettings.png", + "/img/screens/tabs/perProjectsTabColor.png", + "/img/screens/tabs/roundedTabs.png", + "/img/screens/tabs/roundedTabsWithIndicator.png", + "/img/screens/tabs/smallPadding.png", + "/img/screens/tabs/smallRadius.png", + "/img/screens/tabs/smallTabs.png", + "/img/screens/tabs/smallThickness.png", + "/img/screens/tabs/squared.png", + "/img/screens/tabs/tabGlow.png", + "/img/screens/tabs/tabHighlightPosition.png", + "/img/screens/tabs/tabSeparators.png", + "/img/screens/tabs/tabShadow.png", + "/img/screens/tabs/thickBorder.png", + "/img/screens/tabs/thinBorder.png", + "/img/screens/tabs/transparent.png", + "/img/screens/tabs/uppercaseBold.png", + "/img/screens/tabs/uppercaseTabs.png", + "/img/screens/themes/cobalt.png", + "/img/screens/themes/dark.png", + "/img/screens/themes/dokidoki.png", + "/img/screens/themes/earthsong.png", + "/img/screens/themes/gerrystorm.png", + "/img/screens/themes/mauve.png", + "/img/screens/themes/monokai.png", + "/img/screens/themes/noctisSmall.png", + "/img/screens/themes/shadesSmall.png", + "/img/screens/themes/tetra.png", + "/img/screens/themes/vscodedark.png", + "/img/screens/themes/winterSmall.png", + "/img/screens/trees/arrows.png", + "/img/screens/trees/coloredOpen.png", + "/img/screens/trees/condensedView.png", + "/img/screens/trees/customFont1.png", + "/img/screens/trees/customFont2.png", + "/img/screens/trees/expandedView.png", + "/img/screens/trees/gradient.png", + "/img/screens/trees/indicators.png", + "/img/screens/trees/largeLineHeight.png", + "/img/screens/trees/shortLineHeight.png", + "/img/screens/trees/thickGradientBox.png", + "/img/screens/ui/accentScrollbars.png", + "/img/screens/ui/borderful.png", + "/img/screens/ui/borderfulIde.png", + "/img/screens/ui/borderless.png", + "/img/screens/ui/borderlessIde.png", + "/img/screens/ui/circleLoader.png", + "/img/screens/ui/hoverTWButtons.png", + "/img/screens/ui/invertedSelection.png", + "/img/screens/ui/largestFont.png", + "/img/screens/ui/largestSearch.png", + "/img/screens/ui/lowercaseButtons.png", + "/img/screens/ui/macScrollSettings.png", + "/img/screens/ui/macSettings.png", + "/img/screens/ui/material1.png", + "/img/screens/ui/material2.png", + "/img/screens/ui/material3.png", + "/img/screens/ui/material3_2.png", + "/img/screens/ui/material3_3.png", + "/img/screens/ui/miniLoader.png", + "/img/screens/ui/noTintScrollbars.png", + "/img/screens/ui/normalSelection.png", + "/img/screens/ui/notificationsOpaque.png", + "/img/screens/ui/originalHoverTWButtons.png", + "/img/screens/ui/originalToggledButtons.png", + "/img/screens/ui/outlined.png", + "/img/screens/ui/rectNotifications.png", + "/img/screens/ui/rectangularActionButtons.png", + "/img/screens/ui/rectangularButtons.png", + "/img/screens/ui/roundActionButtons.png", + "/img/screens/ui/roundButtons.png", + "/img/screens/ui/roundNotifications.png", + "/img/screens/ui/shadows.png", + "/img/screens/ui/smallestFont.png", + "/img/screens/ui/smallestSearch.png", + "/img/screens/ui/toggledButtons.png", + "/img/screens/ui/transparent.png", + "/img/screens/ui/transparentAccentScrollbars.png", + "/img/screens/ui/transparentScrollbars.png", + "/img/screens/ui/uiComponents.png", + "/img/screens/ui/uppercaseButtons.png", + "/img/screens/wallpapers/darker.png", + "/img/screens/wallpapers/darkviolet.png", + "/img/screens/wallpapers/lighter.png", + "/img/screens/wallpapers/oceanic.png", + "/img/screens/wallpapers/onedark.png", + "/img/screens/wallpapers/palenight.png", + "/img/screens/wallpapers/sakura2.png", + "/img/screens/wallpapers/shades.png", + "/img/screens/widgets/accentWidget.png", + "/img/screens/widgets/projectWidget.png", + "/img/screens/widgets/recentProjects.png", + "/img/screens/widgets/selectTheme.png", + "/img/screens/widgets/switchAccent.png", + "/img/screens/widgets/themeWidget.png", + "/img/screens/widgets/widgetsMenu.png", + "/img/screens/windows/45degGradient.png", + "/img/screens/windows/bottomRight.png", + "/img/screens/windows/centerGradient.png", + "/img/screens/windows/doubleGradient.png", + "/img/screens/windows/generateColors.png", + "/img/screens/windows/gradient1.png", + "/img/screens/windows/gradient2.png", + "/img/screens/windows/leftCenter.png", + "/img/screens/windows/solidFill.png", + "/img/screens/windows/topRight.png", + "/img/screens/wizard.png", + "/img/screens/wizard/accentStep.png", + "/img/screens/wizard/contrastStep.png", + "/img/screens/wizard/finishStep.png", + "/img/screens/wizard/forest.png", + "/img/screens/wizard/sandybeach.png", + "/img/screens/wizard/settingsMenu.png", + "/img/screens/wizard/settingsStep.png", + "/img/screens/wizard/skyblue.png", + "/img/screens/wizard/synthwave.png", + "/img/screens/wizard/themesStep.png", + "/img/screens/wizard/volcano.png", + "/img/screens/wizard/welcomeStep.png", + "/img/slack/arcdark.png", + "/img/slack/darker.png", + "/img/slack/deepocean.png", + "/img/slack/dracula.png", + "/img/slack/github.png", + "/img/slack/lighter.png", + "/img/slack/lightowl.png", + "/img/slack/monokai.png", + "/img/slack/nightowl.png", + "/img/slack/oceanic.png", + "/img/slack/onedark.png", + "/img/slack/onelight.png", + "/img/slack/palenight.png", + "/img/slack/solardark.png", + "/img/slack/solarlight.png", + "/img/themes/arcdark.png", + "/img/themes/cobalt2.png", + "/img/themes/darker.png", + "/img/themes/deepocean.png", + "/img/themes/dracula.png", + "/img/themes/forest.png", + "/img/themes/github.png", + "/img/themes/githubdark.png", + "/img/themes/horizon.png", + "/img/themes/horizonBright.png", + "/img/themes/lighter.png", + "/img/themes/lightowl.png", + "/img/themes/monokai.png", + "/img/themes/moonlight.png", + "/img/themes/nightowl.png", + "/img/themes/noctis.png", + "/img/themes/oceanic.png", + "/img/themes/omni.png", + "/img/themes/onedark.png", + "/img/themes/onelight.png", + "/img/themes/palenight.png", + "/img/themes/prism.png", + "/img/themes/prismLight.png", + "/img/themes/sandybeach.png", + "/img/themes/shadesOfPurple.png", + "/img/themes/skyblue.png", + "/img/themes/solardark.png", + "/img/themes/solarlight.png", + "/img/themes/space.png", + "/img/themes/synthwave.png", + "/img/themes/volcano.png", + "/img/themes/winterIsComing.png", + "/img/tutorial/externalList.png", + "/img/tutorial/newPlugin.png", + "/img/tutorial/pluginExample.png", + "/img/tutorial/plugins.png", + "/img/tutorial/pluginxml.png", + "/img/tutorial/vibrantInk.png" +] diff --git a/e2e/fixtures/old-urls.ts b/e2e/fixtures/old-urls.ts new file mode 100644 index 0000000..6a08e8a --- /dev/null +++ b/e2e/fixtures/old-urls.ts @@ -0,0 +1,104 @@ +// Every URL of the old Jekyll site (inventory #176) and what the new site must do with it. +// `redirects` and `gone` entries are exhaustive; docs pages are listed once and also tested without the trailing slash. + +export const docsPages = [ + '/docs/about-subscription-model/', + '/docs/acknowledgements/', + '/docs/analytics/', + '/docs/archives/', + '/docs/changelog/', + '/docs/configuration/accent-mode/', + '/docs/configuration/accents/', + '/docs/configuration/adaptive-theme/', + '/docs/configuration/color-schemes/', + '/docs/configuration/contrast/', + '/docs/configuration/custom-themes/', + '/docs/configuration/excluded-files-colors/', + '/docs/configuration/features-settings/', + '/docs/configuration/file-header-settings/', + '/docs/configuration/file-status-colors/', + '/docs/configuration/islands-settings/', + '/docs/configuration/language-additions/', + '/docs/configuration/license-info/', + '/docs/configuration/other-tweaks-settings/', + '/docs/configuration/peek/', + '/docs/configuration/project-title-bar-settings/', + '/docs/configuration/quick-actions-panel/', + '/docs/configuration/recommended-plugins/', + '/docs/configuration/regions/', + '/docs/configuration/scrollbars/', + '/docs/configuration/settings/', + '/docs/configuration/spacing-settings/', + '/docs/configuration/status-bar-widgets/', + '/docs/configuration/tab-settings/', + '/docs/configuration/theme-color-overrides/', + '/docs/configuration/theme-ignores/', + '/docs/configuration/theme-randomizer/', + '/docs/configuration/trees-settings/', + '/docs/configuration/ui-component-settings/', + '/docs/configuration/window-coloring/', + '/docs/development/external-themes/', + '/docs/eula/', + '/docs/faq-troubleshooting/', + '/docs/getting-started/', + '/docs/icons/associations-editor/', + '/docs/icons/atom-material-icons-plugin/', + '/docs/introduction/', + '/docs/other-products/', + '/docs/pricing/', + '/docs/reference/chrome-themes/', + '/docs/reference/color-palette/', + '/docs/reference/components/', + '/docs/reference/wizard/', + '/docs/support-us/', + '/docs/what-s-new/', +]; + +export const otherPages = ['/', '/robots.txt']; + +export const redirects: Record = { + '/docs/': '/docs/introduction/', + '/docs/development/installation_/': '/docs/development/installation/', + '/docs/configuration/ui-components-settings/': '/docs/configuration/ui-component-settings/', + '/docs/configuration/main-settings/': '/docs/configuration/settings/', + '/docs/reference/file-icons/': '/docs/icons/associations-editor/', + '/docs/reference/associations/': '/docs/icons/associations-editor/', + '/docs/reference/folder-associations/': '/docs/icons/associations-editor/', + '/docs/configuration/current-theme/': '/docs/configuration/settings/', + '/docs/configuration/preview-theme-colors/': '/docs/configuration/settings/', + '/docs/configuration/theme-selector/': '/docs/configuration/settings/', + '/docs/configuration/custom-theme/': '/docs/configuration/custom-themes/', + '/docs/configuration/light-custom-theme/': '/docs/configuration/custom-themes/', + '/docs/configuration/features/': '/docs/configuration/features-settings/', + '/docs/configuration/islands/': '/docs/configuration/islands-settings/', + '/docs/configuration/other-tweaks/': '/docs/configuration/other-tweaks-settings/', + '/docs/configuration/project-title-bar/': '/docs/configuration/project-title-bar-settings/', + '/docs/configuration/spacing/': '/docs/configuration/spacing-settings/', + '/docs/configuration/tabs/': '/docs/configuration/tab-settings/', + '/docs/configuration/trees/': '/docs/configuration/trees-settings/', + '/docs/configuration/ui-components/': '/docs/configuration/ui-component-settings/', +}; + +export const gone = [ + '/README/', + '/techstack/', + '/features/01-lookandfeel', + '/features/02-colorschemes', + '/features/03-icons', + '/features/04-components', + '/features/05-customizable', + '/features/06-extensible', + '/techstack.md', + '/techstack.yml', + '/gruntfile.themes.js', + '/scripts/generate-themes.js', + '/dependabot.yml', + '/renovate.json', + '/material-theme-docs.iml', + '/download/blackFridayDiscount.pdf', + '/docs/development/kitchen/', + '/docs/configuration/', + '/docs/icons/', + '/docs/reference/', + '/docs/development/', +]; diff --git a/e2e/icons-reference-development.spec.ts b/e2e/icons-reference-development.spec.ts index 5531d3c..9e48fcd 100644 --- a/e2e/icons-reference-development.spec.ts +++ b/e2e/icons-reference-development.spec.ts @@ -24,12 +24,8 @@ for (const slug of pages) { }); } -test('the Kitchen test page and the old installation URL are not published', async ({ - request, -}) => { - for (const url of ['/docs/development/kitchen/', '/docs/development/installation_/']) { - expect((await request.get(url)).status()).toBe(404); - } +test('the Kitchen test page is not published', async ({ request }) => { + expect((await request.get('/docs/development/kitchen/')).status()).toBe(404); }); test('the Chrome Themes page lists the gallery of themes', async ({ page }) => { diff --git a/e2e/release-notes.spec.ts b/e2e/release-notes.spec.ts new file mode 100644 index 0000000..b0ed574 --- /dev/null +++ b/e2e/release-notes.spec.ts @@ -0,0 +1,22 @@ +import { expect, test } from '@playwright/test'; + +for (const slug of ['what-s-new', 'changelog']) { + test(`${slug} is in the sidebar and renders`, async ({ page }) => { + await page.goto(`/docs/${slug}/`); + + await expect(page.getByRole('heading', { level: 1 })).toHaveCount(1); + await expect(page.locator(`nav.sidebar a[href="/docs/${slug}/"]`)).toHaveAttribute( + 'aria-current', + 'page', + ); + await expect(page.locator('main')).not.toContainText(/\{%|\{\{/); + }); +} + +test('Archives keeps its URL but is not in the sidebar', async ({ page }) => { + await page.goto('/docs/archives/'); + + await expect(page.getByRole('heading', { level: 1 })).toHaveCount(1); + await expect(page.locator('nav.sidebar a[href="/docs/archives/"]')).toHaveCount(0); + await expect(page.locator('main')).not.toContainText(/\{%/); +}); diff --git a/e2e/url-parity.spec.ts b/e2e/url-parity.spec.ts new file mode 100644 index 0000000..0986902 --- /dev/null +++ b/e2e/url-parity.spec.ts @@ -0,0 +1,80 @@ +import { readFileSync } from 'node:fs'; +import { expect, test } from '@playwright/test'; +import { docsPages, gone, otherPages, redirects } from './fixtures/old-urls'; + +// maxRedirects: 0 lets us assert the 301 itself instead of just the final page. +const noFollow = { maxRedirects: 0 }; + +test.describe('old URLs keep working', () => { + for (const path of [...docsPages, ...otherPages]) { + test(`200 ${path}`, async ({ request }) => { + expect((await request.get(path, noFollow)).status()).toBe(200); + }); + } + + // Netlify adds the missing slash itself in production; `netlify serve` does not emulate that, + // so this only runs against a deploy preview (BASE_URL). + for (const path of docsPages) { + test(`301 ${path} without the trailing slash`, async ({ request }) => { + test.skip(!process.env.BASE_URL, 'not emulated by netlify serve'); + + const response = await request.get(path.slice(0, -1), noFollow); + + expect(response.status()).toBe(301); + expect(new URL(response.headers().location, 'http://x').pathname).toBe(path); + }); + } +}); + +test.describe('moved URLs redirect to a live page', () => { + for (const [from, to] of Object.entries(redirects)) { + test(`301 ${from} -> ${to}`, async ({ request }) => { + const response = await request.get(from, noFollow); + + expect(response.status()).toBe(301); + expect(new URL(response.headers().location, 'http://x').pathname).toBe(to); + expect((await request.get(to, noFollow)).status()).toBe(200); + }); + } +}); + +test.describe('dropped URLs return 404', () => { + for (const path of gone) { + test(`404 ${path}`, async ({ request }) => { + expect((await request.get(path, noFollow)).status()).toBe(404); + }); + } +}); + +test.describe('/img hot-links', () => { + const oldImages: string[] = JSON.parse( + readFileSync(new URL('./fixtures/old-img-paths.json', import.meta.url), 'utf8'), + ); + + test('every old /img file is still shipped at the same path', () => { + const missing = oldImages.filter((path) => { + try { + readFileSync(new URL(`../public${path}`, import.meta.url)); + + return false; + } catch { + return true; + } + }); + + expect(missing).toEqual([]); + }); + + for (const path of ['/img/favicon.ico', '/img/brand/logo.png', '/img/themes/arcdark.png']) { + test(`200 ${path}`, async ({ request }) => { + expect((await request.get(path, noFollow)).status()).toBe(200); + }); + } +}); + +test('an unknown URL serves the themed 404 page', async ({ page }) => { + const response = await page.goto('/docs/this-page-does-not-exist/'); + + expect(response?.status()).toBe(404); + await expect(page.getByRole('heading', { level: 1 })).toBeVisible(); +}); diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..79feab9 --- /dev/null +++ b/public/_redirects @@ -0,0 +1,33 @@ +# Real 301s served by Netlify (see decision #180). Netlify applies these before the 404 page. +# Order matters: the first matching rule wins. + +# Canonical host is the bare domain +https://www.material-theme.com/* https://material-theme.com/:splat 301! + +# /docs/ has no index page of its own +/docs/ /docs/introduction/ 301 + +# Slug fixes +/docs/development/installation_/ /docs/development/installation/ 301 +/docs/configuration/ui-components-settings/ /docs/configuration/ui-component-settings/ 301 +/docs/configuration/main-settings/ /docs/configuration/settings/ 301 + +# Reference pages that never existed +/docs/reference/file-icons/ /docs/icons/associations-editor/ 301 +/docs/reference/associations/ /docs/icons/associations-editor/ 301 +/docs/reference/folder-associations/ /docs/icons/associations-editor/ 301 + +# Old settings sub-slugs (listed in the old settings.md) +/docs/configuration/current-theme/ /docs/configuration/settings/ 301 +/docs/configuration/preview-theme-colors/ /docs/configuration/settings/ 301 +/docs/configuration/theme-selector/ /docs/configuration/settings/ 301 +/docs/configuration/custom-theme/ /docs/configuration/custom-themes/ 301 +/docs/configuration/light-custom-theme/ /docs/configuration/custom-themes/ 301 +/docs/configuration/features/ /docs/configuration/features-settings/ 301 +/docs/configuration/islands/ /docs/configuration/islands-settings/ 301 +/docs/configuration/other-tweaks/ /docs/configuration/other-tweaks-settings/ 301 +/docs/configuration/project-title-bar/ /docs/configuration/project-title-bar-settings/ 301 +/docs/configuration/spacing/ /docs/configuration/spacing-settings/ 301 +/docs/configuration/tabs/ /docs/configuration/tab-settings/ 301 +/docs/configuration/trees/ /docs/configuration/trees-settings/ 301 +/docs/configuration/ui-components/ /docs/configuration/ui-component-settings/ 301 diff --git a/scripts/convert-docs.mjs b/scripts/convert-docs.mjs deleted file mode 100644 index 19b850f..0000000 --- a/scripts/convert-docs.mjs +++ /dev/null @@ -1,302 +0,0 @@ -#!/usr/bin/env node -// One-off converter: Jekyll docs (docs/**/*.md) -> Starlight MDX (src/content/docs/docs/**/*.mdx). -// -// node scripts/convert-docs.mjs docs/introduction.md docs/getting-started.md -// node scripts/convert-docs.mjs --out /tmp/out docs/*.md (dry run into another folder) -// -// It implements the rules decided in #181 and prints a warning for everything it can't convert, -// so those spots can be fixed by hand. Deleted in the URLs and redirects ticket. -import fs from 'node:fs'; -import path from 'node:path'; -import { dump, load } from 'js-yaml'; - -const ASIDES = { - 'card-panel warn': 'caution', - 'card-panel info': 'note', - 'card-panel danger': 'danger', - 'card-panel': 'note', -}; - -const warnings = []; -const warn = (file, message) => warnings.push(`${file}: ${message}`); - -// Splits the body into prose and fenced code blocks, so transforms never touch code. -function splitFences(body) { - const segments = []; - let current = { fence: false, lines: [] }; - let marker = null; - - for (const line of body.split('\n')) { - const fence = line.match(/^\s*(```+|~~~+)/); - - if (!marker && fence) { - segments.push(current); - current = { fence: true, lines: [line] }; - marker = fence[1][0]; - } else if (marker && fence && fence[1][0] === marker) { - current.lines.push(line); - segments.push(current); - current = { fence: false, lines: [] }; - marker = null; - } else { - current.lines.push(line); - } - } - - segments.push(current); - - return segments; -} - -function convertFrontMatter(raw, file) { - const data = load(raw) ?? {}; - const out = { title: data.title }; - - if (data.description) { - out.description = data.description; - } - - if (data.toc === false) { - out.tableOfContents = false; - } - - if (Array.isArray(data.gallery)) { - out.gallery = data.gallery; - } else if (data.gallery?.themes) { - out.chromeThemes = data.gallery.themes; - } else if (data.gallery) { - warn(file, 'unknown gallery front matter shape, left out'); - } - - if (data.wallpapers) { - out.wallpapers = data.wallpapers; - } - - return `---\n${dump(out, { lineWidth: -1, quotingType: "'" })}---\n`; -} - -// {% for theme in site.data.themes.X %} loops (possibly several in a row) -> one component. -function convertLoops(text, file) { - const loop = String.raw`\{%\s*for\s+(\w+)\s+in\s+([\w.]+)\s*%\}([\s\S]*?)\{%\s*endfor\s*%\}`; - const run = new RegExp(String.raw`(?:${loop}\s*)+`, 'g'); - const one = new RegExp(loop, 'g'); - - return text.replace(run, (block) => { - const loops = [...block.matchAll(one)].map((m) => ({ - source: m[2], - body: m[3], - })); - const groups = loops - .map((l) => l.source.match(/^site\.data\.themes\.(\w+)$/)?.[1]) - .filter(Boolean); - const body = loops[0].body; - - if (loops[0].source === 'site.data.contributors') { - return ''; - } - - if (loops[0].source === 'site.data.colors') { - return '\n'; - } - - if (loops[0].source === 'page.wallpapers') { - return '\n'; - } - - if (groups.length !== loops.length) { - warn(file, `unknown loop source ${loops[0].source}`); - - return block; - } - - const list = `groups={[${groups.map((g) => `'${g}'`).join(', ')}]}`; - - if (body.includes('theme-card.html')) { - return `\n`; - } - - const colors = body.match(/color\.html\s+color=theme\s+field="(\w+)"/); - - if (colors) { - return `\n`; - } - - if (/\{\{\s*theme\.name\s*\}\}/.test(body)) { - const prefix = body.match(/>\s*([^<>{}]*?)\s*\{\{\s*theme\.name/)?.[1] ?? ''; - const prefixProp = prefix ? ` prefix="${prefix} "` : ''; - - return `\n`; - } - - warn(file, `unrecognised loop body for ${loops[0].source}`); - - return block; - }); -} - -function convertProse(text, file) { - let result = text; - - result = result.replace(/^[ \t]*\{%\s*include\s+carbonads\.html\s*%\}[ \t]*\n?/gm, ''); - - // The wallpapers masonry wrapper is replaced together with its loop. - result = result.replace( - /
]*>\s*\{%\s*for\s+wallpaper[\s\S]*?\{%\s*endfor\s*%\}\s*<\/div>/g, - '', - ); - - // The ul wrapping a theme loop is now rendered by the component. - result = result.replace( - /\s*(\{%\s*for\s+theme[\s\S]*?\{%\s*endfor\s*%\})\s*<\/ul>/g, - '$1', - ); - - result = convertLoops(result, file); - - result = result.replace(/\{%\s*include\s+chromethemes\.html\s*%\}/g, ''); - result = result.replace( - /\{%\s*include\s+recommended-plugins\.html\s*%\}/g, - '', - ); - result = result.replace( - /\{%\s*include\s+figure\.html\s+content="([^"]*)"\s+caption="([^"]*)"\s*%\}/g, - '
', - ); - - 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) => { - 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); - - return convertLines(result, file); -} - -// Escapes MDX-significant characters, except inside inline code: braces, `<` that is not a tag, -// and markdown autolinks (, ) which MDX doesn't support. -function escapeBraces(line) { - return line - .split(/(`+[^`]*`+)/) - .map((part, index) => - index % 2 - ? part - : part - .replace( - /<((?:https?:\/\/|mailto:)[^\s<>]+|[^\s<>@]+@[^\s<>]+)>/g, - (_, target) => - `[${target}](${target.includes('@') && !target.startsWith('mailto:') ? `mailto:${target}` : target})`, - ) - .replace(/<(?=[\d\s=])/g, '<') - .replace(/(?\s*$/; -const ial = /^\{:\s*class=['"]([^'"]+)['"]\s*\}\s*$/; - -function convertLines(text, file) { - const out = []; - - for (const line of text.split('\n')) { - const match = line.match(ial); - - if (!match) { - out.push(generated.test(line) ? line : escapeBraces(line)); - continue; - } - - // An IAL applies to the paragraph just above it. - let start = out.length; - - while (start > 0 && out[start - 1].trim() !== '') { - start--; - } - - const block = out.splice(start); - - if (block.length === 0) { - warn(file, `IAL {:class='${match[1]}'} with no paragraph above it`); - continue; - } - - if (block[0].startsWith('|<|\|)/.test(block[0])) { - warn( - file, - `IAL {:class='${match[1]}'} follows a non-paragraph block: "${block[0].trim().slice(0, 40)}"`, - ); - } - - if (match[1] === 'title') { - out.push('
', '', ...block, '', '
'); - } else if (ASIDES[match[1]]) { - out.push(`:::${ASIDES[match[1]]}`, ...block, ':::'); - } else { - warn(file, `unknown IAL class '${match[1]}'`); - out.push(...block); - } - } - - return out.join('\n'); -} - -export function convert(source, file) { - const parts = source.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/); - - if (!parts) { - throw new Error(`${file}: no front matter`); - } - - const frontMatter = convertFrontMatter(parts[1], file); - const body = splitFences(parts[2]) - .map((s) => (s.fence ? s.lines.join('\n') : convertProse(s.lines.join('\n'), file))) - .join('\n') - .replace(/\n{3,}/g, '\n\n'); - - for (const m of body.matchAll(/\{%.*?%\}|\{\{.*?\}\}/g)) { - warn(file, `leftover Liquid: ${m[0]}`); - } - - return `${frontMatter}\n${body.trim()}\n`; -} - -function main(args) { - let outDir = 'src/content/docs'; - const files = []; - - for (let i = 0; i < args.length; i++) { - if (args[i] === '--out') { - outDir = args[++i]; - } else { - files.push(args[i]); - } - } - - for (const file of files) { - const target = path.join(outDir, file.replace(/\.md$/, '.mdx')); - - fs.mkdirSync(path.dirname(target), { recursive: true }); - fs.writeFileSync(target, convert(fs.readFileSync(file, 'utf8'), file)); - console.log(`${file} -> ${target}`); - } - - warnings.forEach((w) => console.warn(`WARN ${w}`)); -} - -main(process.argv.slice(2)); diff --git a/src/content/docs/docs/archives.mdx b/src/content/docs/docs/archives.mdx new file mode 100644 index 0000000..c407be0 --- /dev/null +++ b/src/content/docs/docs/archives.mdx @@ -0,0 +1,2752 @@ +--- +title: What's new - Archives +--- + +## What's new in Material Theme UI v10.10.0 + +This version includes a quick hotfix to fix some urgent issues regarding the screenshots and the tool window opacity. But we've also delivered small improvements for the Rounded Tabs. + +### Rounded Tabs Padding and Radius + +This version includes two new settings to control the padding and the radius of the rounded tabs. + +
+ +### Other + +We've changed the domain name for the screenshots, in order to serve them more efficiently. We've also fixed the issue with the tool windows opacity on Islands mode that was not being applied correctly + +Enjoy! + +---- + +## What's new in Material Theme UI v10.9.0 + +New year, new version! This version fixes a few issues related to the **Theme Randomizer** and the **Rounded Tabs**, as well as a new feature: **Custom Search Everywhere**, allowing you to customize the search everywhere popup. + +### Customize Search Everywhere + +A new feature has been added to the **UI Components** settings, **Custom Search Everywhere**, allowing you to customize the UI of the search everywhere popup. + +
+ +This feature is available in the Free plan, but further customization is only available in the Premium plan: +- Custom padding +- Custom font size + +### Other Fixes and Improvements + +- Fix some freezes when trying to select a theme in the randomizer. +- Add screenshots inside Settings to help users understand the settings better. +- **Enable Tab Customization** setting: Allows disabling the customization of tabs altogether. +- Fix the **Theme Selector** settings page not persisting the theme on restart +- Make the **Rounded Tabs** smoother with antialiasing +- Fix the **Tab Highlight Position** settings being selectable while on the free plan. + +---- + +## What's new in Material Theme UI v10.8.0 + +This version opens the **Rounded Tabs** feature to all users, an option to control the size of the rounded tabs border, and brings the **Material Wallpaper** feature to external themes. + +### Material Wallpaper for all themes + +The **Material Wallpaper** feature is now available for all themes, not only the bundled Material Themes. This was done by generating the wallpaper from the theme's colors on the fly, rather than using a pre-defined image. + +Examples from a few themes from the Marketplace: + +
+ +
+ +
+ +
+ +:::caution +**Note**: Enabling Wallpapers will prevent the **gradients** from being displayed on the Application Frame in the new Islands Layout! +::: + +---- + +### Rounded Tabs Settings + +Another option is the ability to control the size of the border for the Rounded Tabs. + +
+ +
+ +---- + +### Other Fixes + +Aside from these new features, we tried to fix a few issues related to the new Islands Layout to make it blend it better with external themes. + +We also fixed the issue with the __Project Title Frame__ that was stuck to the left upon switching themes. + +We hope you enjoy the new version! + +Happy coding! + +---- + +## What's new in Material Theme UI v10.7.0 + +This version focuses on improving the **Islands** layout to look more like the original design, and its integration with the _Project Title Frame_. + +### Islands Layout improvements + +This version brings a refurbished version of the _Islands Layout_, following the official guidelines: +- The background color is now inherited from the main frame. +- The tool window stripes are also inherited from the main frame. +- The tabs are using the same color as the islands' background color. +- A slight border has been added to help distinguish the islands. + +For that purpose, a few settings have been added to the _Islands Settings_: +- **Contrast Mode**: Set a lighter background color for the main window, contrasting with the islands and the editor +- **Custom Background**: Same as before, set your own background color +- **Border Color**: Set a border color for the islands +- **Custom Border Color**: Specify your own border color + +### Project Title Frame Integration + +In addition, the _Project Title Frame_ is now integrated with the _Islands Layout_ by inheriting the background color from the main frame as well. The previous experimental solution was not working properly, therefore it has been removed in favor of this new solution. + +### Screenshots: + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +---- + +## What's new in Material Theme UI v10.6.0 + +### Fixes + +- Make the _Islands_ layout available to the free plan +- Fix the `{{fileIcon}}` to return the actual file icon +- *Experimental*: Provide a custom solution to paint a gradient on the _Project Title Frame_ + +---- + +## What's new in Material Theme UI v10.5.0 + +### Features + +#### New Options for the Project Title Frame: + +- Customize Width and Height of the Stripe +- Customize Font and Font Size +- New Macro: `{fileIcon}`: now you can display the file icon in the _Project Title Frame_. + +
+ +#### Islands Layout's improvements + +- Use the native Islands background for the *Application Frame* when all title options are off. +- Hide tool window borders when the *Islands* mode is enabled + +### Fixes + +- Fix asynchronous issue for the `{modulePath}` and `{subProject}` macros +- Add new UI properties, such as the _Alert Dialogs_ + +---- + +## What's new in Material Theme UI v10.4.1 + +### Features + +- Add a setting to the **Islands** to control the opacity of inactive windows +- Touch up the appearance of the *Islands layout'* tabs to be similar to the rounded tabs + +### Fixes + +- Fix the **Islands Border Insets** settings +- Adapt the plugin to the new *Tab Painter* when the Islands layout is enabled +- Remove the confirmation for closing projects + +## What's new in Material Theme UI v10.4.0 + +## Disable Favorite Themes on the fly + +A new button has been added to the **Favorite Themes Shuffle** tool window, to allow you to disable the selected theme on the fly, rather than having to open the settings to disable them. + +
+ +## Other Fixes + +- Fix again the issue with persisting Favorite Themes. +- Fix the wrong identifier for the _Islands_ Plugin +- Prevent a crash when selecting the first theme in the randomizer +- Change the color of the identifier under caret to be consistent with the other identifiers +- Better support for the _Compact Mode_ + +---- + +## What's new in Material Theme UI v10.3.0 + +### Rounded Tabs Opacity + +You can now customize the opacity of the rounded tabs. + +
+ +In addition, tabs using custom *File Colors* are now more opaque, providing a better visualization. + +### Sub-Project support in Project Title Frame + +A new pattern has been added to the **Project Title Frame**, `{subProject}` to reference a different sub-project when running in a **multi-project** setup. + +
+ +> Note: Multi-project setups are available for all IDEs except IntelliJ IDEA, Rider and Android Studio. They are allowing you to open multiple projects in the same window, using the "Attach Project" feature at `File > Attach Project`. + +### Fixes + +This version also fixes the issue of the *Theme Randomizer* not persisting the disabled themes across restarts. + +---- + +## What's new in Material Theme UI v10.2.0 + +This version fixes issues related to the **Theme Randomizer** feature, as well as many other issues that were reported by the community. + +### Custom Active Tab + +A new setting has been added to the **Tabs Settings** to allow customizing the active tab background color. This is done natively from the **Color Scheme General Colors** settings, but the plugin was overriding this behavior to provide its own colorization. + +From now on, you can again customize the colors from the Color Scheme, as long as you have the setting enabled. + +### Fixes + +- Fix an issue where selecting the first theme in the _Theme Randomizer_ freezes the IDE (hopefully) +- Constraint the icon size in the _Theme Randomizer_ tables to 16x16. +- __Rounded Tabs__: Change the selected tab color to a transparent accent color, to mimic the new Islands Design's tabs. +- __Rounded Tabs__: Add a subtle border to inactive tabs, to make them more distinguishable. +- __Accent Mode__: Make the active tab use the *Accent Color* instead of the usual *Background Color* +- __Islands Layout__: Change the default settings to make the islands more spaced with each other. +- __Outline Buttons__: Fix the shape of the focused buttons outline when a custom _Button Radius_ is set. +- __Plugins__: [#579] _GitHub Copilot Chat Window_ style is now correctly indented. +- __Plugins__: [#568] [#580] Fix Gemini and Junie plugins not being able to load when *Compact Menus* is enabled + +## What's new in Material Theme UI v10.1.0 + +This version focuses on issues related to the **Theme Randomizer** feature. + +### Favorite Themes Playlist + +The previous implementation of the randomizer was a bit too naive and didn't produce the right results. It would give the same theme over and over, prevents you from selecting non material themes, you can't disable specific themes, etc. + +As a result, the whole feature has been reworked to a different approach: **Favorite Themes Playlist**. + +In this implementation, rather than selecting a theme at random, the plugin will instead generate a "playlist" of themes from the selected favorite themes, and will switch to the next theme in the playlist at the specified interval, like a music playlist. + +
+ +This playlist will be displayed in the tool window that was used to display the next theme countdown. It will display the current selected theme, as well as buttons to switch to the next or previous theme in the playlist. There is also a button to shuffle the playlist manually. + +## What's new in Material Theme UI v10.0.0 + +After long months without updates, the Material Theme UI is proud to announce the release of version 10.0.0, which brings a few new features to the plugin. + +These features are reserved for premium users, but will be available to all for a limited time, so you can try them out, and because it is brand new, so it might contain bugs. + +### Theme Randomizer + +As the Material Theme UI contains quite a lot of themes, it can be challenging to choose one that fits your needs. This is why the plugin now comes with a **Theme Randomizer** feature, which will randomly switch the theme at a random interval of your choice. + +
+ +From these settings you can select the themes you want to include in the randomization, as well as the _interval_ at which the theme will be changed. You can also customize the _weight_ of the theme, e.g., the rate at which the theme will be selected. The less the number, the less likely the theme will be selected. + +:::caution +Note: The randomizer will only switch between Dark or Light themes respectively. This means that if you are using a Dark theme, the randomizer will only switch between _Dark themes_, and the same for Light themes. +::: + +Also, there's a new _Tool Window_ which will display the remaining time before the next theme change. This allows you to understand how long you have before it switches. + +
+ +:::caution +Note: Changing anything in the settings will reset the countdown. +::: + +### Islands Layout + +Since version 2025.2 JetBrains introduced a newer layout for the IDE, called **Islands Layout**. This layout, originally only present in Fleet, is now getting added to the main products, providing a more modern and flexible layout for the IDE. + +
+ +However, this new layout is only available for the new themes, **Single Island** and **Multiple Islands**. Other themes will still be using the current layout (but this might change in the future). + +In consequence, the Material Theme UI allows you to enable this layout for any other theme, all the while providing you with customization options for this layout. + +
+ +In the settings, you will find options that allow you to control the background color of the canvas, the spacing between the islands, the arc radius, and the gap between the islands and the tool windows. + +
+ +Moreover, associated with other features, you can be creative to have the *Islands Layout* the way you want it to be. + +For example, you can use the **Contrast Mode** for a better contrast between the islands. + +
+ +You can also set a custom background color between the islands: + +
+ +Finally, you can also use the **Background Image** feature to set a custom background image for the background. + +
+ +:::caution +Note: This layout requires closing all projects when you change the settings. +::: + +### Rounded Buttons + +A new setting has been added to the **UI Components**: **Rounded Buttons**. This setting will allow you to control the border radius of all buttons in the IDE, making them more rounded or less rounded, according to your tastes. + +
+ +---- + +## What's new in Material Theme UI v9.8.0 + +### Better Rounded Tabs + +The **Rounded Tabs** setting has been improved to provide a better contrast between the selected and unselected tabs. + +Now the selected tab sports a border with the accent color, to make it more distinguishable from the unselected tabs. Moreover, the tabs use the highlight color on hover, to make it more prominent. + +
+ +
+ +### Fixes + +- Fix the title bar colors seeping out of the _Left_ and _Right_ tool windows. +- Fix specific comboboxes' issue where the arrows and the combobox were overlapping. +- Make the **Tab Separators** more visible. + +---- + +## What's new in Material Theme UI v9.7.0 + +This version fixes a list of long-standing issues, as well as some new features. + +### Use Editor Global Font for the Console + +The **Use Editor Global Font** setting now allows you to set the Global Font for the Console as well. + +### Other Fixes + +This version also includes it's set of bug fixes and improvements: + +- Fix the theme not being applied at start in some cases +- Fix the **Uppercase Tabs** setting not being applied +- Fix the freezing on the IDE when changing multiple settings at once +- Removes a bunch of internal uses to be compliant with the new JetBrains guidelines + +---- + +## What's new in Material Theme UI v9.5.0 + +Yet another small update but with some new features worth checking. + +### Rounded Tabs + +As the New UI is now the default for all users, it's now become easier to add more customization to the UI. + +To celebrate that, we are introducing a new setting to customize the tabs' design: **Rounded Tabs**. + +
+ +This feature mimics the new tab design introduced by Google in their navigator, _Google Chrome_, which makes the tabs more rounded and looking like pressed buttons. + +This design isn't popular with everyone, so it's disabled by default, but you can give it a shot in the **Material Theme > UI Components** settings. + +### Other fixes + +- Add Sticky Lines background to color scheme +- Fix parameter colors in Color schemes +- Fix performance issue when multiple settings are modified + +---- + +## What's new in Material Theme UI v9.4.0 + +This version only brings bug fixes and improvements + +### Fixes + +- Refactor locale management to support the new framework +- Fix deprecations +- Fix Cancel Button not working on Custom Theme Settings +- Fix "Auto expanding" search and replace +- Support for 2024.2 + +----- + +## What's new in Material Theme UI v9.3.0 + +This version introduces small features and improvements to the plugin. + +### Custom Action Button Radius + +As a follow-up to the feature introduced in version 9.2.0, **Use Original Tool Window Hover Buttons**, this version introduces yet another feature requested by the community to control the border radius of all _Action Buttons_. + +You can find this setting in the **Material Theme > UI Components Settings** + +
+ +Comparison: + +
+ +
+ +
+ +### More Overlays + +This setting supplements the **Overlays** setting by adding way more triggers to the list of popups that trigger the overlays. + +Currently, the Overlays are displayed when most popups are displayed. However, there are still a few popups that do not trigger the overlays, such as the **Find In Files** popup, or the **Git Branches**, as this would be too intrusive for some users. + +But there are people that do not mind the overlays, and as such, this setting was added to allow those users to display the overlays in much more cases, such as the aforementioned examples, but also: +- When **dropdowns** are opened +- When **light popups** are opened +- etc. + +
+ +
+ +This setting is disabled by default to not get in the way of the users' workflow, but you can enable it in the **Material Theme > Features** settings. + +### Others + +- **Color Schemes**: Change the color of the *Identifier Under Caret* to be a shade of the Accent Color +- **Color Schemes**: Change the default console font to _Hack_ with fallback to _JetBrains Mono_ +- **Color Schemes**: Add Prompt separator Color +- Fix removal of underscore in the *Project Title Widget* +- Fix display of *TypeScript Additions* settings page +- Fix discrepancy between the *Editor Tabs* and *Tool Windows Tabs* +- Color Schemes: Fix _Micronaut_ and _Angular Template_ background colors +- Color Schemes: Fix _Angular Signals_ color +- Color Schemes: Add a different color for *MongoDB properties* +- Language Additions: Deprecate the _Severity Provider_ to use regular annotations again + +---- + +## What's new in Material Theme UI v9.2.0 + +### Use Original Tool Window Hover Buttons + +This feature is the result of a particular demand by some users to restore the original design of the tool windows buttons. + +As you may know, the plugin changed the look and feel of those buttons to look like the Material Design look and feel, by replacing them with a transparent circle of the accent color. However some users preferred the original look of the buttons, and as such, this feature was added to the plugin. + +
+ +### Other Bug fixes and improvements + +- **Java Additions**: Add `null` and `final` additions +- Refactor the **Theme Selector** to improve performance and limit freezes +- Fix the issue where buttons become spaced out when changing the **Custom Header Height** setting. +- Adds back the _Selected Tool Window indicator_. +- Fix the issue where the **Arrows Style** setting was disabled if the Atom Material Icons plugin was installed but + disabled. +- Fix issue with large buttons +- Fix issue with Toolbar icons unavailable on the free plan +- Fix issue with File Color Gray +- Fix _Custom Line Height_ setting not having any effect +- Change default value of `Centered Editor` to false +- Fix default button height +- Fix custom line height not being applied + +---- + +## What's new in Material Theme UI v9.1.0 + +This version fixes a few problems with color schemes, as well as improves the onboarding screen for new users and also for migrating users to the version 9.0.0. + +### New On-boarding Screen + +If you've been using the plugin until now, chances are that you have your own configuration throughout the years. + +However, version 9.0.0 restructured how settings are kept, and as a result a migration is necessary to migrate the settings to the new format. + +To help existing users with that, a new onboarding screen has been added to the plugin, which will guide you through the migration process. + +
+ +This screen will only show us once and will trigger the migration process. + +**Note**: You can still re-run the migration process manually through the `Actions > Material Theme Features > Migrate Settings`. + +### New Setting: Material Design Loading Icon + +This setting will return the old loading icon from Material Design, which was removed at some point in the past. + +
+ +**Note**: You will have to reset the IDE for the changes to take effect. + +### Other Bug fixes and improvements + +- **File Colors**: Set *Gray* as _Excluded Files_ color +- **Overlays**: Fix overlays not being triggered on some cases +- Prevent NPE on MTButton +- Prevent NPE when the *Python* plugin is installed +- **Color Schemes**: Add _New Terminal_ colors +- **Color Schemes**: Add _JVM Logging_ colors +- **Color Schemes**: Add _Tabs Scrollbar_ colors +- **Color Schemes**: Add _Error Stripe_ colors on Searches + +---- + +## What's new in Material Theme UI v9.0.0 + +Hello everyone, welcome for a new round of Material Theme UI updates. First, I would like to apologize for the lateness in updating the documentation since the latest version, this year has been very rough for me, but after long months of work, the new version is here, albeit still in its early phases, so bugs and performance issues can still be experienced at this point, but hopefully they will be less and less as time goes on. + +So what's new in tow? + +### New Settings + +The first thing you will notice is the new settings page. This is a complete overhaul of the settings page, which was long overdue. Since the beginning of the plugin, there has been only two settings overhauls, the last one going as far back as 2017 (!). Back then, the settings were organized into tabs, each tab responsible for a specific part of the plugin. + +This was a good idea at the time, but as the plugin grew, so did the settings, and it started to become cramped in there, and it began being difficult to add more settings without breaking the UI. + +This is why the new settings page is now organized into different pages, each page representating what was once inside a tab. This makes it easier to find the setting you are looking for, and it also makes it easier to add new settings in the future. + +The new settings page is more organized, more intuitive, and using a different technology: `Kotlin UI DSL` rather than pure Swing. This makes it easier to maintain and to add new features in the future. + +
+ +
+ +
+ +As a result of that change, the settings need to be migrated to a new format, as such, the new settings are to be found in a file named `material_theme_new.xml` as opposed as the previous `material_theme.xml`. Therefore, you will need to migrate your previous configuration before using the plugin. This is a one-time operation, and you will be prompted to do so when you first open the IDE after updating the plugin. + +
+ +Upon clicking migrate, your previous settings will be migrated to the new format, and you will be able to use the plugin as usual. + +> Note: You can still re-run the migration process manually through the Actions > Material Theme Features > Migrate Settings. + +### Centered Editor + +Perhaps the most controversial of the changes, is a new feature called **Centered Editor**. When enabled, it centers the code in the middle of the editor, as opposed as tucked to the left. + +
+ +This feature is based on the already available **Zen Mode** of the IDE, found in _Menu > View > Appearance > Zen Mode_. But, unlike Zen Mode, which also hides all tool windows and tabs, the Centered Editor only centers the code, leaving the rest of the UI intact. + +This is particularly pleasant for people working with the Tool Windows closed, or having the Tool Windows **undocked**, and is similar to the way pages are laid out in the modern web. + +You can find the setting under `Material Theme UI > Features > Centered Editor` + +---- + +### Project Title Bar + +Previously named **Project Frame**, the Project Title Bar sports more options than ever before. For one, it now allows you to control more elements of the screen, namely the _Tool Windows_ and the _Status Bar_! + +
+ +Such options allow you to colorize not only the title bar, but the tool windows and the status bar as well, giving you a more "framed" look of your IDE, similar to the famous VSCode "Peacock" extension. + +
+ +Moreover, a new widget has been added on the Title Bar displaying the same contents of the Project Frame, that you can toggle ON or OFF according to your tastes. + +You can also select from a list of presets for your Title Bar widget. Maybe more will be added in the future! + +
+ +---- + +### Adaptive Theme + +The **Adaptive Theme** is a new theme that adapts itself from the **color scheme**. When selecting that theme, it will select the most suited color from the current color scheme as the theme colors. + +You can also choose to override the colors you want from the Color Scheme Settings Page. + +
+ +---- + +### Current Theme and Custom Theme + +You can now visualize your current theme colors in the Settings page under `Material Theme UI > Current Theme`. + +
+ +This page displays a matrix of the current theme colors, with the ability to copy the theme colors by clicking on a tile. And yes, this works for non-bundled themes too! + +The **Custom Theme** page has also been migrated to the new layout, with the option to assign a different set of colors for the **Light Custom Theme**. + +
+ +--- + +### Theme Selector + +The Theme Selector, previously only available inside the Wizard, is now available in the settings page as well. You can now preview the themes before applying them. + +
+ +> Note: We are aware of the current performance issues with the Theme Selector, and we are working on it. + +### Contrast Settings + +The contrast settings are available in the `Material Theme UI > Contrast` page, just like before. + +
+ +In addition, you can now fine-tune the degree of contrast for the **High Contrast** mode, by adjusting the **Contrast Level** slider. (Only available for premium users). + +--- + +### Accent Mode Revamp + +Another highlight of that new version is the revamp of the Accent Mode. + +
+ +In the new Accent Mode, you will have much more options to control the look of the Accent Mode, +such as the ability to add a second Accent Color, or to toggle which parts of the IDE you don't want to be affected by the Accent Color. + +--- + +### Spacing Settings + +Previously labeled "Compact Settings", the spacing settings have been moved to the `Material Theme UI > Spacing` page, where you can adjust the spacing of the UI elements. + +
+ +There, you can find the previously available compactness options, as well as two brand new settings: **Header Size** and **Status Bar Size**. + +Example of a bigger header and status bars: + +
+ +> Note: Increasing the header size also increases the icons size! Maybe in the future we'll separate the two. + +---- + +### New Project Tree Indicators + +New **Project Tree Indicators** have been added to the list: + +#### Right Border + +
+ +#### Underline + +
+ +#### Boxed + +
+ +In addition, you can select to have a gradient instead of a solid color for the indicators. + +
+ +--- + +### Arrows Style + +Previously only available in the Atom Material Icons plugin, you can now find the **Arrows Style** setting in the `Material Theme UI > Trees > Arrows Style` page. + +
+ +> Note: This setting is only available for users NOT using the Atom Material Icons plugin in conjunction with the Material Theme UI plugin. + +--- + +### Borderless mode + +A new mode is available under `Material Theme UI > UI Components > Borderless Mode`. When enabled, it sets the "Border Color" to be the same color as the background, effectively "hiding" the borders from the UI components. + +
+ +### Round Notifications + +Still on the **UI Components** page, you can now make the notifications round by enabling the **Round Notifications** setting. + +
+ +### Material Circular Loader + +The **Material Circular Loader** is now available in the settings page under `Material Theme UI > UI Components > Material Circular Loader`. + +When enabled, it restores the previous circular loading icon, just like the one found in the Material Design guidelines. + +
+ +--- + +### Custom Overlay Transparency + +From the `Material Theme UI > Features` page, alongside the Overlays feature, you can now fine-tune the transparency of the overlays. + +
+ +----- + +### Language Additions + +The Language Additions now allow you to disable specific languages rather than the whole feature. + +
+ +In addition, languages have much more available options than before, with more keywords added to the tray, allowing for more customization. Oh and **Rust** has been added to the available languages list! + +----- + +### Deprecated Features and Removals + +To conclude that long list of changes, there are two features that have been unshipped from the product due to low adoption and maintenance costs: + +- Recommended Plugins +- Focus Mode + +The **Focus Mode** have since then been adapted to a [separate plugin](https://plugins.jetbrains.com/plugin/21237-focus-mode-2), but it is currently unmaintained, so be aware that there will probably be no more updates unless someone else takes the reins of the project. + +The Recommended Plugins was removed because plugin curation demands time and constant maintenance, and besides it was drafting away from the plugin's core features. + +------ + +Fiou, that was a lot. There are also a lot of bug fixes and improvements, as well as other deprecations and removals, but I think I've covered the most important ones. You can find more information in the changelog. + +Please note that this version is still in its early stages, and bugs and performance issues can still be experienced at this point. But we are working hard to make it better, and we hope you will enjoy the new features! + +That's it, thanks all folks! + +----- + +## What's new in Material Theme UI v8.13.0 + +This version is only available for the 2023.3 EAP, and only consists on being compatible with the latest EAP breaking changes. + +------- + +## What's new in Material Theme UI v8.12.0 + +Yet another bug fix release. + +### Features + +- Add more color options to the _File Colors_ settings + +### Fixes + +- Fix [#386](https://github.com/mallowigi/material-theme-issues/issues/386) +- Fix [#388](https://github.com/mallowigi/material-theme-issues/issues/388) +- Fix [#397](https://github.com/mallowigi/material-theme-issues/issues/397) +- Fix [#398](https://github.com/mallowigi/material-theme-issues/issues/398) + +## What's new in Material Theme UI v8.11.0 + +This version is another bug fix release, mostly focused on Windows and Linux issues. + +### Features + +- Linux/Windows: **Rounded menus** +- Menu Separators: Make menu separators thinner and more subtle + +### Fixes + +- Linux: Fix the _Colorize title bar_ being applied to the whole IDE +- Shadows: Fix spacing making the notifications blend to each other +- Menus: Fix menu item size being too small due to the last update + +## What's new in Material Theme UI v8.10.0 + +### New Feature: Animate Tool Windows + +This release introduces a new feature: **Animate Tool Windows**. This feature allows you to animate the **undocked** tool windows when they are opening/closing. + +
+ +It uses the registry feature behind the scenes, so it's available in the free plans. However, it is disabled on Linux as the animation is not smooth on this platform. + +:::caution +**Important**: Since the animations only show for undocked tool windows, the plugin will ask you if you want to undock all currently opened tool windows. However, if you change your mind, an action "**Dock**" is available in the *Material Theme Toolbar* to dock back the tool windows. +::: + +### New Theme: Material Space + +Another highlight of this release is a new theme: **Material Space**. + +This theme is a dark blue and purple theme reminiscent of the cosmic space. It is based off the theme used in the Apollo GraphQL website, but with Material colors. + +
+ +### Fixes + +Last but not least, this release fixes a few older issues: +- The Project Frame is now **opaque**, so that it doesn't get affected by the background image. +- The **Left indent** and **Right indent** of the _Project Tree_ is now taking values from the registry when the checkbox is unchecked in the settings. It uses with the following algorithm: + - If the plugin's **Custom Tree Indent** setting is checked, the indent is taken from the plugin settings. + - Next, if the _Use smaller indents in trees_ setting is checked (in Settings > Appearance), it will set the right indent to 0. + - Then, if the Registry value is set and not equal to -1, it will use that value for the left and tree indent. + - Finally, it falls back to the default values (10 and 7) + +---- + +## What's new in Material Theme UI v8.8.0 ~ 8.9.0 + +There have been a few small updates to keep up with the changes all the while working on the new settings page. + +### Features + +- Add animating tool windows +- New feature: **Shadows**: Add shadows to the notifications and popups. + +
+ +### Fixes + +- Fix the size of the dropdown items +- Fix regressions caused by the latest EAP +- Changed Run Toolbar Widget color to button color +- Fix the "no displayName" issue + +### Other + +- Refactor code: migrate from MTLafInstaller to MTThemeManager +- Refactor: fix some padding issues +- Add latest UI properties + +---- + +## What's new in Material Theme UI v8.7.0 - 8.7.1 + +Another bugfix release, concentrating on issues happening on Windows: + +### Fixes + +- **Overlays**: Fix the issue with the _Overlays_ being too dark on full screen (#329) +- **Theme**: Fix the transparency issue on the _Tip of the Day_ dialog (#353) (#349) +- **Changelog**: Fix the _Changelog_ not being updated + +### Other + +- Rewrite the Plugin description displayed on the Plugins Page +- Updated screenshots to reflect the most updated state +- Upgrade dependencies + +By the way, you've probably noticed that the releases are much less frequent than before. This is due to the fact that +we've been currently working on a complete overhaul of all the settings page and configuration. This is a huge task, and +we're trying to make it as smooth as possible, so it takes a lot of time. But we're getting there, and we hope to be +able to release it soon! + +--- + +## What's new in Material Theme UI v8.6.0 + +Yet another bug fix release to take care of more annoying issues: + +### Features + +- **Custom Theme**: Listen for color scheme changes while on the custom theme and save it accordingly +- **Project Frame**: Truncate the text displayed on the _Project Frame_'s variables to 150 chars +- **Overlays**: Add _Find in Files_ popup to the list of overlaid popups +- **Mac Tab Bar**: Remove borders + +### Fixes + +- Remove _Panel.background_ and _Viewport.background_ key to force panels to be re-rendered between theme changes (#296) +- Fix the Tab Highlight not appearing on floating windows (#314) +- **Project Frame**: Update the project frame text on tab selection +- **Material Trees**: Support for Trees with custom icons (such as Git Branches) +- **Material Popups**: Fix the Popup windows' title font to be bigger +- **Color Schemes**: Add _Smart command_ colors to color schemes (#305) + +### Other + +- **Refactor**: Replace with Light Services +- **Native Themes**: Try another method of loading resources +- Replace deprecated methods and classes + +Hope this release will make the plugin even more enjoyable! + +Happy Coding! + +---- + +## What's new in Material Theme UI v8.5.0 + +Long time no see! It has been pretty busy lately, with other projects taking a lot of time. But recently was marked by +new EAP updates, and therefore a plugin +update was necessary to accomodate to the new changes. + +Apart from deprecation fixes, this version introduces the new **Themed macOS Project Bar**. + +### Themed macOS Project Bar + +The **macOS Project Bar** is not a new feature, allowing you to sideload multiple projects inside one same window. +However, it was missing on the _New UI_, +as it needed a new implementation to fit with the new Title Bar. + +But the latest release brought it back, and therefore needed attention from the plugin as well. + +
+ +But that's not all! It also supports the **Colorize Title Bar** feature, making it blend with the colorized title bar ( +New UI only). + +
+ +
+ +--- + +I hope you enjoy this new release! + +And don't forget to rate the plugin!!! :) + +Happy coding! + +---- + +## What's new in Material Theme UI v8.4.2 + +This release in-between fixes support for 2023.1 EAP + +Fixes: + +- Support for 2023.1 +- Rewrite Tab Height feature +- Improve Tool Windows on Hover +- Change Custom Tag Name color +- Fix deprecations + +## What's new in Material Theme UI v8.4.1 + +Another bug fix update, alongside the implementation of the new Sync Settings capability. + +### Sync Settings support + +2022.3 brought the newer **Sync Settings** feature, which transparently syncs all settings between machines. The +previous sync settings feature was relying on a +JBA account for syncing settings, while the new one uses a transaction system, like Git. This means that you can now +sync settings between machines without +having to create a JetBrains account. + +As a result, plugin developers can now sync their plugin's settings with that system very easily, without the need to +implement anything. This means that from +now on your settings, custom theme or project settings will now be synced between machines, in the case you decide to +use the feature. However, you have much +less control over the syncing process, as it's handled by JetBrains directly, so there might be some issues here and +there. + +You will be finding the Material Theme settings under the **UI** category. + +### Other fixes + +- Add `{path}` and `{fullPath}` options to the _Project Frame Custom Text_ setting. They will be replaced with the + project path and full path respectively. +- Add a new setting to **hide the Wizard option at the Welcome Screen**. +- Make the Popups color to the background color +- Improve _Colorized Title Bar_ for lighter themes by making the colors brighter. +- Fix narrow password fields +- _Material File Status Colors_: Listen to the current color scheme rather than the one from the theme. +- Atom One Dark: Slightly brighter highlight color. +- Add the latest UI properties, + +--- + +## What's new in Material Theme UI v8.3.1 + +Another bugfix release. However this release includes a coupon for a 50% discount for Black Friday/Cyber Monday. You can +find more information on the plugin +page! + +### Fixes + +- Fix Selection Foreground color on Solarized Light +- Improve contrast on some icons in Light Themes +- Change Running widget background color from Accent to Highlight. +- Make Notification tool window color the same as the Theme's notification color + +### Other + +- Add Black Friday discount to the plugin description + +## What's new in Material Theme UI v7.14.0 / v8.2.0 + +Another bug fix version for 2022.2/2022.3. This update fixes a few issues causing freezes or fatal errors, amongst +others: + +- Settings: Add Per-Project **Default settings**: Predefined project settings to be applied for new projects. +- Project Tree: Implement Material Trees to allow customization such as the _Project Tree Indicator_ to remain when not + in focus. +- Themes: Make the Tree Color opaque in all themes to prevent selection artifacts. +- Wizard: Prevent Freeze when skipping defaults +- Text Fields: Do not add the custom border if it goes under a certain size (such as _Docker Add Network Panel_) +- Language Additions: Set annotations' icon and description to inform people they are not errors but simple annotations + used to paint language additions. +- Color Schemes: Change the "notification banners" color to the same color as the notification popups. +- Focus Mode: Fix the error when invoking the *Add Method* action in some instances when the method would "expand" the + document. + +### Per-project Default Settings + +The Material Theme plugin, for some time now, contains a setting panel allowing you to have different settings per +project. At the time of writing, these +include: + +- Tab Settings +- Project Frame Settings + +However, it can be tedious to have to configure these settings for every project, when you can simply start from a +boilerplate state, and adjust the bells and +whistles per-project afterwards. + +For instance, you could want your projects, be it old or new, to have a specific tab highlighter position, and a custom +project frame color, without having to +change it for all projects through the application settings. + +
+ +Such capabilities already exist for other settings, through the **New Projects Setup**, but not for the Material Theme. +Therefore, since this version (7.14.0), +it is now possible, and will affect new projects automatically. + +
+ +**Note**: This will **NOT** affect existing projects! + +### Language Additions Annotator + +The next feature is less of a fix but more like additional details to an existing feature. According to another section +of this document: + +> Last but not least, the [Languages Additions](/docs/configuration/language-additions/) feature received an improvement as +> well, deprecating the need of +> the _Enforce Highlighting_ switch. +> This was done by the use of the `SeverityProvider`, which allows plugin developers to add their own "error +> severities". By doing so, the language additions no +> longer appear as _Weak Warnings_, but instead, fall into their own custom category, therefore not getting in the way +> of genuine warnings. + +But this was not clear enough. The annotations were grouped alongside the warnings and errors, which made people believe +they had errors in their code when it +was simply annotations that they could disable. + +Therefore, this version adds a new icon and description to the checker tooltip, to make it clear that they are not +errors, but simply annotations used to paint +language additions. + +
+ +--- + +That's it! Happy coding :) ! + +----------- + +## What's new in Material Theme UI v8.0.0 + +Coming just right after version 7.11.0, this is the first version for the new 2022.3 EAP. + +With the **New UI** now globally available, the Material Theme UI plugin had to be available as soon as possible, +therefore, this +version is merely focusing on getting ready for 2022.3. + +That being said, this version also brought its lots of small fixes and improvements, especially for the Material Theme +Wizard. +Screens have been reworked to better showcase the newest features, and many small artifacts have been corrected in the +process. + +Also, a new tab has been added to the Welcome Screen to quickly open the Wizard. +This will certainly prove useful for people that have skipped the wizard on the first start, +or for people that configured it a while ago and didn't get to see the newest additions. + +
+ +By the way, remember that EAP users can use the premium features for free! + +Enjoy! + +--- + +## What's new in Material Theme UI v7.11.0 + +This is the latest version of the 2022.2 versions of the plugin. +With the 2022.3 EAP already around the corner, work will very soon shift to that branch instead. +That being said, this version brings two small but interesting features to the arsenal. + +### Tab Separators + +This version finalizes the planned tab features for 2022 by introducing support for **Tab Separators**. + +These are thin, almost transparent borders that can be added between tabs to ease the distinction between them. + +
+ +
+ +---- + +### Focus Mode + +The second brand-new feature of this release is a feature called "Focus Mode". + +Originally inspired by an extension with the same name, this feature has been added to the plugin's feature as well, +with more customization options. + +
+ +
+ +What this feature does is to help you focus on the current part of the code you're editing, by "unhighlighting" the +other parts surrounding it. +This can further help you to code without distractions! + +As this feature is highly dependent on the way people code, it is disabled by default, in order to not bother people +used to code the usual way. + +By default, the color of the unfocused parts is taken from the current theme, but you can decide to use your own color +as well. + +
+ +
+ +You can find this feature under the "Other Tweaks" tab. + +:::caution +This feature is available only available for premium users having bought +the [Language Additions feature](/docs/configuration/language-additions/). +::: + +### Fixes and Improvements + +- Now the "What's New" page will take the current theme into consideration! +- Added more of the newest settings to the _Material Theme Wizard_: Project Tree Font, Custom UI Font, Tab Font, + Animated Tabs, Focus Mode... +- Fix the fatal error happening to some users with the _Tab Highlight Indicator_. +- Fix the small error with the Project Tree refresh when the said tree is not loaded. + +---- + +## What's new in Material Theme UI v7.10.0 + +This version focuses on bug fixes and improvements for various parts of the plugin. + +### License checking refactor + +The first improvement is a complete refactoring of the _license checking process_. + +It's been almost two years since the plugin became a freemium plugin, and since then a lot of changes have been brought +to the licensing system: free plan, new +features, external plugins and so on. +Moreover, with the license checking becoming asynchronous, leading to many people having access to premium features even +though they were on the free plan, and oftentimes with no possibility to turn them off. + +Therefore, it was time for a refactor of the whole process. This refactor attempts to cover all use cases that we can +think of: + +- Free plan users +- Premium users that downgraded to the free plan +- Free plan users with the [external plugins](/docs/pricing/#material-theme-bundles) +- Premium users + +Besides, information about the external plugins licenses can be found on the About page. + +
+ +--- + +### Custom Tree Font Improvement + +Another long-awaited fix is the ability to change the _Project View Tree Font_ without having to restart the IDE. + +This was something quite difficult to implement, as even within JetBrains, a restart was required upon changing the font +size. + +
+ +Thankfully, with time comes experience, and we finally found a workaround for this issue, therefore giving the full +ability to customize the _Project View_ +without a restart. + +
+ +--- + +### Language Additions Improvement + +Last but not least, the [Languages Additions](/docs/configuration/language-additions/) feature received an improvement as +well, deprecating the need of +the _Enforce Highlighting_ switch. + +This was done by the use of the `SeverityProvider`, which allows plugin developers to add their own "error severities". +By doing so, the language additions no +longer appear as _Weak Warnings_, but instead, fall into their own custom category, therefore not getting in the way of +genuine warnings. + +### Other changes + +- Improved the Wizard UI +- Improved the Custom Theme UI Settings +- Improved the Project Based Settings +- Fix the Project-Based Tab Highlighting applying to all projects + +--- + +## What's new in Material Theme UI v7.9.0 + +### Go Additions + +Another small addition to the list of [Language Additions](/docs/configuration/language-additions/): **Go Additions** + +GoLand users and Go plugin users are now able to customize specific keywords of the Go language: + +- Functions: + - `main` + - `make` + - `len`, `cap` + - `Print`, `Println`, `Printf` +- Keywords: + - `import`, `package` + - `func` + - `if`, `else` + - `switch`, `case`, `default`, `fallthrough` + - `for`, `range`, `map` + - `return` + - `var`, `const` + - `type` + - `defer` + - `struct` + - `interface` + - `go`, `select` + - `chan` +- Primitives: + - `nil` + - `true`, `false` + +## Other bug fixes and additions + +- Add _Conventional Commit_ plugin's color scheme support +- Fix _Synthwave_'s Caret row color +- Fix Registry's text area not cleaning up the text +- Fix indentation in the _Language Additions'_ Color Settings Pages +- Adding more recommended plugins + +--- + +## What's new in Material Theme UI v7.8.1 + +This is a bug fix version that solves some long awaited issues. + +- Fix NPE on the Title Frame +- Remove deprecated color scheme keys about _Markdown Navigator_ +- Added newer color keys: + - Run Toolbar Widget + - PackageSearch + - Search Everywhere Settings + - Editor Tooltip Foreground + - Main menu foreground + - Debugger + - Main Menu + - Version Control Commit + - Editor Pane Splitter + - Version Control Marker + - Banner Warning +- Set Toolbar widgets foreground color to *selected foreground* +- Fix Colorize Title Bar on Linux + +---- + +## What's new in Material Theme UI v7.8.0 + +A small update to keep things going :) + +### Animated Tabs + +A small yet cool feature that makes your editor even cooler by animating the tab indicators! + +
+ +### Other fixes + +- Fix the Custom UI Font not being applied when using the Experimental New UI + +---- + +## What's new in Material Theme UI from v7.5.4 up to v7.7.1? + +### Editorial + +2022.2 is officially out! The JetBrains folks have been working constantly on the new version for the last three months, +especially in the performance and +remote departments. +The result is a more stable experience accompanied with a lot of great features, such as: + +- Migration to JDK 17 +- Remote Gateway improvements +- User Experience and Quality of life improvements +- etc + +But the plugin didn't stop during all this time! As updates kept coming, so was the plugin adapting itself to the newest +additions and deprecations, in order to +keep being +the plugin you cherish and love. + +Oh and the **New UI Preview** is officially out +for [beta-testing](https://blog.jetbrains.com/idea/2022/05/take-part-in-the-new-ui-preview-for-your-jetbrains-ide/)! +Which means that it's time for the plugin to give it a proper goodbye, so that we can leave it to the pros and +concentrate of the plugin's unique features. + +You can find more information in the [JetBrains Blog](https://blog.jetbrains.com/). + +Now let's focus on these last three months changes: + +### Sunsetting the Experimental UI + +As stated above, +the [New UI Preview](https://blog.jetbrains.com/idea/2022/05/take-part-in-the-new-ui-preview-for-your-jetbrains-ide/) +has officially begun it's +beta-phase, +and thousands of users started experiencing what _Material Theme_ users have been experiencing all along, which is their +brand-new rewriting of the UI. + +For many years this new UI preview has been available as a highly experimental setting in the plugin, first labeled +_Striped Tool Windows_, then _Large Tool +Windows_, and +finally _Experimental UI_, giving users the opportunity to experience it first-hand, even in it's +super-beta-experimental state. + +But now that the cat is out of the bag, there's no need to keep it in the plugin anymore, and therefore the setting has +been removed altogether, as it became +incompatible +with the _New UI Preview_ plugin. + +:::caution +Note: The _New UI Preview program_ has since then been closed, so there's no way to download the plugin anymore +officially. However, we still have a copy of it +available here. You can also find it in our Slack channel. +::: + +### Colorize Title Bar + +The second highlight of this version is also related to the *New UI users only*, and is about an extension of +the [Project Frame](/docs/configuration/project-title-bar-settings/): the ability to **Colorize the Title Bar**! + +
+ +This was something that wasn't possible before, but the New UI introduced a flashy new "*title bar* component" to +replace the original title bar (the same way +the Material Theme [did in the past](/docs/configuration/other-tweaks-settings/)), and this one is +customizable. + +So there it is, the perfect **Project Frame**! And it can be customized per project! + +:::caution +Note: As usual, you can still disable it from the [Project Frame Settings](/docs/configuration/project-title-bar-settings/). +And it's available in the separate +standalone plugin as well. +::: + +--------- + +## What's new in Material Theme UI v7.5.4 + +Yet another small update that introduces new exciting features. + +### Recommended plugins + +The Material Theme UI is a great plugin, but there are also literally thousands of other plugins available in the +Marketplace. Some are great, some not so much, +but in any case it can be +a little hard to get to find out the hidden pearls in this sea of available options. + +Introducing the **Recommended plugins**: It's another settings page found inside the _Material Theme Settings_ that +showcases a hand-picked list of useful +plugins and remarkable themes for you to discover at a glance rather than navigating the whole sea of available plugins +in the Marketplace. + +
+ +Most of these plugins are UI-related, grouped into three sections: + +- **Recommended plugins**: Hand-picked list of great plugins to use alongside the Material Theme UI. +- **Material Plugins**: These are the standalone paid plugins that you can buy separately instead of the main plugin. +- **Great Themes**: Curated list of amazing themes that can be sideloaded with the Material Theme UI. + +Come take a look! And if you have other great recommendations, please post them on the chat or in the GitHub repo! + +:::caution +Oh and by the way: this is a purely subjective list! So please don't be mad if a plugin you love isn't on the list! +::: + +--- + +## What's new in Material Theme UI v7.5.3 + +### New StatusBar Widget: **Current Project** + +This version introduces a new widget to the Status Bar, which displays the current project and gives the ability to open +other projects via a menu. This is +based on a similar widget available on the title bar in the new UI. + +
+ +### Material Theme Bundles + +This version finalizes the support of the _Material Theme Bundles_, by releasing 5 packages related to the different +paid features: + +- [Material Theme High Contrast](https://plugins.jetbrains.com/plugin/17456-material-theme-ui-high-contrast) +- [Material Theme Custom Theme](https://plugins.jetbrains.com/plugin/19308-material-theme-ui-custom-theme) +- [Material Theme Project Frame](https://plugins.jetbrains.com/plugin/19310-material-theme-ui-project-frame) +- [Material Theme Language Additions](https://plugins.jetbrains.com/plugin/19309-material-theme-ui-language-additions) +- [Material Theme Extras](https://plugins.jetbrains.com/plugin/19250-material-theme-ui-extras) + +As stated in [Material Theme Bundles](/docs/pricing/#material-theme-bundles) section, these plugins are to be loaded as +an alternate way to purchase a license, +by providing a way to purchase only the features that are relevant to you. + +For instance, if you are only interested in the *Language Additions* feature and don't want to purchase the whole +package, you can decide to install the +relevant plugin at a lower price. + +:::caution +**Important**: If you already have purchased the main plugin, purchasing these plugins will do nothing, so be careful! +These only make sense if you are using +the Free Version (and not to be confused with the Material Theme Lite)! +::: + +### Other fixes + +- Fix [#187](https://github.com/mallowigi/material-theme-issues/issues/187) +- Update Translations + +--- + +## What's new in Material Theme UI v7.5.2 + +### Custom Color Scheme in Custom Themes + +This update expands the functionalities of the [Custom Theme](/docs/configuration/custom-themes/) by giving the ability +to specify a color scheme to your custom +theme. + +
+ +This is particularly useful if you have "Custom Color Schemes" and want to assign them to your own custom theme. + +Note: If the color scheme cannot be found (for example if you decide to use the `_@user` schemes or if you select a +plugin based scheme), it will automatically +revert to _Darcula_) + +### Other fixes + +- Fix [#168](https://github.com/mallowigi/material-theme-issues/issues/168) +- Attempt at fixing [#174](https://github.com/mallowigi/material-theme-issues/issues/174) +- Initial support for "_Material Theme Extension Plugins_" + +--- + +## What's new in Material Theme UI v7.5.1 + +This small update fixes the Experimental UI not working after the update to 2022.1.2, as well as adding more languages +support in the color schemes: **Angular +Template**, **Qute** and **Sonarlint**. + +In addition, the color for _Modified Files_ in the _SynthWave '84_ theme has been changed as well. + +--- + +## What's new in Material Theme UI v7.5.0 + +### Japanese, Chinese and Korean support + +This version adds support for three additional languages: **Japanese**, **Chinese (simplified)** and **Korean**. + +Thanks to machine learning and external translators, we've been finally able to translate the plugin into the three +popular asian languages. +To enable it, you'll need +to [install the IDE language packs](https://blog.jetbrains.com/idea/2021/04/use-updated-language-packs-for-intellij-based-ides-with-translation-plugin/), +and +the plugin will be automatically translated to the corresponding language. + +
+ +
+ +
+ +
+ +Of course, there could be some inconsistencies between the english texts and their asian counterparts. +In such cases, we'd appreciate if you could report such inconsistencies, and perhaps provide better translations! + +:::caution +Note: You can only use one language pack at a time! +Please make sure to **remove** the languages you don't use, or you would end up with mixed translations! +::: + +--- + +## What's new in Material Theme UI v7.4.0 + +### New Material Theme Widgets + +#### Material theme widget + +The old _Material Theme widget_ has been redone to better blend with the other widgets. +It sports the current theme name and icon, and you can open a menu with the list of available themes. + +
+ +
+ +
+ +
+ +#### Accent color widget + +Just besides the theme widget, you can also display the _Accent Color Widget_. +It sports the current accent color, and displays the list of available predefined accent colors when clicked. + +
+ +
+ +
+ +
+ +#### Deprecation of the old Material theme widget + +You can still find the previous legacy widget: + +
+ +
+ +
+ +
+ +--- + +### Other fixes + +As usual, this version also comes with its bug fixes and improvements: + +- Fix visual issue when Menus weren't highlighted in the _Legacy Material Design_ +- Fix fatal error when opening the wizard +- Fix fatal error when opening the Command Palette +- Fix issue where the Project Tree being colored in _Accent Mode_ +- Fix minimum size of fields when using _Compact Fields_ +- Fix minimum size of table headers when using _Compact Table Cells_ +- Make _Tab Shadows_ feature free + +---- + +## What's new in Material Theme UI v7.0.0-7.3.2 + +The 7.X.X versions up to 7.3.2 contained mainly the same changes than of the 6.14.X up to 6.16.X, but for the 2022.1 +IDEs. However, there are some changes that +need to be mentioned: + +### Large Tool Windows deprecation and Experimental UI + +As with every major IDE updates, a lot of work needed to be done to support the newest releases, alongside their +breaking changes and deprecations. + +One of the features that got the cut was the very famous **Large Tool Windows**, which was sometimes buggy but +nonetheless a very awaited redesign. Since this +wasn't a feature made by the plugin, it was very difficult to open the feature to the public despite the barriers, but +this time it became utterly impossible, +because it got merged with the complete redesign of the IDE. + +As a result, the old setting has been removed, and temporarily replaced with a new setting to open this **Experimental +UI** instead. However, we do **NOT** +recommend using this UI as this is a **largely buggy and highly suspect to change between new releases of the IDE**. If +you're aware of the risks, you can try +it, but don't come complaining if there are issues. + +---- + +## What's new in Material Theme UI v6.16.1 + +This is a bugfix update for many issues related to the new UI. + +### Fixes + +- Improve the UI of the tag buttons: alignment, close button, color, etc +- Add exclusions to replacing specific text fields: Plugins pages, New File popup, JFormDesigner inline edit, Prettier + options etc +- Fix outlined buttons disabled border color +- Limit the minimum left and right indent at 4 as it wouldn't work below it. +- Synthwave color scheme improvements: Kotlin instance field color +- Prevent showing the "what's new" popup when the setting is disabled + +--- + +## What's new in Material Theme UI v6.16.0 + +### New Feature: **Custom UI Font** + +A new setting has been added to the Material UI Settings Features: **Custom UI Font**. This font replaces (or rather, +expands on) the +original [Material Fonts](/docs/configuration/features-settings/) to provide the ability to choose your +own font. + +Actually, this feature supplements the _Custom Font_ feature provided by JetBrains, so this is just another way to +change the IDE font. + +This feature is available to all users. + +### Fixes: + +- Added back missing properties from legacy Material Design style (selected items, color panels etc) +- Remove need for restart when applying legacy _Material Design style_ +- Fix **Scrollbars Color Settings** non-translated texts on Linux +- Align new comboboxes with other fields +- Fix buttons text vertical and horizontal alignments +- Add accent color to focused fields +- Add new Material UI Border to fields that removed it (_Find in Files_, _Plugins Search_ and others) +- Fix text not showing when editing table cells +- Fix Option button arrow + +---- + +## What's new in Material Theme UI v6.15.0 + +### Legacy Material Design + +The latest version introduced a new UI with a lot of changes: broader components, rounder buttons and so on. However, +not all people were happy with the +changes, be it because they didn't like the new style, or simply because they were used to the old, sharper design and +the signature of the legacy Material +Design of 2016. + +Therefore, in order to not drive people away, we decided to add it back! Disabled by default, you can find it inside the +**Components** tab, in the Material +Theme settings. + +Please note however that this style remains **deprecated**. It means, we're not planning to remove it for the moment, +but we won't be adding any new features +nor fix any bugs that might occur in the future. + +### Fixes + +- Add a bit more spacing between buttons. +- Remove the glitch that happened during selection in lists. + +---- + +## What's new in Material Theme UI v6.14.0 + +### New UI!!! + +The Material Design components experienced a major overhaul to conform to the +latest [Material Design specification](https://material.io/components). + +
+ +Here's a brief overview of the new components: + +#### Text Fields, Password Fields and Number Fields + +Input Fields have become larger, with a rounded border, losing their Material Design 2017 style of having a single +bottom border. The reasoning behind this, +according to Material Design principles, is to make them more discoverable and interactable. + +Moreover, since these larger components can take a lot of space, a new setting has been added to +the [Compact Settings](/docs/configuration/spacing-settings/) +to allow you to have smaller fields. + +More info: [https://material.io/components/text-fields#anatomy](https://material.io/components/text-fields#anatomy) + +#### Text Areas + +Text Areas underwent the same process and will now sport a rounded border, just like the text fields, making them more +discoverable as well. + +#### ComboBoxes and Menus + +ComboBoxes (or dropdowns) got the same border style as well, and their options are now showing up under the text field, +instead of over it. The caret icon (the +arrow) also changed to the usual Material Design chevron. + +Menus have too undergone some changes and became larger as well, with the option to tweak up the items size through +the [Compact Settings](/docs/configuration/spacing-settings/#custom-list-items-height). + +More info: [https://material.io/components/menus#usage](https://material.io/components/menus#usage) + +#### Buttons + +Buttons got rounder, smaller and now sport a small shadow under them, making them stand out more, like regular buttons. +The other options (uppercase, outlined, +etc.) are still available. + +More info: [https://material.io/components/buttons#anatomy](https://material.io/components/buttons#anatomy) + +#### Search Fields + +The search fields also underwent a redesign, becoming larger and bordered, but with a sharp border. The reason for this +is that they are usually encapsulated in +a more complex UI, such as the "_Search Everywhere_" or "_Find in Files_" popups. + +
+ +They are also affected by the "*Compact Fields*" setting. + +#### Trees + +Trees got their selected item design changed to sport a rounded border just like the other components. They look like +the design of the navigation drawer's +selected items from [https://material.io/components/navigation-drawer#usage](https://material.io/components/navigation-drawer#usage). + +Moreover, a new style +of [Selected Tree Indicators](/docs/configuration/trees-settings/), bolder and +rounder, replaces +the current one. You can still use the old one from the options though, renamed "_Sharp_". + +Of course, the previous options (List Items Height, Indentation, etc.) are still available. + +#### Other updates + +Other updated elements include: + +- Color Picker Fields +- Table Headers +- Menu Items + +The Navigation Bar and Notifications have been redesigned too, but are only available in 2022.1+. + +----- + +This redesign involved a lot of refactoring of the old components, as well as a full rewrite in Kotlin. Since it is +impossible to check the whole UI, there +might be bugs not yet discovered. In that case, please report them to the GitHub repository as soon as possible, thanks! + +This was a lot of hard work, but I hope you'll like it :) + +----- + +## What's new in Material Theme UI v6.13.0 + +
+ +The first version of 2022 introduces a new set of **Material Themes**, expanding the current collection with new themes +that are not available elsewhere, as +well as new **language additions** for Ruby and initial support for **Material Theme bundles** + +
+ +---- + +### Material Theme Bundles + +Material Theme "**Bundles**" (or "plugins", or "addons") are a way to benefit of Material Theme's paid features +separately, without having to pay for the core +plugin. + +Since the plugin became paid, a lot of users were left disappointed by suddenly having to pay for features they have +been enjoying for free, leading to a lot of +frustrations. Although I've been trying to alleviate the frustration by giving more transparency about the reasons of +the move, or through free plans and +vouchers, still, for some users, the loss of their favourite feature was unacceptable. + +In fact, for some, they couldn't care less about the whole package, but THAT specific feature being unavailable was a +true loss. + +Introducing **Material Theme Bundles**: these are separate plugins that provide alternative access to the paid features. +For example, let's say you are only +interested in the [Custom Theme](/docs/configuration/custom-themes/) feature but don't need +the [Tab Settings](/docs/configuration/tab-settings/), +[Project Frame](/docs/configuration/project-title-bar-settings/) +or [Language Additions](/docs/configuration/language-additions/), you would be able to purchase +it separately and benefit from it without having to buy a premium license. + +Of course, these bundles would not be free; otherwise there would be no point of having to purchase a premium license. +But they will be at a lesser price than +the whole package. + +At the moment, the only bundle available is +the [High Contrast](https://plugins.jetbrains.com/plugin/17456-material-theme-ui-high-contrast) feature for an +annual cost of $3 only. + +Others will follow, depending on the demand. Currently, the planned ones for 2022 are: + +- Custom Theme +- Language Additions +- Project Frame Colors +- Project View Settings + +**PLEASE NOTE THAT THESE BUNDLES MUST NOT BE BOUGHT IF YOU ALREADY HAVE A PREMIUM LICENSE.** They only provide access to +the paid features to people on the free +plan, so buying them when you have a paid plan would only result in paying twice for the same thing. \{:class='card-panel +warn'\} + +---- + +### New Material Themes + +You might be aware that the original Material Themes from [@equinusocio](https://github.com/equinusocio) have not had +changes for a long time. It's fine, these +themes are awesome and a personal favorite too. However, the Material Theme color scheme is great on its own, and can +easily live in different _environments_ +than the ocean and the night. Therefore, we've decided to run our imagination run wild and started working on new " +environmental themes". + +##### Introducing Nature Material Themes!!! + +
+ +
+ +
+ +
+ +As said previously, these themes are completely new, and thus can be subject to a few modifications in the future, +especially regarding contrast. + +**Let me know what you think of them!** + +---- + +### SynthWave '84 + +Another theme we've been working on is the implementation of the +famous [SynthWave '84](https://github.com/robb0wen/synthwave-vscode) from Robb Owen. + +
+ +This theme is one of the most popular VSCode themes, especially thanks to it's _"Glowing Neons"_ feature, and I thought +it would make a great theme for +JetBrains products as well. + +Unfortunately, there is no way to get the "Glowing Neons" to work in our favourite IDEs, but be sure that we are looking +for ways to make it possible! + +---- + +### Theme Reorganization + +As part of the newest additions, the theme selection menus have been reorganized to group light and dark themes +together. + +
+ +---- + +### Ruby Additions + +And last but not least, a new [Language Addition](/docs/configuration/language-additions/) made its way alongside the +others: **Ruby**. + +Just like _Python_, **Ruby Additions** are now available for Ruby-based IDEs, and provide additional coloring for the +following keywords: + +**Keywords**: + +- `begin`, `rescue`, `finally` +- `case` +- `when` +- `class` +- `def` +- `do` +- `if`, `elsif`, `else`, `unless` +- `module`, `namespace` +- `not`, `and`, `or` +- `private`, `protected`, `public` +- `raise` +- `require`, `require_self`, `require_relative` +- `return`, `yield` +- `self` +- `while`, `until`, `loop` + +**Primitives**: + +- `nil` +- `true`, `false` + +**Methods**: + +- `attr_reader`, `attr_writer`, `attr_accessor` +- `initialize` +- `new` +- `puts` + +
+ +**Note**: As usual, this feature is only available for premium users. \{:class='card-panel warn'\} + +--- + +## What's new in Material Theme UI v6.12.0 + +This version is less about new features but more about project consolidation, bug squashing, code deprecation, +documentation and migration to Kotlin. It's part +of a long process to make the project more stable and maintainable. \{:class='title'\} + +Here are a few new features though: + +### Automatically Reset Color Scheme + +One of the main complaints of the plugin is that it constantly asks the user to **reset their color schemes**, but in +actuality most users have no idea how to +nor do want to do so. Even though a lot of documentation is available regarding the subject, since the plugin relies a +lot on the color schemes, relying on user +interaction means that there is a high chance they are going to miss new updates. + +Therefore, from version 6.12.0 users can now decide to let the plugin **automatically reset the color scheme** during +theme activation, i.e., at startup and +whenever the theme is changed. + +
+ +This setting only affects the bundled themes, excluding the *Custom theme*. + +:::caution +**Note**: This feature is **opt-in**, meaning that it is **disabled by default**, to prevent accidental erasure of user +custom modifications. Make sure to +backup your custom changes before enabling the feature! +::: + +This feature is available in the free plan. \{:class='card-panel'\} + +### Python Additions + +Another small addition to the list of [Language Additions](/docs/configuration/language-additions/): **Python Additions** + +PyCharm users and Python plugin users are now able to customize specific keywords of the Python language: + +- `if`, `elif`, `else`, `for`, `while`, `do` +- `import`, `from` +- `class` +- `def` +- `as` +- `return`, `yield` +- `try`, `except`, `finally` +- `with` +- `raise` +- `print` +- `True`, `False` and `None` + +### Many bug fixes, improvements and deprecations + +- Migration to Java 11 +- Converted 70% of the plugin in Kotlin, and fixed all detekt issues +- Fix Premium features not being loaded at start +- Fix Custom Theme not being applied at start +- Add initial support for Material Theme internal plugins +- Remove Custom Theme opacity support for many colors except *buttons*, *tree highlight* and *notifications* +- Fix issue with Buttons keeping the color of the previous theme when switching themes. +- Fix Red color being too dark in dark themes (and too bright in light themes) +- Support for new color keys for the whole UI +- Fix loading in JetBrains Gateway +- Support for new color keys for the diagrams +- Fix Load and Save Custom Themes +- Fix *Colored Open Folders* not working + +
+ +This is a huge refactoring release, so there might be some regressions here and there. Please report any issues you +find, thanks! + +
+ +---- + +## What's new in Material Theme UI v6.11.1 + +### Features + +- Add new action to manually remove lingering overlays in the rare case it happens +- Added more notifications when triggering actions + +### Fixes + +- Fix Plugin not loading Premium features at start +- Fix Large Tool Windows not working in latest EAP/RC +- Fix Material Oceanic scrollbars' colors (you need to reset the color + scheme) ([#34](https://github.com/mallowigi/material-theme-issues/issues/34)) +- Fix Color Scheme Font resetted to Default Font even when the checkbox is + unchecked ([#37](https://github.com/mallowigi/material-theme-issues/issues/37)) +- Fix Fatal Error when using Darcula Theme ([#33](https://github.com/mallowigi/material-theme-issues/issues/33)) + +----- + +## What's new in Material Theme UI v6.10.0 + +This release brings a lot of new features, mostly related to font customization. \{:class='title'\} + +### Tabs Custom Font + +Continuing from the *Tab Font Size* feature, you will now be able to customize the font displayed in the editor tabs. + +
+ +
+ +This font will be different from the one used for the whole IDE. + +You can find the setting in the [_Tab Settings_](/docs/configuration/tab-settings/) panel. + +### Tree Custom Font + +Just like the tabs, you will now be able to customize the Trees' Font Family as well. + +
+ +
+ +Just like the _Tree Font Size_, you will need to close and reopen the project (or restart) to see the changes. + +You can find the setting in the [_Project View Settings_](/docs/configuration/trees-settings/) panel. + +### Use Editor Default Font + +Another long awaited feature is the ability to override the current scheme's Editor Font with the default font. + +While this can be done via +the [Color Scheme settings](https://www.jetbrains.com/help/idea/configuring-colors-and-fonts.html#fonts), it can become +a bit +daunting to have to do this manually for every color scheme. Moreso when switching between color schemes many times a +day! + +This setting provides a way to undo this by turning off the color schemes' defined font and use the Default Font +instead. + +
+ +**Note**: Turning on this setting will immediately cause the current color scheme to be edited, as if you changed the +color scheme font with the default one. +Even if you turn it back on, the original color scheme font will not be restored, you will need +to [restore the color scheme](https://www.jetbrains.com/help/idea/settings-code-style.html#scheme) to do so. \{: +class='card-panel warn'\} + +### Reset Color Scheme Action + +A new action has been added to the [Quick Actions Panel](/docs/configuration/quick-actions-panel/), giving you the +ability +to [restore the color scheme](https://www.jetbrains.com/help/idea/settings-code-style.html#scheme) easily, rather than +going to the settings. + +You can find the action in +the [Material Theme Features](/docs/configuration/quick-actions-panel/) menu. + +### Support for DataSpell + +Last but not least, JetBrains' DataSpell support has finally been added to the color schemes. This fixes the +issue: [https://github.com/mallowigi/material-theme-issues/issues/25](https://github.com/mallowigi/material-theme-issues/issues/25). + +You will need to reset your color schemes to get this change + +---- + +### Deprecation of the External Themes + +After a long consideration, starting this version, the [External Themes](/docs/development/external-themes/) feature has +been deprecated, and be no longer +working. + +For that, I'd like to give a proper eulogy to the feature, how it started, and what are the plans for the future. + +In the beginning, there were no way of having themes in the IDE, aside from IntelliJ Light and Darcula. Then this plugin +came out and with it, a few themes were +available out of the box. Soon enough, other themes joined the fray, as well as the very popular **Custom Theme** +feature, letting people define their own +themes from a simple easy to use UI. + +This was great and all, but unfortunately these custom themes weren't exportable, except from the xml config file. +People started exporting their custom theme +xml file for people to see, and other people had to import these colors one by one manually. Wouldn't it be better if +people were allowed to install such custom +themes via the plugin marketplace? + +There was the main idea of the External Themes feature. By exposing an _Extension Point_, plugin developers would now be +able to add their own custom theme xml +file, the same way they were able to add their color schemes or code styles. The plugin would then be able to import +such custom themes and add them to the list +of themes on the fly. An example plugin, the famous **Dracula Theme** was used to showcase that feature, followed by the +**Night Owl Theme** soon after. + +However, the adoption of such a feature was very low. Even though a tutorial was available on the docs, people were +mostly unaware of it. Moreover, in 2019 +JetBrains finally released an API to allow people to create theme using JSON, with much more flexibility in terms of +customization than the Material Theme +External Themes. + +As a result, people starting making themes using JetBrains' API rather than the Material Theme one, and rightfully so. +At the start, these themes were +incompatible with the Material Theme API, but soon enough the plugin started supporting them as well, to the detriment +of the external themes. Even people that +have written external themes have long removed that support in favor of the native themes. In the meantime, bugs +regarding the external themes were piling up, +and such issues were affected to the back of the backlog. Everytime we tried fixing those issues, we were met with more +issues, since they are very incompatible +with the native themes support. + +So it was time to pull the plug, and let this feature sink in. From version 6.10.0, the extension point will be * +*unavailable**, so themes that were still using +that extension point will need to remove the extension. Hopefully, most of the themes in the market have done that long +ago, but otherwise they will need to +update a fix removing that extension point. + +**So what happens for external themes then?** + +Rather than investing on the external themes, resources will be shifted to the native themes support, and their +integration with the Material Theme. Currently, +the plugin uses specific properties of the native themes to find out what color to use in the Material Theme API (i.e., +which color to use for the _excluded +color_, the _accent color_, etc.). Starting this version, themes can also define `material` based properties that the +plugin will parse to figure out which +color to assign to which resource. + +These colors are the following: + +- `material.background` +- `material.foreground` +- `material.primaryColor` +- `material.selectionBackground` +- `material.selectionForeground` +- `material.button` +- `material.second` +- `material.disabled` +- `material.contrast` +- `material.active` +- `material.border` +- `material.highlight` +- `material.tree` +- `material.notifications` +- `material.accent` +- `material.excluded` + +More information on the [Custom Themes](/docs/configuration/custom-themes/) + +In the future, a new settings page will be available to allow users to customize such properties from the UI directly. +Stay tuned! + +--- + +## What's new in Material Theme UI v6.7.0 + +
+ +This version integrates the new [Project Icons](https://blog.jetbrains.com/idea/2021/06/intellij-idea-eap-5/#change_project_icons) to the [Project Frame Colors](/docs/configuration/project-title-bar-settings/), as well as fixing many issues as usual. + +
+ +## Project Icon in the Project Frame + +In the continuity in the development of the [Project Frame Feature](/docs/configuration/project-title-bar-settings/), a new capability has been added to allow you to view the [Custom Project Icon](https://blog.jetbrains.com/idea/2021/06/intellij-idea-eap-5/#change_project_icons) in the toolbar. + +
+ +This can prove very useful when having multiple projects open at once. Moreover, it can be activated on a per-project basis as well! + +:::caution +**Note**: This feature is only available for 2021.2 versions and later unfortunately, as support for project icons wasn't complete in the 2021.1 versions. This could still change though, depending on JetBrains' progress. +::: + +---- + +## Better support for the XPathView plugin + +This version improves support for the XPathView plugin by providing better colors to the highlighted results. + +Thanks for [Unthrottled](https://github.com/Unthrottled) for the implementation! + +---- + +## Other fixes + +- **Language Additions**: Fix back `console`, `window`, `global` not being colored correctly. ([#1780](https://github.com/ChrisRM/material-theme-jetbrains/issues/1780)) +- Refactor [File Status Colors](/docs/configuration/file-status-colors/), allowing to restore the file status colors when resetting the color scheme ([#1732](https://github.com/ChrisRM/material-theme-jetbrains/issues/1732)) +- Fix [#1773](https://github.com/ChrisRM/material-theme-jetbrains/issues/1773) +- Fix [#1764](https://github.com/ChrisRM/material-theme-jetbrains/issues/1764) +- Fix [#1776](https://github.com/ChrisRM/material-theme-jetbrains/issues/1776) +- Improve unused variables contrast ([#1775](https://github.com/ChrisRM/material-theme-jetbrains/issues/1775)) + +---- + +That's it. And as always, + +
+ +Happy coding! + +
+ +--- + +## What's new in Material Theme UI v6.6.0 + +
+ +This version brings out the first **per-project settings**, alongside new settings for the **Project Frame**. Now you can even more customize your IDE on a per-project basis! + +
+ +## Project Frame Customizations + +One of the latest updates of the Material Theme was a feature allowing you to add a "custom frame", or "toolbar", at the top of the window with a different color per project. + +This feature, named [Project Frame Colors](/docs/configuration/project-title-bar-settings/), was inspired by a [VS Code plugin](https://marketplace.visualstudio.com/items?itemName=stuart.unique-window-colors), and was positively adopted by users. + +As a result, new customization capabilities were added to that feature to stand out even more. + +Previously inside the **Features** tab, these settings are now located under a new tab, **Project Frame**. + +
+ +Here's a quick recap of the new settings: + +- **Show Project Name**: Whether to display the project name on the frame +- **Customize Text**: Replace the project name with a custom text + +These are not much, but they signalize the beginning of a new set of improvements for this feature! + +## Per-Project Settings + +This is the second highlight of this release: the ability to override the global settings **on a per-project basis**. + +
+ +As you can see in this screenshot, the two projects have different settings for the **Active Tab** and the **Project Frame**. This will allow you to customize even more your IDE, now having different settings for each project. + +At this time, the only available settings are: +- Active Tab Highlight and Thickness +- Uppercase Tabs +- Tab highlight position +- Project Frame Color +- Project Frame's Project Title's Display +- Project Frame's custom text + +Other settings, such as the current theme, the accent color or the compact settings, are much harder to implement since they use the same underlying UI for all windows, but maybe in the future we'll find a way to make it work. + +## Other fixes and improvements + +And like always, this release also has its lot of bug fixes: +- Improve Light themes by setting black borders to white +- Fixes the \{0\} in the "What's new" menu +- Change the _Highlight Color_ for the **Arc Dark Theme** + +---- + +That's it. And as always, + +
+ +Happy coding! + +
+ +---- + +## What's new in Material Theme UI v6.5.0 + +
+ +This version finally implements the so long waited **Sync Settings**!!! Now you can finally sync your Material Theme Settings across your environments! And of course a new set of features and bug fixes. + +
+ +## Sync Material Theme UI Settings + +This was one of our most waited features since… forever, and it is finally here! You can finally share your Material Theme Settings and Custom Theme using the **Sync Settings** plugin. + +
+ +Please note however that this is highly depending on the Sync Settings implementation. There are still some discrepencies with how the Sync Settings should work, as you can show in this [YouTrack issue](https://youtrack.jetbrains.com/issue/IDEA-219788). But theoretically your Material Theme Settings should be shared across your stations. + +:::caution +**Important note**: This feature has been tested between two stations having the same premium model i.e., both being with the free plan and both being with the premium plan. There's no guarantee of what would happen if settings were shared between a free and premium plan! +::: + +---- + +## Inverted Selection Color + +Latest releases drastically changed a day-one feature from the Material Theme plugin, the auto complete list's selected option color. This has been done after running a quick poll with some Material Theme users to determine which option was better in terms of contrast. + +However, this change might have caused some disagreements with the previous behaviour. Some users, like me, prefer the old style. + +Therefore, I've decided to include a new setting to select your preferred style, **Inverted Selection Color**. + +
+ +More information in the [Component Settings documentation](/docs/configuration/ui-component-settings/) + +---- + +### Other fixes and improvements + +- Fix issue with Language Additions being applied to object keys and methods ([https://github.com/ChrisRM/material-theme-jetbrains/issues/1742](https://github.com/ChrisRM/material-theme-jetbrains/issues/1742)) +- Fix issue with Language Additions not being applied to JSX and Vue files ([https://github.com/ChrisRM/material-theme-jetbrains/issues/1744](https://github.com/ChrisRM/material-theme-jetbrains/issues/1744)) +- Fix the fatal error preventing **CodeWithMe** to be run when Material Theme UI is enabled. +- Complete _GitHub_ and _GitHub Dark_ color schemes to include missing styles already existing in other schemes (such as Rust, ReSharper, Osmorc and so on). +- Also, the **Accent Mode** settings moved to the **Features Tab** rather than **Components Tab**. +- Add a new action to display the **What's new Page** in the toolbar. + +---- + +That's it. And as always, + +
+ +Happy coding! + +
+ +---- + +## What's new in Material Theme UI v6.4.2 + +
+ +This version improves the themes colors to provide better contrasts, as well as fixing the issue with some settings remaining locked despite being in the free plan. And some new features too: + +
+ +## Display the What's new page on each update + +Since 2021.1 JetBrains introduced the capabitilty to display a webpage in the editor, and this has been used to show, well, this page actually. However, while it's nice to know what has been updated, it can be a bit annoying to see this popping up at every update. + +Therefore, a new switch has been added in the [Other Settings](/docs/configuration/other-tweaks-settings/) tab, to let users control whether they want this page to show up. + +---- + +## Theme improvements + +Some theme colors have been improved to have better contrasts. Such themes are: +- Arc Dark +- GitHub +- GitHub Dark +- Night Owl +- Palenight +- Lighter +- Deep Ocean + +Moreover, the **selected background color** is no longer transparent, as it was causing some rendering issues. + +:::caution +**Note**: Some of the aforementioned changes are reflected in the Color Schemes, not only on the UI Themes. Therefore, you would need to **Restore Color Schemes** for the changes to be applied. +::: + +---- + +## Other improvements + +- Fix Wizards and Menus to not lock settings that are part of the free plan. +- Remove border color for tool windows +- Do not reset the registry's value `transparentTitleBarAppearance` when in the free plan. +- Fix the Settings search to return the Material Theme UI Settings. + +That's it. And as always, + +
+ +Happy coding! + +
+ +---- + +## What's new in Material Theme UI v6.9.0 + +### Features +- Make **External Themes** as a dynamic extension point +- Increase the number of windows/popups that are under an **overlay**: + - Recent Files + - Quick Switchers + - Branch Chooser`` + - and others + +### Fixes +- Fix issue where checkboxes were invisible +- Fix issue where local history information was unreadable + +### Other +- More and more classes converted to Kotlin + +--- + +## What's new in Material Theme UI v6.8.2 + +
+ +Yet another bug-fix release, alongside small features and an overgoing refactor. + +
+ +### Features +- Add two new keywords for the [Project Frame Custom Text](/docs/configuration/project-title-bar-settings/#customize-text): `{module}` and `{file}` + +### Fixes +- Fix [#1823](https://github.com/ChrisRM/material-theme-jetbrains/issues/1823) +- Fix [#1772](https://github.com/ChrisRM/material-theme-jetbrains/issues/1772) +- Fix [#1808](https://github.com/ChrisRM/material-theme-jetbrains/issues/1808) +- Fix [#1790](https://github.com/ChrisRM/material-theme-jetbrains/issues/1790) +- Fix [#1825](https://github.com/ChrisRM/material-theme-jetbrains/issues/1825) + +### Other +- More and more classes converted to Kotlin + +--- + +## What's new in Material Theme UI v6.8.1 + +
+ +This new release is a bug-fix version, principally to rename and disable by default the experimental feature of _Large Tool Windows_ (previously named _Striped Tool Windows_). + +
+ +### Fixes +- Restore the JetBrains layout as the default one +- Fix error when switching themes when inside a modal +- Fix transparency during drag and drop +- Fix _Show What's new_ option not being respected + +### Other +- Renamed "_Striped Tool Windows_" to "_Large Tool Windows_" to be clearer. +- Upgrade gradle to 7.2 + +## What's new in Material Theme UI v6.8.0 + +
+ +This version's features consists in the ability to [display an overlay](/docs/configuration/features-settings/#overlays) when modals are open, make the [Active Tab Bold](/docs/configuration/tab-settings/#bold-active-tab), show notifications when actions are executed, and add a few more settings to the bundled wizards. And of course, a few improvements along the way. Oh, and the project is slowly converting into Kotlin :) + +
+ +## Overlays + +Your IDE can now display **overlays** when modals are open, providing better focus to the information at hand. + +
+ +
+ +These overlays show up in the following modal windows: +- Alerts +- Dialogs +- New File Window +- Search Everything +- Run Anything + +Please open issues in the repository if you wish for more modals to be affected! + +----- + +## Bold Active Tab + +A new option made its way to the tab settings section, which is the ability to make the current tab as bold. + +
+ +Also, another older setting, [Uppercase Bold Tabs](/docs/configuration/tab-settings/#uppercase-tabs) has been stripped of its rather broken implementation of bold tabs, and is now only setting the tabs as ++Uppercase++, hence the new name. + +---- + +## Make Run Configurations using the Compact Settings + +A small but notable change is the [Run Configurations](https://www.jetbrains.com/help/idea/run-debug-configuration.html) now displaying as a dropdown list with different paddings, according to the [Compact Dropdown Lists](/docs/configuration/spacing-settings/) setting, the same way the other dropdowns do. + +
+ +
+ +----- + +## Show notifications upon executing actions + +Another small but great improvement is the display of notifications ("toasts") after executing actions. This makes it easier to notice what exactly happened at a glance. + +
+ +---- + +## Add newer settings to the Wizards + +Last but not least, a few of the latest settings have been added to the [Wizard](/docs/reference/wizard/), in order to better showcase them. These include: +- Latest **Show Overlays** feature +- Latest **Bold Active Tab** feature +- **Tab Font Size** +- **Project Frame Colors** + +--------- + +## What's new in Material Theme UI v6.4.1 + +
+ +Yet another bug fixes version. + +
+ +- Fixes [https://github.com/ChrisRM/material-theme-jetbrains/issues/1739](https://github.com/ChrisRM/material-theme-jetbrains/issues/1739) +- Fixes [https://github.com/ChrisRM/material-theme-jetbrains/issues/1743](https://github.com/ChrisRM/material-theme-jetbrains/issues/1743) + +This fixes the issue where changing the theme from the _Material Theme Settings_ caused the theme to not be saved. + +- Fixes [https://github.com/ChrisRM/material-theme-jetbrains/issues/1745](https://github.com/ChrisRM/material-theme-jetbrains/issues/1745) + +Fixes a threading error caused when switching color schemes. + +- Fixes [https://github.com/ChrisRM/material-theme-jetbrains/issues/1747](https://github.com/ChrisRM/material-theme-jetbrains/issues/1747) + +[accents](/docs/configuration/accents/) and [file-status-colors](/docs/configuration/file-status-colors/) are part of the [pricing](/docs/pricing/#feature-comparison) but appears requiring the Premium Version. + +---- + +## What's new in Material Theme UI v6.4.0 + +
+ +This version closes the gap with some leftover tasks, mainly about **UI Theme Properties** and **Color Scheme Properties**, while continuing to improve the _Striped Tool Windows_ feature. + +
+ +---- + +## UI Theme Additions + +### Learn IDE Features Theming + +The plugin continues its process to theme all parts of the IDE, even those that are currently non-themable. And one of those is the **Learn IDE** plugin's pane. + +
+ +
+ +---- + +## Color Scheme Additions + +### Inlay Hints + +Another non-themed part were the _inlay hints_ that can be displayed in different places of the editor. + +
+ +
+ +
+ +
+ +### Problems Toolbar + +This is the small transparent toolbar that appears on the top right of the editor window to display the current file's problems. Although it looked like it was themed, the hovered buttons were not. + +
+ +
+ +### Inline refactoring toolbar + +Last but not least, the _inline refactoring toolbar_ was themed as well. + +
+ +
+ +:::caution +**NOTE:** Because these additions are on the color schemes, you will need to _Restore Color Schemes to default_ in case you edited them. +::: + +--- + +## Scrollbars Track Colors + +New settings have been added to the **Scrollbars** Color Scheme page to allow changing the color of the scrollbar track. + +
+ +--- + +## Improved Material Theme UI Landing Page Settings + +The Material Theme UI Landing Page have been improved to simplify __accessing the Marketplace__ to buy the plugin and __activating your License__. + +
+ +--- + +## Other fixes and improvements + +- Now, enabling the _Striped Tool Windows_ will require a restart if it wasn't enabled before +- Fix the _Striped Tool Windows_ issue where opening a project on the same window would cause the closed project icons to remain on the toolbars. +- Fix `NullPointerExcpetion` in Rider. +- Fix _Moonlight_ identifier under caret's color +- Add missing Android Studio Theme Keys (which will only be available once Android Studio migrates to 2021.1) + +---- + +That's it! And as JetBrains say, + +__Happy Developing!__ + +---------------- + +## What's new in Material Theme UI v6.3.3? + +
+ +Bug fixes, improvements, and more information about the Subscription Model in the Plugin Page. Hopefully this will put a stop to users uninstalling the plugin! 😣 + +
+ +### More info about the Subscription Model + +Since the new model has been implemented, many users started complaining about the change thinking that the plugin will be no longer free and that they will be left with nothing but to pay in order to continue using the plugin. Or that the plugin using a subscription model means that they will need to pay for it every year. + +But that is not the case. In fact, there is a long article explaining [the reasons behind the change](/docs/about-subscription-model/#about-material-themes-new-pricing-model). Unfortunately, people were unaware of this, and the first thing they saw is that the plugin is suddenly paid, and of course being left with incomprehension. + +As a result, I've added more information in the plugin page as well, so that hopefully people will be able to better understand the circumstances of the change as well as the many options available. + +### Bug Fixes + +- The __[Outline buttons](/docs/configuration/ui-component-settings/#outline-buttons)__ are no longer transparent as transparency is not really supported in the IDE. Instead, the buttons use color mixing to simulate transparency. This should make the outlined buttons feature more comfortable to use. +- __[Language Additions](/docs/configuration/language-additions/)__ are no longer appearing inside comments or JSX Tags. Hope this will be the last of it! +- Now when changing settings without changing the theme, the color scheme will **NOT BE RESET**. +- Same for executing actions such as the _Striped Tool Windows_, _Language Additions_, etc. + +### Additions + +- Two new actions have been added to the Quick Action Panels: _Outline Buttons_ and _Language Additions_. +- JavaScript and TypeScript additions requiring the __[Enforced Highlighting](/docs/configuration/language-additions/)__ are now annotated as such in the _Color Scheme Setting Pages_. + +That's it! And as JetBrains say, + +__Happy Developing!__ + +----- + +## What's new in Material Theme UI v6.3.0? + +
+ +New JavaScript and TypeScript additions, Outline Buttons improvements and a brand new **Striped Tool Windows layout**. Here's a quick glance of the new features. + +
+ +### Striped Tool Windows Layout + +:::caution +This feature is available in the free plan. +::: + +The new version of the Material Theme UI makes use of the new experimental feature in progress by JetBrains: The **Striped Tool Windows**. + +This new layout, heavily reminding of VSCode, replaces the tool windows by larger stripes on the left and right side of the screen. It also strips the buttons of all texts, making the IDE feeling less cluttered. + +
+ +This feature is disabled by default, but you can go back to the old layout via the _Settings_ or the _Material UI Actions Panel_. + +
+ +---- + +### JavaScript and TypeScript Additions + +The _Language Additions_ feature has started undergoing a big revamping. The feature, albeit useful, is suffering from many performance issues and weird behaviours. For example, PHP Additions were available even though the PHP plugin wasn't installed on the IDEs. + +This is the beginning of a long refactor of such a useful feature, starting from two very popular languages: **JavaScript** and **TypeScript**. + +In addition, the list of available additions has been greatly expanded for these languages, allowing users to configure almost everything. + +
+ +Here's the list of new additions: + +#### JavaScript + +- Globals: `window`, `document`, `global` +- Primitives: `NaN` +- Keywords: + - `abstract`, `class`, `extends`, `implements` + - `async`, `await` + - `constructor` + - `static` + - `get`, `set` + - `if`, `else`, `for`, `while`, `do` + - `in`, `of`, `instanceof`, `typeof`, `as` + - `default` + - `new`, `throw` + - `return`, `yield` + - `try`, `catch`, `finally` +- Other: `prototype` + +#### TypeScript + +- Keywords: + - `declare`, `namespace` + - `enum` + - `keyof` + - `readonly` + - `type`, `interface`, `alias` +- Types: + - `any`, `unknown`, `never` + - `string`, `boolean`, `number`, `object`, `symbol`, `bigint`, `void` + +Of course, the bundled color schemes have been extended to support those new additions, by comparing them with their VSCode/Sublime counterpart. + +#### Enforce Highlighting + +However, due to a limitation in JetBrains' syntax highlighting, some additions might not be highlighted as expected, as the language's highlighting will take precedence over the additions. To remedy that, a setting has been added in the Material Theme Settings, **Enforce Highlighting**, which would give the language additions higher precedence by making them appear as _Weak Warnings_. + +
+ +This, of course, has the side effect of adding a lot of "fake errors", therefore, it's disabled by default. + +---- + +### Scrollbars Color Settings + +The **Scrollbars Color Settings** are back! Although they are available in the _General Color Scheme Colors_, not all values are available there. + +This update restores this setting page so people can comfortably tweak their scrollbar colors. + +More info at the [Scrollbars Page](/docs/configuration/scrollbars/) + +---- + +### Other fixes and improvements + +- Outlined buttons have been slightly expanded to be more similar to their normal counterpart. +- The button highlighters have been slightly improved +- Fix for [#1720](https://github.com/ChrisRM/material-theme-jetbrains/issues/1720) +- Fix for [#1722](https://github.com/ChrisRM/material-theme-jetbrains/issues/1722) +- Fix for [#1725](https://github.com/ChrisRM/material-theme-jetbrains/issues/1725) +- Fix for [#1727](https://github.com/ChrisRM/material-theme-jetbrains/issues/1727) +- Fix for [#1728](https://github.com/ChrisRM/material-theme-jetbrains/issues/1728) diff --git a/src/content/docs/docs/changelog.mdx b/src/content/docs/docs/changelog.mdx new file mode 100644 index 0000000..701da9d --- /dev/null +++ b/src/content/docs/docs/changelog.mdx @@ -0,0 +1,314 @@ +--- +title: Changelog +--- + + +## 14.2.0 + +### Features + +- **Custom Language Additions**: Now you can add your own language additions! If you ever wanted to colorize specific functions, variables + or even strings, you can now add them on the fly and they will be added to the _Language Additions_ color scheme pages. +- **Language Additions Providers**: The plugin also provides a new `extensionPoint` to allow other plugins to provide their own language + additions. +- To illustrate the functionality, we provided a bunch of custom providers as well: + - *React Hooks*: `useState`, `useEffect`, `useContext`, etc. + - *Angular*: `@Component`, `@Injectable`, `ngFor`... + - *Vue*: `use*`, `watch*`, `computed`... + - *NestJS*: `@Controller`, `@Injectable`, `@Module`... + - *Django*: `@login_required`, `@app.route`, `views.View`... + - *Spring*: `@Controller`, `@Service`, `@Repository`... + - *Laravel*: `@Route`, `@Controller`, `@Middleware`... + - *IntelliJ Platform*: `@NotNull`, `@Nullable`, `Project`, `PsiFile`, `ApplicationManager`... + - *Rails*: `before_action`, `after_save`, `validate`, `has_many`... +- **HTML Additions**: Customize HTML tags and attributes to your liking. +- **CSS Additions**: Customize CSS properties, pseudo-elements, functions or at-rules at your leisure. +- **UI Theme Inspector**: Open the *Theme Color Overrides* tool window to launch a nifty **Theme Inspector**. This allows you to point at + any UI element and see its theme properties, color scheme keys, or raw color value. + +## 14.1.0 + +### Features + +- **New Language Additions Keywords**: Added new language addition keywords +- **File Header**: Implemented a custom renderer for the settings + +### Fixes + +- **File Header**: Fix the issue where the header grows and prevent the splits from being resized +- **File Header**: Fix close button +- **File Header**: Remove the header boldness and reduce size +- **Linux**: Hopefully fix the issue with the window coloring spreading over the editor and project tree + +## 14.0.0 + +### Features + +- **New Feature: File Header**: Display a configurable header at the top of every open editor. + - App-level and per-project settings, with project overrides + - Header styles: *Island*, *Seamless* and *Header* + - Configurable position, text alignment, dimensions, font and colors + - Toolbar with configurable alignment and a visibility toggle + - Presets popup for choosing the header pattern + - Scrollable text view in the header panel +- **New Feature: Tool Window Stripes Handle**: Collapse the tool window stripes and reveal them from a handle. + - Auto-hide with configurable hover delay and handle width + - Reopens the last auto-hidden tool window when revealing the bars from the handle +- **Project Frame**: Rich patterns can now style text in the title widget. +- **Second Gradient**: Optional secondary anchor for radial gradients. +- **Theme Color Overrides Tool Window**: Manually override the current theme's colors via a Tool Window. + +### Fixes + +- Fix Stripes Handle not installing on live frames and bars not collapsing when the feature is enabled. +- Fix Stripes Handle positioning. +- Fix hex color parsing in rich patterns to avoid `NumberFormatException`. + +### Removals + +- Removed unused dark theme detection methods. + +### Other + +- Support `Configurable.NewOptions` in all settings panels. +- Refactor the rich pattern rendering into modular parser and renderer classes. +- Refactor the overlay state management and popup detection. +- Improve the Peek editor data context handling and configuration. + +## 13.1.0 + +### Features + +- **New Themes!** + - **Winter Is Coming** + - **Shades of Purple** + - **Noctis** +- Redesign of the **Omni** and **Cobalt2** themes to improve their color schemes and overall look. +- **Custom Theme Colors**: You can now edit **in-place** the theme colors of *any theme* + - Inside "**Current Theme**" settings + - Edit any property and it will persist for this specific theme + - Select a color among the current theme's colors or pick a new one. + - Search for a specific property or color + - Reset a property or all properties to their defaults. + - **Note**: This feature is only available for **Premium** and **Custom Theme** license owners. + - **Note**: Any properties listed in the *Theme Ignores* will be ignored, no matter what color you give it. + +### Fixes + +- Fix Theme Color Overrides being silently overwritten by other subsystems (contrast, islands, compact + mode, etc.) during theme activation. +- Fix the **Ctrl-Click** behavior setting itself even after removing the shortcut from the keymap. + +## 13.0.0 + +### Features + +- **New Feature: Stylish Regions**: Make Folded Regions stand out. + - Three styles: *Wavy*, *Line* and *Stripe* + - Custom Separator Color (PREMIUM) + - Custom Text Color and Font (PREMIUM) + - Generate background color from the region description (PREMIUM) +- **Peek**: + - New Option: **Replace Ctrl-click**. When enabled, this will replace the default `Ctrl+Click/Cmd+Click` behavior by + the *Inline + Peek* feature. + - Prevent scrolling the parent container when scrolling on a peek panel + - Set default width to the full width + - Make the Peek Panel navigatable by `F4` + - Add the `ServiceDimensionKey` to make it keep the same size when switching between peek panels. +- **New Feature: Window Coloring**: Color the IDE window frame per project. + - Split out the *Window Coloring* settings from the *Project Banner* settings. + - You can now select between **Solid Color** or **Gradient Fill** + - For Gradients: + - You can choose between *Linear* and *Radial* gradient types + - You can select the anchor point for radial gradients (top left, top center, top right, etc) + - You can customize the size and opacity + - Override and regenerate the frame color + - Customize settings per-project + - **Regenerate window color on theme change**: Trigger a new Gradient/Solid color when the theme changes. +- **New Color Scheme Overrides**: + - **Search Results**: Override the search results highlight color with the accent color. + - **Identifier Under Caret**: Override the identifier under caret color with the accent color. + - **Matched Brace**: Override the matched brace color with the accent color. +- **New Feature: Outline Notifications** (UI Components): Give notifications an outline accent-colored look. + +### Fixes + +- **Peek**: Change the shortcut to `alt+middle` click +- Fix fallback font when **Google Sans** is not installed +- Fix the `registerActions` startup error with Actions +- Fix **Diff Colors Opacity** not getting persisted + +### Other + +- Mass refactor of the whole action system: now all actions are dynamic and taken from the `DynamicActionRegistrar` +- Mass refactor of the Configurables and States to reduce boilerplate code. +- Mass refactor of the `ThemeManager` into smaller services, each grouped in their relevant modules +- Removal of the `OptionContributors` + +## 12.1.0 + +### Features + +- **Peek: Custom Width**: Added a new setting to customize the width of the Peek popup. +- **Peek**: Change the background color and the border color of the Peek popup. +- **Peek**: Change the default number of lines to `16` and the default shortcut to `Alt+Click` and `Ctrl+Alt+Click`. + +### Fixes + +- Fix the issue (hopefully) with the **Random Theme Switcher** happening multiple times out of nowhere. +- Improve the **Omni Theme** colors +- Improve the **Omni Theme** color scheme colors +- Add *Overlays* support to the new *Non-Modal Settings* + +---- + +## 12.0.0 + +### Features + +- **New Themes**: Added **Cobalt2**, **Prism**, **Prism Light**, **Horizon**, **Horizon Bright**, and **Omni** themes to + the list of the + predefined themes. +- **New Accents**: Added more predefined accents to the collection +- **New Accent Color Popup**: Replaced the long list of actions for switching accents with a modernized popup for + selecting accent colors + with dynamic previews. +- **Peek**: + - Introduced **Peek (Popup)** and **Peek (Inline)**: Quick code preview and editing capabilities similar to VSCode's + Peek feature. + - Added configurable settings for Peek, such as **padding**, **header color**, etc.. +- **Color Scheme Overrides**: New settings page for overriding color scheme colors on the fly, for all themes. + - Migrated the **Automatically reset color scheme** and **Global Default Font** to this new page. + - **Diff Colors Opacity**: Adjust the opacity of diff highlights in the editor. + - **Popups and Notifications**: Override the colors of popups and notifications from the theme. + - **VCS Gutter Colors**: Override the colors of the VCS gutter indicators with the Material ones. + - **Override Accent**: Align certain color scheme properties with the current **Accent Color**. +- **Theme Selector Redone**: Replaced static theme preview screenshots with dynamic SVG previews for better consistency + across all themes. +- New modernized **Plugin Logo**. + +### Fixes + +- Adjust the project banner's height to prevent it being cut off. +- Improve window type checks in dialog utilities for overlays in the new 2026.2 build. +- Fixed the cropping issue in the NuGet Package Manager + +### Other + +- **Round Notifications** are now enabled by default. +- Updated **Gradle IntelliJ Plugin** and **Java version**. +- Optimized theme layout spacing and chunking logic. + +## 11.1.0 + +### Features + +- New Setting: **Tab Glow** (premium): adds a glow effect under the tabs. +- Reorganization of the **Material Theme UI Toolbar**: + - Categorize actions under their own section (_Tabs_, _Features_, etc) + - Adding most of the settings toggles + - Adding toggles to switch the current **Material Style** + +### Fixes + +- Fix **Adaptive Theme** not adapting upon color scheme changes. +- Fix issue where the _StatusBar Widgets_ are not added back upon removal until the next reloading. +- Fix wrong spacing in the _New File_ popup in M3 Style +- Fix outline not always added to text fields + +### Other + +- Remove Legacy Widget +- More Translations +- Update dependencies + +## 11.0.0-beta.5 + +### Fixes + +- Fixes the issue with the Font Scale booming up to MaxValue +- Removes deprecated setting for Islands Layout +- Changed the text from **Project Frame** to **Project Banner** +- Fixes the Project Banner's **Show Project Banner Text** not working +- Fixes wrong screenshot url in Features Settings +- Fixes empty text in the **Language Additions** settings +- Add a new setting for the **Full Window Gradient** in **Project Title Bar** settings. + +## 11.0.0-beta.4 + +### Fixes + +- Reverted the Tab Height Refactor as it was causing the tabs to be too big +- Remove Read Action in `MTListUI` + +## 11.0.0-beta.3 + +### Fixes + +- Removed the disabled state on the **Floating Action Button** setting. + +## 11.0.0-beta.2 + +### Fixes + +- Make FAB Actions Editor context-aware. +- Improve UI components sizing in larger Zoom Scales. +- Remove some API Internal uses + +## 11.0.0-beta.1 + +### Fixes + +- Remove some API Internal uses +- Improve **Borderless** mode in the Islands Layout + +## 11.0.0 + +### Features + +- **Default Contrast Mode**: The **Contrast Mode** is now enabled by default to provide a generally better looking + experience. +- **Material 3 Style**: The **Material 3 Style** is now available by default, replacing the now outdated **Material + Theme** (_Material 2_) + Style. + - In addition, the **Material Design** (_Material 1_) has been reworked, to provide more options to your IDE's look + and feel. +- **Floating Action Button (FAB)**: Introduced FAB support with customizable action groups, drag-and-drop, and position + persistence. +- **Theme Ignores Configuration**: New interface for managing and configuring native theme ignores. +- **Enhanced UI Customization**: + - New settings for **Custom Button Radius** and personalization of UI component borders. + - Improved **Rounded Tabs** with additional customization options and controls. + - Support for **Google Sans** font across the UI. +- **Spacing Settings Refinements**: Adds enhanced customization options for spacing settings. +- **Database Integration**: Added support for database table settings and plugin integration. +- **Current Look and Feel Properties**: New Settings page to visualize the current theme's colors. +- **UI DSL showcase**: New Settings page to preview various UI components. + +### Fixes + +- Major overhaul of the settings in order to fix many bugs within various settings pages. +- Improve the Contrast Mode layout and integration with the Islands and High Contrast. +- Improve Accent Mode to be more consistent and visually appealing. +- Fixed the issue where the plugin wouldn't load on the free plan. +- Improved resource disposal in the Change LaF Animator to prevent memory leaks. +- Corrected opacity calculations for inactive island settings. + +### Other + +- Updated Kotlin and dependency versions for better performance and stability. +- Translations updated +- Updated UI Properties and Color Schemes. + +## 10.10.0 + +### Features + +- New Setting: **Rounded Tabs Padding** and **Rounded Tabs Radius** gives you more personalization to the Rounded Tabs + feature. + +### Fixes + +- Restore disabled screenshots after introducing a new images domain. +- Fix issue with tool windows opacity not being applied correctly. diff --git a/src/content/docs/docs/what-s-new.mdx b/src/content/docs/docs/what-s-new.mdx new file mode 100644 index 0000000..3c7a3a9 --- /dev/null +++ b/src/content/docs/docs/what-s-new.mdx @@ -0,0 +1,650 @@ +--- +title: What's new? +--- + +## What's New in Material Theme UI v14.2.0 + +This release brings significant expansions to the **Language Additions** ecosystem, introducing **User-Defined Custom Additions**, +**Framework and Library Providers**, dedicated **HTML & CSS Additions**, as well as the new **UI Theme Inspector**. + +### Custom Language Additions + +You are no longer limited to pre-configured keywords. You can now define your own language additions to highlight specific functions, +identifiers, or variables directly in your code. By entering custom words or prefix patterns (such as `use*`) into the Language Additions +settings, they will automatically be exposed to the corresponding Color Scheme page. + +
+ +- Add custom identifiers per language in **Settings | Appearance & Behavior | Material Theme | Language Additions**. +- Supports comma-separated or newline-separated values. +- Supports trailing wildcards (e.g. `use*` will match `useState`, `useEffect`, `useCustomHook`). +- Customize colors under the `Custom` category in each language's **Color Scheme** additions page. + +### Language Additions Providers + +To enhance readability and provide immediate visual distinction for common frameworks and libraries, Material Theme UI now comes with +pre-packaged providers. In addition, an open extension point allows third-party plugin authors to contribute their own additions. + +
+
+
+
+ +Built-in framework and library providers include: + +- **React Hooks**: `useState`, `useEffect`, `useContext`, `useReducer`, `useMemo`, `useCallback`, etc. +- **Angular**: `@Component`, `@Injectable`, `@Directive`, `@Pipe`, `ngFor`, `ngIf`... +- **Vue**: `use*`, `watch*`, `computed`, `ref`, `reactive`... +- **NestJS**: `@Controller`, `@Injectable`, `@Module`, `@Get`, `@Post`... +- **Django**: `@login_required`, `@app.route`, `views.View`... +- **Spring**: `@Controller`, `@Service`, `@Repository`, `@Autowired`, `@Component`... +- **Laravel**: `@Route`, `@Controller`, `@Middleware`... +- **IntelliJ Platform SDK**: `@NotNull`, `@Nullable`, `Project`, `PsiFile`, `ApplicationManager`... +- **Rails**: `before_action`, `after_save`, `validate`, `has_many`, `belongs_to`... + +### HTML & CSS Additions + +Granular syntax highlighting is now extended to HTML Pages and CSS stylesheets. You can customize colors for HTML tags (semantic, +structural, layout, forms, media) and attributes (classes, IDs, ARIA, data attributes, boolean flags), as well as CSS properties, +pseudo-classes, functions, and at-rules. + +
+
+
+
+ +:::caution +**Note**: Language Additions is a **Premium** feature. +::: + +### UI Theme Inspector + +A new **Theme Inspector** is now available in the **Theme Color Overrides** tool window. It allows you to inspect any UI element in the IDE +on click to discover its theme property keys, color scheme keys, and active color values. + +
+
+
+
+
+ +--- + +## What's New in Material Theme UI v14.1.0 + +This version fixes a few issues with the recent **File Header** feature, as well as adding more keywords and primitives to the `Java`, +`Kotlin`, `Rust` and `Go` languages additions. + +See Changelog for more details. + +## What's New in Material Theme UI v14.0.0 + +This upcoming version introduces the **File Header**, improved **Wizard** steps, a new **Tool Window Stripes Handle**, the **Theme Colors +Override** tool window, +and a **Second Gradient Anchor** in the **Window Coloring** settings. + +### File Header + +A configurable header can now be displayed at the top of every open editor, completing the **Project Banner** already available. Similarly +to the Project Banner, +the *File Header* can provide useful information about the current file, such as its name, path, module, and more. + +
+ +- Configure it globally in the app settings, or override it per project. +- Choose between three styles: *Island*, *Seamless* and *Header*. +- Give each header a generated tint to better distinguish between files. +- Customize the position, text alignment, dimensions, opacity, font and colors. +- Provides a few handy actions, such as *Copy Path* or *Open in Split*. +- You can also change the current pattern by right-clicking and selecting from a list of predefined patterns. + +
+ +In addition, both the **Project Banner** and the **File Header** can now style the displayed information, e.g. change the color, make the +text bold, italic, etc. + +This allows you to highlight important information, such as the file name, and make it stand out from the rest of the text. + +
+ +:::caution +**Note**: This feature is available for **Premium** and **Project Frame** license owners. +::: + +### Wizard + +The theme setup wizard has been improved with new steps and a better layout. Two new wizard steps allow you to configure the +**Banner/Header** +and **Regions/Peek** settings directly during initial setup, making it easier to personalize your workspace from the start. + +The wizard UI has also been refined with improved layout using WrapLayout and minimum size constraints, ensuring a more consistent and +comfortable experience across different window sizes. + +
+
+
+
+
+
+ +### Tool Window Stripes Handle + +A new feature is available inside the **Features** settings: the **Tool Window Stripes Handle**. This feature allows you to automatically +hide the tool window stripes, and reveal them when you hover over a small handle on the side of the IDE. + +This can be particularly useful for **"Zen Users"**, i.e. people who usually hide their tool windows to focus on the code. + +
+ +You can configure the auto-hide behavior, the hover delay, and the handle width. + +:::caution +**Note**: This feature is available for all users. +::: + +### Second Gradient Anchor + +The **Window Coloring** settings now allow you to configure a second anchor for the gradient fill. + +
+ +### Theme Colors Override Tool Window + +Previously, you could preview the colors of the current theme, but you couldn't edit them. That's now possible with the new **Theme Colors +Override** tool window, which allows you to edit the colors of any theme in-place. + +
+ +This Tool Window gives you a preview of the current theme's colors, and allows you to edit them in-place. Upon clicking on a color, you will +be presented with a custom color picker that allows you to pick a color from the current theme's colors, or pick a new one. + +
+ +You can also filter out properties, reset to their default values, or add/remove custom properties if they are not present in the current +theme. + +:::caution +**Note**: This is the same feature as the one described in the v13.1.0 release notes, but in this version it is available as a Tool Window +in addition of the Settings page. As such, it is also only available for **Premium** and **Custom Theme** license owners. +::: + +---- + +## What's New in Material Theme UI v13.1.0 + +The new version focuses on bringing new themes to the table, as well as improving the existing ones. +It also introduces a new feature to edit the theme colors in-place, allowing for a more personalized experience. + +Hope you like it! + +### New Themes + +This version introduces three new themes to the collection: + +- **Winter Is Coming**: A dark theme with a cold, icy color palette. +- **Shades of Purple**: A vibrant theme with a purple color scheme. +- **Noctis**: A dark theme with a deep, rich color palette. + +
+
+
+
+
+ +In addition, the **Omni** and **Cobalt2** color schemes have been reworked from the ground up to better look like their +VSCode counterparts, while also improving their overall color schemes and aesthetics. + +### Override Theme Colors + +The other highlight of this version is the repurposing of the **Preview Theme Colors** page into a full-fledged **Theme +Colors Override** settings page allowing you to customize any theme's colors. + +
+ +:::caution +**Note**: This feature is only available for **Premium** and **Custom Theme** license owners. +::: + +Inside this page you can: + +- Filter out properties by name or color. +- Override a theme color that will be persisted for that specific theme. +- Reset a property or all properties to their defaults. +- Import and export your theme color overrides to share with others. + +
+ +:::caution +**Note**: Any properties listed in the *Theme Ignores* will be ignored, no matter what color you give it. +::: + +---- + +## What's New in Material Theme UI v13.0.0 + +Even though version 12 was deployed not long ago, this new version brings a lot of new features and refactorings, which +is a pretty big change. + +Between **Color Scheme Overrides**, **Peek**, **Window Coloring**, **Stylish Regions** and other new settings, this +version changes the underlying architecture of the **Actions System**, **Analytics**, **Accent Colors**, **Project +Banner**, just to name a few. + +### Stylish Regions + +Folded regions can now become visual landmarks instead of plain folded blocks. **Stylish Regions** redesigns the +appearance of folded regions, making them more visually distinct and easier to identify. + +You can choose from a variety of styles to suit your preferences, including: + +- **Wavy**: A soft, undulating separator, reminiscent of what you can already experience in diff windows. +- **Line**: A clean horizontal rule that keeps boundaries subtle and precise. +- **Stripe**: A bold, high-contrast separator that makes regions easy to spot while scrolling. + +
+
+
+
+
+ +The **Advanced** plan unlocks deeper customization, including custom separator and title colors, font family and size, +and title block positioning. You can also generate a background color automatically from the region description. This +gives regions with the same name a +consistent color across files, making familiar groups such as *Constants*, *Helpers*, or *API Calls* instantly +recognizable. + +You can configure these options in `Settings → Appearance → Material Theme UI → Regions`. The basic enable/disable +option remains free for everyone, so you can try the default Wavy style before enabling the full set of customization +options. + +---- + +### Window Coloring and Gradients + +The former **Project Banner** window-coloring options are now available in their own settings page. **Window Coloring** +applies a distinctive color to the IDE frame for each project, making it much easier to identify the right window when +several projects are open. Colors can be generated consistently from a project name, overridden manually, or regenerated +when you want a different visual identity. + +Alongside the existing **Solid Fill**, version 13.0.0 introduces **Gradient Fill** for a more polished transition +between the project color and the theme's panel color: + +- **Linear** gradients transition along a configurable angle, allowing horizontal, vertical, or diagonal color flows. +- **Radial** gradients radiate from a configurable anchor point. You can place the anchor at any of nine positions, from + top-left to bottom-right, to create anything from a corner glow to a centered spotlight. +- **Gradient size and opacity** let you control how strongly the project color appears and how quickly it fades into the + surrounding frame. + +
+
+
+
+ +Window Coloring can be configured globally at `Settings → Appearance → Material Theme UI → Window Coloring`. You can +also enable **Regenerate window color on theme change** to automatically pick a new color whenever you switch themes. + +For more granular control, **Per-Project Settings** allows you to choose different frame regions, fill modes, gradient +settings, and colors for each project. This makes it possible to give each project its own customizations, making them +distinct from one another. + +--- + +### Peek Evolution + +Peek has received a number of improvements to make it more useful and easier to use: + +- You can now use **Replace Ctrl-click** to replace the default `Ctrl+Click/Cmd+Click` behavior with the *Inline Peek* + feature, keeping you in context while exploring definitions. +- To improve the reading experience, the Peek panel now **defaults to full width**. +- We've added **F4 navigation** for faster jumping between results +- Implemented a **ServiceDimensionKey** to ensure consistent popup sizing when switching between peek panels. +- Furthermore, interacting with the Peek window no longer triggers parent container scrolling, providing a more stable + and focused editing experience. + +:::caution +**Note**: The **Replace Ctrl-click** option is a destructive action that modifies your current keymap. Please make a +backup before enabling it. +::: + +### New Color Scheme Overrides + +We’ve expanded the **Color Scheme Overrides** to give you finer control over your workspace's aesthetics. You can now +override the colors for **Search Results**, the **Identifier Under Caret**, and **Matched Braces** using the **Accent +Color**. This ensures key UI elements are always consistent with your chosen theme and accent, regardless of the +underlying color scheme's default colors. + +
+ +We've also fixed the issue with **Diff Colors Opacity** not persisting after restarts. + +### Outline Notifications + +Experience a cleaner, more modern approach to IDE notifications with **Outline Notifications**. These notifications +feature a subtle, **accent-colored outline** styling that integrates seamlessly with the rest of the Material Theme UI, +reducing visual clutter while ensuring key information remains prominent. + +
+ +### Random Accent Color + +The **Accent Color Picker** and **Accent Color Settings** now feature a **Random Accent Color** option. + +This allows you to generate a new accent color outside the predefined swatches, giving you a fresh and unique look for +your IDE. + +
+ +### Architectural Improvements + +Behind the scenes, version 13.0.0 includes a massive architectural refactor to ensure the plugin remains fast and +maintainable as it grows: + +- **Dynamic Action System**: The entire action system has been rewritten to be fully dynamic, reducing boilerplate code. + This allows for easier addition of new actions and features, while also improving startup performance. +- **Modular ThemeManager**: The core `ThemeManager` has been broken down into smaller, specialized services grouped by + module. This makes the code more maintainable and testable, and less prone to bugs. +- **Boilerplate Reduction**: We've significantly reduced the boilerplate code required for Configurables and States, + leading to a more reliable settings experience and faster delivery of new features. +- **Analytics Overhaul**: We've also improved the Analytics Collection, making it more efficient to follow user + interactions and feature usage, which will help us prioritize future improvements. + +These changes might not be immediately visible, but they provide a more stable foundation for the future of Material +Theme UI. + +## What's New in Material Theme UI v12.1.0 + +This version fixes a bunch of errors and usability issues, especially with the new **Peek** feature. + +### Addition of a **Custom Width** option + +Gives the ability to set a custom width for the Peek popup, restrained to the editor's width. This allows for a more +comfortable reading experience, especially when working with long lines of code. + +### New defaults + +The previous default of 8 lines in the Peek popup is really small and seldom useful. After comparing with other IDEs, we +decided to increase the default to 15 lines, which is a more comfortable size for most users. + +In addition, we changed the background color to use the *Contrast Color* of the current theme, and the border color to +the *Highlight Color*, giving more contrast between the Peek Panels and the enclosing editor. + +### New shortcuts + +The previous shortcuts of `Shift + Click` or `Alt + Shift + Click` are conflicting with the usual purpose of `Shift`, +which is to select text. As such, we've added new shortcuts for the Peek feature: `Alt + Click` for Peek Inline and +`Alt + Ctrl + Click` for Peek Popup. + +### Omni Theme touches + +The **Omni Theme** was found lacking a few properties in its color scheme, in comparison with the other prebundled +themes. We've ran a script to detect and fix the missing properties, and added a few more touches to make it more +complete and visually appealing. + +### Random Theme Fixes + +We also (hopefully!) fixed a strange bug happening with the **Random Theme Switcher**, where the theme would suddenly +change randomly, despite not having reach the timer. + +As always, happy coding! + +--- + +## What's New in Material Theme UI v12.0.0 + +This release introduces a bunch of new content, including six new themes and handy code navigation features. We've also +added a new options page for managing **Color Schemes**, a new **Accent Color Picker**, a new **Theme Selector**, and +other quality-of-life improvements. + +### New Themes + +We've added six new themes to the collection: + +- **Cobalt2**: A refined port of the popular Cobalt2 theme. +- **Prism & Prism Light**: Clean and vibrant themes inspired by the Prism syntax highlighter. +- **Horizon & Horizon Bright**: Reddish soothing themes with a warm and refined color palette. +- **Omni**: A dusk theme with vibrant colors, ported from the theme of the same name. + +
+
+
+
+
+
+
+
+ +### Peek + +Introducing **Peek**, a new way to explore and modify your code without losing context. Inspired by the VSCode feature +of the same name, this feature allows you to peek at definitions inline, edit them, all in the comfort of your current +file. You can configure the appearance and behavior of the inline editor, including rounded borders and double-escape to +close. + +- **Peek (Editable Popup)**: Opens the definition in a sleek popup, allowing you to make quick edits without switching + files. +- **Peek (Inline)**: Embeds the definition directly within your editor for a truly seamless experience. + +
+ +
+ +
+ +:::caution +**Note**: This feature is currently in beta and free for everyone, but in the future it will be only available in the +Premium Plan. +::: + +### Accent Color Picker + +We've removed the plethora of **Accent Color Actions** and replaced them with a single, unified **Accent Color Picker** +displaying the list of available swatches in a modernized, handy popup. This allows you for a quick and easy way to +change your accent color without navigating through multiple menus. + +
+ +In addition, we've added a few more **predefined accent colors** to the list, such as **Aqua**, **Sand**, **Salmon** +among others. + +### Color Scheme Overrides + +Thanks to the JetBrains Marketplace, you can download hundreds of themes and color schemes from a variety of sources. +However, sometimes the color schemes have contrast issues, wrong colors, or simply don't match the overall appearance. +JetBrains IDEs already allow you to override the colors of a color scheme. However, you can only override one scheme at +a time, and if you have lots of color schemes, this can become easily tedious and not worth the hassle. + +As such, we've added a new settings page for overriding vendor color schemes on the fly, centralizing all the settings +in one place. We've migrated some of the existing color scheme overrides to this new page, such as the **Global Default +Font** and the **Automatically Reset Color Scheme**, and added a few more options for better control over your color +schemes. + +- **Diff Colors Opacity**: You can now adjust the opacity of diff highlights in the Diff/Merge editor. +- **Popups and Notifications**: Override the colors of popups and notifications from the Theme itself. +- **VCS Gutter Indicators**: Replace the VCS gutter indicator colors with the Material schemes' colors. +- **Accent Color Overrides**: Automatically align certain color scheme properties with the current **Accent Color**. + +
+ +
+ +:::caution +**Note**: It's important to note that these overrides are affecting the color schemes, meaning that once applied, they +can't be easily reverted unless you reset the color scheme to its default state. Bear that in mind if you're using +customized color schemes! +::: + +### Other Improvements + +- **New Logo**: We've replaced the static PNG logo with a nicer SVG version, which scales better and looks sharper on + high-resolution displays. It also features a slightly more pleasant border radius, embedding with its containing + environment. +- **New Theme Selector**: We've replaced the static PNG screenshots of the themes with SVG icons representing the + theme's main colors. This allows us to add or edit themes more easily by automatically generating the previews. + +----- + +## 11.1.0 + +### Features + +- **New Setting: Tab Glow (Premium)**: Adds a subtle glow effect beneath active tabs. +- **Material Theme UI Toolbar Reorganization**: + - Actions are now logically categorized (e.g., *Tabs*, *Features*...). + - Added more setting toggles for quicker access. + - Added toggles to quickly switch the current **Material Style**. + +### Fixes + +- Fixed **Adaptive Theme** not updating correctly upon color scheme changes. +- Fixed an issue where **StatusBar Widgets** would not reappear after removal until a restart. +- Corrected spacing in the **New File** popup when using the M3 Style. +- Fixed a bug where outlines were not always applied to text fields. + +### Other + +- Removed Legacy Widget. +- Expanded translations. +- Updated dependencies. + +## 11.0.0-beta.5 + +### Fixes + +- Fixed a bug causing Font Scale to reset to maximum value. +- Removed deprecated setting for Islands Layout since it is no longer possible to turn off Islands. +- Renamed **Project Frame** to **Project Banner**. +- Fixed **Show Project Banner Text** setting not working. +- Corrected screenshot URL in Features Settings. +- Fixed missing text in **Language Additions** settings. +- Added a new **Full Window Gradient** setting in **Project Title Bar** settings. + +## 11.0.0-beta.4 + +### Fixes + +- Reverted Tab Height refactor to resolve sizing issues. +- Removed unnecessary Read Action in `MTListUI`. + +## 11.0.0-beta.3 + +### Fixes + +- Restored the **Floating Action Button** setting to its enabled state. + +## 11.0.0-beta.2 + +### Fixes + +- Made FAB Actions Editor context-aware. +- Improved UI component scaling at higher zoom levels. +- Reduced internal API usage. + +## 11.0.0-beta.1 + +### Fixes + +- Reduced internal API usage. +- Improved **Borderless** mode within the Islands Layout. + +---- + +## What's New in Material Theme UI v11.0.0 + +
+ +New year, new look! The **Material Theme UI** plugin continues to evolve, bringing a modernized experience to your IDE. +This version introduces the **Material 3** style, offering a fresh, contemporary aesthetic to replace the classic **Material 2** look. We’ve +also added support for the sleek **Google Sans** font (available separately) to further +refine your workspace. + +
+ +### Material 3 Style + +
+ +
+ +
+ +Want a preview? Explore the new **UI DSL Showcase** page in your settings. + +For fans of the classics: we’ve completely overhauled the original **Material Design** (*Material 1*). No longer just a +legacy style, it is now a fully-featured customization option for those who prefer the traditional Material look. + +---- + +Beyond the visual refresh, we’ve introduced several powerful features to enhance your workflow: + +## Customizable Floating Action Button (FAB) + +Access your most-used actions instantly with the new Floating Action Button. Position it anywhere in your IDE window and +customize its triggered actions via the **Menus and Toolbars** settings. + +
+ +## Theme Ignores + +Sometimes external themes don’t align perfectly with your preferences. With the new **Theme Ignores** page, you can +choose to bypass specific theme properties in favor of native IDE defaults, helping you resolve color clashes and UI +inconsistencies. + +
+ +## Preview Theme Colors + +Gain full transparency into your active theme. This new tool provides a comprehensive table of all theme properties and +their exact color values, eliminating the guesswork from customization. + +
+ +## Refined Spacing Settings + +Precision matters. We’ve expanded the **Spacing Settings** to grant you granular control over the size and padding of UI +components, allowing you to tailor your IDE to your exact specifications. + +
+ +## Settings Overhaul + +We’ve refined every settings page to improve the user experience. This includes UX optimizations, fixing UI bugs (such +as broken images or inconsistent disabled states), and overall polish to make navigation more intuitive. + +### Full Changelog + +### Features + +- **Contrast Mode by Default**: Enabled by default to provide a sharper, more defined UI out of the box. +- **Material 3 Integration**: Material 3 is now the default style, succeeding Material 2. + - **Material 1** has been revitalized as a primary customization option. +- **Floating Action Button (FAB)**: A customizable, draggable shortcut hub that persists across sessions. +- **Theme Ignores**: A dedicated interface for managing and overriding external theme properties. +- **UI Customization Enhancements**: + - New settings for **Custom Button Radius** and component borders. + - Improved **Rounded Tabs** with expanded customization options. + - Official support for the **Google Sans** font. +- **Enhanced Spacing**: More granular options for fine-tuning the IDE layout. +- **Database Integration**: New settings for database tables and improved plugin synergy. +- **Live Color Preview**: A dedicated page to visualize every color property in your current theme. +- **UI DSL Showcase**: A convenient way to preview various UI components and styles. + +### Fixes + +- Comprehensive cleanup and bug fixes across all settings pages. +- Improved Contrast Mode stability, particularly with Islands and High Contrast themes. +- Enhanced consistency and aesthetics for Accent Mode. +- Resolved an issue preventing the plugin from loading for users on the free plan. +- Optimized memory management during theme switching to prevent leaks. +- Fixed opacity issues for inactive settings in the Islands layout. + +### Other + +- Updated Kotlin and other core dependencies for improved performance and stability. +- Expanded and updated translations. +- Refreshed UI properties and color schemes. + +**Note**: This version is actively being refined. If you encounter any bugs or have feedback, please report them to help +us improve. + +Happy coding!