Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function colors.dim
import { colors } from "https://deno.land/x/fathym_ioc@v0.0.7/src/src.deps.ts";
const { dim } = colors;

The text emits only a small amount of light.

Parameters

str: string

text to dim

Warning: Not all terminal emulators support dim. For compatibility across all terminals, use gray or brightBlack instead.

Returns

string