0.27.3 • Published 10 months ago

gyu-ui v0.27.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

gyu-ui

  • 현재 npm 에 등록함 gyu-ui
  • gyu-ui 는 tailwindcss 로 스타일링 되어 있어 사용하는 곳에서 tailwindcss 가 정의되어 있어야한다.

How to start

npm i gyu-ui

추가하기

  • global style 추가하기
// NextJS app directory 인 경우
// app/layout.ts

import "gyu-ui/index.css";
// ...
// 사용하는 곳에서의 tailwind.config.js
import { colorMap, typographyMap } from 'gyu-ui'; // 추가

/** @type {import('tailwindcss').Config} */
export default {
  content: ['./stories/**/*.{ts,tsx,mdx}'],
  theme: {
    extend: {
      colors: {
        ...colorMap, // 추가
      },
    },
  },
  plugins: [ // 추가
    ({ addUtilities }) => {
      const newUtilities = {
        ...typographyMap,
      };
      addUtilities(newUtilities);
    },
  ],
};

TODO: 우선 타이포그래피와 스타일을 같이 내보내야함!

0.27.3

10 months ago

0.27.2

10 months ago

0.27.1

10 months ago

0.27.0

10 months ago

0.26.1

11 months ago

0.26.0

11 months ago

0.25.0

11 months ago

0.24.0

11 months ago

0.21.0

11 months ago

0.18.0

11 months ago

0.17.0

11 months ago

0.16.1

11 months ago

0.16.0

11 months ago

0.15.0

11 months ago

0.14.0

11 months ago

0.13.0

11 months ago

0.12.1

11 months ago

0.12.0

11 months ago

0.11.0

11 months ago

0.10.0

12 months ago

0.9.0

12 months ago

0.7.2

12 months ago

0.7.1

12 months ago

0.8.0

12 months ago

0.7.0

12 months ago

0.6.0

12 months ago

0.5.0

12 months ago

0.4.0

12 months ago

0.3.0

12 months ago

0.1.0

12 months ago

0.0.1

12 months ago

0.0.0

12 months ago