1
0
mirror of https://github.com/avinal/box-box.git synced 2026-01-11 22:18:33 +05:30

update theme colors

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2025-02-03 15:02:41 +05:30
parent 3f17790897
commit 3dfab2630a
8 changed files with 11 additions and 12 deletions

View File

@@ -7,12 +7,13 @@
{{ partial "head.html" . }}
</head>
<body class="container mx-auto bg-gray-50 dark:bg-neutral-700">
<body class="container mx-auto bg-black">
<div
class="relative flex min-h-screen flex-col justify-center overflow-hidden py-8"
>
<div
class="relative w-full bg-white dark:bg-neutral-900 px-4 shadow-xl shadow-slate-700/10 ring-1 ring-gray-900/5 md:mx-auto md:max-w-3xl lg:max-w-4xl pb-4"
class="relative w-full bg-black px-4 shadow-xl shadow-slate-700/10 ring-1 ring-gray-900/5 md:mx-auto md:max-w-3xl lg:max-w-4xl pb-4"
>
<header class="mb-6">
{{ partial "header.html" . }}

View File

@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="relative overflow-auto ring-1 ring-black dark:ring-white my-4">
<div class="relative overflow-auto ring-1 ring-white my-4">
<div
class="prose prose-neutral dark:prose-invert lg:prose-lg md:mx-auto p-4"
class="prose prose-invert lg:prose-lg md:mx-auto p-4"
>
{{ .Content }}
</div>

View File

@@ -17,7 +17,7 @@
</a>
<div class="p-4 space-y-2 lg:col-span-5 ">
<a href="{{ .RelPermalink }}">
<h3 class="text-xl font-medium sm:text-3xl space-y-2 ">
<h3 class="text-2xl font-medium sm:text-3xl space-y-2 ">
{{ .LinkTitle }}
</h3>
<div class="inset-x-0 py-2">

View File

@@ -34,14 +34,11 @@
class="border border-black py-2 px-1 group-hover:bg-teal-400 dark:border-white dark:group-hover:text-black dark:group-hover:border-black"
>{{ .WordCount }} words
</span>
{{ if gt .ReadingTime 1 }}
{{ .Scratch.Set "timeUnit" "mins" }}
{{ else }}
{{ .Scratch.Set "timeUnit" "min" }}
{{ end }}
<span
class="border border-black py-2 px-1 group-hover:bg-pink-400 dark:border-white dark:group-hover:text-black dark:group-hover:border-black"
>~{{ .ReadingTime }}