@sp-days-framework/slidev-theme-sykehuspartner 1.0.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.
@@ -0,0 +1,77 @@
1
+ <template>
2
+ <div class="slidev-layout three-cols">
3
+ <div v-if="showLogo" class="logo-container">
4
+ <div class="logo-image logo"></div>
5
+ </div>
6
+ <div class="cols-container">
7
+ <div class="col left">
8
+ <slot />
9
+ </div>
10
+ <div class="col middle">
11
+ <slot name="middle" />
12
+ </div>
13
+ <div class="col right">
14
+ <slot name="right" />
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </template>
19
+
20
+ <script setup>
21
+ import { computed } from 'vue'
22
+
23
+ const props = defineProps({
24
+ logo: {
25
+ type: Boolean,
26
+ default: false
27
+ }
28
+ })
29
+
30
+ const showLogo = computed(() => {
31
+ if ($slidev?.configs?.frontmatter?.logo !== undefined) {
32
+ return $slidev.configs.frontmatter.logo
33
+ }
34
+ return props.logo
35
+ })
36
+ </script>
37
+
38
+ <style scoped>
39
+ .three-cols {
40
+ display: flex;
41
+ flex-direction: column;
42
+ }
43
+
44
+ .cols-container {
45
+ display: flex;
46
+ flex-grow: 1;
47
+ column-gap: 2rem;
48
+ }
49
+
50
+ .col {
51
+ display: flex;
52
+ flex-direction: column;
53
+ width: 33.33%;
54
+ }
55
+
56
+ .left {
57
+ padding-right: 0.5rem;
58
+ }
59
+
60
+ .middle {
61
+ padding-left: 0.5rem;
62
+ padding-right: 0.5rem;
63
+ }
64
+
65
+ .right {
66
+ padding-left: 0.5rem;
67
+ }
68
+
69
+ .logo-container {
70
+ position: absolute;
71
+ top: 1rem;
72
+ right: 1rem;
73
+ z-index: 10;
74
+ }
75
+
76
+ /* Logo styling moved to global layout.css */
77
+ </style>
@@ -0,0 +1,95 @@
1
+ <template>
2
+ <div class="slidev-layout two-cols-header">
3
+ <div v-if="showLogo" class="logo-container">
4
+ <div class="logo-image logo"></div>
5
+ </div>
6
+ <div class="header">
7
+ <slot />
8
+ </div>
9
+ <div class="cols-container">
10
+ <div class="col left">
11
+ <slot name="left" />
12
+ </div>
13
+ <div class="col right">
14
+ <slot name="right" />
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </template>
19
+
20
+ <script setup>
21
+ import { computed } from 'vue'
22
+
23
+ const props = defineProps({
24
+ logo: {
25
+ type: Boolean,
26
+ default: true
27
+ },
28
+ textAlignment: {
29
+ type: String,
30
+ default: 'center',
31
+ validator: (value) => ['top', 'center', 'bottom'].includes(value)
32
+ }
33
+ })
34
+
35
+ const showLogo = computed(() => {
36
+ if ($slidev?.configs?.frontmatter?.logo !== undefined) {
37
+ return $slidev.configs.frontmatter.logo
38
+ }
39
+ return props.logo
40
+ })
41
+
42
+ // Compute content alignment style based on textAlignment prop
43
+ const contentAlignmentStyle = computed(() => {
44
+ switch (props.textAlignment) {
45
+ case 'top':
46
+ return 'flex-start'
47
+ case 'bottom':
48
+ return 'flex-end'
49
+ case 'center':
50
+ default:
51
+ return 'center'
52
+ }
53
+ })
54
+ </script>
55
+
56
+ <style scoped>
57
+ .two-cols-header {
58
+ display: flex;
59
+ flex-direction: column;
60
+ }
61
+
62
+ .header {
63
+ margin-bottom: 1rem;
64
+ }
65
+
66
+ .cols-container {
67
+ display: flex;
68
+ flex-grow: 1;
69
+ column-gap: 2rem;
70
+ }
71
+
72
+ .col {
73
+ display: flex;
74
+ flex-direction: column;
75
+ width: 50%;
76
+ justify-content: v-bind(contentAlignmentStyle);
77
+ }
78
+
79
+ .left {
80
+ padding-right: 1rem;
81
+ }
82
+
83
+ .right {
84
+ padding-left: 1rem;
85
+ }
86
+
87
+ .logo-container {
88
+ position: absolute;
89
+ top: 1rem;
90
+ right: 1rem;
91
+ z-index: 10;
92
+ }
93
+
94
+ /* Logo styling moved to global layout.css */
95
+ </style>
@@ -0,0 +1,69 @@
1
+ <template>
2
+ <div class="slidev-layout two-cols">
3
+ <div v-if="showLogo" class="logo-container">
4
+ <div class="logo-image logo"></div>
5
+ </div>
6
+ <div class="cols-container">
7
+ <div class="col left">
8
+ <slot />
9
+ </div>
10
+ <div class="col right">
11
+ <slot name="right" />
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </template>
16
+
17
+ <script setup>
18
+ import { computed } from 'vue'
19
+
20
+ const props = defineProps({
21
+ logo: {
22
+ type: Boolean,
23
+ default: false
24
+ }
25
+ })
26
+
27
+ const showLogo = computed(() => {
28
+ if ($slidev?.configs?.frontmatter?.logo !== undefined) {
29
+ return $slidev.configs.frontmatter.logo
30
+ }
31
+ return props.logo
32
+ })
33
+ </script>
34
+
35
+ <style scoped>
36
+ .two-cols {
37
+ display: flex;
38
+ flex-direction: column;
39
+ }
40
+
41
+ .cols-container {
42
+ display: flex;
43
+ flex-grow: 1;
44
+ column-gap: 2rem;
45
+ }
46
+
47
+ .col {
48
+ display: flex;
49
+ flex-direction: column;
50
+ width: 50%;
51
+ }
52
+
53
+ .left {
54
+ padding-right: 1rem;
55
+ }
56
+
57
+ .right {
58
+ padding-left: 1rem;
59
+ }
60
+
61
+ .logo-container {
62
+ position: absolute;
63
+ top: 1rem;
64
+ right: 1rem;
65
+ z-index: 10;
66
+ }
67
+
68
+ /* Logo styling moved to global layout.css */
69
+ </style>
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@sp-days-framework/slidev-theme-sykehuspartner",
3
+ "version": "1.0.0",
4
+ "description": "A Slidev theme for Sykehuspartner presentations.",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/helse-sorost/sp-days-framework",
9
+ "directory": "slidev-theme-sykehuspartner"
10
+ },
11
+ "keywords": [
12
+ "slidev-theme",
13
+ "slidev"
14
+ ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "engines": {
19
+ "node": ">=18.0.0"
20
+ },
21
+ "scripts": {
22
+ "slidev": "slidev",
23
+ "build": "slidev build example.md",
24
+ "dev": "slidev example.md --no-open",
25
+ "export": "slidev export example.md",
26
+ "screenshot": "slidev export example.md --format png"
27
+ },
28
+ "dependencies": {
29
+ "@iconify-json/vscode-icons": "^1.2.32",
30
+ "@slidev/types": "^52.6.0",
31
+ "@slidev/cli": "^52.6.0",
32
+ "glob": "^11.0.3"
33
+ },
34
+ "devDependencies": {
35
+ "@iconify-json/vscode-icons": "^1.2.32",
36
+ "@slidev/cli": "^52.6.0",
37
+ "@slidev/types": "^52.2.5",
38
+ "glob": "^11.0.3"
39
+ },
40
+ "files": [
41
+ "layouts/",
42
+ "public/",
43
+ "setup/",
44
+ "styles/",
45
+ "utils/",
46
+ "LICENSE",
47
+ "README.md",
48
+ "uno.config.ts"
49
+ ],
50
+ "slidev": {
51
+ "colorSchema": "both",
52
+ "defaults": {
53
+ "fonts": {
54
+ "sans": "Nunito Sans",
55
+ "mono": "Fira Code"
56
+ }
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 314.2 58">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #ffffffff;
7
+ }
8
+
9
+ .cls-1, .cls-2 {
10
+ stroke-width: 0px;
11
+ }
12
+
13
+ .cls-2 {
14
+ fill: #6cace4;
15
+ }
16
+ </style>
17
+ </defs>
18
+ <path class="cls-2" d="M36.2,7.2c0,4-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2S25,0,29,0s7.2,3.2,7.2,7.2Z"/>
19
+ <path class="cls-2" d="M36.2,29c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
20
+ <path class="cls-2" d="M14.3,29c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
21
+ <path class="cls-1" d="M58,29c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
22
+ <path class="cls-1" d="M36.2,50.8c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
23
+ <path class="cls-1" d="M83.7,21.4c-2.1-.9-3.7-1.4-5-1.4s-2.8.7-2.8,1.8.5,1.3,1.8,2.1c3,1.6,4.9,2.8,5.8,3.7.8.8,1.3,2.1,1.3,3.5,0,3.5-2.5,5.5-6.8,5.5s-1.2,0-1.7-.1c-1.4-.2-2-.4-4-1.3l-1.3-.6,1.6-3.4c1.4.8,2,1.1,2.8,1.3,1,.4,2,.6,2.8.6,1.7,0,2.8-.8,2.8-1.9s-.4-1.4-1.7-2.1l-3-1.7c-3.4-2-4.5-3.3-4.5-5.4s.3-2,.8-2.7c.3-.5.8-1,1.4-1.4,1.4-1,2.6-1.3,4.9-1.3s2.4.1,3.6.5c.9.3,1.5.5,2.8,1.1l-1.5,3.3Z"/>
24
+ <path class="cls-1" d="M95.7,27.8v8.3h-3.7v-8.3l-5.9-11.1h4l3.9,7.6,4.1-7.6h4l-6.5,11.1Z"/>
25
+ <path class="cls-1" d="M114.8,36.1l-6.5-9.2v9.2h-3.7v-19.4h3.7v9l6.1-9h4.3l-6.7,9.4,7,9.9h-4.2Z"/>
26
+ <path class="cls-1" d="M121.6,36.1v-19.4h11.8v3.1h-8.1v4.8h6.6v3.1h-6.6v5.2h8.5v3.1h-12.2Z"/>
27
+ <path class="cls-1" d="M151,36.1v-8.3h-9.9v8.3h-3.7v-19.4h3.7v7.7h9.9v-7.7h3.7v19.4h-3.7Z"/>
28
+ <path class="cls-1" d="M173.1,35.1c-1.4,1-3.1,1.4-5.5,1.4s-4-.4-5.5-1.4c-2-1.4-2.6-3-2.6-6.5v-11.8h3.7v12c0,2.9,1.5,4.3,4.6,4.3s4.3-1.5,4.3-4.3v-12h3.7v11.8c0,3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M275,36.3l-8.3-12.5-.6-1.2c-.1-.2-.2-.4-.3-.7v14.2h-3.5v-19.4h4.3l7.8,12.3c.6.9.8,1.5,1,2.1v-14.4h3.5v19.5h-3.9Z"/>
35
+ <path class="cls-1" d="M284.3,36.1v-19.4h11.8v3.1h-8.1v4.8h6.6v3.1h-6.6v5.2h8.5v3.1h-12.2Z"/>
36
+ <path class="cls-1" d="M306.2,19.9h-2.4v5.3h2.4c2.3,0,3.4-.8,3.4-2.8s-1-2.6-3.4-2.6ZM310.1,36.1l-4.4-7.7h-1.8v7.7h-3.7v-19.4h6.5c2.8,0,4.1.4,5.3,1.4,1.1,1,1.6,2.4,1.6,4.2s-.4,2.7-1.1,3.6c-.7.9-1.4,1.3-3,1.8l4.8,8.3h-4Z"/>
37
+ </svg>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 314.2 58">
3
+ <defs>
4
+ <style>
5
+ .cls-1 {
6
+ fill: #003087;
7
+ }
8
+
9
+ .cls-1, .cls-2 {
10
+ stroke-width: 0px;
11
+ }
12
+
13
+ .cls-2 {
14
+ fill: #6cace4;
15
+ }
16
+ </style>
17
+ </defs>
18
+ <path class="cls-2" d="M36.2,7.2c0,4-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2S25,0,29,0s7.2,3.2,7.2,7.2Z"/>
19
+ <path class="cls-2" d="M36.2,29c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
20
+ <path class="cls-2" d="M14.3,29c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
21
+ <path class="cls-1" d="M58,29c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
22
+ <path class="cls-1" d="M36.2,50.8c0,3.9-3.2,7.2-7.2,7.2s-7.2-3.2-7.2-7.2,3.2-7.2,7.2-7.2,7.2,3.2,7.2,7.2Z"/>
23
+ <path class="cls-1" d="M83.7,21.4c-2.1-.9-3.7-1.4-5-1.4s-2.8.7-2.8,1.8.5,1.3,1.8,2.1c3,1.6,4.9,2.8,5.8,3.7.8.8,1.3,2.1,1.3,3.5,0,3.5-2.5,5.5-6.8,5.5s-1.2,0-1.7-.1c-1.4-.2-2-.4-4-1.3l-1.3-.6,1.6-3.4c1.4.8,2,1.1,2.8,1.3,1,.4,2,.6,2.8.6,1.7,0,2.8-.8,2.8-1.9s-.4-1.4-1.7-2.1l-3-1.7c-3.4-2-4.5-3.3-4.5-5.4s.3-2,.8-2.7c.3-.5.8-1,1.4-1.4,1.4-1,2.6-1.3,4.9-1.3s2.4.1,3.6.5c.9.3,1.5.5,2.8,1.1l-1.5,3.3Z"/>
24
+ <path class="cls-1" d="M95.7,27.8v8.3h-3.7v-8.3l-5.9-11.1h4l3.9,7.6,4.1-7.6h4l-6.5,11.1Z"/>
25
+ <path class="cls-1" d="M114.8,36.1l-6.5-9.2v9.2h-3.7v-19.4h3.7v9l6.1-9h4.3l-6.7,9.4,7,9.9h-4.2Z"/>
26
+ <path class="cls-1" d="M121.6,36.1v-19.4h11.8v3.1h-8.1v4.8h6.6v3.1h-6.6v5.2h8.5v3.1h-12.2Z"/>
27
+ <path class="cls-1" d="M151,36.1v-8.3h-9.9v8.3h-3.7v-19.4h3.7v7.7h9.9v-7.7h3.7v19.4h-3.7Z"/>
28
+ <path class="cls-1" d="M173.1,35.1c-1.4,1-3.1,1.4-5.5,1.4s-4-.4-5.5-1.4c-2-1.4-2.6-3-2.6-6.5v-11.8h3.7v12c0,2.9,1.5,4.3,4.6,4.3s4.3-1.5,4.3-4.3v-12h3.7v11.8c0,3.6-.6,5.1-2.7,6.5Z"/>
29
+ <path class="cls-1" d="M191.3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14.2h-3.5v-19.4h4.3l7.8,12.3c.6.9.8,1.5,1,2.1v-14.4h3.5v19.5h-3.9Z"/>
35
+ <path class="cls-1" d="M284.3,36.1v-19.4h11.8v3.1h-8.1v4.8h6.6v3.1h-6.6v5.2h8.5v3.1h-12.2Z"/>
36
+ <path class="cls-1" d="M306.2,19.9h-2.4v5.3h2.4c2.3,0,3.4-.8,3.4-2.8s-1-2.6-3.4-2.6ZM310.1,36.1l-4.4-7.7h-1.8v7.7h-3.7v-19.4h6.5c2.8,0,4.1.4,5.3,1.4,1.1,1,1.6,2.4,1.6,4.2s-.4,2.7-1.1,3.6c-.7.9-1.4,1.3-3,1.8l4.8,8.3h-4Z"/>
37
+ </svg>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 73.5 73.5" style="enable-background:new 0 0 73.5 73.5;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#6AB1E2;}
7
+ .st1{fill:#FFFFFF;}
8
+ </style>
9
+ <g transform="translate(34.37 48.337)">
10
+ <path class="st0" d="M11.5-39.3c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S11.5-44.3,11.5-39.3"/>
11
+ </g>
12
+ <g transform="translate(34.37 27.588)">
13
+ <path class="st0" d="M11.5,9.1c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S11.5,4.1,11.5,9.1"/>
14
+ </g>
15
+ <g transform="translate(13.602 27.588)">
16
+ <path class="st0" d="M4.5,9.1c0,5-4.1,9.1-9.1,9.1c-5,0-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1C0.5,0.1,4.5,4.1,4.5,9.1"/>
17
+ </g>
18
+ <g transform="translate(55.147 27.588)">
19
+ <path class="st1" d="M18.4,9.1c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S18.4,4.1,18.4,9.1"/>
20
+ </g>
21
+ <g transform="translate(34.37 6.8015)">
22
+ <path class="st1" d="M11.5,57.6c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S11.5,52.6,11.5,57.6"/>
23
+ </g>
24
+ </svg>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 27.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 73.5 73.5" style="enable-background:new 0 0 73.5 73.5;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#6CACE4;}
7
+ .st1{fill:#003087;}
8
+ </style>
9
+ <g transform="translate(34.37 48.337)">
10
+ <path class="st0" d="M11.5-39.3c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S11.5-44.3,11.5-39.3"/>
11
+ </g>
12
+ <g transform="translate(34.37 27.588)">
13
+ <path class="st0" d="M11.5,9.1c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S11.5,4.1,11.5,9.1"/>
14
+ </g>
15
+ <g transform="translate(13.602 27.588)">
16
+ <path class="st0" d="M4.5,9.1c0,5-4.1,9.1-9.1,9.1c-5,0-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1C0.5,0.1,4.5,4.1,4.5,9.1"/>
17
+ </g>
18
+ <g transform="translate(55.147 27.588)">
19
+ <path class="st1" d="M18.4,9.1c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S18.4,4.1,18.4,9.1"/>
20
+ </g>
21
+ <g transform="translate(34.37 6.8015)">
22
+ <path class="st1" d="M11.5,57.6c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1c0-5,4.1-9.1,9.1-9.1S11.5,52.6,11.5,57.6"/>
23
+ </g>
24
+ </svg>
package/setup/index.ts ADDED
@@ -0,0 +1,38 @@
1
+ // setup/index.ts
2
+ import { resolve } from 'path'
3
+ import { defineShikiSetup } from '@slidev/types'
4
+ import { fileURLToPath } from 'url'
5
+
6
+ const __dirname = fileURLToPath(new URL('.', import.meta.url))
7
+
8
+ export default {
9
+ name: 'sykehuspartner',
10
+
11
+ // Allow the theme to be extended
12
+ extends: {
13
+ theme: '@slidev/theme-seriph',
14
+ },
15
+
16
+ // Define the default configurations for the theme
17
+ defaults: {
18
+ fonts: {
19
+ sans: 'Nunito Sans',
20
+ mono: 'Fira Code',
21
+ },
22
+ colorSchema: 'both',
23
+ },
24
+
25
+ // Define any transformers for the slides here
26
+ transformers: [],
27
+
28
+ // Add Katex support by default
29
+ katex: true,
30
+
31
+ // Add highlighter configurations
32
+ highlighter: {
33
+ themes: {
34
+ light: 'one-light',
35
+ dark: 'one-dark-pro',
36
+ },
37
+ },
38
+ }
package/setup/shiki.ts ADDED
@@ -0,0 +1,56 @@
1
+ import type { ShikiSetupReturn } from "@slidev/types";
2
+ import { defineShikiSetup } from "@slidev/types";
3
+
4
+ export default defineShikiSetup((): ShikiSetupReturn => {
5
+ return {
6
+ themes: {
7
+ dark: "one-dark-pro",
8
+ light: "one-light",
9
+ },
10
+ langs: [
11
+ "csharp",
12
+ "codeowners",
13
+ "css",
14
+ "csv",
15
+ "docker",
16
+ "dotenv",
17
+ "git-commit",
18
+ "git-rebase",
19
+ "go",
20
+ "graphql",
21
+ "html",
22
+ "hcl",
23
+ "ini",
24
+ "java",
25
+ "javascript",
26
+ "json",
27
+ "jsonc",
28
+ "jsx",
29
+ "latex",
30
+ "log",
31
+ "lua",
32
+ "markdown",
33
+ "mdx",
34
+ "nginx",
35
+ "php",
36
+ "python",
37
+ "ruby",
38
+ "rust",
39
+ "scss",
40
+ "shellscript",
41
+ "sql",
42
+ "toml",
43
+ "tsx",
44
+ "typescript",
45
+ "terraform",
46
+ "yaml",
47
+ "vue",
48
+ "xml",
49
+ "powershell",
50
+ "sass",
51
+ "shellscript",
52
+ "terraform",
53
+ "toml",
54
+ ],
55
+ };
56
+ });
@@ -0,0 +1,30 @@
1
+ /* Code block styling */
2
+
3
+ /* Target Shiki code blocks and apply our custom background */
4
+ .slidev-code,
5
+ .slidev-code-wrapper,
6
+ pre[class*='language-'] {
7
+ background-color: var(--sp-code-background) !important;
8
+ }
9
+
10
+ /* Ensure code spans inside code blocks inherit the proper background */
11
+ .slidev-code code,
12
+ .slidev-code-wrapper code,
13
+ pre[class*='language-'] code {
14
+ background-color: transparent !important;
15
+ }
16
+
17
+ /* Make sure the pre element has the right background color too */
18
+ pre.slidev-code {
19
+ background-color: var(--sp-code-background) !important;
20
+ }
21
+
22
+ /* Code block wrapper styling */
23
+ .slidev-code-wrapper {
24
+ margin: 0.5rem 0;
25
+ }
26
+
27
+ /* Adjust padding if needed */
28
+ pre[class*='language-'] {
29
+ padding: 1rem;
30
+ }
@@ -0,0 +1,4 @@
1
+ // inherit from base layouts, remove it to get full customizations
2
+ import '@slidev/client/styles/layouts-base.css'
3
+ import './layout.css'
4
+ import './code.css'