Adjusting Tailwind config

This commit is contained in:
Yağızhan 2023-01-07 13:44:03 +03:00
parent de5069d79e
commit 5670529b11
4 changed files with 14 additions and 4 deletions

View file

@ -20,4 +20,4 @@
"require-dev": {
"phpstan/phpstan": "^1.9"
}
}
}

View file

@ -1195,6 +1195,11 @@ video {
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
.hover\:text-blue-400:hover {
--tw-text-opacity: 1;
color: rgb(96 165 250 / var(--tw-text-opacity));
}
.focus\:outline-none:focus {
outline: 2px solid transparent;
outline-offset: 2px;
@ -1266,6 +1271,11 @@ video {
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.dark\:hover\:text-blue-500:hover {
--tw-text-opacity: 1;
color: rgb(59 130 246 / var(--tw-text-opacity));
}
.dark\:hover\:text-white:hover {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));

View file

@ -44,7 +44,7 @@
<footer class="text-center text-lg-start">
<div class="text-center p-3 bg-gray-100 dark:bg-zinc-900">
Powered by
<a href="https://github.com/BelleNottelling/AntCMS/" class="text-blue-500 dark:text-blue-400">AntCMS</a>
<a href="https://github.com/BelleNottelling/AntCMS/" class="text-blue-500 dark:text-blue-400 hover:text-blue-400 dark:hover:text-blue-500">AntCMS</a>
<!--AntCMS-Debug-->
</div>
</footer>

View file

@ -1,10 +1,10 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/Theme/Default/Templates/*.{html,js}", "./src/AntCMS/*.php"], // Including the PHP files because some of the components are generated from PHP files
content: ["./src/Themes/Tailwind/*.{html,js}", "./src/AntCMS/*.php"], // Including the PHP files because some of the components are generated from PHP files
theme: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
],
}
}