InitializerInitializerinit(name:
init(name:isDarkModeOnly:css:)
Creates a stylesheet.
init(
name: String,
isDarkModeOnly: Bool = false,
css: String
)Parameters
nameThe name used to identify the stylesheet in the generated CSS.
isDarkModeOnlyWhether to include the stylesheet only with dark mode styles.
cssThe CSS text.