✨ feat: Tailwind CSSとデザイントークンの導入、Storybookの修正#38
Open
yutteee wants to merge 7 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
タイトル
✨ feat: Tailwind CSSとデザイントークンの導入、Storybookの修正
概要
Tailwind CSS v4をプロジェクトに導入し、Figma MCPを使用してデザインシステムのトークン(color、typography、spacing、border-radius、shadowなど)を取得してTailwind設定に追加しました。また、Storybookが起動しない問題を修正しました。
変更内容
🎨 Tailwind CSS v4の導入
@tailwindcss/postcssをインストール(v4で必要)tailwind.config.tsを作成postcss.config.mjsを作成src/styles/globals.scssにTailwindディレクティブを追加🎨 Figma MCPからデザイントークンの取得と設定
🐛 Storybookの修正
storybook@9.1.16@storybook/addon-a11y@9.1.16@storybook/addon-docs@9.1.16@storybook/addon-vitest@9.1.16@storybook/nextjs-vite@9.1.16eslint-plugin-storybook@9.1.16definePreviewのインポートエラーを解消📝 変更ファイル
tailwind.config.ts: Tailwind設定とデザイントークンの追加postcss.config.mjs: PostCSS設定の追加src/styles/globals.scss: Tailwindディレクティブとデフォルトフォント設定の追加package.json: Tailwind CSS v4、PostCSS、Autoprefixer、Storybook関連パッケージの追加・更新スクリーンショット
なし(設定ファイルの追加のみ)
備考
@tailwindcss/postcssに分離されています