Alex Styl
07/10/2024, 7:03 PMmbonnin
07/10/2024, 7:10 PMhfhbd
07/10/2024, 7:16 PMhfhbd
07/10/2024, 7:17 PMAlex Styl
07/10/2024, 7:23 PMAlex Styl
07/10/2024, 7:23 PMVampire
07/10/2024, 7:24 PMmbonnin
07/10/2024, 7:25 PMAlex Styl
07/10/2024, 7:25 PMWhat should this script configure?Ideally this config will be in kotlin. i mentioned in the OP a kts file because that seems what settings.gradle.kts is using (i havent used kts on my own).
Alex Styl
07/10/2024, 7:25 PMmbonnin
07/10/2024, 7:26 PMAlex Styl
07/10/2024, 7:26 PMmbonnin
07/10/2024, 7:26 PMmbonnin
07/10/2024, 7:26 PMVampire
07/10/2024, 7:27 PMIdeally this config will be in kotlin. i mentioned in the OP a kts file because that seems what settings.gradle.kts is using (i havent used kts on my own).I did not ask how the config should look like. I asked what it should configure.
Vampire
07/10/2024, 7:27 PMAlex Styl
07/10/2024, 7:27 PMBut if you need data input, other formats like json, toml, etc... are usually better suited@mbonnin gotcha. the only reason why i think kotlin is better is because of strong types, but reading what you said, im reconsidering
mbonnin
07/10/2024, 7:29 PMmbonnin
07/10/2024, 7:29 PMmbonnin
07/10/2024, 7:30 PMAlex Styl
07/10/2024, 7:30 PMval Theme = buildComposeTheme {
colors = DesignTokens(
primary to Color.Red
)
}
i would like to be able to generate extensions functions for the users based on their desired theme. ie ComposeTheme.colors.primary
Alex Styl
07/10/2024, 7:31 PMmbonnin
07/10/2024, 7:32 PMAlex Styl
07/10/2024, 7:32 PMmbonnin
07/10/2024, 7:33 PMmbonnin
07/10/2024, 7:33 PMAlex Styl
07/10/2024, 7:33 PMmbonnin
07/10/2024, 7:35 PMmbonnin
07/10/2024, 7:35 PMmbonnin
07/10/2024, 7:36 PMhfhbd
07/10/2024, 7:38 PMAlex Styl
07/10/2024, 7:40 PMephemient
07/10/2024, 11:30 PMVampire
07/10/2024, 11:40 PM