0
Remove the legacy `icon-*` classes (`icons.css`)
Source: nextcloud/server#67413 · opened by @skjnldsv
build/icons.mjs generates dist/icons.css (305 KB, loaded on every page) with icon-* classes that only switch between black and white. They've been deprecated since 25. The plan is to stop using them in server, deprecate the APIs that hand them out, then delete the file once apps had a release to migrate. Icons drawn as inline SVG or masks with currentColor replace them. Related: nextcloud/standards#16 (long term icon system), #45579 (mime icon theming). Server usages • Comments, update notification, user status, weather status, auth tokens, template picker, legacy unified search: #65537 • Workflow engine: #65536 • Settings: #67411 • Core SCSS: #67412 • Error and guest page templates: #67410 • Unified search providers (needs the Android client to accept icon URLs first) • Files sharing (together with its Vue 3 migration) Public APIs • Deprecate IWidget::getIconClass(), menu action icon classes, collaboration typeIconClass, workflo…
No pledges yet. Be the first to back this.
Comments
Similar requests
Deprecate the legacy app layout styles in `core/css/apps.scss`
0 votes · 0 comments
[stable25] New theming, how to make your app compatible
2 votes · 0 comments
Some share recipient type icons missing
1 vote · 0 comments
Improve contrast of app icons
0 votes · 0 comments
[NC 20+] Legacy encryption - mitigation and documentation thereof
23 votes · 0 comments
No comments yet.