Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The text inside a quoteblock is not readable when using the light mode of the seriph theme. #204

Closed
Bktero opened this issue May 31, 2021 · 0 comments

Comments

@Bktero
Copy link

Bktero commented May 31, 2021

Describe the bug

The text inside a quoteblock is not readable when using the light mode of the seriph theme. Indeed, the text is white and the background is almost white.

To Reproduce

  1. Use this slides.md:
---
theme: seriph
---
# First Page

> This is a quoted text.

---

# Second Page

> Another text in a quote block.
  1. Start the presentation with npm run dev.

  2. Web brower opens, slide 1 is displayed, dark mode is used by default. Quoteblock has dark background and light text. The text can be read perfectly:

2021-05-31 17_16_34-First Page - Slidev

  1. Use the tool bar to switch to light mode. The presentation refreshes, colors change.

  2. Now, quoteblock has light background and light text. The text cannot be read:

2021-05-31 17_09_16-First Page - Slidev

Notes:

  • Quoteblock on the second slide is OK in both dark and light modes.
  • Bug cannot be reproduced with default theme.

Desktop (please complete the following information):

  • OS: Windows 10
  • NodeJS: 14.17.0
  • Browser: Chrome 90.0.4430.212

Here is package.json:

{
  "private": true,
  "scripts": {
    "dev": "slidev --open",
    "build": "slidev build",
    "export": "slidev export"
  },
  "dependencies": {
    "@slidev/cli": "^0.16.0",
    "@slidev/theme-default": "*",
    "@slidev/theme-seriph": "*"
  },
  "name": "slidev"
}
@antfu antfu closed this as completed in f9bd29c May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant