Stylesheet

com.alecdorrington.laminarcomponents.Stylesheet
See theStylesheet companion class
object Stylesheet

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Stylesheet.type

Members list

Value members

Concrete methods

def apply(blocks: Block*): Stylesheet

Makes a stylesheet whose rules are in no cascade layer.

Makes a stylesheet whose rules are in no cascade layer.

Value parameters

blocks

Its rules, in order.

Attributes

Returns

The stylesheet.

def layered(layer: String)(blocks: Block*): Stylesheet

Makes a stylesheet whose rules are in a cascade layer.

Makes a stylesheet whose rules are in a cascade layer.

Value parameters

blocks

Its rules, in order.

layer

The layer's name.

Attributes

Returns

The stylesheet.

def order(layers: String*): Unit

Settles the order of cascade layers, the later outweighing the earlier, before any stylesheet names one. A layer otherwise takes its place when first named.

Settles the order of cascade layers, the later outweighing the earlier, before any stylesheet names one. A layer otherwise takes its place when first named.

Value parameters

layers

The layers' names, weakest first.

Attributes

Concrete fields

val components: String

The layer this library's own components are styled in.

The layer this library's own components are styled in.

Attributes