Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions app/assets/builds/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
'Noto Color Emoji';
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
--color-red-500: oklch(63.7% 0.237 25.331);
--color-red-600: oklch(57.7% 0.245 27.325);
--color-red-700: oklch(50.5% 0.213 27.518);
--color-amber-100: oklch(96.2% 0.059 95.617);
Expand Down Expand Up @@ -46,6 +45,7 @@
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
--color-satanam: #e63626;
}
}
@layer base {
Expand Down Expand Up @@ -200,6 +200,9 @@
.static {
position: static;
}
.mt-1 {
margin-top: calc(var(--spacing) * 1);
}
.mt-2 {
margin-top: calc(var(--spacing) * 2);
}
Expand Down Expand Up @@ -282,12 +285,12 @@
.bg-green-100 {
background-color: var(--color-green-100);
}
.bg-red-500 {
background-color: var(--color-red-500);
}
.bg-red-600 {
background-color: var(--color-red-600);
}
.bg-satanam {
background-color: var(--color-satanam);
}
.bg-white {
background-color: var(--color-white);
}
Expand Down
4 changes: 4 additions & 0 deletions app/assets/tailwind/application.css
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
@import "tailwindcss";

@theme {
--color-satanam: #e63626;
}
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= turbo_stream_from "counter" %>

<main class="flex flex-col items-center justify-center min-h-screen bg-red-500 p-8">
<main class="flex flex-col items-center justify-center min-h-screen bg-satanam p-8">
<div class="text-center mb-8">
<h1 class="text-5xl font-bold text-red-600 mb-2">Hello, World!</h1>
<p class="text-gray-500">Rails 8 Full Stack Demo</p>
Expand Down