Home / Type/ TextStyler Type — astro Architecture

TextStyler Type — astro Architecture

Architecture documentation for the TextStyler type/interface in definitions.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  00b2ee84_636d_e0cc_79d4_e24eb80bd84a["TextStyler"]
  9c9ad005_5047_eed5_c668_f454007551de["definitions.ts"]
  00b2ee84_636d_e0cc_79d4_e24eb80bd84a -->|defined in| 9c9ad005_5047_eed5_c668_f454007551de
  style 00b2ee84_636d_e0cc_79d4_e24eb80bd84a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/cli/definitions.ts lines 10–17

export interface TextStyler {
	bgWhite: (msg: string) => string;
	black: (msg: string) => string;
	dim: (msg: string) => string;
	green: (msg: string) => string;
	bold: (msg: string) => string;
	bgGreen: (msg: string) => string;
}

Frequently Asked Questions

What is the TextStyler type?
TextStyler is a type/interface in the astro codebase, defined in packages/astro/src/cli/definitions.ts.
Where is TextStyler defined?
TextStyler is defined in packages/astro/src/cli/definitions.ts at line 10.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free