Commit 93c1715
Changed files (3)
src
components
src/components/misc/CategoryBar.astro
@@ -16,7 +16,7 @@ const { categories, currentCategory } = Astro.props;
<a
href={`/`}
class:list={[
- 'btn btn-ghost h-8 min-h-8 rounded-md px-3 py-0',
+ 'btn btn-ghost btn-primary h-8 min-h-8 rounded-md px-3 py-0',
currentCategory ? '' : 'btn-active',
]}
>
@@ -27,7 +27,7 @@ const { categories, currentCategory } = Astro.props;
<a
href={getCategoryUrl(category)}
class:list={[
- 'btn btn-ghost h-8 min-h-8 rounded-md px-3 py-0',
+ 'btn btn-ghost btn-primary h-8 min-h-8 rounded-md px-3 py-0',
currentCategory === category ? 'btn-active' : '',
]}
>
src/components/widgets/Pagination.astro
@@ -46,7 +46,7 @@ else {
<div id="pagination" class="flex w-full">
{
current > 1 && (
- <Button id="prev-page-btn" class="mr-auto rounded-xl" href={getPageUrl(current - 1)}>
+ <Button id="prev-page-btn" class="btn-secondary mr-auto" href={getPageUrl(current - 1)}>
<Icon name="material-symbols:keyboard-double-arrow-left-rounded" class="my-1" />
</Button>
)
@@ -58,7 +58,7 @@ else {
return (
<Button
class:list={[
- 'join-item',
+ 'join-item btn-secondary',
current === p.page && 'btn-active',
p.page === -1 && 'btn-disabled',
]}
@@ -94,7 +94,7 @@ else {
</div>
{
current < total && (
- <Button id="next-page-btn" class="ml-auto rounded-xl" href={getPageUrl(current + 1)}>
+ <Button id="next-page-btn" class="btn-secondary ml-auto" href={getPageUrl(current + 1)}>
<Icon name="material-symbols:keyboard-double-arrow-right-rounded" class="my-1" />
</Button>
)