Standardize SCSS to use variables.scss and px units

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-18 18:52:32 +00:00
parent 1a5d93140c
commit ee87bc6297
2 changed files with 322 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ class Responsive {
}
const styles = getComputedStyle(document.documentElement);
const value = styles.getPropertyValue(`--bp-${name}-min`).trim();
const value = styles.getPropertyValue(`--${name}`).trim();
const parsed = parseInt(value, 10);
this._cache[name] = parsed;