pioneers / pimulator-js

Portable robotics simulator for the Pioneers in Engineering robotics kit (JavaScript edition)
3 stars 1 forks source link

[UI/UX] Change dark mode to CSS #64

Closed kevinzhu00 closed 3 years ago

kevinzhu00 commented 3 years ago

Currently our java script is in line. For the future we would to move it into a separate file. Additionally, the current java script is very hard-coded and if we add new elements we may have to hard code in the future elements to be compatible with dark mode. Instead, it is like more practical to create a dark mode class with a css variable that we can to future elements.

charleshong3 commented 3 years ago

JS has been moved to a separate file, but we haven't created a dark mode class with a CSS variable.