← Back to list

brand-guidelines
by pascalvanderheiden
A list of re-useable agent skills I created for my own purpose.
⭐ 0🍴 0📅 Jan 20, 2026
SKILL.md
name: brand-guidelines description: Apply Microsoft branding to frontend applications using Fluent 2 design system colors, typography, and styling patterns
Microsoft Brand Guidelines
Apply consistent Microsoft branding to frontend applications using the Fluent 2 design system, official colors, typography, and styling patterns.
Quick Reference: Microsoft Brand Colors
Primary Colors
| Color Name | Hex | RGB | Usage |
|---|---|---|---|
| Microsoft Blue | #0078D4 | rgb(0, 120, 212) | Primary brand color, CTAs, links |
| Black | #000000 | rgb(0, 0, 0) | Primary text on light backgrounds |
| White | #FFFFFF | rgb(255, 255, 255) | Text on dark backgrounds, light themes |
Neutral Palette (Fluent 2)
| Color Name | Hex | Usage |
|---|---|---|
| Neutral Foreground 1 | #242424 | Primary text |
| Neutral Foreground 2 | #424242 | Secondary text |
| Neutral Foreground 3 | #616161 | Tertiary text, placeholder |
| Neutral Background 1 | #FFFFFF | Primary background (light) |
| Neutral Background 2 | #FAFAFA | Secondary background |
| Neutral Background 3 | #F5F5F5 | Tertiary background |
| Neutral Stroke 1 | #D1D1D1 | Primary borders |
| Neutral Stroke 2 | #E0E0E0 | Secondary borders |
Brand Accent Colors
| Color Name | Hex | Usage |
|---|---|---|
| Brand Primary | #0078D4 | Primary actions, selected states |
| Brand Shade 10 | #106EBE | Hover states |
| Brand Shade 20 | #005A9E | Pressed states |
| Brand Tint 10 | #2B88D8 | Light hover |
| Brand Tint 20 | #C7E0F4 | Very light backgrounds |
| Brand Tint 30 | #DEECF9 | Selection backgrounds |
Status Colors
| Status | Hex | Usage |
|---|---|---|
| Success | #107C10 | Success states, positive indicators |
| Warning | #FFB900 | Warning states, caution |
| Error | #D13438 | Error states, destructive actions |
| Info | #0078D4 | Information states |
Dark Theme Colors
| Color Name | Hex | Usage |
|---|---|---|
| Dark Background 1 | #1F1F1F | Primary background (dark) |
| Dark Background 2 | #292929 | Secondary background (dark) |
| Dark Background 3 | #333333 | Tertiary background (dark) |
| Dark Foreground 1 | #FFFFFF | Primary text (dark) |
| Dark Foreground 2 | #D6D6D6 | Secondary text (dark) |
Typography
Font Family
Microsoft uses Segoe UI as the primary font family:
font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
Type Scale (Fluent 2)
| Token | Size | Line Height | Weight | Usage |
|---|---|---|---|---|
| Display | 68px | 92px | 600 | Hero headlines |
| Title Large | 40px | 52px | 600 | Page titles |
| Title 1 | 28px | 36px | 600 | Section headers |
| Title 2 | 24px | 32px | 600 | Subsections |
| Title 3 | 20px | 28px | 600 | Card titles |
| Subtitle 1 | 18px | 24px | 600 | Emphasized body |
| Subtitle 2 | 16px | 22px | 600 | Labels |
| Body 1 | 14px | 20px | 400 | Primary body text |
| Body 2 | 12px | 16px | 400 | Secondary text |
| Caption 1 | 12px | 16px | 400 | Captions, metadata |
| Caption 2 | 10px | 14px | 400 | Small labels |
Font Weights
| Weight Name | Value | Usage |
|---|---|---|
| Regular | 400 | Body text, descriptions |
| Semibold | 600 | Headings, emphasis |
| Bold | 700 | Strong emphasis (use sparingly) |
Spacing & Layout
Spacing Scale (Fluent 2)
| Token | Value | Usage |
|---|---|---|
spacing-xxs | 2px | Minimal spacing |
spacing-xs | 4px | Tight spacing |
spacing-s | 8px | Small spacing |
spacing-m | 12px | Medium spacing |
spacing-l | 16px | Large spacing |
spacing-xl | 20px | Extra large |
spacing-xxl | 24px | Section spacing |
spacing-xxxl | 32px | Large sections |
Border Radius
| Token | Value | Usage |
|---|---|---|
radius-none | 0px | No rounding |
radius-small | 2px | Subtle rounding |
radius-medium | 4px | Default components |
radius-large | 8px | Cards, dialogs |
radius-xlarge | 12px | Large containers |
radius-circular | 9999px | Pills, avatars |
Features
Smart Theme Application
When applying Microsoft branding, the skill automatically:
- Detects context - Light vs dark mode preferences
- Applies semantic tokens - Uses Fluent 2 design token naming
- Ensures accessibility - Maintains WCAG 2.1 AA contrast ratios
- Handles states - Hover, pressed, focused, disabled states
CSS Custom Properties
Apply branding using CSS custom properties for easy theming:
:root {
/* Brand */
--brand-primary: #0078D4;
--brand-primary-hover: #106EBE;
--brand-primary-pressed: #005A9E;
/* Neutral */
--neutral-foreground-1: #242424;
--neutral-foreground-2: #424242;
--neutral-background-1: #FFFFFF;
--neutral-background-2: #FAFAFA;
--neutral-stroke-1: #D1D1D1;
/* Typography */
--font-family-base: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
--font-size-base-300: 14px;
--font-weight-regular: 400;
--font-weight-semibold: 600;
/* Spacing */
--spacing-s: 8px;
--spacing-m: 12px;
--spacing-l: 16px;
}
React/Fluent UI Integration
For React applications, use @fluentui/react-components:
import { FluentProvider, webLightTheme } from '@fluentui/react-components';
function App() {
return (
<FluentProvider theme={webLightTheme}>
<YourApp />
</FluentProvider>
);
}
Logo Usage
Microsoft Logo Guidelines
- Clear space: Maintain minimum clear space equal to the height of the "M" around the logo
- Minimum size: 16px height for digital, 0.5 inches for print
- Background: Use on white or light neutral backgrounds; use white logo on dark backgrounds
- No modifications: Never stretch, rotate, apply effects, or change colors
Logo Versions
| Version | Usage |
|---|---|
| Full color horizontal | Primary usage on light backgrounds |
| Full color stacked | Limited space, vertical layouts |
| White horizontal | Dark backgrounds |
| White stacked | Dark backgrounds, vertical layouts |
Best Practices
Color Usage
- Primary actions: Use
#0078D4(Microsoft Blue) for primary buttons and CTAs - Text hierarchy: Use neutral foreground colors (1, 2, 3) for text hierarchy
- Backgrounds: Use neutral background colors for layering content
- Status indicators: Use semantic status colors consistently
Typography Usage
- Headings: Segoe UI Semibold (600) for all headings
- Body text: Segoe UI Regular (400) at 14px base
- Line height: 1.4-1.5 for optimal readability
- Contrast: Ensure 4.5:1 minimum for body text, 3:1 for large text
Accessibility
- Color contrast: Minimum 4.5:1 for text, 3:1 for UI components
- Focus indicators: Use visible focus rings with brand color
- High contrast mode: Support Windows High Contrast themes
- Motion: Respect
prefers-reduced-motionpreferences
Resources
File References
For detailed implementation guidance, see:
- references/colors.md - Complete color palette with all variants
- references/typography.md - Typography scale and font guidance
- references/logo-usage.md - Logo guidelines and assets
- scripts/apply-brand-css.ts - CSS styling utilities
- scripts/apply-brand-react.tsx - React component styling
- examples/brand-tokens.css - Complete CSS custom properties
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon