@team-monolith/cds 1.105.1 → 1.106.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/@types/emotion.d.ts +1 -0
- package/dist/CdsProvider.js +2 -0
- package/dist/components/Book/Book.d.ts +2 -2
- package/dist/components/Book/Book.js +2 -1
- package/dist/foundation/font.d.ts +1 -0
- package/dist/foundation/font.js +1 -0
- package/dist/patterns/LexicalEditor/theme.js +2 -2
- package/package.json +1 -1
package/@types/emotion.d.ts
CHANGED
package/dist/CdsProvider.js
CHANGED
|
@@ -9,6 +9,7 @@ export const light = {
|
|
|
9
9
|
fontFamily: {
|
|
10
10
|
ui: FONT.pretendard,
|
|
11
11
|
title: FONT.naumSquareNeo,
|
|
12
|
+
code: FONT.d2Coding,
|
|
12
13
|
},
|
|
13
14
|
color: {
|
|
14
15
|
background: {
|
|
@@ -158,6 +159,7 @@ export const dark = {
|
|
|
158
159
|
fontFamily: {
|
|
159
160
|
ui: FONT.pretendard,
|
|
160
161
|
title: FONT.naumSquareNeo,
|
|
162
|
+
code: FONT.d2Coding,
|
|
161
163
|
},
|
|
162
164
|
color: {
|
|
163
165
|
background: {
|
|
@@ -7,8 +7,8 @@ export declare const bookClasses: {
|
|
|
7
7
|
readonly progressBar: "Book-progressBar";
|
|
8
8
|
};
|
|
9
9
|
export interface ProgressInfo {
|
|
10
|
-
/** 프로그레스 바 상단에 표시되는
|
|
11
|
-
title:
|
|
10
|
+
/** 프로그레스 바 상단에 표시되는 내용. */
|
|
11
|
+
title: React.ReactNode;
|
|
12
12
|
/** 프로그레스 바 진행도 (0 ~ 1 사이 숫자) */
|
|
13
13
|
value: number;
|
|
14
14
|
}
|
|
@@ -193,7 +193,8 @@ const CoverTitle = styled("h1", {
|
|
|
193
193
|
const BookGradient = styled.div `
|
|
194
194
|
width: 200px;
|
|
195
195
|
height: ${BOOK_HEIGHT}px;
|
|
196
|
-
background:
|
|
196
|
+
background:
|
|
197
|
+
linear-gradient(
|
|
197
198
|
180deg,
|
|
198
199
|
rgba(255, 255, 255, 0) 0%,
|
|
199
200
|
rgba(0, 0, 0, 0.75) 100%
|
package/dist/foundation/font.js
CHANGED
|
@@ -226,7 +226,7 @@ export function getTheme(theme, editable) {
|
|
|
226
226
|
color: ${theme.color.foreground.neutralBase};
|
|
227
227
|
|
|
228
228
|
/* Mono/Paragraph/14px-Rg */
|
|
229
|
-
font-family:
|
|
229
|
+
font-family: ${theme.fontFamily.code}, consolas, monospace;
|
|
230
230
|
font-size: 14px;
|
|
231
231
|
font-style: normal;
|
|
232
232
|
font-weight: 400;
|
|
@@ -240,7 +240,7 @@ export function getTheme(theme, editable) {
|
|
|
240
240
|
|
|
241
241
|
color: ${theme.color.foreground.neutralBase};
|
|
242
242
|
/* Mono/Paragraph/14px-Rg */
|
|
243
|
-
font-family:
|
|
243
|
+
font-family: ${theme.fontFamily.code}, consolas, monospace;
|
|
244
244
|
`,
|
|
245
245
|
underline: css `
|
|
246
246
|
text-decoration: underline;
|