StyleSheet

scalatags.stylesheet.StyleSheet
abstract class StyleSheet(implicit sourceName: FullName)

Inherit from me to define a stylesheet which you can use to define styles which get serialized to a String. Does not allow the use of cascading tag/class selectors; use CascadingStyleSheet for that.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def allClasses: Seq[Cls]
def customSheetName: Option[String]

The name of this CSS stylesheet. Defaults to the name of the trait, but you can override

The name of this CSS stylesheet. Defaults to the name of the trait, but you can override

Attributes

def styleSheetText: String