Sha256: 14aef1c8506b75900e469260d7a15a3822bf0f491b8e418538757c1777cb547f

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

-if @parser
  %ul.smurf-color-list
    -@parser.colors.each do |color|
      -color_value = color[0]
      -color_vars = color[1]
      %li{style: "background-color: #{color[0]}; color: #{foreground_color(color[0])}"}
        .smurf-html-color= color[0]
        %ul
          -color_vars.each do |color_var|
            = render partial: "color_var", locals: {color_var: color_var}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smurf-rails-0.0.3 app/views/smurf/styleguide/colors.html.haml