AN

A design system guide for Angular enforcing global styling, typography, and dark mode compatibility.

Install

mkdir -p .claude/skills/angular-style && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13735" && unzip -o skill.zip -d .claude/skills/angular-style && rm skill.zip

Installs to .claude/skills/angular-style

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

ESPAÑOL - Guía de ESTILOS GLOBALES y TIPOGRAFÍA.
48 charsno explicit “when” trigger
Beginner

Key capabilities

  • Define custom fonts using `@font-face` rules
  • Establish a color palette with CSS variables for light and dark modes
  • Map CSS variables to Tailwind CSS theme properties
  • Customize scrollbar appearance for different themes
  • Apply global CSS resets and transitions
  • Enforce consistent styling across an Angular application

How it works

The skill structures the `src/styles.css` file to define custom fonts, color palettes as CSS variables, and map these variables to Tailwind CSS theme properties. It also includes global utility styles and animations.

Inputs & outputs

You give it
CSS variable definitions and Tailwind configuration
You get back
Standardized global styles, typography, and theme support for an Angular application

When to use angular-style

  • Configure global styles
  • Define typography system
  • Set up dark mode variables
  • Standardize UI theme

About this skill

Angular Global Styles & Design System

This skill enforces the structure of the src/styles.css file and the rules for using the design system in the application.

1. Strict Usage Rules

  1. Exclusively Use CSS Variables: In HTML templates and component CSS, NEVER hardcode hex colors or fonts. ALWAYS use the Tailwind utility classes mapped to the variables defined below (e.g., bg-primary, text-text, font-inter-regular).
  2. No Exceptions: All colors and fonts must come from this central configuration to ensure consistency and Dark Mode support.
  3. Structure: The styles.css file must strictly follow the order: Tailwind Setup -> Fonts -> Variables -> Theme Configuration -> Utilities -> Animations -> Global Reset.

2. Standard styles.css Configuration

File: src/styles.css

@import 'tailwindcss';
@custom-variant dark (&:where(.dark, .dark *));

/* --- 1. Custom Fonts Configuration --- */
@font-face {
  font-family: 'Anton SC';
  src: url('/font/AntonSC-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter Light';
  src: url('/font/Inter-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter Regular';
  src: url('/font/Inter-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter Medium';
  src: url('/font/Inter-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter SemiBold';
  src: url('/font/Inter-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter Bold';
  src: url('/font/Inter-Bold.ttf') format('truetype');
}

/* --- 2. Color Palette (Variables) --- */
:root {
  /* LIGHT MODE (Default) */
  --color-primary: #35b2c0;
  --color-secondary: #a8be04;
  --color-accent: #f2788f;
  --color-background: #ffffff;
  --color-text: #000000;

  --color-danger: #c90d0d;
  --color-warning: #f8a50d;
  --color-success: #34a851;
  --color-info: #4590f2;
}

/* DARK MODE Overrides */
[data-theme='dark'] {
  --color-primary: #3fbcca;
  --color-secondary: #e5fb41;
  --color-accent: #870d24;
  --color-background: #000000;
  --color-text: #ffffff;

  --color-danger: #f05252;
  --color-warning: #c27803;
  --color-success: #0e9f6e;
  --color-info: #3f83f8;
}

/* --- 3. Tailwind Theme Mapping --- */
@theme {
  /* Dynamic Colors mapped to variables */
  --color-primary: var(--color-primary);
  --color-secondary: var(--color-secondary);
  --color-accent: var(--color-accent);
  --color-background: var(--color-background);
  --color-text: var(--color-text);
  --color-neutral: var(--color-neutral); /* Ensure this var exists or remove */

  --color-danger: var(--color-danger);
  --color-warning: var(--color-warning);
  --color-success: var(--color-success);
  --color-info: var(--color-info);

  /* Typography */
  --font-anton: 'Anton SC', sans-serif;
  --font-inter-light: 'Inter Light', sans-serif;
  --font-inter-regular: 'Inter Regular', sans-serif;
  --font-inter-medium: 'Inter Medium', sans-serif;
  --font-inter-semibold: 'Inter SemiBold', sans-serif;
  --font-inter-bold: 'Inter Bold', sans-serif;
}

/* --- 4. Global Utilities --- */

/* Placeholder visibility */
::placeholder {
  color: var(--color-text);
  opacity: 0.4;
}

/* Scrollbar Customization */
[data-theme='dark'] * {
  scrollbar-color: var(--color-text) var(--color-background);
}
[data-theme='dark'] ::-webkit-scrollbar-track {
  background: var(--color-background);
}
[data-theme='dark'] ::-webkit-scrollbar-thumb {
  background: var(--color-text);
}
[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Form Elements Consistency in Dark Mode */
[data-theme='dark'] select option {
  background-color: var(--color-background);
  color: var(--color-text);
}

/* --- 5. Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* --- 6. Global Reset / Transitions --- */
* {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

When not to use it

  • When the project does not use Angular
  • When not using Tailwind CSS
  • When a different global styling approach is preferred

Limitations

  • Requires strict adherence to the defined `styles.css` structure.
  • All colors and fonts must be sourced from this central configuration.
  • The skill is designed for Angular applications using Tailwind CSS.

How it compares

This skill enforces a strict, centralized styling configuration using CSS variables and Tailwind CSS, ensuring visual consistency and dark mode support, unlike ad-hoc styling that can lead to inconsistencies.

Compared to similar skills

angular-style side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
angular-style (this skill)02moNo flagsBeginner
ui-styling129moReviewBeginner
tailwind-design-system342moNo flagsIntermediate
figma224moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

ui-styling

mrgoonie

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

12132

tailwind-design-system

wshobson

Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

3495

figma

openai

Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.

2266

design-system-patterns

wshobson

Build scalable design systems with design tokens, theming infrastructure, and component architecture patterns. Use when creating design tokens, implementing theme switching, building component libraries, or establishing design system foundations.

1157

interaction-design

wshobson

Design and implement microinteractions, motion design, transitions, and user feedback patterns. Use when adding polish to UI interactions, implementing loading states, or creating delightful user experiences.

1550

web-design-reviewer

github

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage, then performs fixes at the source code level.

750

Search skills

Search the agent skills registry