diff options
author | Aylur <[email protected]> | 2024-12-25 02:36:28 +0100 |
---|---|---|
committer | Aylur <[email protected]> | 2024-12-25 02:36:28 +0100 |
commit | f00e558c6af391bc7ae0b64190da37f876f12c79 (patch) | |
tree | bfda44155b326c66cbd2b986c0316515120140d9 /docs/guide/typescript/theming.md | |
parent | 22ab42c2bb5532064d704931729ddba089dd7276 (diff) |
docs: add gtk4 jsx documentation
Diffstat (limited to 'docs/guide/typescript/theming.md')
-rw-r--r-- | docs/guide/typescript/theming.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/guide/typescript/theming.md b/docs/guide/typescript/theming.md index 5944c4e..3cafa7d 100644 --- a/docs/guide/typescript/theming.md +++ b/docs/guide/typescript/theming.md @@ -1,24 +1,25 @@ # Theming -Since the widget toolkit is **GTK3** theming is done with **CSS**. +Since the widget toolkit is **GTK** theming is done with **CSS**. - [CSS tutorial](https://www.w3schools.com/css/) -- [GTK CSS Overview wiki](https://docs.gtk.org/gtk3/css-overview.html) -- [GTK CSS Properties Overview wiki](https://docs.gtk.org/gtk3/css-properties.html) +- [GTK3 CSS Overview wiki](https://docs.gtk.org/gtk3/css-overview.html) +- [GTK3 CSS Properties Overview wiki](https://docs.gtk.org/gtk3/css-properties.html) +- [GTK4 CSS Overview wiki](https://docs.gtk.org/gtk4/css-overview.html) +- [GTK4 CSS Properties Overview wiki](https://docs.gtk.org/gtk4/css-properties.html) :::warning GTK is not the web While most features are implemented in GTK, you can't assume anything that works on the web will work with GTK. -Refer to the [GTK docs](https://docs.gtk.org/gtk3/css-overview.html) -to see what is available. +Refer to the GTK docs to see what is available. ::: -So far every widget you made used your default GTK3 theme. +So far every widget you made used your default GTK theme. To make them more custom, you can apply stylesheets to them. ## From file at startup -You can pass a path to a file or css as a string in `App.start` +You can pass a path to a file or CSS as a string in `App.start` :::code-group |