Skip to content

Commit 83fdd7b

Browse files
committed
Updates a lot of the article font sizes to be 16px instead of 14px
1 parent 7acfcd5 commit 83fdd7b

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

assets/css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333

3434
.prose p, .prose ol, .prose ul {
35-
@apply text-sm;
35+
@apply text-base;
3636
}
3737

3838
.prose pre {

layouts/commands/list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h1>Commands</h1>
124124
<div id="commands-grid" class="flex flex-col md:grid grid-cols-[repeat(auto-fit,minmax(18rem,1fr))] gap-4 text-redis-ink-900 mx-auto">
125125
{{ range $index, $page := $pages }}
126126
<article
127-
class="flex flex-col gap-2 transition relative h-full py-4 text-sm text-redis-ink-900 hover:text-red-900 focus-within:text-red-900 bg-white hover:bg-red-50/50 focus-within:bg-red-50/50 border border-redis-pen-800 focus-within:ring-red-200 focus-within:ring-[3px] focus-within:outline-none bg-clip-padding rounded-md group"
127+
class="flex flex-col gap-2 transition relative h-full py-4 text-base text-redis-ink-900 hover:text-red-900 focus-within:text-red-900 bg-white hover:bg-red-50/50 focus-within:bg-red-50/50 border border-redis-pen-800 focus-within:ring-red-200 focus-within:ring-[3px] focus-within:outline-none bg-clip-padding rounded-md group"
128128
data-name="{{ .Title }}"
129129
data-group="{{ .Params.group }}"
130130
data-version
@@ -137,7 +137,7 @@ <h1 class="truncate font-mono font-medium text-lg mb-1.5 px-6">
137137
{{ .Params.summary }}
138138
</p>
139139
<div class="grow"></div>
140-
<div class="text-xs font-mono group-hover:underline px-6">Learn more →</div>
140+
<div class="text-sm font-mono group-hover:underline px-6">Learn more →</div>
141141
<a class="absolute inset-0 outline-0" href="{{ .RelPermalink }}">
142142
<span class="sr-only">Read more</span>
143143
</a>

layouts/integrate/list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ <h1>{{ .Title }}</h1>
7070
<h1 class="text-xl leading-tight px-6 py-4">
7171
{{ .Title }}
7272
</h1>
73-
<p class="text-sm px-6">
73+
<p class="text-base px-6">
7474
{{ .Params.summary }}
7575
</p>
7676
<div class="grow"></div>
77-
<div class="text-xs font-mono group-hover:underline px-6 pb-4">Learn more →</div>
77+
<div class="text-sm font-mono group-hover:underline px-6 pb-4">Learn more →</div>
7878
<a class="absolute inset-0 outline-0" href="{{ .RelPermalink }}">
7979
<span class="sr-only">Read more</span>
8080
</a>

layouts/partials/components/alert.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="alert p-3 relative flex flex-row items-center text-sm bg-redis-pencil-200 rounded-md">
1+
<div class="alert p-3 relative flex flex-row items-center text-base bg-redis-pencil-200 rounded-md">
22
<div class="p-2 pr-5">{{ partial "icons/alert-circle.html" }}</div>
33
<div class="p-1 pl-6 border-l border-l-redis-ink-900 border-opacity-50">
44
{{ with .Title }}

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = {
7171
},
7272
code: {
7373
fontWeight: '500',
74+
fontSize: '1em',
7475
},
7576
pre: {
7677
padding: '1.25rem',

0 commit comments

Comments
 (0)