FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests