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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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 smfor compact cards, form controls, pills, and quieter surfaces. - Use
Beautiful mdfor cards, panels, popovers, and the default elevated surface style. - Use
Beautiful lgfor 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 lgto 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
コメント
- …
このリポジトリの他のスキル
3d-cloth-material
7.2kThree.js で、糸の織り、柔らかい光沢、自然な襞、裾、縫い目を持つ、本物の織物らしい布を作るようエージェントを支援します。
3d-falling-leaves
7.2k3D のシーンに、回転し、風に流され、カメラの動きに合わせて再利用される、本物らしい落ち葉を加えるようエージェントを支援します。
3d-four-seasons
7.2k3D のシーンに、春、夏、秋、冬の見た目を加え、シーン全体を作り直さずに、茂み、光、空、雪を変えるようエージェントを支援します。
3d-high-poly-models
7.2k滑らかな形と自然な縁をもつ、詳細な3Dモデルを作り、その後、Web で快適に動く軽いバージョンを準備するようエージェントを支援します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。