本文へスキップ
Skillpedia
インターフェース(UI/UX)7.2k · #13401

beautiful-shadows

できること

このスキルは、カード、パネル、ポップオーバー向けの、すぐに使えるTailwindの影のクラスをAIエージェントに渡します。初期設定の影ではなく、洗練された奥行きが欲しいWeb制作者向けです。

使う場面

  • ✓カード、パネル、ポップオーバーが平らに見える、または一般的すぎるとき。
  • ✓小さなコントロールや入力欄に、控えめな影が欲しいとき。
  • ✓ヒーロー画像やモーダルに、より強く柔らかい浮き上がりが必要なとき。

スキルのリンク

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/beautiful-shadows/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/beautiful-shadows/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“料金カードに、初期設定ではなく、Tailwindのクラスを使った洗練された中立的な影を付けてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、小、中、大の三段階の影から一つを選び、その正確なクラスを適用します。各段階は、一つの重い影ではなく、いくつかの柔らかいグレーの影の層を使います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Beautiful Shadows

Use When

  • A surface needs polished, layered elevation.
  • Default Tailwind shadows feel too generic or blunt.
  • The design needs neutral, refined depth without colored glow.

Shadow Utilities

Use these exact Tailwind classes.

Beautiful sm

Use for compact cards, form controls, pills, and quieter surfaces.

shadow-[0px_2px_3px_-1px_rgba(0,0,0,0.1),0px_1px_0px_0px_rgba(25,28,33,0.02),0px_0px_0px_1px_rgba(25,28,33,0.08)]

Beautiful md

Use for cards, panels, popovers, and the default elevated surface style.

shadow-[0px_0px_0px_1px_rgba(0,0,0,0.06),0px_1px_1px_-0.5px_rgba(0,0,0,0.06),0px_3px_3px_-1.5px_rgba(0,0,0,0.06),_0px_6px_6px_-3px_rgba(0,0,0,0.06),0px_12px_12px_-6px_rgba(0,0,0,0.06),0px_24px_24px_-12px_rgba(0,0,0,0.06)]

Beautiful lg

Use for hero media, feature callouts, modal-like containers, and the strongest lift.

shadow-[0_2.8px_2.2px_rgba(0,_0,_0,_0.034),_0_6.7px_5.3px_rgba(0,_0,_0,_0.048),_0_12.5px_10px_rgba(0,_0,_0,_0.06),_0_22.3px_17.9px_rgba(0,_0,_0,_0.072),_0_41.8px_33.4px_rgba(0,_0,_0,_0.086),_0_100px_80px_rgba(0,_0,_0,_0.12)]

Examples

<div class="rounded-xl bg-white shadow-[0px_0px_0px_1px_rgba(0,0,0,0.06),0px_1px_1px_-0.5px_rgba(0,0,0,0.06),0px_3px_3px_-1.5px_rgba(0,0,0,0.06),_0px_6px_6px_-3px_rgba(0,0,0,0.06),0px_12px_12px_-6px_rgba(0,0,0,0.06),0px_24px_24px_-12px_rgba(0,0,0,0.06)]">
  ...
</div>

Usage Rules

  • Use Beautiful sm for compact cards, form controls, pills, and quieter surfaces.
  • Use Beautiful md for cards, panels, popovers, and the default elevated surface style.
  • Use Beautiful lg for hero media, feature callouts, modal-like containers, and the strongest lift.
  • Pair with a clean surface fill and a consistent radius.
  • Use one shadow strength per component state unless an interaction clearly changes elevation.

Avoid

  • Mixing these with default Tailwind shadow scales on the same component.
  • Tinting these shadows with strong colors; keep them neutral and refined.
  • Applying Beautiful lg to dense lists or tiny controls.
  • Stacking multiple shadow utilities on one element.
  • Using these as a substitute for clear borders in very low-contrast layouts.
よくある質問

小、中、大はどういう意味ですか?

小はコンパクトなカードやコントロールに、中はパネルやポップオーバーに、大はヒーローの画像やモーダルに向いています。

影に色は付いていますか?

いいえ。色付けのない中立的な影を使います。

特別な設定は必要ですか?

いいえ。Tailwindの任意の値のクラスを使うので、Tailwindが使われている場所ならどこでも影が機能します。

詳細

作者による元の説明

Apply exact Tailwind arbitrary shadow utilities for polished, layered neutral elevation. Use when compact cards, controls, panels, popovers, hero media, feature callouts, or modal-like containers need refined shadows without default Tailwind shadow scales or colored tinting.

repo: MengTo/Skills

人気

GitHubのスター
7.2k
ランキング
#13401
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル