A very simple and lightweight library for manipulating css rules without adding inline style
npm install css-ruler
import cssRuler from 'css-ruler'
let mysheets = cssRuler.getStylesheets()
let myRule = cssRuler.getRule('.classSelector')
cssRuler.deleteRule('#IdSelector')
let rule = { color: 'red', fontSize : '22px'}; cssRuler.editRule('.mySelector', rule);
let newRule = { color: 'red', fontSize : '22px'}; cssRuler.addRule('.mySelector', newRule);