Skip to content

Commit 5799d52

Browse files
committed
retheme
1 parent 98ebea0 commit 5799d52

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed

.github/workflows/publish.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- name: Build emanote site 🔧
1313
run: |
14-
mkdir -p output
15-
docker run -v $PWD:/data sridca/emanote emanote --layers /data gen /data/output
14+
mkdir -p output.docker
15+
docker run -v $PWD:/data sridca/emanote emanote --layers /data gen /data/output.docker
16+
cp -r output.docker output # Ditch docker created root-owned files
17+
bash output/_emanote-bin/compile-css
1618
- name: Deploy to gh-pages 🚀
1719
uses: peaceiris/actions-gh-pages@v3
1820
with:

index.yaml

+2-2
Large diffs are not rendered by default.

templates/components/note-title.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1
2-
class="flex items-end justify-center mb-4 p-3 bg-${theme}-100 text-5xl font-extrabold text-black rounded">
2+
class="flex items-end justify-center mb-4 p-3 bg-${theme}-400 text-5xl font-extrabold text-black rounded">
33
<a class="z-40 tracking-tighter ">
44
<ema:note:title />
55
</a>
6-
</h1>
6+
</h1>

templates/components/sidebar-tree.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<else />
6363
<node:terminal>
6464
<else />
65-
<span class="text-gray-300" title="${tree:childrenCount} children inside">
65+
<span class="text-red-500" title="${tree:childrenCount} children inside">
6666
<tree:childrenCount />
6767
</span>
6868
</node:terminal>
@@ -77,4 +77,4 @@
7777
<apply template="sidebar-tree" />
7878
</children>
7979
</tree:open>
80-
</div>
80+
</div>

templates/layouts/book.tpl

+6-9
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
<apply template="components/breadcrumbs" />
66

7-
<div class="flex flex-nowrap bg-gray-50 md:mt-8 md:shadow-2xl md:mb-8">
7+
<div class="flex flex-nowrap bg-gray-50 md:mt-8 md:shadow-2xl md:mb-8 bg-{theme}-300">
88
<!-- Sidebar column -->
99
<nav id="sidebar"
10-
class="flex-shrink hidden leading-relaxed md:block md:sticky md:top-0 md:h-full md:w-48 xl:w-64">
11-
<div class="px-2 py-2 text-gray-800">
10+
class="flex-shrink hidden leading-relaxed md:block md:sticky md:top-0 md:h-full md:w-48 xl:w-64 ">
11+
<div class="px-2 py-2 text-black text-bold">
1212

1313
<div id="indexing-links" class="flex flex-row float-right p-2 space-x-2 text-gray-500">
1414
<a href="${ema:tagIndexUrl}" title="View tags">
@@ -36,17 +36,14 @@
3636
<with var="template">
3737
<!-- The style width attribute here is to prevent huge
3838
icon from displaying at those rare occasions when Tailwind
39-
hasn't kicked in immediately on page load
39+
hasn't kicked in immediately on page load
4040
-->
41-
<img style="width: 1rem;"
41+
<img style="width: 90rem;"
4242
class="transition transform hover:scale-110 hover:opacity-80"
4343
src="${value:iconUrl}" />
4444
</with>
4545
</ema:metadata>
4646
</a>
47-
<a class="font-bold truncate" title="Go to Home" href="">
48-
Home
49-
</a>
5047
</div>
5148
</div>
5249

@@ -70,4 +67,4 @@
7067
<apply template="components/footer" />
7168
</div>
7269
</bind>
73-
</apply>
70+
</apply>

0 commit comments

Comments
 (0)