Design Color On Colorのロゴ

Design Color On Color

コミュニティ
marckohlbrugge
design-color-on-color

Polish: apply in a polish or review pass on existing UI, not while first designing a page; a first build only needs the basics right. How to color a border, ring, outline, divider, hover state, secondary text or icon that sits on a solid, known background color: derive a lighter or darker shade of that same color instead of mixing in black or white or using black/white with opacity. Use whenever writing or reviewing color-mix(... black/white ...), rgb(0 0 0 / x), rgba(255,255,255,x), bg-black/5, text-white/60, border-white/10 or opacity on text, when styling tinted pills, badges, tags, chips or cards, when something looks gray, muddy or washed out, or when a ring or fringe looks wrong in dark mode.

Add to TypingMind

概要

公開者marckohlbrugge
リポジトリskills
スキル名design-color-on-color
スター
749
フォーク
57
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    marckohlbruggeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Design Color On Color」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/marckohlbrugge/skills/tree/main/skills/design-color-on-color
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marckohlbrugge/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/design-color-on-color .claude/skills/design-color-on-color
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDesign Color On Colorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDesign Color On Colorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Design Color On Colorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Color on color

When: polish. A first build can use the repo's existing color tokens; apply this in a polish or review pass, or whenever a tinted element looks gray or muddy.

When you know the color behind an element, shade that color. Don't blend toward black or white, and don't use black or white with transparency.

Black or white with opacity is the right tool only when the background is unknown or has many colors: a ring over an avatar or photo, a scrim over an image, a hairline over arbitrary artwork. There, a neutral translucent edge works on everything.

On a solid, known color (a tinted pill, a colored card, a badge, a button), black or white pulls the color toward gray. A white # at 62% opacity on a green pill reads as gray-green, not green. A border mixed 12% toward black looks dirty. A lighter or darker shade of the same hue keeps it clean and on-palette.

How

Use CSS relative color syntax in OKLCH, so you change lightness and keep hue:

css
/* Darker shade of the background (light mode), lighter shade (dark mode) */
border-color: oklch(from var(--bg) calc(l - 0.08) c h);
.dark & { border-color: oklch(from var(--bg) calc(l + 0.1) c h); }

/* Secondary text in the background's hue, at a fixed lightness, opaque */
color: oklch(from var(--bg) 0.5 calc(c * 3) h / 1);
  • Prefer a fixed lightness (0.5) for text so contrast holds whatever the background's lightness. Prefer a relative offset (calc(l - 0.08)) for borders and hover states that should stay close to the surface.
  • Pastel or very dark backgrounds carry little chroma. When the shade should read as the color, multiply chroma (calc(c * 3)). Grays have no chroma, so they stay gray.
  • Add / 1 when the source color might be translucent and the result must be opaque.
  • color-mix(in oklch, var(--bg), black 10%) is the same anti-pattern in another form: it still mixes toward black.

Check

Render it in light and dark mode on several hues (green, blue, orange, purple, gray) and compare the result with the old version at 2x. The shade should clearly look like the background's own color, and gray backgrounds should still look neutral.

Related gotcha: rings over images

A 1px outline with a negative offset drawn over an image's rounded corner anti-aliases on the same pixels as the image edge, so light artwork leaks through as a thin fringe outside the ring. Use a border (the image is drawn inside it) when the ring color is solid. Chrome rounds outline widths down to whole pixels, so outline-width: 1.5px does not help.

よくある質問

AIスキル「Design Color On Color」では何ができますか?

Polish: apply in a polish or review pass on existing UI, not while first designing a page; a first build only needs the basics right. How to color a border, ring, outline, divider, hover state, secondary text or icon that sits on a solid, known background color: derive a lighter or darker shade of that same color instead of mixing in black or white or using black/white with opacity. Use whenever writing or reviewing color-mix(... black/white ...), rgb(0 0 0 / x), rgba(255,255,255,x), bg-black/5, text-white/60, border-white/10 or opacity on text, when styling tinted pills, badges, tags, chip...

TypingMindでDesign Color On Colorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Design Color On Colorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDesign Color On Colorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/marckohlbrugge/skills/tree/main/skills/design-color-on-colorを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Design Color On Colorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Design Color On Colorで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDesign Color On Colorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Design Color On Color」は無料ですか?

marckohlbruggeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る
affaan-mのロゴ

Brand Discovery

affaan-m
コミュニティ人気

ブランドが、複数回にわたる体系的なインタビューを通じてアイデンティティを発見したり、言語化したりする場合に使います。目的、ポジショニング、対象者、個性、語調、ナラティブ、創業者個人のブランドとの緊張関係を扱います。

40.4K
270.2K
9ファイル
表示
affaan-mのロゴ

Competitive Platform Analysis

affaan-m
コミュニティ人気

ベンチマークを始める前に、競合環境の範囲を定めるために使います。競合候補を特定・分類し、スコアで絞り込みます。競合の定義、分類、調査する情報源を判断します。競合分析パイプラインの最初のステップです…

40.4K
270.2K
1ファイル
表示
affaan-mのロゴ

Frontend Slides

affaan-m
コミュニティ人気

HTMLプレゼンテーションを一から作成したり、PowerPointファイルから変換したりできます。アニメーションを豊富に取り入れたスライドを作成します。プレゼンテーションの作成、PPT/PPTXのWeb変換、講演やピッチ用のスライド作成に…

40.4K
270.2K
2ファイル
表示
affaan-mのロゴ

Plan Canvas

affaan-m
コミュニティ人気

プランやHTMLアーティファクトをローカルのブラウザーキャンバスで開き、ページを離れることなく、要素への注釈、チャット、承認、変更依頼ができます。プランのレビューや、対象を直接指し示すフィードバックに…

40.4K
270.2K
1ファイル
表示

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇