Package

purescript-metajelo-ui-css-classes

Repository
labordynamicsinstitute/metajelo-ui-css-classes
License
MPL-2.0
Uploaded by
bbarker
Published on
2021-01-31T20:58:58Z

CSS class names for metajelo-web and metajelo-ui.

API docs are available on Pursuit.

In particular, developers editing CSS will be interested in:

Use the docker container below for these build steps, if in doubt.

npm install
npm run build

Docker

  • First build the image: ./build-docker.sh

  • Run a command , e.g. ./psc.sh npm run build. This will run the npm run build command in the container with the CWD mounted and then exit. Alternatively if you want to issue multiple commands in the container quickly, you can run ./psc.sh bash.

Testing the CSS

A snapshot of metajelo-ui's DOM is included in index.html, with a few modifications in the <head> element to make it work with the unpacked CSS in this repository (see the comments in index.html for details if updating the DOM snapshot). Note that since metajelo-web is included in the metajelo-ui repository as a dependency, the CSS styling for metajelo-web is included in the preview as well.