Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
class ScopedClassName
import { ScopedClassName } from "https://deno.land/x/frugal@0.5.0/docs/dep/frugal/styled.ts";

Wrapper around ScopedRules to expose a styled tagged template

Constructors

new
ScopedClassName(hint?: string)

Properties

hint: string
parents: ScopedRules[]

Methods

extends(...parents: ScopedRules[])

declare that the current ScopedRules extends some other ScopedRules

styled(template: TemplateStringsArray, ...interpolations: Interpolable[])

a Rules and KeyFrames aware tagged template returning a ScopedRules. The generated className is garanteed to be unique.