Last week we had a hackathon at my company. I crea...
# compose-ui-showcase
t
Last week we had a hackathon at my company. I created a kind of oldscool paint application that produces shader code instead of bmp files, which can then be used as AGSL or SKSL shader code. Over the weekend I migrated the code to compose multiplatform so that it now also runs as a webapp. Live demo: https://drick.de/shaderpaint Sources: https://github.com/timo-drick/shader_paint
👍 6
j
JFYI: I think the web version automatically switches to dark theme, rendering text unreadable hard to read
1
🤔 1
t
Interesting. Yes indeed i forced switched to darkmode. I had this problem with rendering the code view for light mode but i thought i fixed it. Ok yes found it. So in the code_panel i check for darkmode but in the main theme i force swichtched to darkmode. Unfortunately in material3 you can not detect anymore if the current theme is in darkmode or not.
Fixed it.