Skip to content

Commit 8e828c3

Browse files
committed
feat: text mixin 추가
1 parent a0d9688 commit 8e828c3

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

src/styles/_mixins.scss

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
@mixin titleLg {
2+
font-size: $font-size-xl;
3+
font-weight: $font-weight-bold;
4+
}
5+
6+
@mixin titleMd {
7+
font-size: $font-size-lg;
8+
font-weight: $font-weight-bold;
9+
}
10+
11+
@mixin titleSm {
12+
font-size: $font-size-md;
13+
font-weight: $font-weight-bold;
14+
}
15+
16+
@mixin bodyLg {
17+
font-size: $font-size-default;
18+
font-weight: $font-weight-medium;
19+
}
20+
21+
@mixin bodyMd {
22+
font-size: $font-size-sm;
23+
font-weight: $font-weight-medium;
24+
}
25+
26+
@mixin bodySm {
27+
font-size: $font-size-xs;
28+
font-weight: $font-weight-medium;
29+
}
30+
31+
@mixin bodyXsm {
32+
font-size: $font-size-xxs;
33+
font-weight: $font-weight-medium;
34+
}
35+
36+
@mixin buttonMd {
37+
font-size: $font-size-default;
38+
font-weight: $font-weight-semi-bold;
39+
}
40+
41+
@mixin buttonSm {
42+
font-size: $font-size-default;
43+
font-weight: $font-weight-medium;
44+
}
45+
46+
@mixin buttonXs {
47+
font-size: $font-size-xs;
48+
font-weight: $font-weight-medium;
49+
}

0 commit comments

Comments
 (0)