The cards and Expeditions sheets were a quarter of the CSS every visitor downloaded. cards-route.scss now bundles them with CardsPage; only the menu icon stays in main.scss. The sheets that followed them in main.scss (checklist, NDS attributes, responsive) are re-emitted after them so equal-specificity rules keep the same winner: the common sheet without them plus the route sheet rebuilds the previous CSS byte for byte, and a test keeps the list in step with main.scss. Common CSS goes from 94 243 to 69 413 bytes gzip and its budget from 100 000 to 75 000. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
494 B
SCSS
20 lines
494 B
SCSS
// Rôle : point d'entrée Sass qui assemble les modules de style.
|
|
@use "tokens";
|
|
@use "nebula";
|
|
@use "base";
|
|
@use "shell";
|
|
@use "home";
|
|
@use "cards";
|
|
@use "components";
|
|
@use "icons";
|
|
@use "games";
|
|
@use "toolboxes";
|
|
@use "overlays";
|
|
@use "mhwilds";
|
|
@use "diablo4";
|
|
@use "aniimo";
|
|
// Sokko TCG et ses Expéditions se chargent avec leur route (cards-route.scss), à cette place dans la cascade.
|
|
@use "nebula-cards-nav";
|
|
@use "games/checklist";
|
|
@use "design-system/attributes";
|
|
@use "responsive";
|