@sp-days-framework/slidev-theme-sykehuspartner 1.0.4 → 1.1.0-beta2

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/docs/index.mdx ADDED
@@ -0,0 +1,94 @@
1
+ ---
2
+ title: Sykehuspartner Slidev Theme
3
+ hide_title: true
4
+ sidebar_class_name: title-logo-sidebar-slidev
5
+ sidebar_label: "SP Slidev Theme"
6
+ sidebar_position: 0
7
+ ---
8
+
9
+ import LogoSlidev from './logo-slidev.svg';
10
+
11
+ <div align="center">
12
+ <div style={{ display: 'flex', justifyContent: 'center', margin: '1rem' }}>
13
+ <LogoSlidev width="110" height="110"/>
14
+ </div>
15
+ <div align="center">
16
+ # Sykehuspartner Slidev Theme
17
+ </div>
18
+ <div align="center">
19
+ <p>
20
+ *Create professional presentations using Sykehuspartner theme for Slidev!*
21
+ </p>
22
+ <h4>
23
+ <a href="./sykehuspartner-theme/install">🔧 Setup</a> ·
24
+ <a href="https://www.npmjs.com/package/@sp-days-framework/slidev-theme-sykehuspartner">📦 NPM Package</a> ·
25
+ <a href="https://github.com/helse-sorost/sp-days-framework">💻 Source Code</a>
26
+ </h4>
27
+ </div>
28
+ </div>
29
+ ---
30
+
31
+ ## Features
32
+
33
+ - **18 Professional Layouts** - From cover slides to multi-column content, image layouts, and special-purpose slides
34
+ - **Consistent Branding** - Sykehuspartner colors, logos, and styling throughout
35
+ - **Dark Mode Support** - Automatic light/dark theme switching with optimized colors
36
+ - **Syntax Highlighting** - Support for 30+ programming languages powered by Shiki
37
+ - **VSCode Icons** - Built-in icon support for technical content with automatic scanning
38
+ - **Responsive Design** - Looks great on any screen size
39
+
40
+ :::tip Related Packages
41
+ Use with the **Slidev Integration** plugin to seamlessly embed your presentations in Docusaurus sites.
42
+ :::
43
+
44
+ ## Getting Started
45
+
46
+ Configure the theme and start creating slides:
47
+
48
+ ```markdown title="slidev/presentation.md"
49
+ ---
50
+ theme: "@sp-days-framework/slidev-theme-sykehuspartner"
51
+ title: My Presentation
52
+ layout: cover
53
+ ---
54
+
55
+ # My Presentation Title
56
+ ## Subtitle Goes Here
57
+
58
+ ---
59
+ layout: default
60
+ ---
61
+
62
+ # First Content Slide
63
+
64
+ - Point 1
65
+ - Point 2
66
+ - Point 3
67
+ ```
68
+
69
+ See [Install](./install.mdx) for installation and configuration.
70
+
71
+ ## Available Layouts
72
+
73
+ The theme includes 18 specialized layouts for different presentation needs:
74
+
75
+ | Layout | Use Case | Category |
76
+ |--------|----------|----------|
77
+ | [cover](./section/cover.mdx) | Title slide with banner | Section |
78
+ | [intro](./section/intro.mdx) | Introduction with optional side image | Section |
79
+ | [section](./section/section.mdx) | Section divider with optional image | Section |
80
+ | [end](./section/end.mdx) | Closing slide with centered banner | Section |
81
+ | [default](./content/default.mdx) | Standard content with header extraction | Content |
82
+ | [center](./content/center.mdx) | Vertically centered content | Content |
83
+ | [full](./content/full.mdx) | Full-screen with no padding | Content |
84
+ | [two-cols](./multi-column/two-cols.mdx) | Two equal columns | Multi-Column |
85
+ | [two-cols-header](./multi-column/two-cols-header.mdx) | Two columns with header | Multi-Column |
86
+ | [three-cols](./multi-column/three-cols.mdx) | Three equal columns | Multi-Column |
87
+ | [three-cols-header](./multi-column/three-cols-header.mdx) | Three columns with header | Multi-Column |
88
+ | [image](./image/image.mdx) | Background or foreground image | Image |
89
+ | [image-left](./image/image-left.mdx) | Content with left-aligned image | Image |
90
+ | [image-right](./image/image-right.mdx) | Content with right-aligned image | Image |
91
+ | [fact](./special/fact.mdx) | Emphasize key facts | Special |
92
+ | [statement](./special/statement.mdx) | Bold statement slide | Special |
93
+ | [quote](./special/quote.mdx) | Quote with attribution | Special |
94
+ | [about-me](./special/about-me.mdx) | Profile introduction | Special |
@@ -0,0 +1,105 @@
1
+ ---
2
+ sidebar_position: 1.1
3
+ sidebar_custom_props:
4
+ section: "Setup"
5
+ section_position: 1
6
+ ---
7
+
8
+ import Tabs from "@theme/Tabs";
9
+ import TabItem from "@theme/TabItem";
10
+
11
+ # Installation
12
+
13
+ :::tip[Already Included]
14
+ If you're using `@sp-days-framework/create-sp-days`, the Sykehuspartner Slidev Theme is already installed and configured. You can start creating presentations right away!
15
+ :::
16
+
17
+ Install the theme using your preferred package manager:
18
+
19
+ <Tabs>
20
+ <TabItem value="npm" label="npm" default>
21
+ ```bash
22
+ npm install @sp-days-framework/slidev-theme-sykehuspartner
23
+ ```
24
+ </TabItem>
25
+ <TabItem value="yarn" label="Yarn">
26
+ ```bash
27
+ yarn add @sp-days-framework/slidev-theme-sykehuspartner
28
+ ```
29
+ </TabItem>
30
+ </Tabs>
31
+
32
+ Configure the theme in your presentation's frontmatter:
33
+
34
+ ```markdown title="slidev/presentation.md"
35
+ ---
36
+ theme: "@sp-days-framework/slidev-theme-sykehuspartner"
37
+ title: My Presentation
38
+ layout: cover
39
+ ---
40
+
41
+ # My Presentation Title
42
+ ## Subtitle Goes Here
43
+
44
+ ---
45
+
46
+ # First Content Slide
47
+ Your content here...
48
+ ```
49
+
50
+ The theme is now active and all 18 layouts are available.
51
+
52
+ ## Configuration
53
+
54
+ ### Basic Theme Setup
55
+
56
+ Configure the theme in your presentation's frontmatter:
57
+
58
+ ```markdown title="slidev/presentation.md"
59
+ ---
60
+ theme: "@sp-days-framework/slidev-theme-sykehuspartner"
61
+ title: My Presentation
62
+ layout: cover
63
+ ---
64
+
65
+ # My Presentation
66
+ ## Subtitle
67
+ ```
68
+
69
+ ### Using with Docusaurus Plugin
70
+
71
+ When using with `@sp-days-framework/docusaurus-plugin-slidev`, set the theme globally or per-presentation:
72
+
73
+ **Global Theme:**
74
+
75
+ ```js title="docusaurus.config.js"
76
+ module.exports = {
77
+ plugins: [
78
+ [
79
+ "@sp-days-framework/docusaurus-plugin-slidev",
80
+ {
81
+ theme: "@sp-days-framework/slidev-theme-sykehuspartner",
82
+ },
83
+ ],
84
+ ],
85
+ };
86
+ ```
87
+
88
+ **Per-Presentation Override:**
89
+
90
+ ```markdown title="slidev/my-presentation.md"
91
+ ---
92
+ theme: "@sp-days-framework/slidev-theme-sykehuspartner"
93
+ title: My Presentation
94
+ ---
95
+ ```
96
+
97
+ See the Slidev Integration plugin documentation for information about integrating presentations into Docusaurus.
98
+
99
+ ### Running Development Server
100
+
101
+ Run Slidev to preview your presentation with hot-reload:
102
+
103
+ ```bash
104
+ npm run slidev ./slidev/presentation.md
105
+ ```
@@ -0,0 +1,22 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
2
+ <defs>
3
+ <linearGradient id="SVGLbJVEdqe" x1="0%" x2="100%" y1="-8.889%" y2="100%">
4
+ <stop offset="0%" stop-color="#3acbd4" />
5
+ <stop offset="100%" stop-color="#2988b1" />
6
+ </linearGradient>
7
+ <linearGradient id="SVGjd5pfbnr" x1="-10.556%" x2="84.536%" y1="-12.222%" y2="100%">
8
+ <stop offset="0%" stop-color="#95f0cf" />
9
+ <stop offset="100%" stop-color="#3ab9d5" />
10
+ </linearGradient>
11
+ <linearGradient id="SVGMdS59dLY" x1="-.132%" x2="12.361%" y1="-8.073%" y2="104.495%">
12
+ <stop offset="0%" stop-color="#ffeb83" />
13
+ <stop offset=".01%" stop-color="#ffeb83" />
14
+ <stop offset="8.333%" stop-color="#ffdd35" />
15
+ <stop offset="60.177%" stop-color="#ffbb13" />
16
+ <stop offset="100%" stop-color="#ffa800" />
17
+ </linearGradient>
18
+ </defs>
19
+ <path fill="url(#SVGLbJVEdqe)" d="M71.385 34.462h147.692c20.392 0 36.923 16.53 36.923 36.923v147.692C256 239.469 239.469 256 219.077 256H71.385c-20.392 0-36.923-16.531-36.923-36.923V71.385c0-20.392 16.53-36.923 36.923-36.923" />
20
+ <path fill="url(#SVGjd5pfbnr)" d="M110.77 0c61.175 0 110.768 49.593 110.768 110.77c0 61.175-49.593 110.768-110.769 110.768S0 171.945 0 110.77S49.593 0 110.77 0" />
21
+ <path fill="url(#SVGMdS59dLY)" d="M138.159 157.354c-2.897-10.812-4.346-16.218-2.912-19.951a12.3 12.3 0 0 1 7.079-7.08c3.733-1.433 9.14.016 19.95 2.913l53.74 14.399c10.811 2.897 16.217 4.345 18.734 7.453a12.3 12.3 0 0 1 2.59 9.671c-.625 3.95-4.582 7.907-12.497 15.822l-39.34 39.34c-7.914 7.914-11.871 11.871-15.821 12.497a12.3 12.3 0 0 1-9.67-2.592c-3.109-2.516-4.557-7.922-7.454-18.734z" />
22
+ </svg>
@@ -0,0 +1,5 @@
1
+ position: 3.3
2
+ label: "Multi-Column"
3
+ customProps:
4
+ section: "Layouts"
5
+ section_position: 3
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: Three Cols Header
3
+ description: Three columns with spanning header
4
+ ---
5
+
6
+ # Three Cols Header Layout
7
+
8
+ Three equal columns with a header spanning all three.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Default | Description |
13
+ |-----------|------|---------|-------------|
14
+ | `logo` | boolean | `true` | Show/hide logo |
15
+ | `textAlignment` | string | `'center'` | Content vertical alignment |
16
+
17
+ ## Basic Example
18
+
19
+ ```markdown
20
+ ---
21
+ layout: three-cols-header
22
+ ---
23
+
24
+ # DevOps Pipeline Stages
25
+
26
+ ::left::
27
+
28
+ ## Build
29
+ - Compile code
30
+ - Run tests
31
+ - Security scan
32
+ - Create artifacts
33
+
34
+ ::middle::
35
+
36
+ ## Deploy
37
+ - Container build
38
+ - Push to registry
39
+ - Update services
40
+ - Health checks
41
+
42
+ ::right::
43
+
44
+ ## Monitor
45
+ - Metrics collection
46
+ - Log aggregation
47
+ - Alerting
48
+ - Dashboards
49
+ ```
@@ -0,0 +1,47 @@
1
+ ---
2
+ title: Three Cols
3
+ description: Three equal-width columns
4
+ ---
5
+
6
+ # Three Cols Layout
7
+
8
+ Organize content across three equal columns.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Default | Description |
13
+ |-----------|------|---------|-------------|
14
+ | `logo` | boolean | `false` | Show/hide logo |
15
+
16
+ ## Basic Example
17
+
18
+ ```markdown
19
+ ---
20
+ layout: three-cols
21
+ ---
22
+
23
+ # Development
24
+
25
+ - Local Docker
26
+ - Hot reload
27
+ - Debug mode
28
+ - Test data
29
+
30
+ ::middle::
31
+
32
+ # Staging
33
+
34
+ - Integration tests
35
+ - UAT environment
36
+ - Performance tests
37
+ - Security scans
38
+
39
+ ::right::
40
+
41
+ # Production
42
+
43
+ - Auto-scaling
44
+ - Monitoring
45
+ - Logging
46
+ - Backups
47
+ ```
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Two Cols Header
3
+ description: Two columns with spanning header
4
+ ---
5
+
6
+ # Two Cols Header Layout
7
+
8
+ Two equal columns with a header that spans both columns.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Default | Description |
13
+ |-----------|------|---------|-------------|
14
+ | `logo` | boolean | `true` | Show/hide logo |
15
+ | `textAlignment` | string | `'center'` | Content vertical alignment |
16
+
17
+ ## Basic Example
18
+
19
+ ```markdown
20
+ ---
21
+ layout: two-cols-header
22
+ ---
23
+
24
+ # Deployment Comparison
25
+
26
+ ::left::
27
+
28
+ ## Manual Process
29
+ - SSH into servers
30
+ - Copy files manually
31
+ - Restart services
32
+ - Hope for the best
33
+ - Rollback is hard
34
+
35
+ ::right::
36
+
37
+ ## Automated CI/CD
38
+ - Git push triggers pipeline
39
+ - Automated tests
40
+ - Container builds
41
+ - Zero-downtime deploy
42
+ - Easy rollback
43
+ ```
@@ -0,0 +1,38 @@
1
+ ---
2
+ title: Two Cols
3
+ description: Two equal-width columns
4
+ ---
5
+
6
+ # Two Cols Layout
7
+
8
+ Split content into two equal columns for comparisons, lists, or parallel information.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Default | Description |
13
+ |-----------|------|---------|-------------|
14
+ | `logo` | boolean | `false` | Show/hide logo |
15
+
16
+ ## Basic Example
17
+
18
+ ```markdown
19
+ ---
20
+ layout: two-cols
21
+ ---
22
+
23
+ # Traditional VMs
24
+
25
+ - Heavy resource usage
26
+ - Slow boot times
27
+ - OS overhead
28
+ - Complex management
29
+
30
+ ::right::
31
+
32
+ # Containers
33
+
34
+ - Lightweight
35
+ - Fast startup
36
+ - Shared OS kernel
37
+ - Simple orchestration
38
+ ```
@@ -0,0 +1,5 @@
1
+ position: 3.2
2
+ label: "Section"
3
+ customProps:
4
+ section: "Layouts"
5
+ section_position: 3
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: Cover
3
+ description: Title slide layout with banner for starting presentations
4
+ ---
5
+
6
+ # Cover Layout
7
+
8
+ The `cover` layout is designed for the title slide of your presentation. It features centered content with the Sykehuspartner banner at the bottom.
9
+
10
+ ## When to Use
11
+
12
+ - First slide of your presentation
13
+ - Major presentation milestones
14
+ - Conference or workshop title slides
15
+
16
+ ## Parameters
17
+
18
+ | Parameter | Type | Default | Description |
19
+ |-----------|------|---------|-------------|
20
+ | `logo` | boolean | `true` | Show/hide the banner at the bottom |
21
+
22
+ ## Basic Example
23
+
24
+ ```markdown
25
+ ---
26
+ layout: cover
27
+ ---
28
+
29
+ # Docker Fundamentals
30
+ ## A Hands-on Workshop
31
+ ```
32
+
33
+ ## With Banner Hidden
34
+
35
+ ```markdown
36
+ ---
37
+ layout: cover
38
+ logo: false
39
+ ---
40
+
41
+ # Minimalist Title
42
+ ## No banner version
43
+ ```
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: End
3
+ description: Closing slide layout with centered banner
4
+ ---
5
+
6
+ # End Layout
7
+
8
+ The `end` layout is designed for the final slide of your presentation. It features centered content with the Sykehuspartner banner positioned in the center.
9
+
10
+ ## When to Use
11
+
12
+ - Final slide of presentation
13
+ - Thank you slides
14
+ - Q&A slides
15
+ - Closing remarks
16
+
17
+ ## Parameters
18
+
19
+ | Parameter | Type | Default | Description |
20
+ |-----------|------|---------|-------------|
21
+ | `logo` | boolean | `true` | Show/hide the banner |
22
+
23
+ ## Basic Example
24
+
25
+ ```markdown
26
+ ---
27
+ layout: end
28
+ ---
29
+
30
+ # Thank You!
31
+
32
+ ## Questions?
33
+ ```
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: Intro
3
+ description: Introduction slide with optional side image
4
+ ---
5
+
6
+ # Intro Layout
7
+
8
+ The `intro` layout is designed for introduction slides with an optional side image and banner at the bottom.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Default | Description |
13
+ |-----------|------|---------|-------------|
14
+ | `imageSrc` | string | - | Image URL or path |
15
+ | `imagePosition` | string | `'right'` | Position: `'left'` or `'right'` |
16
+ | `imageRatio` | string | `'40%'` | Image width percentage |
17
+ | `imageSize` | string | `'80%'` | Image scale |
18
+ | `enableLogo` | boolean | `true` | Show/hide banner |
19
+
20
+ ## Basic Example
21
+
22
+ ```markdown
23
+ ---
24
+ layout: intro
25
+ imageSrc: /logo.png
26
+ imagePosition: right
27
+ imageRatio: 40%
28
+ ---
29
+
30
+ # Module Introduction
31
+
32
+ ## What You'll Learn
33
+
34
+ An overview of this section
35
+ ```
36
+
37
+ ## Without Image
38
+
39
+ ```markdown
40
+ ---
41
+ layout: intro
42
+ ---
43
+
44
+ # Welcome
45
+
46
+ ## Getting Started with Containers
47
+
48
+ Your journey begins here
49
+ ```
@@ -0,0 +1,41 @@
1
+ ---
2
+ title: Section
3
+ description: Section divider with logo and optional image
4
+ ---
5
+
6
+ # Section Layout
7
+
8
+ The `section` layout is used to divide your presentation into distinct sections, similar to chapter breaks.
9
+
10
+ ## Parameters
11
+
12
+ | Parameter | Type | Default | Description |
13
+ |-----------|------|---------|-------------|
14
+ | `image` | string | - | Optional background/side image |
15
+ | `logo` | boolean | `true` | Show/hide logo |
16
+ | `titleLine` | boolean | `true` | Show/hide decorative underline |
17
+
18
+ ## Basic Example
19
+
20
+ ```markdown
21
+ ---
22
+ layout: section
23
+ ---
24
+
25
+ # Module 2
26
+ ## Advanced Docker Concepts
27
+
28
+ Networking, volumes, and multi-stage builds
29
+ ```
30
+
31
+ ## With Image
32
+
33
+ ```markdown
34
+ ---
35
+ layout: section
36
+ image: /docker-logo.png
37
+ ---
38
+
39
+ # Container Orchestration
40
+ ## Scaling Your Applications
41
+ ```
@@ -0,0 +1,5 @@
1
+ position: 3.5
2
+ label: "Special Purpose"
3
+ customProps:
4
+ section: "Layouts"
5
+ section_position: 3
@@ -0,0 +1,95 @@
1
+ ---
2
+ title: About Me
3
+ description: Personal introduction and profile layout
4
+ sidebar_custom_props:
5
+ section: "Layout and Features"
6
+ section_position: 2
7
+ ---
8
+
9
+ # About Me Layout
10
+
11
+ The `about-me` layout is designed for introducing speakers, instructors, or team members. It supports profile images and detailed information in a professional format.
12
+
13
+ ## When to Use
14
+
15
+ - Speaker introductions
16
+ - Instructor profiles
17
+ - Team member presentations
18
+ - Personal bio slides
19
+
20
+ ## Parameters
21
+
22
+ | Parameter | Type | Default | Description |
23
+ |-----------|------|---------|-------------|
24
+ | `name` | string | - | Person's full name |
25
+ | `jobTitle` | string | - | Job title or role |
26
+ | `department` | string | - | Department or team (optional) |
27
+ | `description` | string | - | Brief bio or description |
28
+ | `email` | string | - | Email address (optional) |
29
+ | `linkedin` | string | - | LinkedIn username (optional) |
30
+ | `imageSrc` | string | - | Profile photo URL |
31
+ | `imageShape` | string | `'rectangle'` | Shape: `'circle'` or `'rectangle'` |
32
+ | `imageSize` | string | `'100%'` | Image size percentage |
33
+ | `imagePosition` | string | `'right'` | Position: `'left'` or `'right'` |
34
+ | `logo` | boolean | `false` | Show/hide logo |
35
+
36
+ ## Basic Example (Image Right)
37
+
38
+ ```markdown
39
+ ---
40
+ layout: about-me
41
+ name: Jane Developer
42
+ jobTitle: "Senior DevOps Engineer"
43
+ department: "Cloud Platform Team"
44
+ description: "Specialist in container technologies with 10 years of experience in cloud-native solutions"
45
+ email: "jane.developer@example.com"
46
+ linkedin: "janedev"
47
+ imageSrc: /jane-profile.jpg
48
+ imageShape: circle
49
+ imagePosition: right
50
+ ---
51
+ ```
52
+
53
+ ## Image on Left
54
+
55
+ ```markdown
56
+ ---
57
+ layout: about-me
58
+ name: John Smith
59
+ jobTitle: "Docker Expert"
60
+ department: "Infrastructure Team"
61
+ description: "Passionate about automation and infrastructure as code"
62
+ email: "john.smith@example.com"
63
+ imageSrc: /john-profile.jpg
64
+ imageShape: circle
65
+ imagePosition: left
66
+ ---
67
+ ```
68
+
69
+ ## Without Image
70
+
71
+ ```markdown
72
+ ---
73
+ layout: about-me
74
+ name: Alex Johnson
75
+ jobTitle: "Kubernetes Architect"
76
+ description: "Cloud native enthusiast and open source contributor"
77
+ email: "alex@example.com"
78
+ linkedin: "alexj"
79
+ ---
80
+ ```
81
+
82
+ ## Rectangle Image
83
+
84
+ ```markdown
85
+ ---
86
+ layout: about-me
87
+ name: Maria Garcia
88
+ jobTitle: "DevOps Lead"
89
+ description: "Leading teams to adopt containerization and modern deployment practices"
90
+ imageSrc: /maria.jpg
91
+ imageShape: rectangle
92
+ imageSize: 85%
93
+ imagePosition: left
94
+ ---
95
+ ```