slidev-theme-frankfurt 1.0.6 → 1.0.8
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 +58 -62
- package/components/Frankfurt.vue +1 -0
- package/components/InfoLine.vue +21 -17
- package/dist/404.html +22 -0
- package/dist/_redirects +1 -0
- package/dist/assets/404-CSY2lefO.css +1 -0
- package/dist/assets/DrawingControls-Cxk9a9ub.css +1 -0
- package/dist/assets/Item.vue_vue_type_script_setup_true_lang-COdxJ-m0.js +1 -0
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/NoteDisplay-C6cwRJ-1.css +1 -0
- package/dist/assets/SlideWrapper-BiNX6YyC.css +1 -0
- package/dist/assets/entry-n0PX6IZB.css +1 -0
- package/dist/assets/index-D2qMEBj2.css +1 -0
- package/dist/assets/index-DaRmNRXa.js +72 -0
- package/dist/assets/logo-BYkHSa_O.png +0 -0
- package/dist/assets/md-BCyEADY8.js +1 -0
- package/dist/assets/md-BMnUp0gC.js +1 -0
- package/dist/assets/md-BXKuaAK1.js +1 -0
- package/dist/assets/md-Bp0c_JZz.js +1 -0
- package/dist/assets/md-DSp1btIX.js +1 -0
- package/dist/assets/md-Zfwar59e.js +1 -0
- package/dist/assets/modules/file-saver-DKWcVV7Q.js +1 -0
- package/dist/assets/modules/shiki-Bxaic-fK.js +1 -0
- package/dist/assets/modules/shiki-CozCpemh.css +1 -0
- package/dist/assets/modules/unplugin-icons-BRvVTyot.js +1 -0
- package/dist/assets/modules/vue-CBHG3zdT.js +40 -0
- package/dist/assets/play-D_7yfuao.css +1 -0
- package/dist/assets/presenter-CaTvVlIy.css +1 -0
- package/dist/assets/shortcuts-BqnDN4jD.css +1 -0
- package/dist/assets/slidev/404-BIAaN0jU.js +1 -0
- package/dist/assets/slidev/DrawingControls-BN-ptQYX.js +1 -0
- package/dist/assets/slidev/DrawingControls.vue_vue_type_style_index_0_lang-D6BbOlTh.js +1 -0
- package/dist/assets/slidev/DrawingLayer-CkmPBSXd.js +1 -0
- package/dist/assets/slidev/IconButton.vue_vue_type_script_setup_true_lang-C9v0lieO.js +1 -0
- package/dist/assets/slidev/KaTexBlockWrapper.vue_vue_type_script_setup_true_lang-D796Q8aU.js +1 -0
- package/dist/assets/slidev/NoteDisplay.vue_vue_type_style_index_0_lang-BEixp2SB.js +1 -0
- package/dist/assets/slidev/SlideWrapper-CY4ICUik.js +1 -0
- package/dist/assets/slidev/context-DiLr5EZn.js +1 -0
- package/dist/assets/slidev/default-21nIFdBn.js +1 -0
- package/dist/assets/slidev/entry-CVT7EQsD.js +1 -0
- package/dist/assets/slidev/md-Cn0Xv5Ao.js +1 -0
- package/dist/assets/slidev/md-DWIALaoE.js +12 -0
- package/dist/assets/slidev/notes-7bH1YbJh.js +1 -0
- package/dist/assets/slidev/overview-0IkRInh3.js +1 -0
- package/dist/assets/slidev/play-DpvODdj3.js +2 -0
- package/dist/assets/slidev/presenter-D_K0XkAs.js +1 -0
- package/dist/assets/slidev/shortcuts-CycMSHSv.js +4 -0
- package/dist/index.html +22 -0
- package/example-export.pdf +0 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,62 +1,58 @@
|
|
|
1
|
-
# slidev-theme-frankfurt
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/slidev-theme-frankfurt)
|
|
4
|
-
|
|
5
|
-
A theme for [Slidev](https://github.com/slidevjs/slidev),
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- `npm
|
|
59
|
-
- `npm run dev` to start theme preview of `example.md`
|
|
60
|
-
- Edit the `example.md` and style to see the changes
|
|
61
|
-
- `npm run export` to generate the preview PDF
|
|
62
|
-
- `npm run screenshot` to generate the preview PNG
|
|
1
|
+
# slidev-theme-frankfurt
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/slidev-theme-frankfurt)
|
|
4
|
+
|
|
5
|
+
A theme for [Slidev](https://github.com/slidevjs/slidev),
|
|
6
|
+
inspired by the Frankfurt theme in [Beamer](https://github.com/josephwright/beamer),
|
|
7
|
+
well-suited for academic talks.
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
Add the following frontmatter to your `slides.md`.
|
|
14
|
+
Start Slidev and then it will prompt you to install the theme automatically.
|
|
15
|
+
|
|
16
|
+
```yaml
|
|
17
|
+
---
|
|
18
|
+
theme: frankfurt
|
|
19
|
+
infoLine: true # on by default, can be turned off
|
|
20
|
+
author: 'Your name here' # shows in infoLine
|
|
21
|
+
title: 'Title' # shows in infoLine
|
|
22
|
+
date: '2023/01/01' # shows in infoLine, defaults to the current date
|
|
23
|
+
---
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Learn more about [how to use a theme](https://sli.dev/guide/theme-addon#use-theme).
|
|
27
|
+
|
|
28
|
+
## Using sections
|
|
29
|
+
|
|
30
|
+
The main feature of Frankfurt theme is the section and progress indicators on top.
|
|
31
|
+
To divide your slides into sections,
|
|
32
|
+
add the following frontmatter to the first page of each section:
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
---
|
|
36
|
+
section: 'Section title'
|
|
37
|
+
---
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Components
|
|
41
|
+
|
|
42
|
+
This theme provides the following component:
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<Item title="Title of your thing">
|
|
46
|
+
Create a box for definitions, lemmas, theorems, etc.
|
|
47
|
+
</Item>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
## Contributing
|
|
53
|
+
|
|
54
|
+
- `npm install`
|
|
55
|
+
- `npm run dev` to start theme preview of `example.md`
|
|
56
|
+
- Edit the `example.md` and style to see the changes
|
|
57
|
+
- `npm run export` to generate the preview PDF
|
|
58
|
+
- `npm run screenshot` to generate the preview PNG
|
package/components/Frankfurt.vue
CHANGED
package/components/InfoLine.vue
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<footer class="absolute bottom-0 left-0 right-0 flex text-center text-white">
|
|
3
|
-
<div class="flex-1 p-1" style="background:#191959">
|
|
4
|
-
{{ $slidev.configs.author || "Unknown author" }}
|
|
5
|
-
</div>
|
|
6
|
-
<div class="flex-1 p-1" style="background:#262686">
|
|
7
|
-
{{ $slidev.configs.title || "Unknown title" }}
|
|
8
|
-
</div>
|
|
9
|
-
<div class="flex-1 p-1" style="background:#3333B3">
|
|
10
|
-
<div class="float-right">
|
|
11
|
-
{{ $slidev.nav.currentPage }} /
|
|
12
|
-
<SlidesTotal />
|
|
13
|
-
</div>
|
|
14
|
-
{{ $slidev.configs.date || new Date().toLocaleDateString() }}
|
|
15
|
-
</div>
|
|
16
|
-
</footer>
|
|
17
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<footer class="absolute bottom-0 left-0 right-0 flex text-center text-white">
|
|
3
|
+
<div class="flex-1 p-1" style="background:#191959">
|
|
4
|
+
{{ $slidev.configs.author || "Unknown author" }}
|
|
5
|
+
</div>
|
|
6
|
+
<div class="flex-1 p-1" style="background:#262686">
|
|
7
|
+
{{ $slidev.configs.title || "Unknown title" }}
|
|
8
|
+
</div>
|
|
9
|
+
<div class="flex-1 p-1" style="background:#3333B3">
|
|
10
|
+
<div class="float-right">
|
|
11
|
+
{{ $slidev.nav.currentPage }} /
|
|
12
|
+
<SlidesTotal />
|
|
13
|
+
</div>
|
|
14
|
+
{{ $slidev.configs.date || new Date().toLocaleDateString() }}
|
|
15
|
+
</div>
|
|
16
|
+
</footer>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
import SlidesTotal from "@slidev/client/builtin/SlidesTotal.vue";
|
|
21
|
+
</script>
|
package/dist/404.html
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Slidev Theme Frankfurt - Slidev</title>
|
|
7
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@200;400;600&family=Fira+Code:wght@200;400;600&display=swap" type="text/css">
|
|
8
|
+
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
10
|
+
<meta property="slidev:version" content="52.1.0">
|
|
11
|
+
<meta name="author" content=""Mu-Tsun Tsai"">
|
|
12
|
+
<meta property="og:title" content="Slidev Theme Frankfurt - Slidev"> <script type="module" crossorigin src="/assets/index-DaRmNRXa.js"></script>
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/modules/vue-CBHG3zdT.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/modules/shiki-Bxaic-fK.js">
|
|
15
|
+
<link rel="stylesheet" crossorigin href="/assets/modules/shiki-CozCpemh.css">
|
|
16
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D2qMEBj2.css">
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div id="app"></div>
|
|
20
|
+
<div id="mermaid-rendering-container"></div>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
package/dist/_redirects
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* /index.html 200
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.page-link[data-v-aa1d4bb4]{border-radius:.25rem;background-color:#9ca3af1a;padding:.5rem 1rem}.page-link[data-v-aa1d4bb4]:hover{background-color:#9ca3af33}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-popper--theme-menu .v-popper__arrow-inner{border-color:#9ca3af33}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as s,f as t,o,i as a,g as r,t as n,j as i}from"./modules/vue-CBHG3zdT.js";import{u as l}from"./slidev/context-DiLr5EZn.js";const m={class:"item"},d={key:0},f=s({__name:"Item",props:{title:{}},setup(p){return l(),(e,c)=>(o(),t("div",m,[e.title?(o(),t("header",d,n(e.title),1)):a("v-if",!0),r("main",null,[i(e.$slots,"default")])]))}});export{f as _};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.range[data-v-eff83cec]{-webkit-appearance:none;appearance:none;background:transparent}.range[data-v-eff83cec]::-webkit-slider-thumb{-webkit-appearance:none;height:100%;width:var(--thumb-width, .5rem)}.range[data-v-eff83cec]::-moz-range-thumb{height:100%;width:var(--thumb-width, .5rem)}.slidev-note :first-child{margin-top:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.slidev-slide-container[data-v-c77eb94b]{position:relative;width:100%;height:100%;overflow:hidden}.slidev-slide-content[data-v-c77eb94b]{position:absolute;left:50%;top:50%;overflow:hidden;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .slidev-slide-content[data-v-c77eb94b]{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.disable-view-transition[data-v-25bfd839] *{view-transition-name:none!important}.slidev-page[data-v-25bfd839]{position:absolute;inset:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.page-link[data-v-91994604]{height:10rem;min-width:10rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;border-radius:.25rem;background-color:#9ca3af1a;padding:1rem}.page-link[data-v-91994604]:hover{background-color:#9ca3af33}.page-link>svg[data-v-91994604]{font-size:3em;opacity:.5}
|