Sha256: 9b4d4072f48fd44ac21a03f3e3bd2e18d94876187ee93bdcd05e7eb6f6923e0f

Contents?: true

Size: 906 Bytes

Versions: 8

Compression:

Stored size: 906 Bytes

Contents

// this case will test a couple of things, including
// - nested `styleguide` calls
// - nested selectors
// - nested `styleguide` calls in nested selectors

@import "archetype"; 

@if not styleguide-component-exists(nested-styleguide-test, $CONFIG_THEME) {
$a-blackhole: styleguide-add-component(nested-styleguide-test, (), (
  (default, (
    display         block,
    color           red,
    styleguide      (muted link without an underline),
    background      green,
    (states, (
      (hover, (
        styleguide  module,
        nil
      )),
      nil
    )),
    (selectors, (
      ('h3', (
        styleguide  (large headline),
        styleguide  (link without an underline),
        nil
      )),
      ('&:after', (
        color       red,
        nil
      ))
    )),
    nil
  )),
  nil
), $CONFIG_THEME);
}
.nested-styleguide-test {
  @include styleguide(nested-styleguide-test);
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.12 test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.11 test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.3.6ed259b test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.3.f9dde24 test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.3.00dfd9a test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.3.83f0d7a test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.3.55c4182 test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
archetype-0.0.1.pre.3.811928f test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss