Thanks for trying out JSS

You can add a new rule (or extend an existing rule) as follows:

jss.set('code', { color: teal; });

You can retrieve the rules for a specific CSS selector as follows:

jss.getAll('code');

This will return an object:

{"color":"teal"}

You can also completely remove an existing rule using:

jss.remove('code');

Here's a live example:

Choose your colour:

Choose your font style: