sellmate-design-system-react 0.9.0 → 0.10.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/styles.css +46 -0
- package/dist/theme.css +28 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
--text-xs--line-height: calc(1 / 0.75);
|
|
26
26
|
--text-sm: 0.875rem;
|
|
27
27
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
28
|
+
--text-base: 1rem;
|
|
29
|
+
--text-base--line-height: calc(1.5 / 1);
|
|
28
30
|
--text-xl: 1.25rem;
|
|
29
31
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
30
32
|
--font-weight-normal: 400;
|
|
@@ -1224,6 +1226,9 @@
|
|
|
1224
1226
|
.gap-2 {
|
|
1225
1227
|
gap: var(--spacing-2);
|
|
1226
1228
|
}
|
|
1229
|
+
.gap-3 {
|
|
1230
|
+
gap: calc(var(--spacing) * 3);
|
|
1231
|
+
}
|
|
1227
1232
|
.gap-4 {
|
|
1228
1233
|
gap: var(--spacing-4);
|
|
1229
1234
|
}
|
|
@@ -1581,6 +1586,9 @@
|
|
|
1581
1586
|
.border-\(--field-bc\) {
|
|
1582
1587
|
border-color: var(--field-bc);
|
|
1583
1588
|
}
|
|
1589
|
+
.border-\[\#E1E1E1\] {
|
|
1590
|
+
border-color: #E1E1E1;
|
|
1591
|
+
}
|
|
1584
1592
|
.border-\[color\:var\(--btn-border\)\] {
|
|
1585
1593
|
border-color: var(--btn-border);
|
|
1586
1594
|
}
|
|
@@ -1653,6 +1661,9 @@
|
|
|
1653
1661
|
.bg-\(--cmp-listItem-bg-hover\) {
|
|
1654
1662
|
background-color: var(--cmp-listItem-bg-hover);
|
|
1655
1663
|
}
|
|
1664
|
+
.bg-\[\#F2F2F2\] {
|
|
1665
|
+
background-color: #F2F2F2;
|
|
1666
|
+
}
|
|
1656
1667
|
.bg-\[var\(--btn-bg\)\] {
|
|
1657
1668
|
background-color: var(--btn-bg);
|
|
1658
1669
|
}
|
|
@@ -1992,6 +2003,10 @@
|
|
|
1992
2003
|
.align-middle {
|
|
1993
2004
|
vertical-align: middle;
|
|
1994
2005
|
}
|
|
2006
|
+
.text-base {
|
|
2007
|
+
font-size: var(--text-base);
|
|
2008
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
2009
|
+
}
|
|
1995
2010
|
.text-sm {
|
|
1996
2011
|
font-size: var(--text-sm);
|
|
1997
2012
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
@@ -2031,6 +2046,9 @@
|
|
|
2031
2046
|
.text-\[12px\] {
|
|
2032
2047
|
font-size: 12px;
|
|
2033
2048
|
}
|
|
2049
|
+
.text-\[13px\] {
|
|
2050
|
+
font-size: 13px;
|
|
2051
|
+
}
|
|
2034
2052
|
.text-\[14px\] {
|
|
2035
2053
|
font-size: 14px;
|
|
2036
2054
|
}
|
|
@@ -2169,6 +2187,12 @@
|
|
|
2169
2187
|
.text-\[\#0A0A0A\] {
|
|
2170
2188
|
color: #0A0A0A;
|
|
2171
2189
|
}
|
|
2190
|
+
.text-\[\#666\] {
|
|
2191
|
+
color: #666;
|
|
2192
|
+
}
|
|
2193
|
+
.text-\[\#374151\] {
|
|
2194
|
+
color: #374151;
|
|
2195
|
+
}
|
|
2172
2196
|
.text-\[color\:var\(--cmp-datepicker-calendar-day-default-text\)\] {
|
|
2173
2197
|
color: var(--cmp-datepicker-calendar-day-default-text);
|
|
2174
2198
|
}
|
|
@@ -4000,6 +4024,28 @@
|
|
|
4000
4024
|
--cmp-gnb-rail-item-icon: 24px;
|
|
4001
4025
|
--cmp-gnb-rail-item-width: 44px;
|
|
4002
4026
|
}
|
|
4027
|
+
@layer base {
|
|
4028
|
+
*::-webkit-scrollbar {
|
|
4029
|
+
width: 12px;
|
|
4030
|
+
height: 12px;
|
|
4031
|
+
background: transparent;
|
|
4032
|
+
}
|
|
4033
|
+
*::-webkit-scrollbar-track {
|
|
4034
|
+
background: transparent;
|
|
4035
|
+
}
|
|
4036
|
+
*::-webkit-scrollbar-thumb {
|
|
4037
|
+
background-color: var(--color-grey-45);
|
|
4038
|
+
border: 2px solid transparent;
|
|
4039
|
+
border-radius: 9999px;
|
|
4040
|
+
background-clip: padding-box;
|
|
4041
|
+
}
|
|
4042
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
4043
|
+
* {
|
|
4044
|
+
scrollbar-width: thin;
|
|
4045
|
+
scrollbar-color: var(--color-grey-45) transparent;
|
|
4046
|
+
}
|
|
4047
|
+
}
|
|
4048
|
+
}
|
|
4003
4049
|
@layer components {
|
|
4004
4050
|
.typo-control-xs-default {
|
|
4005
4051
|
font-family: Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;
|
package/dist/theme.css
CHANGED
|
@@ -1303,6 +1303,34 @@
|
|
|
1303
1303
|
--cmp-gnb-rail-item-width: 44px;
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
|
+
/* 전역 스크롤바 — overflow(auto/scroll)로 스크롤이 생기는 모든 요소에 SScrollArea 기본 스크롤바를 자동 적용.
|
|
1307
|
+
lib/scrollbar.ts 의 SCROLLBAR_CLASS 와 단일 기준(트랙 12px / 썸 grey-45, 2px 인셋, radius full).
|
|
1308
|
+
base 레이어에 둬야 컴포넌트가 붙이는 SCROLLBAR_* 유틸(background·bordered)이 utilities 레이어로 이 규칙을 덮는다.
|
|
1309
|
+
Chrome 121+/WebKit 는 scrollbar-width·scrollbar-color 계산값이 auto 가 아니면 ::-webkit-scrollbar-* 를 통째로
|
|
1310
|
+
무시하므로, 표준 속성은 webkit 유사요소가 없는 브라우저(Firefox)에서만 켠다. */
|
|
1311
|
+
@layer base {
|
|
1312
|
+
*::-webkit-scrollbar {
|
|
1313
|
+
width: 12px;
|
|
1314
|
+
height: 12px;
|
|
1315
|
+
background: transparent;
|
|
1316
|
+
}
|
|
1317
|
+
*::-webkit-scrollbar-track {
|
|
1318
|
+
background: transparent;
|
|
1319
|
+
}
|
|
1320
|
+
*::-webkit-scrollbar-thumb {
|
|
1321
|
+
background-color: var(--color-grey-45);
|
|
1322
|
+
border: 2px solid transparent;
|
|
1323
|
+
border-radius: 9999px;
|
|
1324
|
+
background-clip: padding-box;
|
|
1325
|
+
}
|
|
1326
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
1327
|
+
* {
|
|
1328
|
+
scrollbar-width: thin;
|
|
1329
|
+
scrollbar-color: var(--color-grey-45) transparent;
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1306
1334
|
/* 타이포그래피 프리셋 */
|
|
1307
1335
|
@layer components {
|
|
1308
1336
|
.typo-control-xs-default {
|