From 2b4d0c823728e1c926a49c5540b2de07bca0c914 Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Thu, 18 Jul 2024 13:01:43 +0200 Subject: [PATCH] Cleanup links in JewelReadme Now links point to GitHub, so the app doesn't crash when you click them. --- .../jewel/samples/standalone/view/markdown/JewelReadme.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/view/markdown/JewelReadme.kt b/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/view/markdown/JewelReadme.kt index e14adde22..4dea206e9 100644 --- a/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/view/markdown/JewelReadme.kt +++ b/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/view/markdown/JewelReadme.kt @@ -7,7 +7,7 @@ internal val JewelReadme = """ # Jewel: a Compose for Desktop theme -Jewel logo +Jewel logo Jewel aims at recreating the IntelliJ Platform's _New UI_ Swing Look and Feel in Compose for Desktop, providing a desktop-optimized theme and set of components. @@ -130,7 +130,7 @@ The standalone theme can be used in any Compose for Desktop app. You use it as a to your heart's content. By default, it matches the official Int UI specs. For an example on how to set up a standalone app, you can refer to -the [`standalone` sample](samples/standalone/build.gradle.kts). +the [`standalone` sample](https://github.com/JetBrains/jewel/blob/main/samples/standalone/build.gradle.kts). > [!WARNING] > Note that Jewel **requires** the JetBrains Runtime to work correctly. Some features like font loading depend on it, @@ -152,7 +152,7 @@ If you want more control over the theming, you can use other `IntUiTheme` overlo The JetBrains Runtime allows windows to have a custom decoration instead of the regular title bar. -![A screenshot of the custom window decoration in the standalone sample](art/docs/custom-chrome.png) +![A screenshot of the custom window decoration in the standalone sample](https://github.com/JetBrains/jewel/blob/main/art/docs/custom-chrome.png?raw=true) The standalone sample app shows how to easily get something that looks like a JetBrains IDE; if you want to go _very_ custom, you only need to depend on the `decorated-window` module, which contains all the required primitives, but not @@ -214,7 +214,7 @@ and the branch on which the corresponding bridge code lives: | 2023.1 or older | **Not supported** | For an example on how to set up an IntelliJ Plugin, you can refer to -the [`ide-plugin` sample](samples/ide-plugin/build.gradle.kts). +the [`ide-plugin` sample](https://github.com/JetBrains/jewel/blob/main/samples/ide-plugin/build.gradle.kts). #### Accessing icons