@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 +8 -5
- package/dist/styles.css +3679 -0
- package/package.json +8 -4
- package/src/index.scss +6 -0
package/README.md
CHANGED
|
@@ -63,15 +63,18 @@ const nextConfig = {
|
|
|
63
63
|
export default nextConfig;
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
### 2)
|
|
66
|
+
### 2) 스타일 전역 주입
|
|
67
67
|
|
|
68
|
-
`@uniai-fe/uds-
|
|
68
|
+
템플릿은 primitives 위에 구성되므로, 앱 루트에서 `@uniai-fe/uds-templates/styles`(Sass) 또는 `@uniai-fe/uds-templates/css`(번들 CSS) 중 하나를 **한 번만** import 하면 foundation 토큰, primitives, templates 스타일이 모두 초기화됩니다.
|
|
69
69
|
|
|
70
|
-
|
|
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-
|
|
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 (
|