Skip to content

Commit fab693e

Browse files
committed
Lighter gray
1 parent f7d0e68 commit fab693e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/Elastic.Markdown/Assets/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,4 @@ keepNavState(pagesNav);
8383
keepNavPosition(pagesNav);
8484
pagesNav.style.opacity = '1';
8585
scrollCurrentNaviItemIntoView(pagesNav, 100);
86+
// $('.current a', pagesNav).focus();

src/Elastic.Markdown/Assets/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
left: -1px;
4949
width: calc(var(--spacing) * 6);
5050
height: 1px;
51-
background-color: var(--color-gray-300);
51+
background-color: var(--color-gray-200);
5252
}
5353
}

src/Elastic.Markdown/Slices/Layout/_TocTreeNav.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
var f = file.File;
1111
var isCurrent = f == Model.CurrentDocument;
12-
<li class="block ml-2 pl-2 w-full border-l-1 group @(isCurrent ? "current border-l-gray-300" : "border-l-gray-300")">
12+
<li class="block ml-2 pl-2 w-full border-l-1 group @(isCurrent ? "current border-l-gray-200" : "border-l-gray-200")">
1313
<div class="flex">
1414
<div class="w-5">
1515
</div>
@@ -29,7 +29,7 @@
2929
const int initialExpandLevel = 1;
3030
var containsCurrent = g.HoldsCurrent(Model.CurrentDocument) || g.ContainsCurrentPage(Model.CurrentDocument);
3131
var shouldInitiallyExpand = containsCurrent || g.Depth <= initialExpandLevel;
32-
<li class="flex flex-wrap ml-2 pl-2 @(g.Depth > 1 ? "border-l-1 border-l-gray-300" : string.Empty)">
32+
<li class="flex flex-wrap ml-2 pl-2 @(g.Depth > 1 ? "border-l-1 border-l-gray-200" : string.Empty)">
3333
<label for="@slug" class="peer group flex items-center mr-1">
3434
<svg
3535
xmlns="http://www.w3.org/2000/svg"

0 commit comments

Comments
 (0)