jb-dat-gui
v1.2.3
Published
JB styles for dat.gui designed by Egor Alekseev
Downloads
6
Readme
genart/jb-dat-gui
Styles for dat.gui
Getting Started
Download links:
SSH clone URL: ssh://[email protected]/genart/jb-dat-gui.git
HTTPS clone URL: https://git.jetbrains.team/genart/jb-dat-gui.git
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
First install a dependency:
npm i jb-dat-gui
Development
Then you can load the styles in your html file, right after dat.gui scripts:
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.7/dat.gui.min.js"></script>
<link rel="stylesheet" type="text/css" href="./path-to-node_modules/jb-dat-gui/index.css">
Or you may want to import them inside another css file:
@import './path-to-node_modules/jb-dat-gui';
Fixes
Feel free to edit index.css! To run the gui locally just open an index.html in your browser and all the changes will be applied to the layout. You may also change or add any element in dat.gui interface. To do that, edit a script, that you'll find in the end of index.html. Important! After editing, don't forget to update the version in package.json and run the following:
npm publish