This addon adds a select box to choose the theme of your dashboard. You can choose from several premade themes or add your own.
- Copy the contents of
themes.html
to where the comments above the portions of the document say they should go. - Copy
themes.js
into thecomponents
directory of your FRCDashboard system. - Link the script from
index.html
, for example:
<script src="components/themes.js"></script>
- Copy all stylesheets in
css
into thecss
directory of your FRCDashboard system. - If necessary, change the keys of the NetworkTables values used in
multicamera.js
to the keys your robot code uses.
Alternatively, you could just copy all the JavaScipt code into ui.js
or other preexisting JavaScript script, but that's a bit tougher to keep organized.