diff --git a/app/components/button.hbs b/app/components/button.hbs index f3d820f..aa56a3f 100644 --- a/app/components/button.hbs +++ b/app/components/button.hbs @@ -3,7 +3,7 @@ (hash primary='text-white bg-primary' default='text-white bg-gray' - outline='text-gray border-gray' + outline='text-gray' ) (hash small='px-2.5 py-1.5 text-sm' default='px-3 py-2 leading-4 text-sm' diff --git a/app/components/input-text.hbs b/app/components/input-text.hbs index 827c42f..21acac8 100644 --- a/app/components/input-text.hbs +++ b/app/components/input-text.hbs @@ -4,7 +4,7 @@ {{@label}} {{/if}} -
+
{{#if @prefixIcon}} <@prefixIcon class="h-8 w-8 pl-2" /> {{/if}} diff --git a/app/components/input-textarea.hbs b/app/components/input-textarea.hbs index 22206c4..484621f 100644 --- a/app/components/input-textarea.hbs +++ b/app/components/input-textarea.hbs @@ -4,7 +4,7 @@ {{@label}} {{/if}} -
+
{{#if @prefixIcon}} <@prefixIcon class="h-8 w-8 pl-2" /> {{/if}} diff --git a/app/components/tab.hbs b/app/components/tab.hbs index 4297344..1fb3370 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-gray 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-b-2 -px-1 whitespace-nowrap focus:outline-none" > {{#if @icon}} <@icon class="mr-2" /> diff --git a/app/styles/app.css b/app/styles/app.css index 71287d4..7a80a83 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -4,13 +4,13 @@ @import 'ember-basic-dropdown'; .royal-table { - @apply table-auto border border-gray text-left mb-4; + @apply table-auto border text-left mb-4; thead { @apply bg-light; tr { - @apply border-b border-gray; + @apply border-b; th { @apply px-4 py-4 text-dark font-normal whitespace-nowrap; diff --git a/app/templates/admin.hbs b/app/templates/admin.hbs index 675785f..7f739c3 100644 --- a/app/templates/admin.hbs +++ b/app/templates/admin.hbs @@ -1,22 +1,23 @@
-
-

+
+

MeiliSearch MeiliSearch Admin

-
+
-
+
v{{@model.version.pkgVersion}} {{#if (eq @model.health.status "available")}} diff --git a/app/templates/admin/indexes/item/settings.hbs b/app/templates/admin/indexes/item/settings.hbs index 84fb250..e5ee8f3 100644 --- a/app/templates/admin/indexes/item/settings.hbs +++ b/app/templates/admin/indexes/item/settings.hbs @@ -125,7 +125,7 @@ TODO: refactoting
{{#each @model.settings.rankingRules as |item|}}
diff --git a/config/tailwind.config.js b/config/tailwind.config.js index 4838981..d605cf4 100644 --- a/config/tailwind.config.js +++ b/config/tailwind.config.js @@ -15,9 +15,10 @@ const dark = '#1E1E1E'; module.exports = { content: ['./app/**/*.html', './app/**/*.hbs'], - darkMode: false, // or 'media' or 'class' + darkMode: 'media', theme: { extend: { + borderColor: (theme) => theme('colors.gray.light'), colors: { light, // gray, @@ -28,10 +29,18 @@ module.exports = { DEFAULT: colors.pink['500'], dark: colors.pink['800'], }, + // gray: { + // light: colors.gray['100'], + // DEFAULT: colors.gray['500'], + // dark: colors.gray['800'], + // }, gray: { - light: colors.gray['100'], - DEFAULT: colors.gray['500'], - dark: colors.gray['800'], + light: '#e5eaef', + DEFAULT: '#A1A6B0', + dark: '#676d7c', + }, + black: { + DEFAULT: '#222228', }, yellow: { light: colors.yellow['100'], @@ -45,7 +54,7 @@ module.exports = { }, }, }, - // borderColor: gray, + // emberPowerSelect: (theme) => ({ // default: { // trigger: {