-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion for the Spec #1
Comments
Spec 1 and Spec 3 is done |
Spec4. Need to support command line. .bin/purecss input.css output.css |
I have some thoughts on combining Spec 1 and 2. Given the option is headers {
}
/* extract from settings_large.css */
headers {
} |
@shamenchens it's a good idea. It could align to spec2: when there's an option
, parse the inlined style and overwrite/extend existing style definition. |
Goal
Write with pure CSS and post-compile to good performance static styles.
Origin Styles
The stylesheet as the demo base for manipulation.
settings.css
settings_core.css
headers { }
settings_large.css
@import support
Spec 1. inline import styles
output:
Spec 2. inline import styles by option
{"layout": "tiny"}
output: (discard _large @import)
headers { }
Ref: might be done with https://github.com/simme/rework-importer
CSS var support
Spec 3. replace css variable to static value
all variables should declare in ::root and not allowed change inline.
to
or better (remove the ::root)
Ref: might be done with https://github.com/reworkcss/rework-vars
Ref: origin proposal at buildingfirefoxos/Building-Blocks#36
The text was updated successfully, but these errors were encountered: