refactor: extract constants into consts.ts, add prettier tailwind plugin for class sorting

This commit is contained in:
DuroCodes
2024-05-13 20:03:29 -04:00
parent fdf1d78c92
commit f581fb260d
15 changed files with 42 additions and 27 deletions

View File

@@ -34,7 +34,7 @@ const authors = new Intl.ListFormat("en", {
<Modal button="View" icon="right-arrow" title={`${name} by ${authors}`}>
{
deprecated && (
<div class="mb-4 p-2 rounded-md bg-[var(--sl-color-orange-low)] border border-[var(--sl-color-orange)] text-gray-900 dark:text-white">
<div class="mb-4 rounded-md border border-[var(--sl-color-orange)] bg-[var(--sl-color-orange-low)] p-2 text-gray-900 dark:text-white">
This plugin is deprecated and should not be used in new projects.
</div>
)