@uniai-fe/uds-templates 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -63,15 +63,18 @@ const nextConfig = {
63
63
  export default nextConfig;
64
64
  ```
65
65
 
66
- ### 2) foundation css 전역 주입
66
+ ### 2) 스타일 전역 주입
67
67
 
68
- `@uniai-fe/uds-foundation/css`는 루트에서 **1회만** import 합니다.
68
+ 템플릿은 primitives 위에 구성되므로, 앱 루트에서 `@uniai-fe/uds-templates/styles`(Sass) 또는 `@uniai-fe/uds-templates/css`(번들 CSS) 하나를 **한 번만** import 하면 foundation 토큰, primitives, templates 스타일이 모두 초기화됩니다.
69
69
 
70
- 예시(App Router):
70
+ ```scss
71
+ /* app/globals.scss (Sass 사용 프로젝트) */
72
+ @use "@uniai-fe/uds-templates/styles";
73
+ ```
71
74
 
72
75
  ```ts
73
- // app/layout.tsx
74
- import "@uniai-fe/uds-foundation/css";
76
+ // app/layout.tsx (Sass 비사용 프로젝트)
77
+ import "@uniai-fe/uds-templates/css";
75
78
 
76
79
  export default function RootLayout(props: { children: React.ReactNode }) {
77
80
  return (