feat: rename theme-color-dark to theme-color-emphasis

This commit is contained in:
DIYgod 2022-10-06 02:52:41 +01:00
parent 32c7a9c867
commit e85e6879a5
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
5 changed files with 5 additions and 4 deletions

View File

@ -83,7 +83,7 @@
}
.prose a {
@apply text-accent-dark;
@apply text-accent-emphasis;
@apply hover:underline;
}

View File

@ -75,7 +75,7 @@ a {
}
.button.is-primary {
--shadow-color-button: var(--theme-color-dark);
--shadow-color-button: var(--theme-color-emphasis);
@apply text-white;
@apply fill-accent;
@apply bg-accent;

View File

@ -4,6 +4,7 @@
--shadow-color-button: theme("colors.gray.300");
--theme-color: theme("colors.indigo.600");
--theme-color-dark: theme("colors.indigo.700");
--theme-color-emphasis: var(--theme-color-dark);
--header-height: auto;
--header-bg-color: #fff;
/* Accent color for form controls */

View File

@ -65,7 +65,7 @@ export default function SettingsDomainsPage() {
</p>
<p>
<span className="bg-zinc-200 rounded-lg px-2">
--theme-color-dark: #4338ca;
--theme-color-emphasis: #4338ca;
</span>
</p>
<p>

View File

@ -11,7 +11,7 @@ module.exports = {
colors: {
border: "var(--border-color)",
accent: "var(--theme-color)",
"accent-dark": "var(--theme-color-dark)",
"accent-emphasis": "var(--theme-color-emphasis)",
},
spacing: {
sidebar: `240px`,