@mitsuharu/vivliostyle-theme-iosdc-pamphlet 0.1.4 → 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 CHANGED
@@ -6,7 +6,7 @@ This is a Vivliostyle theme for techbook of iOSDC Japan pamphlet.
6
6
 
7
7
  ## Required
8
8
 
9
- - @vivliostyle/cli >= 8.16.0
9
+ - @vivliostyle/cli >= 9.3.1
10
10
 
11
11
  ## Use
12
12
 
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.1.4",
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
- "build": "vivliostyle build",
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": "latest",
16
- "@vivliostyle/theme-techbook": "latest"
17
+ "@vivliostyle/theme-base": "2.0.0",
18
+ "@vivliostyle/theme-techbook": "2.0.0"
17
19
  },
18
20
  "devDependencies": {
19
- "@vivliostyle/cli": "^8.16.0",
20
- "vivliostyle-theme-scripts": "^0.3.5"
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": ">=8.16.0"
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.5.3"
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: #25292E;
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: #1F2430;
38
+ border-color: #1f2430;
39
39
  }
40
40
 
41
- :not(pre) > code[class*=language-],
42
- pre[class*=language-] {
43
- background: #F8F8F8;
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: #76A363;
57
+ color: #76a363;
58
58
  }
59
59
 
60
60
  .token.punctuation {
61
- color: #25292E;
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: #C4494A;
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: #C13E2A;
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: #25292E;
96
+ color: #25292e;
97
97
  }
98
98
 
99
99
  .token.atrule,
100
100
  .token.attr-value {
101
- color: #C4494A;
101
+ color: #c4494a;
102
102
  }
103
103
 
104
104
  .token.function {
105
- color: #7C53D8;
105
+ color: #7c53d8;
106
106
  }
107
107
 
108
108
  .token.class-name {
109
- color: #32565B;
109
+ color: #32565b;
110
110
  }
111
111
 
112
112
  .token.keyword {
113
- color: #C4494A;
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^='http']::before {
209
+ :not(.footnote) > a[href^="http"]::before {
210
210
  display: none;
211
211
  }
212
- :not(.footnote) > a[href^='http']::after {
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
- /* 2023 は 14px を設定したが、書籍上では少し大きく感じた */
245
+ /* フォントの基本サイズ */
246
+ /* 2023 は 14px を設定したが、書籍上では少し大きく感じた */
247
247
  font-size: 12px;
248
248
  }
249
249
  .token {
250
- /* ソースコードの文字サイズ */
251
- /* 100% ならば基本サイズと同じ大きさになります */
252
- font-size: 100%;
253
- }
250
+ /* ソースコードの文字サイズ */
251
+ /* 100% ならば基本サイズと同じ大きさになります */
252
+ font-size: 100%;
253
+ }
254
254
  }
255
255
 
256
256
  /* 著者紹介のブロック */
@@ -7,7 +7,5 @@ module.exports = {
7
7
  ],
8
8
  entry: ['example/default.md'],
9
9
  workspaceDir: '.vivliostyle',
10
- output: [
11
- 'book.pdf'
12
- ],
13
- };
10
+ output: ['dist/book.pdf'],
11
+ }