diff --git a/app/javascript/dashboard/assets/scss/widgets/_tabs.scss b/app/javascript/dashboard/assets/scss/widgets/_tabs.scss index b9999fac9..3ef0e59b7 100644 --- a/app/javascript/dashboard/assets/scss/widgets/_tabs.scss +++ b/app/javascript/dashboard/assets/scss/widgets/_tabs.scss @@ -3,7 +3,7 @@ } .tabs--container--with-border { - @apply border-b border-slate-50 dark:border-slate-800/50; + @apply border-b border-n-weak; } .tabs { @@ -19,22 +19,12 @@ @apply items-center rounded-none cursor-pointer flex h-auto justify-center min-w-[2rem]; } -// Tab chat type -.tab--chat-type { - @apply flex; - - .tabs-title { - a { - @apply text-base font-medium py-3; - } - } -} .tabs-title { @apply flex-shrink-0 my-0 mx-2; .badge { - @apply bg-slate-50 dark:bg-slate-800 rounded-md text-slate-600 dark:text-slate-100 h-5 flex items-center justify-center text-xxs font-semibold my-0 mx-1 px-1 py-0; + @apply bg-n-slate-3 rounded-xl text-n-slate-11 h-5 flex items-center justify-center text-xxs font-semibold my-0 mx-1 px-1 py-0; } &:first-child { @@ -48,22 +38,22 @@ &:hover, &:focus { a { - @apply text-slate-800 dark:text-slate-100; + @apply text-n-slate-11; } } a { - @apply flex items-center flex-row border-b py-2.5 select-none cursor-pointer border-transparent text-slate-500 dark:text-slate-200 text-sm top-[1px] relative; + @apply flex items-center flex-row border-b py-2.5 select-none cursor-pointer border-transparent text-n-slate-10 text-sm top-[1px] relative; transition: border-color 0.15s $swift-ease-out-function; } &.is-active { a { - @apply border-b border-woot-500 text-woot-500 dark:text-woot-500; + @apply border-b border-n-brand text-n-brand; } .badge { - @apply bg-woot-50 dark:bg-woot-500 text-woot-500 dark:text-woot-50 dark:bg-opacity-40; + @apply bg-n-slate-3 text-n-brand; } } } diff --git a/app/javascript/dashboard/components/widgets/BackButton.vue b/app/javascript/dashboard/components/widgets/BackButton.vue index 5051b2599..ae41cbc2f 100644 --- a/app/javascript/dashboard/components/widgets/BackButton.vue +++ b/app/javascript/dashboard/components/widgets/BackButton.vue @@ -23,14 +23,12 @@ const goBack = () => { } }; -const buttonStyleClass = props.compact - ? 'text-sm text-slate-600 dark:text-slate-300' - : 'text-base text-woot-500 dark:text-woot-500'; +const buttonStyleClass = props.compact ? 'text-sm' : 'text-base';