slidev icon indicating copy to clipboard operation
slidev copied to clipboard

fix: force end layout to use dark theme

Open elecmonkey opened this issue 4 weeks ago • 2 comments

This PR updates the built-in end layout to always render in dark mode.

Previously, the end layout only applied a black background via its own styles, but the surrounding theme context could still be in light mode. As a result, components rendered inside the end layout (such as the built-in PoweredBySlidev component using the text-main class) would pick up light-theme colors, which are not visually correct on a black background.

elecmonkey avatar Nov 24 '25 04:11 elecmonkey

Deploy Preview for slidev ready!

Name Link
Latest commit b1a039e05c1d2fe695b4dfc5fa41251202998203
Latest deploy log https://app.netlify.com/projects/slidev/deploys/6923ddc643ffc10008c13e26
Deploy Preview https://deploy-preview-2379--slidev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 24 '25 04:11 netlify[bot]

Open in StackBlitz

@slidev/client

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/client@2379
create-slidev

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev@2379
create-slidev-theme

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev-theme@2379
@slidev/parser

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/parser@2379
@slidev/cli

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/cli@2379
@slidev/types

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/types@2379

commit: b1a039e

pkg-pr-new[bot] avatar Nov 24 '25 04:11 pkg-pr-new[bot]