Context
Change Type: Announcement
Product area: Application enablement & solutions
Component: Web SDK
Technical details
Build artifact: ui-c8y
Internal ID: MTM-67215
Description
The Cumulocity Web SDK styles in the @c8y/style package have been migrated from LESS to SCSS. As a follow-up, the redundant .less files will be removed from @c8y/style. This change is currently available in the Continuous Deployment (CD) version and will ship in an upcoming maintenance version of the 2026 release. The exact release version will be announced separately.
What changes?
All styling is now authored in SCSS. The .less files, LESS variables, and LESS mixins previously shipped in @c8y/style are being removed, and the package entry point moves from main.less to main.scss. The SCSS files provide the same variables, mixins, and compiled output.
Breaking change
Custom applications, plugins, or themes that import the removed .less files — or that override LESS variables and mixins — will no longer build after upgrading. The build will fail with a Module not found error for the removed paths.
Impact: Any UI customization that relies on the LESS styles is affected, including:
- Direct imports of
@c8y/style.lessfiles, for example@c8y/style/main.less,@c8y/style/branding.less, or@c8y/style/login.less. - Overrides of LESS variables or mixins imported from
@c8y/style/variables/index.lessand the related_brand-varsand_color-varsfiles. - Custom themes and branding built on the LESS variables.
Applications and plugins that already consume the SCSS styles are not affected.
Migration: Switch your imports and overrides to the SCSS equivalents:
- Replace each
.lessimport with the matching.scssfile, for example@c8y/style/main.scssand@c8y/style/branding.scss. - Import variables from
@c8y/style/variables/index.scssinstead of the.lessfile. - Update the import syntax from LESS
@import 'file.less'to SCSS@use 'file'or@forward 'file', and change LESS variable overrides from@variable-nameto$variable-name.
Detailed guidance on styling components and applications with SCSS will be added to the Web SDK Codex documentation when the release is published.