@mitsuharu/vivliostyle-theme-iosdc-pamphlet 0.1.5 → 0.2.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/README.md +1 -1
- package/package.json +14 -11
- package/theme.css +28 -28
- package/vivliostyle.config.js +2 -4
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mitsuharu/vivliostyle-theme-iosdc-pamphlet",
|
|
3
3
|
"description": "It is vivliostyle theme for iOSDC Japan pamphlet",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"author": "Mitsuharu Emoto <mthr1982@gmail.com>",
|
|
6
6
|
"main": "theme.css",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"start": "vivliostyle build && open ./book.pdf",
|
|
9
|
-
"
|
|
10
|
-
"open": "open ./book.pdf",
|
|
8
|
+
"start": "vivliostyle build && open ./dist/book.pdf",
|
|
9
|
+
"pdf": "vivliostyle build",
|
|
10
|
+
"open": "open ./dist/book.pdf",
|
|
11
11
|
"preview": "vivliostyle preview",
|
|
12
|
-
"validate": "vivliostyle-theme-scripts validate"
|
|
12
|
+
"validate": "vivliostyle-theme-scripts validate",
|
|
13
|
+
"check": "biome check",
|
|
14
|
+
"check-write": "biome check --write"
|
|
13
15
|
},
|
|
14
16
|
"dependencies": {
|
|
15
|
-
"@vivliostyle/theme-base": "
|
|
16
|
-
"@vivliostyle/theme-techbook": "
|
|
17
|
+
"@vivliostyle/theme-base": "2.0.0",
|
|
18
|
+
"@vivliostyle/theme-techbook": "2.0.0"
|
|
17
19
|
},
|
|
18
20
|
"devDependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"vivliostyle
|
|
21
|
+
"@biomejs/biome": "^2.0.5",
|
|
22
|
+
"@vivliostyle/cli": "^9.3.2",
|
|
23
|
+
"vivliostyle-theme-scripts": "^0.3.6"
|
|
21
24
|
},
|
|
22
25
|
"peerDependencies": {
|
|
23
|
-
"@vivliostyle/cli": ">=
|
|
26
|
+
"@vivliostyle/cli": ">=9.3.2"
|
|
24
27
|
},
|
|
25
28
|
"peerDependenciesMeta": {
|
|
26
29
|
"@vivliostyle/cli": {
|
|
@@ -57,5 +60,5 @@
|
|
|
57
60
|
"publishConfig": {
|
|
58
61
|
"registry": "https://registry.npmjs.org/"
|
|
59
62
|
},
|
|
60
|
-
"packageManager": "yarn@4.
|
|
63
|
+
"packageManager": "yarn@4.9.2"
|
|
61
64
|
}
|
package/theme.css
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
@import url(../../@vivliostyle/theme-base/css/lib/prism/theme-okaidia.css);
|
|
4
4
|
@import url(../../@vivliostyle/theme-techbook/theme.css);
|
|
5
5
|
|
|
6
|
-
code[class*=language-],
|
|
7
|
-
pre[class*=language-] {
|
|
8
|
-
color: #
|
|
6
|
+
code[class*="language-"],
|
|
7
|
+
pre[class*="language-"] {
|
|
8
|
+
color: #25292e;
|
|
9
9
|
background: none;
|
|
10
10
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
11
11
|
font-weight: 500;
|
|
@@ -26,7 +26,7 @@ pre[class*=language-] {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Code blocks */
|
|
29
|
-
pre[class*=language-] {
|
|
29
|
+
pre[class*="language-"] {
|
|
30
30
|
padding: 1em;
|
|
31
31
|
margin: 0.5em 0;
|
|
32
32
|
overflow: auto;
|
|
@@ -35,16 +35,16 @@ pre[class*=language-] {
|
|
|
35
35
|
border-bottom: 0.5px solid;
|
|
36
36
|
border-right: 0.5px solid;
|
|
37
37
|
border-left: 0.5px solid;
|
|
38
|
-
border-color: #
|
|
38
|
+
border-color: #1f2430;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
:not(pre) > code[class*=language-],
|
|
42
|
-
pre[class*=language-] {
|
|
43
|
-
background: #
|
|
41
|
+
:not(pre) > code[class*="language-"],
|
|
42
|
+
pre[class*="language-"] {
|
|
43
|
+
background: #f8f8f8;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* Inline code */
|
|
47
|
-
:not(pre) > code[class*=language-] {
|
|
47
|
+
:not(pre) > code[class*="language-"] {
|
|
48
48
|
padding: 0.1em;
|
|
49
49
|
border-radius: 0.3em;
|
|
50
50
|
white-space: normal;
|
|
@@ -54,11 +54,11 @@ pre[class*=language-] {
|
|
|
54
54
|
.token.prolog,
|
|
55
55
|
.token.doctype,
|
|
56
56
|
.token.cdata {
|
|
57
|
-
color: #
|
|
57
|
+
color: #76a363;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.token.punctuation {
|
|
61
|
-
color: #
|
|
61
|
+
color: #25292e;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.namespace {
|
|
@@ -75,7 +75,7 @@ pre[class*=language-] {
|
|
|
75
75
|
|
|
76
76
|
.token.boolean,
|
|
77
77
|
.token.number {
|
|
78
|
-
color: #
|
|
78
|
+
color: #c4494a;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.token.selector,
|
|
@@ -84,7 +84,7 @@ pre[class*=language-] {
|
|
|
84
84
|
.token.char,
|
|
85
85
|
.token.builtin,
|
|
86
86
|
.token.inserted {
|
|
87
|
-
color: #
|
|
87
|
+
color: #c13e2a;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.token.operator,
|
|
@@ -93,24 +93,24 @@ pre[class*=language-] {
|
|
|
93
93
|
.language-css .token.string,
|
|
94
94
|
.style .token.string,
|
|
95
95
|
.token.variable {
|
|
96
|
-
color: #
|
|
96
|
+
color: #25292e;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.token.atrule,
|
|
100
100
|
.token.attr-value {
|
|
101
|
-
color: #
|
|
101
|
+
color: #c4494a;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.token.function {
|
|
105
|
-
color: #
|
|
105
|
+
color: #7c53d8;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.token.class-name {
|
|
109
|
-
color: #
|
|
109
|
+
color: #32565b;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.token.keyword {
|
|
113
|
-
color: #
|
|
113
|
+
color: #c4494a;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.token.regex,
|
|
@@ -131,8 +131,8 @@ pre[class*=language-] {
|
|
|
131
131
|
cursor: help;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
code[class*=language-],
|
|
135
|
-
pre[class*=language-] {
|
|
134
|
+
code[class*="language-"],
|
|
135
|
+
pre[class*="language-"] {
|
|
136
136
|
margin: 1.5em 0;
|
|
137
137
|
line-height: 1.2 !important;
|
|
138
138
|
letter-spacing: 0.03rem !important;
|
|
@@ -206,10 +206,10 @@ pre {
|
|
|
206
206
|
.token {
|
|
207
207
|
font-size: 100%;
|
|
208
208
|
}
|
|
209
|
-
:not(.footnote) > a[href^=
|
|
209
|
+
:not(.footnote) > a[href^="http"]::before {
|
|
210
210
|
display: none;
|
|
211
211
|
}
|
|
212
|
-
:not(.footnote) > a[href^=
|
|
212
|
+
:not(.footnote) > a[href^="http"]::after {
|
|
213
213
|
display: none;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
@@ -242,15 +242,15 @@ pre {
|
|
|
242
242
|
|
|
243
243
|
@media print {
|
|
244
244
|
:root {
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
/* フォントの基本サイズ */
|
|
246
|
+
/* 2023 は 14px を設定したが、書籍上では少し大きく感じた */
|
|
247
247
|
font-size: 12px;
|
|
248
248
|
}
|
|
249
249
|
.token {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
250
|
+
/* ソースコードの文字サイズ */
|
|
251
|
+
/* 100% ならば基本サイズと同じ大きさになります */
|
|
252
|
+
font-size: 100%;
|
|
253
|
+
}
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
/* 著者紹介のブロック */
|