• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CMU-313 / nodebb-spring-26-the-league / 22323000758

23 Feb 2026 08:12PM UTC coverage: 78.679% (-0.005%) from 78.684%
22323000758

push

github

connorcarpenter15
feat(colorscheme): switch custom skin to 7-field color model

- Replace 2-field (customPrimaryColor/customSecondaryColor) frontend
  with the 7-field backend model (customThemeColor_headerBg,
  headerText, bodyBg, bodyText, linkColor, buttonBg, buttonText)
- Add 7 color picker pairs to settings.tpl with reset button
- Rewrite applyCustomColors() to map each field to correct CSS
  targets (body bg/text via root vars, sidebar/brand via selectors)
- Update header.tpl FOUC prevention script to use 7-field model
- Target harmony theme elements (.sidebar-left, .sidebar-right,
  .brand-container) instead of non-existent .navbar
- Update api.js to pass all 7 fields to client config
- Remove unused customPrimaryColor/customSecondaryColor from backend
  settings.js and OpenAPI schemas
- Add translation keys to en-GB/user.json (was only in en-US)
- Fix no-bitwise lint warnings in shadeColor helper
- Fix indentation in render.js

11676 of 16687 branches covered (69.97%)

Branch coverage included in aggregate %.

4 of 6 new or added lines in 2 files covered. (66.67%)

25395 of 30430 relevant lines covered (83.45%)

1478.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.75
/src/controllers/api.js


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc