Skip to main content
Module

x/nat/styles.ts>StyleFunction

A server side rendering framework for Deno CLI and Deploy. 🦟 🦕
Latest
interface StyleFunction
import { type StyleFunction } from "https://deno.land/x/nat@0.0.2/styles.ts";

Type Parameters

Keys extends string

Call Signatures

(style: Keys): string

For a provided style key, return a string value after having been processed by the tw function.

(style: Keys, raw: boolean): Token

For a provided style key, return the original value passed to the the factory createStyle function.