Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default defineConfig({
'./src/components/content/Figure.astro',
'./src/components/content/Gallery.astro',
'./src/components/content/PaletteColors.astro',
'./src/components/content/RecommendedPlugins.astro',
'./src/components/content/ThemeCard.astro',
'./src/components/content/ThemeCards.astro',
'./src/components/content/ThemeColors.astro',
Expand All @@ -45,7 +44,16 @@ export default defineConfig({
starlight({
title: 'Material Theme UI',
customCss: ['./src/styles/custom.css'],
favicon: '/img/favicon.ico',
head: [
{
tag: 'link',
attrs: { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/img/favicon-32x32.png' },
},
{
tag: 'link',
attrs: { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/img/favicon-16x16.png' },
},
{
tag: 'link',
attrs: { rel: 'preconnect', href: 'https://fonts.googleapis.com' },
Expand Down Expand Up @@ -118,14 +126,12 @@ export default defineConfig({
{ label: 'File Status Colors', slug: 'docs/configuration/file-status-colors' },
{ label: 'Scrollbars', slug: 'docs/configuration/scrollbars' },
{ label: 'Adaptive Theme', slug: 'docs/configuration/adaptive-theme' },
{ label: 'Recommended Plugins', slug: 'docs/configuration/recommended-plugins' },
],
},
{
label: 'Reference',
items: [
{ label: 'Color Palette', slug: 'docs/reference/color-palette' },
{ label: 'Components', slug: 'docs/reference/components' },
{ label: 'Wizard', slug: 'docs/reference/wizard' },
{ label: 'Chrome Themes', slug: 'docs/reference/chrome-themes' },
],
Expand Down
1 change: 0 additions & 1 deletion e2e/configuration-pages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const pages = [
'file-status-colors',
'scrollbars',
'adaptive-theme',
'recommended-plugins',
];

for (const slug of pages) {
Expand Down
18 changes: 0 additions & 18 deletions e2e/fixtures/old-img-paths.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,6 @@
"/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",
Expand Down
4 changes: 2 additions & 2 deletions e2e/fixtures/old-urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const docsPages = [
'/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/',
Expand All @@ -45,7 +44,6 @@ export const docsPages = [
'/docs/pricing/',
'/docs/reference/chrome-themes/',
'/docs/reference/color-palette/',
'/docs/reference/components/',
'/docs/reference/wizard/',
'/docs/support-us/',
'/docs/what-s-new/',
Expand All @@ -67,6 +65,7 @@ export const redirects: Record<string, string> = {
'/sitemap.xml': '/sitemap-index.xml',
'/docs/configuration/ui-components-settings/': '/docs/configuration/ui-component-settings/',
'/docs/configuration/main-settings/': '/docs/configuration/settings/',
'/docs/reference/components/': '/docs/archives/',
'/docs/configuration/current-theme/': '/docs/configuration/settings/',
'/docs/configuration/preview-theme-colors/': '/docs/configuration/settings/',
'/docs/configuration/theme-selector/': '/docs/configuration/settings/',
Expand Down Expand Up @@ -105,4 +104,5 @@ export const gone = [
'/docs/development/',
'/docs/development/installation/',
'/docs/development/external-themes/',
'/docs/configuration/recommended-plugins/',
];
7 changes: 1 addition & 6 deletions e2e/icons-reference-development.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { expect, test } from '@playwright/test';

const pages = [
'reference/color-palette',
'reference/components',
'reference/wizard',
'reference/chrome-themes',
];
const pages = ['reference/color-palette', 'reference/wizard', 'reference/chrome-themes'];

for (const slug of pages) {
test(`page ${slug} renders and is in the sidebar`, async ({ page }) => {
Expand Down
2 changes: 2 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ https://www.material-theme.com/* https://material-theme.com/:splat 301!

# The old robots.txt and Search Console pointed at /sitemap.xml
/sitemap.xml /sitemap-index.xml 301
/favicon.ico /img/favicon.ico 200

# Slug fixes
/docs/configuration/ui-components-settings/ /docs/configuration/ui-component-settings/ 301
/docs/configuration/main-settings/ /docs/configuration/settings/ 301
/docs/reference/components/ /docs/archives/ 301

# Icons docs moved to their own site
/docs/icons/ https://a-file-icon-idea.netlify.app/ 301
Expand Down
Binary file removed public/img/components/actionButton.png
Binary file not shown.
Binary file removed public/img/components/buttons.png
Binary file not shown.
Binary file removed public/img/components/checkbox.png
Binary file not shown.
Binary file removed public/img/components/dialog.png
Binary file not shown.
Binary file removed public/img/components/dropdown.png
Binary file not shown.
Binary file removed public/img/components/input.png
Binary file not shown.
Binary file removed public/img/components/navbar.png
Binary file not shown.
Binary file removed public/img/components/number.png
Binary file not shown.
Binary file removed public/img/components/password.png
Binary file not shown.
Binary file removed public/img/components/progress.png
Binary file not shown.
Binary file removed public/img/components/radio.png
Binary file not shown.
Binary file removed public/img/components/slider.png
Binary file not shown.
Binary file removed public/img/components/spinner.png
Binary file not shown.
Binary file removed public/img/components/switches.png
Binary file not shown.
Binary file removed public/img/components/table.png
Binary file not shown.
Binary file removed public/img/components/table2.png
Binary file not shown.
Binary file removed public/img/components/tabs.png
Binary file not shown.
Binary file removed public/img/components/treeArrows.png
Binary file not shown.
24 changes: 0 additions & 24 deletions src/components/content/RecommendedPlugins.astro

This file was deleted.

7 changes: 5 additions & 2 deletions src/components/landing/ThemeChooser.astro
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,14 @@ const sections = [
box-shadow: 0 0 0 3px var(--sl-color-accent-low);
}

/* Break out of the narrow content column so the screenshot stays readable. */
.screenshot {
position: relative;
left: 50%;
display: block;
max-width: 60rem;
margin: 1.5rem auto;
width: min(92vw, 80rem);
margin: 1.5rem 0;
transform: translateX(-50%);
aspect-ratio: 1750 / 1024;
background: url('/img/laptop.png') no-repeat center / 100% auto;
}
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/docs/acknowledgements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Sadly, it hasn't been updated for a while and would probably not work with curre
[Nyan Progress Bar](https://plugins.jetbrains.com/plugin/8575-nyan-progress-bar)

A funny plugin, which replaces the Progress Bar with a _Nyan Cat_.
The inspiration for the [Material Components](/docs/reference/components/) customization.
The inspiration for the Material Components customization.

### .ignore

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/docs/analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: About Analytics

## Analytics

Starting from 2.4.0, analytics have been added to the plugin.
The plugin includes analytics.
Just like other plugins' analytics, these analytics are here to analyze feature usage and users' audiences.

This step would provide us useful data for prioritizing development of highly requested features, while scrapping others that are seldom used.
Expand Down
102 changes: 102 additions & 0 deletions src/content/docs/docs/archives.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2889,3 +2889,105 @@ More info at the [Scrollbars Page](/docs/configuration/scrollbars/)
- 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)

## Material Components (legacy reference)

This was the reference of all the components customized by the plugin in the old Material Design style, which was in use from 2015 to 2022.
Since then, the UI has been redesigned to comply with the newer Material Design guidelines.

### Introduction

The original idea of the _Material Theme plugin_ was to be able to customize the UI and Editor colors to look like the
original Sublime theme.
Since there wasn't a way to create a new separate Look And Feel, the plugin is borrowing the native Look and feels,
Darcula and IntelliJ, and overrides their colors as long as it's able to.

However, the plugin didn't stop there.
Aside from changing the colors of the editor, the theme also got to customize the different parts of the editor with a Material Design look and feel, which
brought him a lot of stars.
There should be a way to do it for JetBrains IDE as well, right?

And there is one, and thus the plugin features Material Design components reworked from the ground up, making it look
similar to the original plugin, and even bringing new features to light!

### Tabs

Regular Editor tabs have been modified to look like Material design tabs:

- They got bigger.
- An indicator is displayed under the active tab.
- They can be bold and uppercase.
- The close button has been reworked.
- A shadow is shown under the tab strip.

### Buttons

- Buttons have been flattened and lost their bevel effect.
- The font has increased to 13px and became bold.
- An animation is played when hovering them as they change color.

### Inputs, numbers and passwords

- They display a rounded border, which gets highlighted on focus.
- They have a different background color in contrast mode.
- Password fields have a new button to allow previewing the inputted characters.

### Checkboxes

- Checkboxes are now filled with the accent color while the sign is transparent.
- They get some sort of halo when checked/unchecked.

### Radio buttons

- Radio buttons got similar to the Material Design Radio buttons.
- They get some sort of halo when pressed.

### Dropdowns/comboboxes

- The dropdowns/comboboxes got redesigned by having the same border as the inputs, which highlights on active/hover.
- Besides, they have been added more padding between items, as well as hovering over the selector, just like Material
Design dropdowns.
This behavior can be switched off via the `Compact Dropdowns` setting.

### Action buttons

- Action Buttons, or Toolbar buttons got redesigned to display some sort of halo when hovered/pressed.

### Sliders

- The thumb got round and larger.
- The track got thicked and received the accent color.
- The steppers have been removed.

### Tables

- Table Headers and cells have been padded on top and bottom.
- Table Headers got bold.
- Table Cells got a beveled border when selected.
- Striped table rows get the regular and contrast color of the current theme.

### Trees

- Tree Items height got bigger (can be customized in the settings)
- The selected item is highlighted with an indicator (can be customized in the settings)

### Progress indicators

- Progress Bars have lost their "striped" look to look more like a regular filling bar.
- Progress Loaders have been replaced with the well-known Material Design circular loader.

### Dialogs

- Dialogs title bar's text is now left aligned, bigger and bold.

### Switches

- On/Off buttons that appear inside the Command Panel and Search Everywhere.

### Navigation bar

- The Navigation Bar at the top of the view looks more like Material Design breadcrumbs.

### Tabbed Panes

- Tabbed panes respect the Tab Settings, thus allowing custom height, custom indicator and upper case labels.
10 changes: 2 additions & 8 deletions src/content/docs/docs/configuration/accents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,11 @@ Accent colors can be configured in several ways:

**Material Theme Toolbar**:

Since version 12.0.0, the **Accent Color Popup** has been completely redesigned with a modern UI. It now features dynamic SVG previews for
The **Accent Color Popup** features a modern UI with dynamic SVG previews for
each accent color, making it easier to visualize your choice before applying it.

<Figure content="/screens/archive/accentChooser.png" caption="Material Toolbar Old Accent Chooser" />

<Figure content="/screens/accents/accentPicker.png" caption="Material Accent Picker" />

**Status Bar Accent Color Widget**:

<Figure content="/screens/archive/accentColorWidget.png" caption="Status Bar Accent Chooser" />

**From The Settings**:

<Figure content="/screens/settingsv3/accentColors.png" caption="Accent Color Settings" />
Expand Down Expand Up @@ -140,4 +134,4 @@ To see how your chosen accent color will appear, refer to the `Preview` section
Note: These images are from earlier versions of the plugin and may not reflect current UI changes. For a real-time preview, navigate to the
`UI DSL Showcase` settings screen within the IDE.

<Gallery />
<Gallery />
2 changes: 1 addition & 1 deletion src/content/docs/docs/configuration/color-schemes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enabled, manual changes will not persist. We recommend using the `Duplicate` fun

## Color Scheme Overrides

Since version 12.0.0, you can override certain properties of **all** color schemes via these Settings, including the color schemes provided
You can override certain properties of **all** color schemes via these Settings, including the color schemes provided
by JetBrains or from third-party plugins. This allows you to align some colors with the theme, to use predefined values, to use your own
colors, etc.

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/docs/configuration/peek.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Inspired by the VSCode feature of the same name, it enables you to peek at defin
efficiently, all within the same editor window.

:::caution
This feature is currently in beta and free for everyone. In the future, it will be part of the Premium Plan.
This is a freemium feature: everyone can toggle it on or off, but customizing its settings requires the Premium Plan.
:::

## Overview
Expand Down
35 changes: 0 additions & 35 deletions src/content/docs/docs/configuration/recommended-plugins.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion src/content/docs/docs/configuration/scrollbars.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Examples of elements controlled by Color Schemes include:
- Gutter modified lines
- ...

Prior to version 2019.1, scrollbars were strictly controlled by the UI Theme. This often led to visual inconsistencies; for example, a dark purple color scheme might still display standard "Darcula Gray" scrollbars.
Scrollbars used to be strictly controlled by the UI Theme. This often led to visual inconsistencies; for example, a dark purple color scheme might still display standard "Darcula Gray" scrollbars.

To address this, JetBrains refactored scrollbars to allow color scheme designers to define their own colors and opacity. However, as of now, these settings are not exposed in the standard IDE settings and can typically only be modified by editing the color scheme's XML file directly.

Expand Down
Loading
Loading