Commit Graph
8 Commits
Author SHA1 Message Date
James Cox 7b9830faf5 style(frontend): enforce shorthand-property-no-redundant-values in scss
- Stylelint:
  - re-enable `shorthand-property-no-redundant-values` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions intact
- SCSS:
  - collapse redundant shorthand values across frontend stylesheets without changing computed spacing or sizing
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox e46f87eb96 style(frontend): enforce media-feature-range-notation in scss
- Stylelint:
  - re-enable `media-feature-range-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions untouched
- SCSS:
  - convert parenthesized `min-` and `max-` media features to context range notation across frontend stylesheets without changing breakpoint values
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox ddcbb5b666 style(frontend): enforce color-function-notation in scss
- Stylelint:
  - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
  - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox 130463bc4b style(frontend): enforce color-function-alias-notation in scss
- Stylelint:
  - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox 6921da76ba style(frontend): enforce alpha-value-notation in scss
- Stylelint:
  - re-enable `alpha-value-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions disabled
- SCSS:
  - rewrite decimal alpha values to percentage notation across the frontend stylesheet tree without changing selector structure or layout behavior
- Validation:
  - `just ui stylelint`
2026-04-22 17:26:43 -04:00
James Cox dbd1f20357 style(frontend): resolve the remaining stylelint findings
Merge duplicate SCSS selectors that were only tripping stylelint, add a generic fallback for the PrimeIcons font usage, and relax the legacy Sass variable naming rule for the shared layout variables.

Validation:
- just ui stylelint
2026-04-22 17:26:42 -04:00
James Cox 34fc60050f style(frontend): apply the first stylelint autofix pass
- SCSS autofixes:
  - apply Stylelint's automatic fixes across the frontend stylesheet set without touching TypeScript or Angular templates
  - normalize zero values, shorthand properties, selector casing, and similar mechanical stylesheet rewrites
  - keep this pass limited to autofix output so the remaining manual stylelint findings stay isolated for later review
- Cleanup scope:
  - update component SCSS and shared layout styles only where Stylelint could rewrite them mechanically
  - leave the unresolved manual stylelint findings in place for a smaller follow-up pass

- Validation:
  - `just ui stylelint-fix` reduced the remaining stylelint count from 140 to 62 before stopping on non-fixable issues
2026-04-22 17:26:40 -04:00
James Cox 874b013f75 refactor(frontend): rename booklore-ui to frontend
- Frontend path:
  - rename the tracked Angular app tree from `booklore-ui/` to `frontend/`
  - preserve file contents during the move so this commit stays focused on the path change itself
- Frontend docs:
  - update the moved frontend README and contribution guide where they refer to the renamed folder
  - keep those edits limited to path references introduced by the directory rename
2026-04-22 17:26:39 -04:00