Module
Stylesheet.Internal.ProcessStyles
- Package
- purescript-stylesheet
- Repository
- danieljharvey/purescript-stylesheet
#processStyle Source
processStyle :: forall props. CSSRuleSet props -> props -> StyleRuleSet
#createHashedInsertRule Source
createHashedInsertRule :: CSSText -> InsertRule
This creates a unique hash of the CSS that we'll use to make the classname
#keep Source
keep :: StyleRuleSet -> Array InsertMediaRule
This commits the rendered StyleRuleSet into InsertMediaRules that we can store and apply to the CSSOM
#getClasses Source
getClasses :: InsertMediaRule -> Array CSSSelector
Get the generated CSS classes from the CSS. These are generated from hashes of the content