cupertino: Remove experimental label

This commit is contained in:
Olivier Goffart 2023-09-19 12:23:18 +02:00 committed by Olivier Goffart
parent 855cc025b0
commit adc697b1d1
3 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ The styles available include:
|------------|--------------|--------------|------------| |------------|--------------|--------------|------------|
| `fluent` | `fluent-light`| `fluent-dark`| These variants belong to the **Fluent** style, which is based on the [Fluent Design System](https://fluent2.microsoft.design/). | | `fluent` | `fluent-light`| `fluent-dark`| These variants belong to the **Fluent** style, which is based on the [Fluent Design System](https://fluent2.microsoft.design/). |
| `material` | `material-light`| `material-dark`| These variants are part of the **Material** style, which follows the [Material Design](https://m3.material.io). | | `material` | `material-light`| `material-dark`| These variants are part of the **Material** style, which follows the [Material Design](https://m3.material.io). |
| `cupertino`| `cupertino-light`| `cupertino-dark`| The **Cupertino** variants emulate the style used by macOS. (Experimental) | | `cupertino`| `cupertino-light`| `cupertino-dark`| The **Cupertino** variants emulate the style used by macOS. |
| `native` | | | The **Native** style mimics the controls native to the platform on which they are used. This includes specific support for the appearance of controls on macOS and Windows. This style requires Qt to be installed on your system. | | `native` | | | The **Native** style mimics the controls native to the platform on which they are used. This includes specific support for the appearance of controls on macOS and Windows. This style requires Qt to be installed on your system. |
By default, the styles automatically adapt to the system's dark or light color setting. Select a `-light` or `-dark` variant to override the system setting and always show either dark or light colors. By default, the styles automatically adapt to the system's dark or light color setting. Select a `-light` or `-dark` variant to override the system setting and always show either dark or light colors.

View file

@ -34,7 +34,7 @@
<select id="style-selection"> <select id="style-selection">
<option value="./pkg/fluent/gallery.js">Fluent</option> <option value="./pkg/fluent/gallery.js">Fluent</option>
<option value="./pkg/material/gallery.js">Material</option> <option value="./pkg/material/gallery.js">Material</option>
<option value="./pkg/cupertino/gallery.js">Cupertino (Experimental)</option> <option value="./pkg/cupertino/gallery.js">Cupertino</option>
</select> </select>
</p> </p>
<div id="canvas-parent" width="640" height="480"></div> <div id="canvas-parent" width="640" height="480"></div>

View file

@ -96,9 +96,9 @@ function create_style_menu(editor: EditorWidget): Menu {
{ label: "Material", name: "material" }, { label: "Material", name: "material" },
{ label: "Material Light", name: "material-light" }, { label: "Material Light", name: "material-light" },
{ label: "Material Dark", name: "material-dark" }, { label: "Material Dark", name: "material-dark" },
{ label: "Cupertino (Experimental)", name: "cupertino" }, { label: "Cupertino", name: "cupertino" },
{ label: "Cupertino Light (Experimental)", name: "cupertino-light" }, { label: "Cupertino Light", name: "cupertino-light" },
{ label: "Cupertino Dark (Experimental)", name: "cupertino-dark" }, { label: "Cupertino Dark", name: "cupertino-dark" },
]) { ]) {
const command_name = "slint:set_style_" + style.name; const command_name = "slint:set_style_" + style.name;
commands.addCommand(command_name, { commands.addCommand(command_name, {