diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6dd9122 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: + push: + pull_request: + +jobs: + check: + name: Check + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + + - name: Setup Vite+ + uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0 + with: + node-version: "24" + cache: true + + - name: Install dependencies + run: vp install + + - name: Run checks + run: vp check diff --git a/273Do-theme/.gitignore b/273Do-theme/.gitignore new file mode 100644 index 0000000..443276e --- /dev/null +++ b/273Do-theme/.gitignore @@ -0,0 +1,8 @@ +node_modules +.DS_Store +dist +*.local +.vite-inspect +.remote-assets +.idea/ +components.d.ts diff --git a/273Do-theme/.npmrc b/273Do-theme/.npmrc new file mode 100644 index 0000000..c1e4d44 --- /dev/null +++ b/273Do-theme/.npmrc @@ -0,0 +1,2 @@ +# for pnpm +shamefully-hoist=true diff --git a/273Do-theme/.vscode/extensions.json b/273Do-theme/.vscode/extensions.json new file mode 100644 index 0000000..61d23ae --- /dev/null +++ b/273Do-theme/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["antfu.slidev"] +} diff --git a/273Do-theme/README.md b/273Do-theme/README.md new file mode 100644 index 0000000..3e147a1 --- /dev/null +++ b/273Do-theme/README.md @@ -0,0 +1,50 @@ +# slidev-theme-273Do-theme + +[](https://www.npmjs.com/package/slidev-theme-273Do-theme) + +A (...) theme for [Slidev](https://github.com/slidevjs/slidev). + + + + + + + +## Install + +Add the following frontmatter to your `slides.md`. Start Slidev then it will prompt you to install the theme automatically. + +
---
+theme: 273Do-theme
+---
+
+Learn more about [how to use a theme](https://sli.dev/guide/theme-addon#use-theme).
+
+## Layouts
+
+This theme provides the following layouts:
+
+> TODO:
+
+## Components
+
+This theme provides the following components:
+
+> TODO:
+
+## Contributing
+
+- `npm install`
+- `npm run dev` to start theme preview of `example.md`
+- Edit the `example.md` and style to see the changes
+- `npm run export` to generate the preview PDF
+- `npm run screenshot` to generate the preview PNG
diff --git a/273Do-theme/components/.gitkeep b/273Do-theme/components/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/273Do-theme/example.md b/273Do-theme/example.md
new file mode 100644
index 0000000..8186045
--- /dev/null
+++ b/273Do-theme/example.md
@@ -0,0 +1,83 @@
+---
+theme: ./
+background: https://cover.sli.dev
+---
+
+# Slidev Theme Starter
+
+Presentation slides for developers
+
+````md magic-move (four
```ts {*|2|*}
// step 1
const author = reactive({
- name: 'John Doe',
- books: [
- 'Vue 2 - Advanced Guide',
- 'Vue 3 - Basic Guide',
- 'Vue 4 - The Mystery'
- ]
-})
+ name: "John Doe",
+ books: ["Vue 2 - Advanced Guide", "Vue 3 - Basic Guide", "Vue 4 - The Mystery"],
+});
```
```ts {*|1-2|3-4|3-4,8}
@@ -215,16 +217,12 @@ export default {
data() {
return {
author: {
- name: 'John Doe',
- books: [
- 'Vue 2 - Advanced Guide',
- 'Vue 3 - Basic Guide',
- 'Vue 4 - The Mystery'
- ]
- }
- }
- }
-}
+ name: "John Doe",
+ books: ["Vue 2 - Advanced Guide", "Vue 3 - Basic Guide", "Vue 4 - The Mystery"],
+ },
+ };
+ },
+};
```
```ts
@@ -232,15 +230,11 @@ export default {
export default {
data: () => ({
author: {
- name: 'John Doe',
- books: [
- 'Vue 2 - Advanced Guide',
- 'Vue 3 - Basic Guide',
- 'Vue 4 - The Mystery'
- ]
- }
- })
-}
+ name: "John Doe",
+ books: ["Vue 2 - Advanced Guide", "Vue 3 - Basic Guide", "Vue 4 - The Mystery"],
+ },
+ }),
+};
```
Non-code blocks are ignored.
@@ -249,13 +243,9 @@ Non-code blocks are ignored.
```
````
@@ -303,6 +293,7 @@ Also, HTML elements are valid:
-->
---
+
class: px-20
---
@@ -402,13 +393,7 @@ also allows you to add
Motion animations are powered by [@vueuse/motion](https://motion.vueuse.org/), triggered by `v-motion` directive.
```html
-