From d7f1fb8ec33e15ec53da41315bd53a35ee2b28e3 Mon Sep 17 00:00:00 2001 From: simurai Date: Fri, 1 Apr 2016 16:56:50 +0900 Subject: [PATCH] Fix nested selectors in Sass + Less Issue https://github.com/simurai/duotone-dark-space-syntax/issues/1 --- styles/languages/css.less | 3 ++- styles/languages/sass.less | 4 ++++ styles/languages/scss.less | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/styles/languages/css.less b/styles/languages/css.less index 396a67b..421c328 100644 --- a/styles/languages/css.less +++ b/styles/languages/css.less @@ -12,7 +12,8 @@ } &.attribute-name { &.id, - &.class { + &.class, + &.parent-selector { .uno-1(); } } diff --git a/styles/languages/sass.less b/styles/languages/sass.less index 3dfaa9e..3a89396 100644 --- a/styles/languages/sass.less +++ b/styles/languages/sass.less @@ -23,4 +23,8 @@ &.variable.parameter.url { .duo-1(); } + &.class, + &.parent-selector-suffix { + .uno-1(); + } } diff --git a/styles/languages/scss.less b/styles/languages/scss.less index 8004db3..3d6d161 100644 --- a/styles/languages/scss.less +++ b/styles/languages/scss.less @@ -23,4 +23,8 @@ &.variable.parameter.url { .duo-1(); } + &.class, + &.parent-selector-suffix { + .uno-1(); + } }