From 87d4ac55c9f892da4d0aa7c786cabde1b35e2403 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sun, 16 Jun 2019 09:38:55 -0400 Subject: [PATCH] site: fix css-in-js blog embed, pt II --- .../99-embeds/20181225-blog-svelte-css-in-js/styles.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/content/examples/99-embeds/20181225-blog-svelte-css-in-js/styles.js b/site/content/examples/99-embeds/20181225-blog-svelte-css-in-js/styles.js index faf91b13d4..c7e10606c5 100644 --- a/site/content/examples/99-embeds/20181225-blog-svelte-css-in-js/styles.js +++ b/site/content/examples/99-embeds/20181225-blog-svelte-css-in-js/styles.js @@ -1,4 +1,6 @@ -import { css } from 'emotion/dist/emotion.umd.min.js'; +import emotion from 'emotion/dist/emotion.umd.min.js'; + +const { css } = emotion; const brand = '#74D900'; @@ -30,4 +32,4 @@ export const link = css` text-decoration: none; background: ${brand}; } -`; \ No newline at end of file +`;