From ed540dbaf930435d43735c9d642ae4facc39686a Mon Sep 17 00:00:00 2001 From: Gilly Ames Date: Tue, 14 Jul 2020 09:03:03 +0100 Subject: [PATCH] Update css.md --- css.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/css.md b/css.md index c50cb56..7104511 100644 --- a/css.md +++ b/css.md @@ -530,6 +530,8 @@ which is then more helpful in the component. The component only ever has to care #### Example which needs some theme specific asset + +Instead of doing this: ``` ${theme=='octopus' && css` @@ -557,7 +559,7 @@ which is then used like this in e.g the octopus theme file: ``` primaryBanner: bannerMixin({ backgroundColor: backgroundPrimary, - backgroundUrl: 'something/octopus/specific' + backgroundUrl: 'something/octopus/specific' // so this path only appears in the octopus theme file }), ```