CSS class names for metajelo-web and metajelo-ui.
API docs are available on Pursuit.
In particular, developers editing CSS will be interested in:
- CSS class names for metajelo-web; used for rendering Metajelo documents
- CSS class names for metajelo-ui; used for editing or creating Metajelo documents
- Common CSS class names representing semantic meaning from the metajelo schema (already included in the above lists)
- Actual CSS files for metajelo-web and for metajelo-ui. Note that, as metajelo-ui uses metajelo-web as a dependency, so to does the CSS for metajelo-ui use (import) the CSS for metajelo-web; if you are developing or hosting metajelo-ui, you may still take into account the CSS for metajelo-web, as they are operating in different namespaces, side-by-side.
Use the docker container below for these build steps, if in doubt.
npm install
npm run build
-
First build the image:
./build-docker.sh
-
Run a command , e.g.
./psc.sh npm run build
. This will run thenpm 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
.
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.