refactor: improve semantic by replacing decorative hr with borders (#597)

Replace decorative usage of Hr component with borders to improve
semantic.

- remove Hr component
- replace decorative hr elements with borders
- introduce app-layout utility class
- update layout and spacing
- update docs about border css custom property
This commit is contained in:
Sat Naing
2026-01-04 20:24:34 +07:00
committed by GitHub
parent 93d491b7f3
commit ceb406314b
14 changed files with 161 additions and 180 deletions
+4 -4
View File
@@ -48,16 +48,16 @@ html[data-theme="dark"] {
[role="button"]:not(:disabled) {
cursor: pointer;
}
section,
footer {
@apply mx-auto max-w-app px-4;
}
}
@utility max-w-app {
@apply max-w-3xl;
}
@utility app-layout {
@apply mx-auto w-full max-w-app px-4;
}
.active-nav {
@apply underline decoration-wavy decoration-2 underline-offset-4;
}