From 3fd3d13c7018f632dcd9403bbb241ccfba85d139 Mon Sep 17 00:00:00 2001 From: Mehdi M Date: Tue, 23 Jul 2019 00:13:22 +0200 Subject: [PATCH] Add a line break in a documentation code sample --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d48c01c..b8c5b7f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Assigning the computed value of a SCSS function follows the same [interpolation --superColor: var(--secondaryColor); // correct ✅, regular syntax --superColor: v(secondaryColor); // error 🚫, custom property assignment needs interpolation --superColor: #{v(secondaryColor)}; // correct ✅, function interpolated with `#{}` - + color: v(superColor); // correct ✅, `color` is not a custom property } ``` @@ -116,6 +116,7 @@ Other example with three dashes instead of two dashes: .my-class-with-more-dashes { --#{'-'}: .5; // correct ✅ #{'---'}: .5; // also correct ✅ + opacity: var(#{'---'}); // correct ✅, interpolated opacity: v('-'); // correct ✅, thanks to v() coolness ✌️ }