create-marp-presentation 1.1.0 → 1.2.1
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 +45 -37
- package/cli/commands/add-themes-cli.js +85 -0
- package/cli/commands/create-project.js +199 -0
- package/cli/utils/file-utils.js +106 -0
- package/cli/utils/prompt-utils.js +89 -0
- package/docs/plans/2025-02-19-marp-template-design.md +207 -0
- package/docs/plans/2025-02-19-marp-template-implementation.md +848 -0
- package/docs/plans/2026-02-20-example-slides-design.md +179 -0
- package/docs/plans/2026-02-20-example-slides-implementation.md +811 -0
- package/docs/plans/2026-02-23-theme-management-design.md +836 -0
- package/docs/plans/2026-02-23-theme-management-implementation.md +3585 -0
- package/docs/plans/2026-02-26-theme-addition-refactoring-design.md +172 -0
- package/docs/plans/2026-02-26-theme-addition-refactoring.md +456 -0
- package/docs/plans/2026-02-27-theme-add-fix-design.md +136 -0
- package/docs/plans/2026-02-27-theme-add-fix.md +353 -0
- package/docs/plans/TODO.md +5 -0
- package/docs/reqs/themes-requirements.md +49 -0
- package/docs/theme-management.md +261 -0
- package/index.js +111 -164
- package/lib/add-themes-command.js +381 -0
- package/lib/errors.js +62 -0
- package/lib/frontmatter.js +71 -0
- package/lib/prompts.js +222 -0
- package/lib/theme-manager.js +238 -0
- package/lib/theme-resolver.js +227 -0
- package/lib/vscode-integration.js +198 -0
- package/package.json +15 -5
- package/template/README.md +28 -17
- package/template/package.json +13 -1
- package/template/scripts/theme-cli.js +248 -0
- package/themes/beam/beam.css +141 -0
- package/themes/default-clean/default-clean.css +57 -0
- package/themes/gaia-dark/gaia-dark.css +27 -0
- package/themes/marpx/marpx.css +1735 -0
- package/themes/marpx/socrates.css +105 -0
- package/themes/uncover-minimal/uncover-minimal.css +22 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/* @theme socrates */
|
|
2
|
+
|
|
3
|
+
@import "marpx";
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/*------------ Overall theme parameters ---------------------------------*/
|
|
8
|
+
|
|
9
|
+
--marpx-theme-font-family: "Fira Sans", Faustina, Bookerly, sans-serif;
|
|
10
|
+
--marpx-theme-figure-captiontext: "Fig. ";
|
|
11
|
+
--marpx-theme-table-captiontext: "Table ";
|
|
12
|
+
--marpx-theme-brandlogo: " - Created with Marp & MarpX.";
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
--marpx-theme-color: #006a85;
|
|
16
|
+
--marpx-theme-chapter-background-color: #5a79a1;
|
|
17
|
+
--marpx-theme-background-color: #ffffff;
|
|
18
|
+
--marpx-theme-font-color: #000000;
|
|
19
|
+
--marpx-theme-bold-color: #f8150d;
|
|
20
|
+
|
|
21
|
+
--marpx-theme-subtitle-color: #5d616d;
|
|
22
|
+
--marpx-theme-h1-bold-color: #ff3c00;
|
|
23
|
+
--marpx-theme-h2-color: #4d7099;
|
|
24
|
+
--marpx-theme-marker-color: rgb(0, 102, 255);
|
|
25
|
+
|
|
26
|
+
--marpx-theme-toc-color: #fc2003;
|
|
27
|
+
|
|
28
|
+
--marpx-theme-footnote-mark-color: #ff0000;
|
|
29
|
+
--marpx-theme-code-color: rgb(233, 233, 233);
|
|
30
|
+
--marpx-theme-highlight-color: #b9e4f1;
|
|
31
|
+
|
|
32
|
+
/* ------------------- TITLE SLIDE -----------------------------*/
|
|
33
|
+
|
|
34
|
+
/* fonts sizes */
|
|
35
|
+
--marpx-title_academic-title-size: 140%;
|
|
36
|
+
--marpx-title_academic-subtitle-size: 90%;
|
|
37
|
+
--marpx-title_academic-author-size: 95%;
|
|
38
|
+
--marpx-title_academic-date-size: 90%;
|
|
39
|
+
--marpx-title_academic-institute-size: 90%;
|
|
40
|
+
|
|
41
|
+
/* inter character space */
|
|
42
|
+
--marpx-title_academic-letter-spacing: 0.125px;
|
|
43
|
+
/* font weights */
|
|
44
|
+
--marpx-title_academic-title-font-weight: bold;
|
|
45
|
+
--marpx-title_academic-subtitle-font-weight: bold;
|
|
46
|
+
/* colors in style */
|
|
47
|
+
--marpx-title_academic-title-color: #002b36;
|
|
48
|
+
--marpx-title_academic-title-color: #003c4b;
|
|
49
|
+
--marpx-title_academic-subtitle-color: #cacaca;
|
|
50
|
+
--marpx-title_academic-author-color: #f8150d;
|
|
51
|
+
--marpx-title_academic-font-color: #242d31;
|
|
52
|
+
--marpx-title_academic-background-color: #faf7f7;
|
|
53
|
+
--marpx-title_academic-border-color: #ff9b04;
|
|
54
|
+
|
|
55
|
+
/*------------ Parameters used in `REFERENCES` ---------------------------------*/
|
|
56
|
+
|
|
57
|
+
--marpx-references-bold-color: #3e6ceb;
|
|
58
|
+
--marpx-references-background-color: #eff4fa;
|
|
59
|
+
--marpx-references-header-color: #539dd3;
|
|
60
|
+
|
|
61
|
+
/*------------ Parameters used in `QUOTE` ---------------------------------*/
|
|
62
|
+
|
|
63
|
+
--marpx-quote-background-color: #ece8e8;
|
|
64
|
+
--marpx-quote-paragraph-background-color: #f8f8f8;
|
|
65
|
+
--marpx-quote-bold-color: #6462f1;
|
|
66
|
+
--marpx-quote-font-family: Faustina, Times, serif;
|
|
67
|
+
/*- quote dark -*/
|
|
68
|
+
--marpx-quote_dark-color-background: #46b1e2;
|
|
69
|
+
--marpx-quote_dark-color-paragraph-background: #5ec1e9;
|
|
70
|
+
--marpx-quote_dark-bold-color: #f8f8f7;
|
|
71
|
+
--marpx-quote_dark-font: Faustina, Bookerly, Times, serif;
|
|
72
|
+
|
|
73
|
+
/*------------ Parameters used in `TABLE` ---------------------------------*/
|
|
74
|
+
|
|
75
|
+
--marpx-table-header-background-color: rgb(0, 0, 0);
|
|
76
|
+
--marpx-table-header-color-color: white;
|
|
77
|
+
/* --marpx-table-border-top-color: ; */
|
|
78
|
+
--marpx-table-border-bottom-color: rgba(202, 201, 197, 0.973);
|
|
79
|
+
--marpx-table-nth-child-color-color: #f5f5f5;
|
|
80
|
+
--marpx-table-hover-color: rgb(71, 70, 25);
|
|
81
|
+
--marpx-table-hover-background-color: rgb(234, 247, 121);
|
|
82
|
+
|
|
83
|
+
--marpx-table-font-size: 22px;
|
|
84
|
+
--marpx-table-font-family: ;
|
|
85
|
+
|
|
86
|
+
/*------------ Parameters used in `TOC` ---------------------------------*/
|
|
87
|
+
--marpx-color-toc-marker: rgb(175, 69, 27);
|
|
88
|
+
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
section {
|
|
92
|
+
|
|
93
|
+
line-height: 1.3em;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
section code {
|
|
97
|
+
border: 2px solid #222;
|
|
98
|
+
border-radius: 12px;
|
|
99
|
+
padding: 2px 8px;
|
|
100
|
+
/* background: initial; */
|
|
101
|
+
background: #fffbe7;
|
|
102
|
+
/* color: #222222; */
|
|
103
|
+
font-size: 1em;
|
|
104
|
+
display: inline-block;
|
|
105
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* @theme uncover-minimal */
|
|
2
|
+
/* A minimal variant of the uncover theme */
|
|
3
|
+
|
|
4
|
+
@import "uncover";
|
|
5
|
+
|
|
6
|
+
section {
|
|
7
|
+
--uncover-transition: all 0.3s ease;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
h1, h2, h3 {
|
|
11
|
+
font-weight: 300;
|
|
12
|
+
letter-spacing: 0.05em;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Simplified list styling */
|
|
16
|
+
ul, ol {
|
|
17
|
+
padding-left: 1.5em;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
li {
|
|
21
|
+
margin-bottom: 0.3em;
|
|
22
|
+
}
|