Skip to content

Commit

Permalink
cupertino: Remove experimental label
Browse files Browse the repository at this point in the history
  • Loading branch information
ogoffart committed Sep 19, 2023
1 parent 855cc02 commit adc697b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/reference/src/advanced/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/). |
| `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. |

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.
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1>Slint Gallery</h1>
<select id="style-selection">
<option value="./pkg/fluent/gallery.js">Fluent</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>
</p>
<div id="canvas-parent" width="640" height="480"></div>
Expand Down
6 changes: 3 additions & 3 deletions tools/slintpad/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ function create_style_menu(editor: EditorWidget): Menu {
{ label: "Material", name: "material" },
{ label: "Material Light", name: "material-light" },
{ label: "Material Dark", name: "material-dark" },
{ label: "Cupertino (Experimental)", name: "cupertino" },
{ label: "Cupertino Light (Experimental)", name: "cupertino-light" },
{ label: "Cupertino Dark (Experimental)", name: "cupertino-dark" },
{ label: "Cupertino", name: "cupertino" },
{ label: "Cupertino Light", name: "cupertino-light" },
{ label: "Cupertino Dark", name: "cupertino-dark" },
]) {
const command_name = "slint:set_style_" + style.name;
commands.addCommand(command_name, {
Expand Down

0 comments on commit adc697b

Please sign in to comment.