Hi I wanted to tinker with the frontend. There are a number of things I wanted to play with, e.g. styling and theming.
But I can’t find the sources on github? I can find the server php laravel app, but the client dart app only has the compiled app in public as main.dart.js.
Awesome thanks! I saw that but I thought it’s for the mobile app - and I don’t know much about mobile apps, so I ignored it!
I wanted to tweak the dark theme a bit.
Assuming I’m using the docker installation method, if I make some tweaks to the frontend, do I need to recompile the entire app? Or is there an easier way?
BTW: it would be nice for us to create some custom community themes, and share them in a repo. I’m keen to get the “nord” theme working with IN5, that would look really slick.
I’ve encountered a blocking problem - DOM elements do not have id or class attributes.
This is common for SPAs. But for people to author themes, those are needed.
There’s a work around, which is to target elements by their full css path, e.g. html body flt-glass-pane flt-scene-host flt-scene flt-transform flt-offset ....... but I’ve already tried and it’s not reliable as many elements have identical css paths.
Not sure where to go to from here.
(Also on a side note, a large number of elements are absolutely positioned, and that makes styling very hard. I guess I could work around that, though it would be messy, but I still can’t do much without ids or classes.)
How are you implementing the theme? I think the best approach would be to implement it in the app itself so it works across all platforms: web, desktop and mobile.
You’re right, I think that’s the only way right now.
But that means I must learn the framework (as would anyone else making themes). That feels like way too much effort, unless you already know dart/flutter.
I hoped to just create a custom stylesheet, which would be referenced by the app. The way you’d find in most “themed” apps.
I’ll give it more thought but I think that’s a blocker for my skill set.