---
sidebar_position: 4
sidebar_label: "Change Logs"
toc_max_heading_level: 2
sidebar_custom_props:
  section: "Releases"
  section_position: 4
---

# Changelog

## `@sp-days-framework/slidev-theme-sykehuspartner`

[![npm version](https://img.shields.io/npm/v/@sp-days-framework/slidev-theme-sykehuspartner?logo=nodedotjs)](https://www.npmjs.com/package/@sp-days-framework/slidev-theme-sykehuspartner)

:::note
All packages within `@sp-days-framework` use the same version number. In some cases, a package might just be "bumped" to match the rest without any functional changes.
:::

---

## Version 1.1.4 ![Release](https://img.shields.io/badge/release-production-blue)

Dependency maintenance

<details>
<summary><strong>Details</strong> (2026 September 11)</summary>

### Bug Fixes

- **Security**: Applied Dependabot `npm_and_yarn` group updates covering `dompurify`, `mermaid`, `js-yaml`, `fast-uri`, `nanoid`, `postcss`, `brace-expansion`, `tar` and `ws`

</details>

---

## Version 1.1.3 ![Release](https://img.shields.io/badge/release-production-blue)

New column layout features, styling improvements, and bug fixes

<details>
<summary><strong>Details</strong> (2026 May 29)</summary>

### Breaking Changes

- **Column layouts**: `two-cols` and `three-cols` (without `-header`) now use a named `::left::` slot instead of the default slot for left column content. Update existing slides to use `::left::` explicitly.

### New Features

- **Column ratio**: `two-cols` and `two-cols-header` layouts now accept a `ratio` prop to control the left/right column split (e.g., `ratio: "70%"` gives 70% left, 30% right). Default remains `50%`.
- **Top/bottom slots**: All column layouts (`two-cols`, `two-cols-header`, `three-cols`, `three-cols-header`) now support `::top::`, `::top-center::`, `::bottom::`, and `::bottom-center::` slots for content above and below the columns.

### Bug Fixes

- **Inline code dark mode**: Fixed inline code background not being visible when the theme is installed as a package (CSS property was being overridden by conflicting rules)
- **Inline code background opacity**: Fixed dark mode `--sp-code-background` being nearly invisible (`#01010213` → `#ffffff0f`)

### Improvements

- **Inline code color**: Inline code now has a subtle yellow tint (`#e8d44d`) in dark mode for better distinction from regular text
- **Table headers**: Table headers (`th`) are now bold (`font-weight: 700`) and slightly larger (`font-size: 1.05em`) for better visual hierarchy
- **Security**: Updated transitive dependencies to resolve known vulnerabilities across multiple dependency groups
- **Dependencies**: Replaced deprecated `glob` package with Node.js built-in `fs.globSync` (requires Node.js >= 22.0.0)

### Migration

**Column layout slot changes** — Update `two-cols` and `three-cols` slides to use named `::left::` slot:

```markdown
# Before (v1.1.2)
---
layout: two-cols
---

# Left content here

::right::

# Right content
```

```markdown
# After (v1.1.3)
---
layout: two-cols
---

::left::

# Left content here

::right::

# Right content
```

</details>

---

## Version 1.1.2 ![Sync](https://img.shields.io/badge/sync-version--bump-lightgrey)

Version bump to match other packages in the framework

---

## Version 1.1.1 ![Release](https://img.shields.io/badge/release-production-blue)

Relative image path support and security updates

<details>
<summary><strong>Details</strong> (2026 February 09)</summary>

### New Features

- **Relative Image Paths**: Image-based layouts (`image`, `image-left`, `image-right`, `intro`, `about-me`) now support relative paths in frontmatter (e.g., `imageSrc: ./assets/diagram.png`)
- **Vite Plugin**: Added `setup/vite-plugins.ts` that automatically transforms relative image paths into proper imports during build
- **Build Compatibility**: Images referenced with relative paths are now correctly bundled and hashed in production builds

### Improvements

- **Security**: Added `lodash-es` and `chevrotain` overrides to fix prototype pollution vulnerability (CVE in lodash-es < 4.17.23)
- **Dependencies**: Upgraded all dependencies to latest versions — @iconify-json/vscode-icons 1.2.40 and more

### How It Works

The theme includes a Vite plugin that intercepts frontmatter and transforms relative image paths:

| Path Type | Example | Processed? |
|-----------|---------|------------|
| Relative | `./image.png`, `../assets/img.png` | ✅ Yes |
| Same directory | `image.png` | ✅ Yes |
| Absolute (public) | `/image.png` | ❌ No (served from public) |
| External URL | `https://...` | ❌ No |
| Data URI | `data:image/...` | ❌ No |

### Migration

No changes required. Existing presentations using `/public` directory paths continue to work. You can now also use relative paths for better portability.

</details>

---

## Version 1.1.0 ![Release](https://img.shields.io/badge/release-production-blue)

Bug fixes for VSCode icons and layout improvements

<details>
<summary><strong>Details</strong> (2026 January 07)</summary>

### Bug Fixes

- **uno.config.ts**: Fixed codeblock icon scanning to work correctly when the theme is installed as a dependency in other projects
- **uno.config.ts**: Fixed VSCode icons not appearing when built through `docusaurus-plugin-slidev` by adding support for `SLIDEV_ORIGINAL_SOURCE` and `SLIDEV_ORIGINAL_SOURCE_DIR` environment variables
- **two-cols-header**: Fixed h2 and h3 heading margins to be consistent with other layouts
- **end layout**: Fixed text centering so content is properly horizontally centered

### Improvements

- **Package Documentation**: Documentation is now bundled with the npm package for easier reference during development

</details>

---

## Version 1.0.4 ![Sync](https://img.shields.io/badge/sync-version--bump-lightgrey)

Version bump to match other packages in the framework

---

## Version 1.0.3 ![Sync](https://img.shields.io/badge/sync-version--bump-lightgrey)

Version bump to match other packages in the framework

---

## Version 1.0.2 ![Sync](https://img.shields.io/badge/sync-version--bump-lightgrey)

Version bump to match other packages in the framework

---

## Version 1.0.0 ![Release](https://img.shields.io/badge/release-production-blue)

Initial release of the Slidev Theme Sykehuspartner

<details>
<summary><strong>Details</strong> (2025 November 24)</summary>

### New Features

- Initial release with Sykehuspartner theme for Slidev

</details>
