Skip to content

Commit

Permalink
fix: color contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhJae committed Dec 13, 2024
1 parent 21c718c commit e22eb90
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
4 changes: 3 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<!-- Google Font -->
<Html :lang="head.htmlAttrs.lang" :dir="head.htmlAttrs.dir">
<NuxtLoadingIndicator :color="isDark ? '#C2C8EC' : '#2F45C7'" />
<ClientOnly>
<NuxtLoadingIndicator :color="isDark ? '#C2C8EC' : '#2F45C7'" />
</ClientOnly>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
Expand Down
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ provide("files", files);
@click="toggleContentSearch"
></UButton>
<UContentSearchButton
class="hidden w-full md:flex md:max-w-48 lg:max-w-56"
class="hidden w-full md:flex md:max-w-48 lg:max-w-56 text-zinc-600 dark:text-zinc-300"
size="sm"
:label="t('search.placeholder')"
/>
Expand Down
22 changes: 11 additions & 11 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ export default <Partial<Config>>{
extend: {
colors: {
blueScriptBlue: {
50: "#E6E8F5",
100: "#C2C8EC",
200: "#9DA7E2",
300: "#7986D9",
400: "#5466D0",
500: "#2F45C7",
600: "#192B77", // Base color
700: "#141F5C",
800: "#0F1542",
900: "#0A0A27",
950: "#050513",
"50": "#ebf5ff",
"100": "#daecff",
"200": "#bddbff",
"300": "#95c1ff",
"400": "#6b9cff",
"500": "#4876ff",
"600": "#284dff",
"700": "#1d3ce5",
"800": "#1a34b9",
"900": "#192b77", // Base
"950": "#121d54",
},
},
gridTemplateColumns: {
Expand Down

0 comments on commit e22eb90

Please sign in to comment.