@uniai-fe/uds-foundation 0.0.10 → 0.1.0
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/dist/index.css +16 -25
- package/package.json +1 -1
- package/src/index.scss +4 -17
package/dist/index.css
CHANGED
|
@@ -301,7 +301,22 @@
|
|
|
301
301
|
z-index: 0;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
@layer foundation.
|
|
304
|
+
@layer foundation.tokens {
|
|
305
|
+
@font-face {
|
|
306
|
+
font-family: "Pretendard JP Variable";
|
|
307
|
+
src: url("./fonts/pretendard-jp/PretendardJPVariable.woff2") format("woff2");
|
|
308
|
+
font-weight: 100 900;
|
|
309
|
+
font-style: normal;
|
|
310
|
+
font-display: swap;
|
|
311
|
+
}
|
|
312
|
+
@font-face {
|
|
313
|
+
font-family: "InterVariable";
|
|
314
|
+
src: url("./fonts/inter/InterVariable.woff2") format("woff2");
|
|
315
|
+
font-weight: 100 900;
|
|
316
|
+
font-style: normal;
|
|
317
|
+
font-display: swap;
|
|
318
|
+
}
|
|
319
|
+
/* foundation 토큰을 단일 :root 블록으로 모아 중복 선언을 방지한다. */
|
|
305
320
|
:root {
|
|
306
321
|
--color-common-100: #fff;
|
|
307
322
|
--color-common-0: #000;
|
|
@@ -532,10 +547,6 @@
|
|
|
532
547
|
--color-success: var(--color-green-40);
|
|
533
548
|
--color-information: var(--color-blue-60);
|
|
534
549
|
--color-new: var(--color-red-50);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
@layer foundation.spacing {
|
|
538
|
-
:root {
|
|
539
550
|
--spacing-padding-1: 2px;
|
|
540
551
|
--spacing-padding-2: 4px;
|
|
541
552
|
--spacing-padding-3: 6px;
|
|
@@ -562,10 +573,6 @@
|
|
|
562
573
|
--spacing-gap-13: 48px;
|
|
563
574
|
--spacing-gap-14: 64px;
|
|
564
575
|
--spacing-gap-15: 80px;
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
@layer foundation.layout {
|
|
568
|
-
:root {
|
|
569
576
|
--theme-breakpoint-xsmall-start: 0px;
|
|
570
577
|
--theme-breakpoint-small-start: 768px;
|
|
571
578
|
--theme-breakpoint-medium-start: 992px;
|
|
@@ -611,22 +618,6 @@
|
|
|
611
618
|
--theme-radius-large-2: 16px;
|
|
612
619
|
--theme-radius-xlarge: 16px;
|
|
613
620
|
}
|
|
614
|
-
}
|
|
615
|
-
@layer foundation.typography {
|
|
616
|
-
@font-face {
|
|
617
|
-
font-family: "Pretendard JP Variable";
|
|
618
|
-
src: url("./fonts/pretendard-jp/PretendardJPVariable.woff2") format("woff2");
|
|
619
|
-
font-weight: 100 900;
|
|
620
|
-
font-style: normal;
|
|
621
|
-
font-display: swap;
|
|
622
|
-
}
|
|
623
|
-
@font-face {
|
|
624
|
-
font-family: "InterVariable";
|
|
625
|
-
src: url("./fonts/inter/InterVariable.woff2") format("woff2");
|
|
626
|
-
font-weight: 100 900;
|
|
627
|
-
font-style: normal;
|
|
628
|
-
font-display: swap;
|
|
629
|
-
}
|
|
630
621
|
:root :root {
|
|
631
622
|
--font-family-pretendard:
|
|
632
623
|
"Pretendard JP Variable", "Pretendard JP", "Pretendard Variable",
|
package/package.json
CHANGED
package/src/index.scss
CHANGED
|
@@ -20,30 +20,17 @@
|
|
|
20
20
|
@include initDocument.foundation-document();
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
@layer foundation.
|
|
24
|
-
|
|
25
|
-
@include colorTokens.foundation-color-tokens();
|
|
26
|
-
}
|
|
27
|
-
}
|
|
23
|
+
@layer foundation.tokens {
|
|
24
|
+
@include typoFontFace.foundation-typography-font-face();
|
|
28
25
|
|
|
29
|
-
|
|
26
|
+
/* foundation 토큰을 단일 :root 블록으로 모아 중복 선언을 방지한다. */
|
|
30
27
|
:root {
|
|
28
|
+
@include colorTokens.foundation-color-tokens();
|
|
31
29
|
@include spacingPadding.foundation-spacing-padding();
|
|
32
30
|
@include spacingGap.foundation-spacing-gap();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@layer foundation.layout {
|
|
37
|
-
:root {
|
|
38
31
|
@include layoutBreakpoint.foundation-layout-breakpoint();
|
|
39
32
|
@include layoutSize.foundation-layout-size();
|
|
40
33
|
@include layoutRadius.foundation-layout-radius();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@layer foundation.typography {
|
|
45
|
-
@include typoFontFace.foundation-typography-font-face();
|
|
46
|
-
:root {
|
|
47
34
|
@include typoFontFamily.foundation-typography-font-family();
|
|
48
35
|
@include typoDisplay.foundation-typography-display();
|
|
49
36
|
@include typoHeading.foundation-typography-heading();
|