high-contrast
できること
誰でも見やすく、明瞭さとアクセシビリティを最大限に高めたデザインの作り方を解説します。強い色と輪郭のはっきりした境界線を使い、すべての要素が読みやすく、操作しやすくなるようにします。
使う場面
- ✓Webサイトやアプリを、とにかく読みやすくしたいとき。
- ✓視覚に障がいのある人も利用できるようにしたいとき。
- ✓印象的でわかりやすいビジュアルスタイルにしたいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/high-contrast/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“読書アプリ向けに、コントラストの高いWebサイトのデザインを作って。”
毎週5つの新しいスキル。1分で読めます。
仕組み
黒と白、または鮮やかな色など、明暗や色の差がはっきりした組み合わせを使い、大きくて見やすいフォントを採用します。さらに、ボタンやボックスに見える境界線を加えて、目立たせます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
High Contrast Design
"Maximum legibility. Stark, powerful, and universally accessible."
When to Use
Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.
Core Principles
- WCAG AAA Compliance: Every color pairing must exceed a 7:1 contrast ratio.
- Clear Boundaries: Interactive elements have highly visible borders and focus states.
- No Ambiguity: Avoid subtle greys, low-opacity text, or purely decorative elements that distract from the core content.
Visual DNA
- Colors: Industrial Chic (Black and White) or Modern Editorial. Often uses a single, highly luminous accent color (like pure Yellow
#FFFF00or Cyan#00FFFF) against black. - Typography: Highly legible, robust sans-serifs (
Atkinson Hyperlegible,Inter,Roboto). Large base font sizes (18px+). - Styling: Solid 2px borders around cards and buttons. Avoid drop shadows as they reduce edge clarity.
Web Implementation
- Focus heavily on focus states (
:focus-visible) and clear active states. - CSS Example:
:root {
--hc-bg: #ffffff;
--hc-text: #000000;
--hc-accent: #0000FF; /* Pure blue */
--hc-focus: #FF00FF; /* High visibility focus ring */
}
body {
background-color: var(--hc-bg);
color: var(--hc-text);
font-family: 'Atkinson Hyperlegible', sans-serif;
font-size: 18px; /* Larger default */
}
.hc-card {
background-color: #ffffff;
border: 3px solid #000000; /* Unmissable boundary */
padding: 32px;
border-radius: 8px;
}
.hc-btn {
background-color: var(--hc-accent);
color: #ffffff;
border: 3px solid transparent; /* Reserve space for focus */
border-radius: 4px;
padding: 16px 32px;
font-weight: 700;
font-size: 1.1rem;
cursor: pointer;
}
/* Crucial for high contrast / accessibility */
.hc-btn:focus-visible, a:focus-visible {
outline: 4px solid var(--hc-focus);
outline-offset: 4px;
}
a {
color: var(--hc-accent);
text-decoration: underline;
text-decoration-thickness: 2px;
}
App Implementation
SwiftUI
struct HighContrastView: View {
var body: some View {
VStack(spacing: 32) {
// High Contrast Card
VStack(alignment: .leading, spacing: 16) {
Text("Maximum Legibility")
.font(.custom("Atkinson Hyperlegible", size: 24))
.fontWeight(.bold)
.foregroundColor(.black)
Text("Content is king. Borders are stark. Contrast ratios exceed 7:1.")
.font(.custom("Atkinson Hyperlegible", size: 18))
.foregroundColor(.black)
}
.padding(32)
.background(Color.white)
.overlay(
RoundedRectangle(cornerRadius: 8)
.stroke(Color.black, lineWidth: 3)
)
// High Contrast Action Button
Button(action: {}) {
Text("CONFIRM ACTION")
.font(.custom("Atkinson Hyperlegible", size: 18))
.fontWeight(.black)
.foregroundColor(.white)
.padding(.vertical, 16)
.padding(.horizontal, 32)
.background(Color.blue) // Must be a high-contrast blue, e.g., #0000FF
.cornerRadius(4)
}
}
.padding()
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(Color.white)
}
}
- Rely on thick
.stroke(Color.black, lineWidth: 3)overlays. - Ensure text is pure
.blackon pure.white. Do not use.secondarycolors if they drop below a 7:1 contrast ratio. - Use fonts specifically designed for legibility, like Atkinson Hyperlegible.
Flutter
class HighContrastScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Center(
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// High Contrast Card
Container(
width: double.infinity,
padding: const EdgeInsets.all(32),
decoration: BoxDecoration(
color: Colors.white,
…
よくある質問
「WCAG AAA準拠」とは何ですか?
Webサイトやアプリをできるだけ多くの人が利用できるようにするための国際的な基準です。視覚に障がいのある人も含まれます。高いコントラストは、その重要な要素の一つです。
影やグレーを避ける理由は?
影やグレーは要素同士の差を小さくし、デザインを分かりにくくします。特に視力が弱い人には、読みにくさの原因になります。
おすすめの色は何ですか?
基本は黒と白です。重要なボタンやリンクを強調するために、純粋な黄色やシアンなどの鮮やかな色を使うこともできます。その場合も、必ず非常に高いコントラストが保たれる組み合わせにしてください。
詳細
作者による元の説明
Web and App implementation guide for High Contrast Design. Trigger when user wants accessibility-focused design, extreme legibility, or stark visual impact.
人気
- GitHubのスター
- 48k
- ランキング
- #4401
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。