diff options
author | Volpeon <git@volpeon.ink> | 2022-02-05 07:52:13 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-05 07:52:13 +0100 |
commit | dd5f3c463fab336d694f426dcad11a1783590fc9 (patch) | |
tree | faebf738a9556eaa393371852ed86550d4adf66a /test/bem/_iro-bem-at-theme.scss | |
parent | Fix errors from transition from node-sass to sass (diff) | |
download | iro-sass-dd5f3c463fab336d694f426dcad11a1783590fc9.tar.gz iro-sass-dd5f3c463fab336d694f426dcad11a1783590fc9.tar.bz2 iro-sass-dd5f3c463fab336d694f426dcad11a1783590fc9.zip |
Ported from import syntax to modules
Diffstat (limited to 'test/bem/_iro-bem-at-theme.scss')
-rw-r--r-- | test/bem/_iro-bem-at-theme.scss | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/test/bem/_iro-bem-at-theme.scss b/test/bem/_iro-bem-at-theme.scss deleted file mode 100644 index d2d0696..0000000 --- a/test/bem/_iro-bem-at-theme.scss +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | // sass-lint:disable class-name-format force-element-nesting force-pseudo-nesting mixins-before-declarations | ||
2 | |||
3 | // | ||
4 | // Included test cases: | ||
5 | // - /// 1 /// - single theme | ||
6 | // - /// 2 /// - with sub-theme | ||
7 | // | ||
8 | |||
9 | @include it('iro-bem-at-theme') { | ||
10 | @include assert('single theme') { /// 1 /// | ||
11 | @include output(false) { | ||
12 | @include iro-bem-block('something') { | ||
13 | @include iro-bem-at-theme('theme') { | ||
14 | font-size: 2em; | ||
15 | } | ||
16 | } | ||
17 | } | ||
18 | |||
19 | @include expect(false) { | ||
20 | .t-theme .something, | ||
21 | [class*=' t-'] .t-theme .something, | ||
22 | [class^='t-'] .t-theme .something { | ||
23 | font-size: 2em; | ||
24 | } | ||
25 | } | ||
26 | } | ||
27 | |||
28 | @include assert('with sub-theme') { /// 2 /// | ||
29 | @include output(false) { | ||
30 | @include iro-bem-block('something') { | ||
31 | @include iro-bem-at-theme('theme') { | ||
32 | font-size: 2em; | ||
33 | } | ||
34 | |||
35 | @include iro-bem-at-theme('theme', 'subtheme') { | ||
36 | font-size: 3em; | ||
37 | } | ||
38 | } | ||
39 | } | ||
40 | |||
41 | @include expect(false) { | ||
42 | .t-theme .something, | ||
43 | [class*=' t-'] .t-theme .something, | ||
44 | [class^='t-'] .t-theme .something { | ||
45 | font-size: 2em; | ||
46 | } | ||
47 | |||
48 | .t-theme .t-subtheme .something, | ||
49 | [class*=' t-'] .t-theme .t-subtheme .something, | ||
50 | [class^='t-'] .t-theme .t-subtheme .something { | ||
51 | font-size: 3em; | ||
52 | } | ||
53 | } | ||
54 | } | ||
55 | } | ||