3 ms·
Gives me a reason to put CSS as JSON into Openchain. I was also thinking that CSS Documents in this way could be scaffolded as JSONAPI. Or maybe we need a CSSA
by despinozist 11y ago
Gives me a reason to put CSS as JSON into Openchain.
I was also thinking that CSS Documents in this way could be scaffolded as JSONAPI. Or maybe we need a CSSAPI — etiquette for sending small bits of CSS. My work on Openchain makes this relevant — where your CSS is loaded dynamically based on Unitary Reference Architecture that is expressed in the cryptographic ledger.
Then I was thinking "css-sempai" where the CSS file is imported like a Python or JS Module, like here https://github.com/kragniz/json-sempai/ https://github.com/kragniz/json-sempai/ — but for CSS... So like:
>>> from csssempai import magic
>>> import stylesheet
>>> stylesheet
<module ‘stylesheet’ from ‘stylesheet.json’>
>>> stylesheet.html.body.section[‘max-width’]
Would be neat for server-side variable loading of dynamic CSS Sekizai conditionings in Django.