Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@unocss/preset-mini/utils.ts>hasParseableColor

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
variable hasParseableColor
import { hasParseableColor } from "https://deno.land/x/netzo@0.4.62/deps/@unocss/preset-mini/utils.ts";

type

_unocss_rule_utils.ValueHandler<
| "number"
| "global"
| "auto"
| "position"
| "numberWithUnit"
| "rem"
| "px"
| "percent"
| "fraction"
| "bracket"
| "bracketOfColor"
| "bracketOfLength"
| "bracketOfPosition"
| "cssvar"
| "time"
| "degree"
| "properties"
>
function hasParseableColor
import { hasParseableColor } from "https://deno.land/x/netzo@0.4.62/deps/@unocss/preset-mini/utils.ts";

Parameters

color: string | undefined
theme: Theme
key: ThemeColorKeys

Returns

boolean