Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2727·slidev

styles.css and images ignored when exporting

Author: italomaiaCreated Aug 26, 2026Updated Aug 26, 2026
Labelspending triage

Describe the bug

I created a presentation with images and a custom style.css. Both show properly when running the slides, but if I try to export the slides, the css is not applied nor the images show.

Minimal reproduction

Steps to reproduce the behavior:

  1. Create a new presentation
  2. Add images
  3. Reference images from the slide
  4. Create style.css in the root of the presentation with a background-color rule
  5. Apply css rules
  6. Try to export

You can use https://sli.dev/new to create a new project to reproduce the issue.

Environment

  • Slidev version: current
  • Browser: chrome
  • OS: Ubuntu 25.10

Source: slidevjs/slidev

View original on GitHubView discussion on GitHub