apply-mantel-styles_skill

This skill guides you to apply Mantel brand styles to diagrams and frontend components for consistent visuals.
  • Python

110

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill sammcj/agentic-coding --skill apply-mantel-styles

  • SKILL.md14.3 KB

Overview

This skill provides concise, actionable guidelines for applying Mantel brand styles to diagrams and frontend components. It standardises colour usage, component rules, and diagram class mappings so visuals stay consistent with Mantel identity. Use it to produce Mermaid, PlantUML, and CSS-aligned outputs that match brand semantics.

How this skill works

The skill inspects requested visuals and returns style-ready snippets and recommendations using Mantel colours and semantic mappings. It maps UI elements and diagram classes to palette colours, suggests hover/opacity rules, and enforces mermaid and PlantUML constraints. It outputs clear class names, CSS variables, and usage notes for immediate copy-paste into diagrams or frontend code.

When to use it

  • Creating architecture or flow diagrams that must follow Mantel branding
  • Designing frontend components, buttons, forms, navigation, cards or alerts
  • Preparing Mermaid or PlantUML diagrams for documentation or presentations
  • Reviewing visuals for consistent colour semantics and accessibility
  • Converting existing visuals to Mantel's palette and interaction rules

Best practices

  • Follow the colour hierarchy: Ocean primary, Sky Blue secondary, Flamingo for accents, Deep Ocean for text, Cloud for backgrounds
  • Use tints and alpha values of brand colours instead of introducing new colours
  • Keep semantic meanings consistent across projects (e.g., Flamingo = warnings/CTAs)
  • Use defined Mermaid class names and PlantUML variables to avoid ad-hoc colours
  • Darken or lighten hover states by 10–15% and use rgba hex alpha values for controlled transparency
  • Avoid round brackets in Mermaid labels and use <br> for line breaks where needed

Example use cases

  • Generate Mermaid classDef blocks for a service diagram using Mantel classes like process, api, data
  • Provide a PlantUML header with colour defines and skinparam settings for activity and class diagrams
  • Produce :root CSS variables and button/form styles for a frontend component library
  • Audit a slide deck or docs diagrams and supply corrected class names and colour hex values
  • Create a quick style guide excerpt for engineers that maps UI states to brand colours

FAQ

Prefer tints/shades of brand colours first. Only add new colours if accessibility requires contrast that cannot be achieved with brand variants, and document the exception.

How should I handle transparent states and opacity?

Use the provided hex alpha values or rgba equivalents. Follow the transparency note mapping (FF, CC, 99, 66, 55, 33, 22) to keep a consistent visual hierarchy.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
apply-mantel-styles skill by sammcj/agentic-coding | VeilStrat