Skip to content

Commit 5ea661f

Browse files
committed
Dark research page
1 parent d13e6e4 commit 5ea661f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

apps/components_guide_web/lib/components_guide_web/controllers/research_controller.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ defmodule ComponentsGuideWeb.ResearchController do
4343
content_tag(
4444
:article,
4545
children,
46-
class: "mb-4 text-xl spacing-y-4 p-4 bg-blue-100 border border-blue-200 rounded shadow-lg"
46+
class: "mb-4 text-xl spacing-y-4 p-4 text-white bg-blue-900 border border-blue-700 rounded shadow-lg"
4747
)
4848
end
4949
end

apps/components_guide_web/lib/components_guide_web/templates/research/index.html.eex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
heading = "Research 🔍 specs and implementations"
33
heading = "Search across Can I Use, BundlePhobia, W3 & WhatWG specs"
44
%>
5-
<header class="text-black bg-white">
6-
<div class="bg-purple-100">
7-
<h2 class="mx-auto max-w-4xl py-4 text-2xl text-center italic leading-tight text-purple-600">
5+
<header class="text-white bg-gray-900">
6+
<div class="bg-indigo-900">
7+
<h2 class="mx-auto max-w-4xl py-4 text-2xl text-center italic leading-tight text-indigo-100">
88
<%= heading %>
99
</h2>
1010
</div>
@@ -14,7 +14,10 @@
1414
</form>
1515
<dl
1616
class="text-xl grid gap-2 items-center pt-4 px-6"
17-
style="grid-template-columns: auto 1fr; --link-color: #1c64f2; --hover\:link-decoration: underline;"
17+
style="
18+
grid-template-columns: auto 1fr;
19+
--link-color: #76a9fa;
20+
--hover\:link-decoration: underline;"
1821
>
1922
<dt>HTML & Roles</dt>
2023
<dd>
@@ -49,7 +52,7 @@
4952
</section>
5053
</header>
5154

52-
<div class="bg-white py-8">
55+
<div class="text-white bg-gray-900 py-8">
5356
<div class="container">
5457
<div class="px-6">
5558
<%= @results %>

0 commit comments

Comments
 (0)