diff options
Diffstat (limited to 'test/bem/_at-theme.scss')
| -rw-r--r-- | test/bem/_at-theme.scss | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/test/bem/_at-theme.scss b/test/bem/_at-theme.scss index 29a4eba..83ea4d1 100644 --- a/test/bem/_at-theme.scss +++ b/test/bem/_at-theme.scss | |||
| @@ -10,49 +10,49 @@ | |||
| 10 | // | 10 | // |
| 11 | 11 | ||
| 12 | @include it('at-theme') { | 12 | @include it('at-theme') { |
| 13 | @include assert('single theme') { /// 1 /// | 13 | @include assert('single theme') { /// 1 /// |
| 14 | @include output(false) { | 14 | @include output(false) { |
| 15 | @include bem.block('something') { | 15 | @include bem.block('something') { |
| 16 | @include bem.at-theme('theme') { | 16 | @include bem.at-theme('theme') { |
| 17 | font-size: 2em; | 17 | font-size: 2em; |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | @include expect(false) { | 22 | @include expect(false) { |
| 23 | .t-theme .something, | 23 | .t-theme .something, |
| 24 | [class*=' t-'] .t-theme .something, | 24 | [class*=' t-'] .t-theme .something, |
| 25 | [class^='t-'] .t-theme .something { | 25 | [class^='t-'] .t-theme .something { |
| 26 | font-size: 2em; | 26 | font-size: 2em; |
| 27 | } | 27 | } |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | @include assert('with sub-theme') { /// 2 /// | 31 | @include assert('with sub-theme') { /// 2 /// |
| 32 | @include output(false) { | 32 | @include output(false) { |
| 33 | @include bem.block('something') { | 33 | @include bem.block('something') { |
| 34 | @include bem.at-theme('theme') { | 34 | @include bem.at-theme('theme') { |
| 35 | font-size: 2em; | 35 | font-size: 2em; |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | @include bem.at-theme('theme', 'subtheme') { | 38 | @include bem.at-theme('theme', 'subtheme') { |
| 39 | font-size: 3em; | 39 | font-size: 3em; |
| 40 | } | 40 | } |
| 41 | } | 41 | } |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | @include expect(false) { | 44 | @include expect(false) { |
| 45 | .t-theme .something, | 45 | .t-theme .something, |
| 46 | [class*=' t-'] .t-theme .something, | 46 | [class*=' t-'] .t-theme .something, |
| 47 | [class^='t-'] .t-theme .something { | 47 | [class^='t-'] .t-theme .something { |
| 48 | font-size: 2em; | 48 | font-size: 2em; |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | .t-theme .t-subtheme .something, | 51 | .t-theme .t-subtheme .something, |
| 52 | [class*=' t-'] .t-theme .t-subtheme .something, | 52 | [class*=' t-'] .t-theme .t-subtheme .something, |
| 53 | [class^='t-'] .t-theme .t-subtheme .something { | 53 | [class^='t-'] .t-theme .t-subtheme .something { |
| 54 | font-size: 3em; | 54 | font-size: 3em; |
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | } | 57 | } |
| 58 | } | 58 | } |
