Arial 폰트 추가, 패널 기본 폰트 및 컬러 지정, util mixin 변경

This commit is contained in:
jangheon Pyo
2024-01-25 18:11:48 +09:00
parent 412db26677
commit 9c233fc10f
5 changed files with 14 additions and 4 deletions

Binary file not shown.

View File

@@ -7,6 +7,8 @@
color: black;
section {
font-family: @baseFont;
color: @COLOR_GRAY03;
padding: 0 !important;
word-break: keep-all;
}

View File

@@ -8,6 +8,14 @@
font-family: "LGSmartUIBold"; //font-weight: 600;
src: url("../../assets/fonts/lgfont/LGSmartUI-Bold2.woff") format("woff");
}
@font-face {
font-family: "Arial";
src: url("../../assets/fonts/arial/Arial.woff") format("woff");
}
@font-face {
font-family: "ArialBold";
src: url("../../assets/fonts/arial/Arial-Bold.woff") format("woff");
}
@baseFont: "LGSmartUI";
@baseFontBold: "LGSmartUIBold";

View File

@@ -5,11 +5,13 @@
align-items: @alignCenter;
flex-direction: @direction;
}
.size(@w: 50px, @h: 50px) {
width: @w;
height: @h;
}
.position(@position: relative, @top: 0, @right: 0, @bottom: 0, @left: 0) {
.position(@position: relative, @top: auto, @right: auto, @bottom: auto, @left: auto) {
position: @position;
top: @top;
right: @right;
@@ -24,11 +26,9 @@
}
//font
.font (@fontFamily, @fontSize, @color, @fontWeight) {
.font (@fontFamily, @fontSize) {
font-family: @fontFamily;
font-size: @fontSize;
color: @color;
font-weight: @fontWeight;
}
//말줄임