Sha256: 79b65f13c72919748bf22592c2f16d7acb59b6a376483bbafbf0f2761e6d858d

Contents?: true

Size: 695 Bytes

Versions: 13

Compression:

Stored size: 695 Bytes

Contents

<table class="design__table">
  <thead>
    <th>Value</th>
    <th>Tailwind name</th>
    <% if columns.first[:rgba].present? %>
      <th>Hex code</th>
      <th>RGBA code</th>
    <% end %>
    <th>Usage</th>
  </thead>
  <tbody>
    <% columns.each do |column| %>
      <tr>
        <td>
          <div class="w-8 h-8 rounded shadow" style="background-color: <%= column[:value] %>;"></div>
        </td>
        <td><%= column[:name] %></td>
        <% if column[:rgba].present? %>
          <td><code><%= column[:value] %></code></td>
          <td><code><%= column[:rgba] %></code></td>
        <% end %>
        <td><%= column[:usage] %></td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-design-0.29.1 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.4 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.29.0 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.3 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.29.0.rc4 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.29.0.rc3 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.29.0.rc2 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.29.0.rc1 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.2 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.1 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.0 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.0.rc5 app/views/decidim/design/foundations/color/_table.html.erb
decidim-design-0.28.0.rc4 app/views/decidim/design/foundations/color/_table.html.erb