0.0.28 • Published 2 years ago
da-react-components v0.0.28
react-ui-components
※ 開発中のため破壊的な変更が都度入ります。実験中です。
Figma(デザインシステム)とのバージョン対応表
Figmaのバージョン | npmのバージョン |
---|---|
1.3.4 | 0.0.26 |
1.3.3 | 0.0.13 |
事業者向け
セットアップ
1. インストール
$ npm install da-react-components
2. tailwind.config.js を編集
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./node_modules/da-react-components/dist/**/*.{js,ts,jsx,tsx}',
],
plugins: [require('@digital-go-jp/tailwind-theme-plugin')],
}
3. globals.css / index.css を編集
※ あくまで一例です。
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
font-family: 'Noto Sans JP', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'BIZ UDPGothic', meiryo, sans-serif;
@apply text-body-lg;
}
}
開発者向け
セットアップ
$ npm install
ビルド
$ npm run build
Storybook
$ npm run storybook
0.0.28
2 years ago
0.0.26
2 years ago
0.0.24
2 years ago
0.0.23
2 years ago
0.0.22
2 years ago
0.0.21
2 years ago
0.0.20
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.15
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago