mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-02 17:03:56 +08:00
update 2026-10-31 01:37:59
This commit is contained in:
1 parent
a60cfc3dee
commit
00e269d429
218 files changed
+22189
-205
No files matched your search
@@ -18,6 +18,10 @@ Built CSS keeps Tailwind's native `@layer` structure. Theme partials (`_base.css
|
||||
|
||||
`@custom-variant dark` keyed on `[data-darkmode=true]`, set by an inline script in `header.ut` before paint (reads `localStorage['shadcn.theme']`) to avoid a flash of the wrong theme.
|
||||
|
||||
## Responsive breakpoints
|
||||
|
||||
Use Tailwind's standard breakpoint modifiers (primarily `max-md:` for mobile and `md:` for desktop/tablet) rather than ad-hoc raw media queries (e.g. `@media (max-width: 900px)`). This keeps the mobile/desktop layout boundary consistent across all components.
|
||||
|
||||
## Icons, two sources
|
||||
|
||||
- `.dev/src/assets/icons/` (Lucide SVGs) are referenced from CSS via the `@assets` alias as `mask-image`/`mask`, so they inherit `currentColor`.
|
||||
|
||||
Reference in new issue
Block a user