Skip to content

Commit

Permalink
fix minor dark issue
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder committed Mar 6, 2024
1 parent 45ff960 commit 47f0fac
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion content/helix/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Introduction to Helix
linkTitle: Documentation
linkTitle: Helix Documentation
cascade:
type: docs
next: /helix/getting-started
Expand Down
1 change: 0 additions & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module:
hugoVersion:
extended: true
min: "0.112.0"

imports:
- path: github.com/imfing/hextra
mounts:
Expand Down
10 changes: 10 additions & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"h3",
"h4",
"head",
"hr",
"html",
"iframe",
"img",
Expand Down Expand Up @@ -134,6 +135,9 @@
"contrast-more:underline",
"copy-icon",
"cursor-pointer",
"dark:[&_.cl]:text-gray-100",
"dark:[&_.highlight]:bg-gray-900",
"dark:[&_.highlight]:rounded-xl",
"dark:before:bg-neutral-800",
"dark:bg-black/60",
"dark:bg-dark",
Expand Down Expand Up @@ -168,16 +172,19 @@
"dark:text-gray-100",
"dark:text-gray-300",
"dark:text-gray-400",
"dark:text-gray-900",
"dark:text-neutral-200",
"dark:text-neutral-400",
"dark:text-primary-600",
"dark:text-slate-100",
"duration-200",
"duration-75",
"first:mt-0",
"fixed",
"flex",
"flex-auto",
"flex-col",
"flexjustify-center",
"flow-root",
"focus:bg-white",
"font-bold",
Expand All @@ -204,6 +211,7 @@
"group/code",
"group/copybtn",
"grow",
"h-0",
"h-16",
"h-3.5",
"h-4",
Expand Down Expand Up @@ -291,6 +299,7 @@
"max-w-md",
"max-w-screen-xl",
"max-w-xl",
"max-xl:hidden",
"mb-2",
"mb-4",
"mb-8",
Expand Down Expand Up @@ -448,6 +457,7 @@
"text-left",
"text-lg",
"text-primary-800",
"text-slate-900",
"text-sm",
"text-xs",
"theme-toggle",
Expand Down
12 changes: 7 additions & 5 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{{ define "main" }}
<div class=''>
<article
class="w-full break-words flex min-h-[calc(100vh-var(--navbar-height))] min-w-0 justify-center pb-8 pr-[calc(env(safe-area-inset-right)-1.5rem)]">
<main class="w-full min-w-0 pt-4 ">
{{ .Content }}
<div class='mx-auto flex'>
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true) }}
<article class="w-full break-words flex justify-center">
<main class="w-full pt-4">
<div class="content">
{{ .Content }}
</div>
</main>
</article>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/index/cta-left.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="mx-auto max-w-md text-center lg:mx-0 lg:flex-auto lg:py-32 lg:text-left">
<h2 class="text-5xl mb-2 text-gray-900">
<h2 class="text-5xl mb-2 text-gray-900 not-prose">
{{ .Get "title" | default .Page.Title }}
</h2>
<div class="prose">
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/index/cta-right.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="mx-auto max-w-md text-center lg:mx-0 lg:flex-auto lg:py-32 lg:text-left">
<h2 class="text-3xl mb-2 text-gray-900">
<h2 class="text-3xl mb-2 text-gray-900 not-prose">
{{ .Get "title" | default .Page.Title }}
</h2>
<div class="prose [&_.highlight]:bg-gray-900 [&_.highlight]:rounded-xl [&_.cl]:text-gray-100">
Expand Down

0 comments on commit 47f0fac

Please sign in to comment.