mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-15 11:11:51 +00:00
Replace --ui-scale inline style on the <html> element with font-size set to UI scale * 10px and modify SCSS D(...) mixin to use the rem unit instead of multiplying by var(--ui-scale). This makes it possible to get rid of mixin hell and makes following UI scale in external stylesheets (mods) much easier. |
||
|---|---|---|
| .. | ||
| core | ||
| game | ||
| mods | ||
| platform | ||
| profile | ||
| savegame | ||
| states | ||
| webworkers | ||
| application.js | ||
| changelog.js | ||
| globals.d.ts | ||
| jsx-runtime.ts | ||
| languages.ts | ||
| main.js | ||
| translations.js | ||