Skip to content

Commit

Permalink
Update spacing and coloring for main layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rossta committed Dec 29, 2023
1 parent 7ad1016 commit ed22220
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/helpers/css_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def footer_classes(*additional_classes)
@footer_classes ||= %w[
antialiased
bg-theme-bg
mt-96
mt-32
print:hidden
]

Expand Down
1 change: 1 addition & 0 deletions app/javascript/css/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
@import './components.css';

html {
@apply bg-theme-bg;
height: 100%;
}
4 changes: 2 additions & 2 deletions app/javascript/css/themes/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
--theme-header-2: var(--violet-11);
--theme-header-3: var(--violet-10);
--theme-header-4: var(--violet-9);
--theme-header-5: var(--violet-8);
--theme-header-6: var(--violet-7);
--theme-header-5: var(--violet-9);
--theme-header-6: var(--violet-9);
}

.dark[data-joy-theme='dracula'] {
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<main
class="
w-full flex flex-col flex-grow
mx-auto mb-16 min-h-[32vh]
mx-auto min-h-[50vh]
"
>
<%= yield %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/newsletter/_banner.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="newsletter-banner">
<h3 class="font-semibold font-2xl text-theme-header-3 mb-2">The Joy of Rails Newsletter:
<div class="newsletter-banner my-32">
<h3 class="font-semibold text-theme-header-3 mb-2 text-2xl">The Joy of Rails Newsletter:
<span class="text-theme-header-5 mb-2">A spark of joy for your inbox</span>
</h3>
<p class="mb-4">I'll notify you when I post new content about Ruby on Rails. No spam.
Expand Down

0 comments on commit ed22220

Please sign in to comment.