Skip to content

Commit

Permalink
Static use of tailwind colors to generate proper CSS for dynamic box …
Browse files Browse the repository at this point in the history
…colors
  • Loading branch information
stage-rl committed Sep 19, 2023
1 parent 15d1074 commit 0a1c400
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion app/views/boxes/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
<h2>Schránka <%= @box.name %></h2>

<%= form_tag box_sync_path(@box), method: :post do %>
<%= submit_tag 'Stiahnúť nové správy' %>
<% end %>
<br>
<div class="flex-col">
<p class="bg-slate-100 border border-slate-400 text-slate-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-gray-100 border border-gray-400 text-gray-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-zinc-100 border border-zinc-400 text-zinc-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-neutral-100 border border-neutral-400 text-neutral-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-stone-100 border border-stone-400 text-stone-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-red-100 border border-red-400 text-red-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-orange-100 border border-orange-400 text-orange-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-amber-100 border border-amber-400 text-amber-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-yellow-100 border border-yellow-400 text-yellow-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-lime-100 border border-lime-400 text-lime-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-green-100 border border-green-400 text-green-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-emerald-100 border border-emerald-400 text-emerald-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-teal-100 border border-teal-400 text-teal-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-cyan-100 border border-cyan-400 text-cyan-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-sky-100 border border-sky-400 text-sky-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-blue-100 border border-blue-400 text-blue-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-indigo-100 border border-indigo-400 text-indigo-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-violet-100 border border-violet-400 text-violet-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-purple-100 border border-purple-400 text-purple-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-fuchsia-100 border border-fuchsia-400 text-fuchsia-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-pink-100 border border-pink-400 text-pink-600">Paleta - kvoli pregenerovaniu CSS</p>
<p class="bg-rose-100 border border-rose-400 text-rose-600">Paleta - kvoli pregenerovaniu CSS</p>
</div>

0 comments on commit 0a1c400

Please sign in to comment.