diff --git a/app/components/button.hbs b/app/components/button.hbs
index 031bb19..b238443 100644
--- a/app/components/button.hbs
+++ b/app/components/button.hbs
@@ -8,7 +8,7 @@
py-2
cursor-pointer
border
- border-gray-300
+ border-gray
bg-white
{{if @group "first:rounded-l-md last:rounded-r-md" "rounded-md"}}
text-gray-700
diff --git a/app/components/input-text.hbs b/app/components/input-text.hbs
index 3ca88a7..d0afa55 100644
--- a/app/components/input-text.hbs
+++ b/app/components/input-text.hbs
@@ -2,11 +2,11 @@
{{#if @label}}
{{/if}}
-
+
{{#if @prefixIcon}}
{{/if}}
diff --git a/app/components/input-textarea.hbs b/app/components/input-textarea.hbs
index 74dd980..72be797 100644
--- a/app/components/input-textarea.hbs
+++ b/app/components/input-textarea.hbs
@@ -2,11 +2,11 @@
{{#if @label}}
{{/if}}
-
+
{{#if @prefixIcon}}
{{/if}}
diff --git a/app/components/menu-item.hbs b/app/components/menu-item.hbs
index 3e51c18..aec65cf 100644
--- a/app/components/menu-item.hbs
+++ b/app/components/menu-item.hbs
@@ -1,4 +1,4 @@
-
+
{{#if @icon}}
{{/if}}
diff --git a/app/components/tab.hbs b/app/components/tab.hbs
index 7321ea3..694d4d6 100644
--- a/app/components/tab.hbs
+++ b/app/components/tab.hbs
@@ -2,7 +2,7 @@
@route={{@route}}
@model={{@model}}
@activeClass="text-primary border-primary"
- class="flex items-center h-10 px-4 py-2 -mb-px text-center bg-transparent border-b-2 -px-1 whitespace-nowrap focus:outline-none"
+ class="flex items-center h-10 px-4 py-2 -mb-px text-center bg-transparent border-gray border-b-2 -px-1 whitespace-nowrap focus:outline-none"
>
{{#if @icon}}
diff --git a/app/styles/app.css b/app/styles/app.css
index f65e707..dbebc4d 100644
--- a/app/styles/app.css
+++ b/app/styles/app.css
@@ -8,13 +8,13 @@
}
.royal-table {
- @apply border border-light text-left mb-4;
+ @apply border border-gray text-left mb-4;
thead {
@apply bg-light;
tr {
- @apply border-b border-light;
+ @apply border-b border-gray;
th {
@apply px-4 py-4 text-dark font-normal whitespace-nowrap;
@@ -40,7 +40,7 @@
}
td {
- @apply px-4 py-2 text-dark;
+ @apply px-4 py-2 text-text;
}
}
}
diff --git a/app/templates/admin.hbs b/app/templates/admin.hbs
index fed9bac..004c982 100644
--- a/app/templates/admin.hbs
+++ b/app/templates/admin.hbs
@@ -1,5 +1,5 @@
-
+
MeiliSearch Admin
diff --git a/app/templates/admin/indexes/item/settings.hbs b/app/templates/admin/indexes/item/settings.hbs
index 801c536..50562bc 100644
--- a/app/templates/admin/indexes/item/settings.hbs
+++ b/app/templates/admin/indexes/item/settings.hbs
@@ -52,7 +52,7 @@
@overrideClass="sortObject"
@isSortable={{true}}
@sortingScope="a"
- class="flex items-center px-4 py-2 mb-2 border max-w-md"
+ class="flex items-center px-4 py-2 mb-2 border border-gray max-w-md"
@dragHandle=".md-icon"
>
diff --git a/config/tailwind.config.js b/config/tailwind.config.js
index 25cf5bc..aeab968 100644
--- a/config/tailwind.config.js
+++ b/config/tailwind.config.js
@@ -1,20 +1,35 @@
+const light = '#FAFAFA';
+// const gray = '#EEEDEF';
+// const dark = '#55585D';
+// const text = '#33373B';
+
+// const light = '#E5E7EB';
+// const secondary = '#374151';
+const gray = '#e1dfe2';
+const text = '#252526';
+const dark = '#1E1E1E';
+// const primary = '#2563EB';
+const primary = '#ff5caa';
+
module.exports = {
content: ['./app/**/*.html', './app/**/*.hbs'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
- light: '#E5E7EB',
- secondary: '#374151',
- dark: '#1F2937',
- primary: '#2563EB',
+ light,
+ gray,
+ dark,
+ text,
+ primary,
},
},
+ // borderColor: gray,
emberPowerSelect: (theme) => ({
default: {
trigger: {
borderRadius: theme('borderRadius.default'),
- borderColor: theme('borderColor.border'),
+ borderColor: theme('colors.gray'),
fontSize: theme('fontSize.base'),
padding: `${theme('spacing.2')} ${theme('spacing.10')} ${theme(
'spacing.2'
@@ -31,7 +46,7 @@ module.exports = {
dropdown: {
// color: config.textColor,
// backgroundColor: config.dropdownBackgroundColor,
- borderColor: theme('colors.border'),
+ borderColor: theme('colors.gray'),
// borderWidth: defaultTheme.borderWidth.default,
// borderRadius: config.dropdownBorderRadius,
boxShadow: theme('boxShadow.sm'),
@@ -103,7 +118,7 @@ module.exports = {
},
searchInput: {
borderRadius: theme('borderRadius.default'),
- borderColor: theme('borderColor.border'),
+ borderColor: theme('colors.gray'),
fontSize: theme('fontSize.base'),
padding: `${theme('spacing.2')} ${theme('spacing.3')}`,
minHeight: '42px',