Home / File/ passthrough-text-styler.ts — astro Source File

passthrough-text-styler.ts — astro Source File

Architecture documentation for passthrough-text-styler.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  476010e5_ad9c_6d82_89f1_ec1323b55f75["passthrough-text-styler.ts"]
  7db42c05_e873_0887_a39f_34451c181149["../definitions.js"]
  476010e5_ad9c_6d82_89f1_ec1323b55f75 --> 7db42c05_e873_0887_a39f_34451c181149
  style 476010e5_ad9c_6d82_89f1_ec1323b55f75 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import type { TextStyler } from '../definitions.js';

export class PassthroughTextStyler implements TextStyler {
	bgWhite(msg: string): string {
		return msg;
	}
	black(msg: string): string {
		return msg;
	}
	dim(msg: string): string {
		return msg;
	}
	green(msg: string): string {
		return msg;
	}
	bold(msg: string): string {
		return msg;
	}
	bgGreen(msg: string): string {
		return msg;
	}
}

Domain

Subdomains

Dependencies

  • ../definitions.js

Frequently Asked Questions

What does passthrough-text-styler.ts do?
passthrough-text-styler.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, RenderingEngine subdomain.
What does passthrough-text-styler.ts depend on?
passthrough-text-styler.ts imports 1 module(s): ../definitions.js.
Where is passthrough-text-styler.ts in the architecture?
passthrough-text-styler.ts is located at packages/astro/src/cli/infra/passthrough-text-styler.ts (domain: CoreAstro, subdomain: RenderingEngine, directory: packages/astro/src/cli/infra).

Analyze Your Own Codebase

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

Try Supermodel Free