Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dnt/lib/mod.deps.ts>colors.inverse

Deno to npm package build tool.
Go to Latest
function colors.inverse
import { colors } from "https://deno.land/x/dnt@0.35.0/lib/mod.deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string