mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
fix: Use next-intl for improved locale support
This commit is contained in:
29
app/[locale]/globals.css
Normal file
29
app/[locale]/globals.css
Normal file
@@ -0,0 +1,29 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
color-scheme: dark;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (font: -apple-system-body) and (-webkit-appearance: none) {
|
||||
img[loading='lazy'] {
|
||||
clip-path: inset(0.6px);
|
||||
}
|
||||
}
|
||||
|
||||
a,
|
||||
input,
|
||||
button {
|
||||
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-400 focus-visible:ring-offset-2 focus-visible:ring-offset-neutral-50 dark:focus-visible:ring-neutral-600 dark:focus-visible:ring-offset-neutral-900;
|
||||
}
|
||||
|
||||
.font-multilingual {
|
||||
@apply font-serif;
|
||||
}
|
||||
|
||||
[lang='ja'] .font-multilingual {
|
||||
@apply font-japan;
|
||||
}
|
Reference in New Issue
Block a user