Skip to content

Commit

Permalink
#96 polish default colors in inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag committed Aug 6, 2024
1 parent d69276b commit 685caae
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const segmentColor = (color: string): string => {
case "artisan":
return "purple";
default:
return "gray";
return "slate";
}
};
Expand Down Expand Up @@ -164,7 +164,7 @@ const series = computed(() => {

<div
class="inspector-page-timeline__segment-time"
:class="[row.color]"
:class="row.color"
:style="{ width: row.widthPercent + '%' }"
></div>

Expand Down Expand Up @@ -204,7 +204,11 @@ const series = computed(() => {
}
.inspector-page-timeline__head-tip-box {
@apply bg-gray-600;
@apply w-4 h-4 rounded mr-2;
&.slate {
@apply bg-slate-600;
}
&.orange {
@apply bg-orange-600;
Expand All @@ -223,10 +227,6 @@ const series = computed(() => {
@apply text-xs font-bold;
}
.inspector-page-timeline__head-tip-box {
@apply w-4 h-4 rounded mr-2;
}
.inspector-page-timeline__body {
@apply overflow-x-scroll border border-gray-50 dark:border-gray-600;
}
Expand Down Expand Up @@ -277,9 +277,12 @@ const series = computed(() => {
.inspector-page-timeline__segment-time {
@apply flex-none;
@apply h-4 md:h-5 lg:h-6;
@apply bg-gray-600;
min-width: 0;
&.slate {
@apply bg-slate-600;
}
&.orange {
@apply bg-orange-600;
}
Expand Down

0 comments on commit 685caae

Please sign in to comment.