diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css
index 2e3f6e4b..05e46822 100644
--- a/assets/css/tailwind.css
+++ b/assets/css/tailwind.css
@@ -3,5 +3,5 @@
@tailwind utilities;
body {
- @apply dark:bg-gray-900 dark:text-gray-200 bg-gray-200 text-gray-900;
+ @apply bg-background-light text-content-light dark:bg-background-dark dark:text-content-dark;
}
diff --git a/components/inlineLink.vue b/components/inlineLink.vue
index 07c0fa5a..63000d89 100644
--- a/components/inlineLink.vue
+++ b/components/inlineLink.vue
@@ -1,5 +1,8 @@
-
+
diff --git a/layouts/default.vue b/layouts/default.vue
index 2f192fd3..749af22d 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -28,16 +28,16 @@ const themeConfig: ThemeConfig = {
},
light: {
common: {
- primaryColor: theme.colors.blue[600],
- primaryColorHover: theme.colors.blue[500],
- primaryColorPressed: theme.colors.blue[700],
+ primaryColor: theme.colors.green[500],
+ primaryColorHover: theme.colors.green[400],
+ primaryColorPressed: theme.colors.green[500],
},
},
dark: {
common: {
- primaryColor: theme.colors.blue[500],
- primaryColorHover: theme.colors.blue[400],
- primaryColorPressed: theme.colors.blue[600],
+ primaryColor: theme.colors.green[300],
+ primaryColorHover: theme.colors.green[400],
+ primaryColorPressed: theme.colors.green[500],
},
},
};
diff --git a/tailwind.config.ts b/tailwind.config.ts
index f982204c..c5700f18 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -1,8 +1,23 @@
import type { Config } from 'tailwindcss';
+import colors from 'tailwindcss/colors';
+
export default >{
theme: {
- extend: {},
+ extend: {
+ colors: {
+ primary: {
+ base: {
+ light: colors.green[500],
+ dark: colors.green[300],
+ },
+ highlight: { light: colors.green[400], dark: colors.green[400] },
+ action: { light: colors.green[500], dark: colors.green[500] },
+ },
+ background: { light: colors.gray[200], dark: colors.gray[900] },
+ content: { light: colors.gray[900], dark: colors.gray[200] },
+ },
+ },
},
darkMode: 'class',
};