Skip to content

Commit c939a68

Browse files
committed
Changes and tweaks
1 parent cd22090 commit c939a68

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

resources/views/docs/template.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@section('content')
44

55
@if($viewingOldDocs)
6-
<div class="p-3 bg-gray-50 mb-4 block rounded border-red-400 border-l-2">
6+
<div class="p-3 bg-gray-50 mb-4 block rounded dark:bg-slate-700 border-red-400 border-l-2">
77
<span>
88
@if ($page == 'themes' && $version != '5.x')
99
<b>Notice:</b> You're viewing an old version of the {{ config('app.name') }} documentation.<br>Consider upgrading your project to {{ config('app.name') }} <a href="{{ route('landing.docs', ['version' => $latestVersionOfNylo, 'page' => 'themes-and-styling']) }}">{{ $latestVersionOfNylo }}</a>.

resources/views/layouts/app-docs.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,23 +133,23 @@ class="mx-3 overflow-visible text-slate-400">
133133
</div>
134134
</div>
135135
<div class="overflow-hidden">
136-
<div class="max-w-8xl mx-auto bg-gray-50">
136+
<div class="max-w-8xl mx-auto bg-gray-50 dark:bg-slate-400/10">
137137
<div id="nav-controller"
138138
class="hidden lg:block fixed z-20 inset-0 top-[0rem] sm:top-[3.8125rem] left-[max(0px,calc(50%-45rem))] right-auto w-[19.5rem] pb-10 px-8 overflow-y-auto">
139139
<nav id="nav" class="lg:text-sm lg:leading-6 relative">
140140

141-
<div class="sticky top-0 -ml-0.5 pointer-events-none hidden sm:block">
142-
<div class="h-10 bg-gray-50 dark:bg-slate-900"></div>
141+
<div class="sticky top-0 -ml-0.5 pointer-events-none hidden sm:block ">
142+
<div class="h-10 bg-gray-50 dark:bg-[#1c2639]"></div>
143143

144-
<div class="h-8 bg-gradient-to-b from-gray-50 dark:from-slate-900"></div>
144+
<div class="h-8 bg-gradient-to-b from-gray-50 dark:from-slate-900 dark:hidden"></div>
145145
</div>
146146

147147
@include('docs.sidebar')
148148

149149
</nav>
150150
</div>
151151
<div class="lg:pl-[19.5rem]">
152-
<main class="max-w-4xl mx-auto relative z-20 pt-10 bg-white px-4 sm:px-0">
152+
<main class="max-w-4xl mx-auto relative z-20 pt-10 bg-white px-4 sm:px-0 dark:bg-slate-900">
153153
<div
154154
class="prose dark:prose-invert prose-blockquote:bg-slate-400/10 prose-blockquote:p-4 prose-blockquote:rounded-md prose-blockquote:shadow-sm self-center m-auto">
155155
@yield('content')

0 commit comments

Comments
 (0)