add dark mode in BreadCrumb and PageHeader. (#1172)

This commit is contained in:
Yash Kanakiya
2023-03-25 16:50:44 +05:30
committed by GitHub
parent 80e2548b38
commit 43316dae28
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<nav>
<ol class="flex flex-wrap py-4 text-gray-900 rounded list-reset">
<ol class="flex flex-wrap py-4 text-gray-900 rounded list-reset dark:text-gray-400">
<slot />
</ol>
</nav>

View File

@ -8,7 +8,9 @@
font-medium
leading-5
text-gray-900
dark:text-gray-400
outline-none
dark:focus:ring-offset-gray-900
focus:ring-2 focus:ring-offset-2 focus:ring-primary-400
"
:to="to"

View File

@ -1,7 +1,7 @@
<template>
<div class="flex flex-wrap justify-between">
<div>
<h3 class="text-2xl font-bold text-left text-black">
<h3 class="text-2xl font-bold text-left text-black dark:text-white">
{{ title }}
</h3>
<slot />