Skip to content

Commit

Permalink
Add protocol to emotion link (#477)
Browse files Browse the repository at this point in the history
Previously, the browser treated `github.com/emotion-js/emotion` as a relative link. Specifying `https://` gives the browser a full URL so it correctly navigates to the Emotion repository.
  • Loading branch information
btmills authored and ryan-roemer committed Feb 22, 2018
1 parent 40079e6 commit 3a1d2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -327,7 +327,7 @@ The returned theme object can then be passed to the `Deck` tag via the `theme` p

_How can I easily style the base components for my presentation?_

Historically, custom styling in Spectacle has meant screwing with a theme file, or using gross `!important` overrides. We fixed that. Spectacle is now driven by [emotion](github.com/emotion-js/emotion), so you can bring your own styling library, whether its emotion itself, or something like styled-components or glamorous. For example, if you want to create a custom Heading style:
Historically, custom styling in Spectacle has meant screwing with a theme file, or using gross `!important` overrides. We fixed that. Spectacle is now driven by [emotion](https://github.com/emotion-js/emotion), so you can bring your own styling library, whether its emotion itself, or something like styled-components or glamorous. For example, if you want to create a custom Heading style:

```javascript
import styled from 'styled-components';
Expand Down

0 comments on commit 3a1d2d3

Please sign in to comment.