FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.75k stars 691 forks source link

Export code pane themes object as part of Spectacle. #1266

Closed carloskelly13 closed 1 year ago

carloskelly13 commented 1 year ago

Description

Currently we make folks jump through installing react-syntax-highlighter to use different themes. This just re-exports all the themes and merges in our current default vsCodeDark theme.

The size of Spectacle (esm) increases to 124.26 KB from 124.09 KB.

Type of Change

How Has This Been Tested?

Added an example to the TypeScript-demo app.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
spectacle-docs-website ✅ Ready (Inspect) Visit Preview May 9, 2023 0:09am