Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 9fd4f62

Browse files
committed
feat(fusuma): update template
1 parent d8f3403 commit 9fd4f62

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

packages/client/assets/style/typography.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ h6 {
5050
}
5151

5252
h3 {
53-
font-size: 4rem;
53+
font-size: var(--h3-font-size);
5454
line-height: 5.6rem;
5555
}
5656
}

packages/client/assets/style/variables.css

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
--base-align: center;
88
--base-max-slide-size: 1280px;
99

10-
/* --breakpoint-pc: 768px; */
11-
1210
--h1-font-size: 5.6rem;
1311
--h1-font-weight: 300;
1412
--h2-font-size: 4rem;

packages/fusuma/src/configs/templates/style.css

+8-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@
55
/* @import '@fusuma/client/assets/style/themes/webpack.css'; */
66
/* @import '@fusuma/client/assets/style/themes/node.css'; */
77

8-
/* the default variables */
8+
/* global config */
9+
/* If you want to change the default values, please uncomment. */
10+
/* ↑ the current values are the default */
911
/* TODO: add the url */
1012
/* :root { */
11-
/* --base-font-size: 62.5%; */
13+
/* --base-font-size: 2.4rem; */
1214
/* --base-font-weight: 300; */
13-
/* --code-align: auto; */
15+
/* --base-align: center; */
16+
/* --base-max-slide-size: 1280px; */
1417
/* --code-font-size: 1.8rem; */
18+
/* --h1-font-size: 5.6rem; */
19+
/* --h2-font-size: 5.6rem; */
1520
/* } */
1621

1722
.title {

0 commit comments

Comments
 (0)