Module

Stylesheet.Types.Primitives

Package
purescript-stylesheet
Repository
danieljharvey/purescript-stylesheet

#StylesheetId Source

newtype StylesheetId

Unique ID for stylesheet in DOM

Constructors

#CSSSelector Source

data CSSSelector

CSS Selectors used in DOM, currently we only use class selectors

Constructors

Instances

#InsertRule Source

data InsertRule

Data structure used internally to describe a single CSS rule

Constructors

Instances

#InsertMediaRule Source

data InsertMediaRule

A complete single rule or nested media rule

Constructors

#UnpackedRule Source

type UnpackedRule a = { id :: Int, item :: a, ruleText :: CSSText, selector :: CSSSelector }

#UnpackedMediaRule Source

type UnpackedMediaRule a = { id :: Int, item :: a, query :: MediaQueryText }