I am trying to read a custom (non-standard) CSS property, set in a stylesheet (not the inline style attribute) and get its value. Take this CSS for example:
Maybe you can try with LESS. It's The Dynamic Stylesheet language and you can create non-standard css attributes, commands that will compile later.