Skip to content

Commit

Permalink
Update theme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kikipoulet authored Sep 2, 2024
1 parent 7bff7da commit f77e701
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/docs/documentation/theming/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

SukiUI use the [Theme Variant](https://docs.avaloniaui.net/docs/guides/styles-and-resources/how-to-use-theme-variants) system provided by `AvaloniaUI`.

However, the SukiTheme class provide an easiest wrapper to change Light/Dark theme.
However, the SukiTheme class provide a wrapper to change Light/Dark theme.
#### Dark
![{CFF9284D-F8E2-48C5-A837-05BB4BEA0673}](https://github.com/user-attachments/assets/bdfeec4e-d0e7-4d7e-b075-b0616720acbd)

#### Light

![{4E906261-7E2A-472E-B21E-FC038B1CFDF5}](https://github.com/user-attachments/assets/84dd83b4-be4f-4a0f-8c86-4d0c0e01e3ea)

<img src="https://i.ibb.co/XzzfB9r/theming-theme.gif" alt="theming-theme">

## Switch to Dark Theme

Expand All @@ -31,4 +36,4 @@ SukiTheme.GetInstance().OnBaseThemeChanged += variant =>
{
Console.WriteLine("Theme changed triggered !");
};
```
```

0 comments on commit f77e701

Please sign in to comment.