Skip to content

What is the correct way to replace the backdrop color? #1051

@akloster

Description

@akloster

I'd like to have a white background in my slides, and I'd prefer a fadeTransition, though slideTransition has the same problem. Best way to put it: the transitions go through a black phase, no matter what I tried.

In the source code I found ways to specify backdropStyle in the theme settings. That seems to work in presenter mode, but not in the normal mode.

const theme = {
  fonts: {
    header: '"Ubuntu", Helvetica, Arial, sans-serif',
    text: '"Fira sans", Helvetica, Arial, sans-serif'
  },
    colors: {
      primary: '#000000',
      secondary: '#0000ff',
      tertiary: '#ffffff',
      background:"#ffffff"
    },
  backdropStyle:{
    backgroundColor:"#ffffff",
    position: 'fixed',
    top: 0,
    left: 0,
    width: '100vw',
    height: '100vh'
}
}

This is also not covered in the documentation. Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions