Back to list
pascalvanderheiden

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 NameHexRGBUsage
Microsoft Blue#0078D4rgb(0, 120, 212)Primary brand color, CTAs, links
Black#000000rgb(0, 0, 0)Primary text on light backgrounds
White#FFFFFFrgb(255, 255, 255)Text on dark backgrounds, light themes

Neutral Palette (Fluent 2)

Color NameHexUsage
Neutral Foreground 1#242424Primary text
Neutral Foreground 2#424242Secondary text
Neutral Foreground 3#616161Tertiary text, placeholder
Neutral Background 1#FFFFFFPrimary background (light)
Neutral Background 2#FAFAFASecondary background
Neutral Background 3#F5F5F5Tertiary background
Neutral Stroke 1#D1D1D1Primary borders
Neutral Stroke 2#E0E0E0Secondary borders

Brand Accent Colors

Color NameHexUsage
Brand Primary#0078D4Primary actions, selected states
Brand Shade 10#106EBEHover states
Brand Shade 20#005A9EPressed states
Brand Tint 10#2B88D8Light hover
Brand Tint 20#C7E0F4Very light backgrounds
Brand Tint 30#DEECF9Selection backgrounds

Status Colors

StatusHexUsage
Success#107C10Success states, positive indicators
Warning#FFB900Warning states, caution
Error#D13438Error states, destructive actions
Info#0078D4Information states

Dark Theme Colors

Color NameHexUsage
Dark Background 1#1F1F1FPrimary background (dark)
Dark Background 2#292929Secondary background (dark)
Dark Background 3#333333Tertiary background (dark)
Dark Foreground 1#FFFFFFPrimary text (dark)
Dark Foreground 2#D6D6D6Secondary 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)

TokenSizeLine HeightWeightUsage
Display68px92px600Hero headlines
Title Large40px52px600Page titles
Title 128px36px600Section headers
Title 224px32px600Subsections
Title 320px28px600Card titles
Subtitle 118px24px600Emphasized body
Subtitle 216px22px600Labels
Body 114px20px400Primary body text
Body 212px16px400Secondary text
Caption 112px16px400Captions, metadata
Caption 210px14px400Small labels

Font Weights

Weight NameValueUsage
Regular400Body text, descriptions
Semibold600Headings, emphasis
Bold700Strong emphasis (use sparingly)

Spacing & Layout

Spacing Scale (Fluent 2)

TokenValueUsage
spacing-xxs2pxMinimal spacing
spacing-xs4pxTight spacing
spacing-s8pxSmall spacing
spacing-m12pxMedium spacing
spacing-l16pxLarge spacing
spacing-xl20pxExtra large
spacing-xxl24pxSection spacing
spacing-xxxl32pxLarge sections

Border Radius

TokenValueUsage
radius-none0pxNo rounding
radius-small2pxSubtle rounding
radius-medium4pxDefault components
radius-large8pxCards, dialogs
radius-xlarge12pxLarge containers
radius-circular9999pxPills, avatars

Features

Smart Theme Application

When applying Microsoft branding, the skill automatically:

  1. Detects context - Light vs dark mode preferences
  2. Applies semantic tokens - Uses Fluent 2 design token naming
  3. Ensures accessibility - Maintains WCAG 2.1 AA contrast ratios
  4. 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

VersionUsage
Full color horizontalPrimary usage on light backgrounds
Full color stackedLimited space, vertical layouts
White horizontalDark backgrounds
White stackedDark backgrounds, vertical layouts

Best Practices

Color Usage

  1. Primary actions: Use #0078D4 (Microsoft Blue) for primary buttons and CTAs
  2. Text hierarchy: Use neutral foreground colors (1, 2, 3) for text hierarchy
  3. Backgrounds: Use neutral background colors for layering content
  4. Status indicators: Use semantic status colors consistently

Typography Usage

  1. Headings: Segoe UI Semibold (600) for all headings
  2. Body text: Segoe UI Regular (400) at 14px base
  3. Line height: 1.4-1.5 for optimal readability
  4. Contrast: Ensure 4.5:1 minimum for body text, 3:1 for large text

Accessibility

  1. Color contrast: Minimum 4.5:1 for text, 3:1 for UI components
  2. Focus indicators: Use visible focus rings with brand color
  3. High contrast mode: Support Windows High Contrast themes
  4. Motion: Respect prefers-reduced-motion preferences

Resources

File References

For detailed implementation guidance, see:

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