fitbit-sdk-toolchain icon indicating copy to clipboard operation
fitbit-sdk-toolchain copied to clipboard

Feature Request: css variables (custom propeties)

Open FranciscoG opened this issue 6 years ago • 4 comments

I am not sure if this is the right place to request this but I figured the build toolchain is a good start.

It would be really nice if the CSS in Fitbit OS apps could support some form of variables. Even if the CSS interpreter on the watch does not support it, I thought maybe it could be something that is compiled during the build process.

just a thought. thanks!

FranciscoG avatar May 02 '19 18:05 FranciscoG

Could you detail some use cases you'd like to see this used to solve?

Hexxeh avatar May 28 '19 12:05 Hexxeh

Could you detail some use cases you'd like to see this used to solve?

This would help with the development of dynamic clock face themes via reusable code. In my personal opinion this is a large part of css that I would love to see supported in FitBit OS.

xPuls3 avatar Dec 28 '19 00:12 xPuls3

Is there something in particular you're trying to describe that couldn't be achieved via use of classes? There's a handful of different CSS pre-processors in existence with different features but I'm not sure what exactly you're looking to achieve via this request.

Hexxeh avatar Jan 09 '20 11:01 Hexxeh

Support of SASS could be a good idea ;)

JeremyJeanson avatar Aug 30 '20 13:08 JeremyJeanson