mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 17:32:26 +00:00
Refactor hardcoded styles to use token constants
Replaces hardcoded breakpoint values in `VideoCard.js` and `tailwind.source.css` with token constants and valid CSS calculations. Updates the token linting script to enforce these rules by removing the previous allowlists for these files. This ensures that all UI elements are defined by the central styling system.
This commit is contained in:
1 parent
187d2252e5
commit
3cd0532972
4 files changed
+11
-21
No files matched your search
@@ -6,6 +6,8 @@ const FALLBACK_CONTEXT = Object.freeze({
|
||||
isNew: () => true,
|
||||
});
|
||||
|
||||
export const BREAKPOINT_LG = 1024;
|
||||
|
||||
export function getDesignSystemMode() {
|
||||
return NEW_MODE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user