Sha256: 6a0d57ecd72ba11ff9aaf5a965850d31178d3f21a18f513de36b953ad89ccc29

Contents?: true

Size: 788 Bytes

Versions: 6

Compression:

Stored size: 788 Bytes

Contents

<% content_for :heading do %>
  <%= t(".color_header") %>
<% end %>

<% content_for :description do %>
  <p><%= t(".description_p1") %></p>
  <p><%= t(".description_p2_html",
           contrast_link: link_to(t(".wcag_compliant_rations"), "https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html", target: "_blank", rel: "noopener noreferrer"),
           checker_link: link_to(t(".wcag_contrast_checker"), "https://webaim.org/resources/contrastchecker", target: "_blank", rel: "noopener noreferrer")
         ) %></p>
<% end %>

<% content_for :toc do %>
  <% colors_sections.each do |section| %>
    <%= link_to(section_text(section), "##{section[:id]}") %>
  <% end %>
<% end %>

<%= render partial: "decidim/design/shared/sections", locals: { sections: colors_sections } %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-design-0.29.1 app/views/decidim/design/foundations/color.html.erb
decidim-design-0.29.0 app/views/decidim/design/foundations/color.html.erb
decidim-design-0.29.0.rc4 app/views/decidim/design/foundations/color.html.erb
decidim-design-0.29.0.rc3 app/views/decidim/design/foundations/color.html.erb
decidim-design-0.29.0.rc2 app/views/decidim/design/foundations/color.html.erb
decidim-design-0.29.0.rc1 app/views/decidim/design/foundations/color.html.erb