FormidableLabs / FormidableLabs/spectacle

Styled Notes component in presenter view

Open
#1,064 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.2k
Forks
700
PR merge metrics
No merged PRs in 30d

Description

### Question

How can I change the style of the notes component? For the life of me I can't figure out how to get the text to be light on dark instead of dark on dark.

Screen Shot 2021-09-17 at 3 54 02 PM

### Background Info/Attempts

If i change the primary color in the spectacle theme to light, i can get the text to be white, but then of course the rest of my text in the presentation is also white.

I have also tried using styled components as well as Material UI's theming and style system with no luck.

It looks like the notes column is populated in a way that I don't entirely understand using the default Text element here: https://github.com/FormidableLabs/spectacle/blob/815f858840161b7e7f3717a02f779a5b336baf1a/src/components/presenter-mode/index.js#L97

so for now i'm going to monkey patch that but it would be nice to know if there's a correct way of doing this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.