Skip to content

Commit

Permalink
refactor: cascating layer, base css settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanoku committed Feb 2, 2025
1 parent 843b09f commit 1361ceb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
---
import "modern-normalize";
import "../../packages/yama-normalize";
import { useTranslations } from "../i18n/util";
const t = useTranslations(Astro);
Expand Down
8 changes: 6 additions & 2 deletions src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@import 'tailwindcss/theme.css';
@import "tailwindcss/utilities.css";
@layer theme, base, components, utilities;

@import 'tailwindcss/theme.css' layer(theme);
@import 'modern-normalize' layer(base);
@import '../../packages/yama-normalize/yama-normalize.css' layer(base);
@import "tailwindcss/utilities.css" layer(utilities);

@theme {
--spacing-y-rhythm-1: var(--y-rhythm-1);
Expand Down

0 comments on commit 1361ceb

Please sign in to comment.