angular-style

Manage global CSS styles and typography for Angular applications using CSS variables.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/transporte-terrestre/front-transporte --skill angular-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-style
Source: https://github.com/transporte-terrestre/front-transporte/tree/main/.agent/skills/angular-style
Command: npx skills add https://github.com/transporte-terrestre/front-transporte --skill angular-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistent global styling, typography, and color theming across the Angular application, preventing hardcoded values and promoting a unified design system.

Core Features & Use Cases

  • Global Styles Management: Enforces the structure and content of src/styles.css.
  • CSS Variable Enforcement: Mandates the use of CSS variables for colors and fonts, preventing hardcoding.
  • Design System Adherence: Ensures all UI elements adhere to the defined design tokens for consistency.
  • Use Case: When a user requests to change the primary brand color or update the default font family for the entire application, this skill provides the guidelines and structure to do so correctly.

Quick Start

Configure the global styles for the application according to the defined design system.

Frequently Asked Questions about angular-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce global styles and typography in an Angular application?

To enforce global styles and typography in an Angular application, manage the structure of `src/styles.css` using CSS variables and a predefined design system. This prevents hardcoded values and ensures UI consistency across templates and component styles.

How do I map a design system to Tailwind CSS theme variables in Angular?

Mapping a design system to Tailwind CSS in Angular involves dictating theme configurations within `src/styles.css`. This structure integrates color palettes and typography definitions directly into Tailwind theme mappings, ensuring all UI elements utilize standardized design tokens.

What is the best way to manage light and dark mode color palettes in Angular CSS?

Managing light and dark mode color palettes in Angular CSS requires enforcing the use of CSS variables for colors. By centralizing these definitions in `src/styles.css`, you can easily toggle themes without hardcoding color values in individual component styles.

Does this Angular styling approach work with existing global utilities and animations?

Yes, this Angular styling approach works with existing global utilities and animations by dictating their structure directly within `src/styles.css`. It integrates resets, animations, and utility classes alongside CSS variables to maintain a unified and maintainable design system.

Why should I use CSS variables instead of hardcoded values in Angular component styles?

You should use CSS variables instead of hardcoded values in Angular component styles to ensure design system adherence and maintainability. This approach mandates predefined design tokens for fonts and colors, preventing UI inconsistencies when updating global themes.