Skip to content

The CodeSnippet component light theme isn't working #147

Closed
@techtolentino

Description

Bug

When using the <CodeSnippet> component and trying to pass in the light={true} option, it doesn't seem to be rendering in the UI. It also seems like the the styles for bx--snippet--light never come through?

Expected behavior -

We'd expect the CodeSnippet component to use the lighter theme.

Actual behavior -

It's dark.

Steps for reproducing

  1. Use <CodeSnippet> component
  2. Pass in light={true}
  3. See dark

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions