Open Bug 2032237 Opened 3 months ago Updated 1 month ago

[meta] Add all Nova icons to the codebase

Categories

(Firefox :: Theme, task)

task

Tracking

()

People

(Reporter: sthompson, Assigned: sthompson)

References

(Depends on 7 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

Add the new icons to a new location in the codebase so that the existing icons can still be used without any changes. The new icons should be opt-in based on the Nova pref. The new icons should all adhere to the canonical Acorn name, e.g. checkmark-circle-fill-16, camera-16, audio-muted-12.

  • toolkit/themes/shared/icons/nova for more broadly used icons
  • browser/themes/shared/icons/nova for Firefox-specific icons

For component-specific icons under browser/themes/* (notification-icons, privatebrowsing, tabbrowser, controlcenter, preferences), consider placing the new Nova icons next to the existing icon files instead of shared/icons/

The New Tab team will need its own copies of updated icons.

Based on the current estimate that 174 SVGs in the codebase need updated assets and their total file size is 176 KB, the updated assets would add an additional 176 KB to the Firefox install size until the pre-Nova icons are deleted.

This bug will be complete once all of the updated icons are landed.

Depends on: 2032240
Depends on: 2032244
Depends on: 2032253
Depends on: 2032254
Depends on: 2032256
Depends on: 2032258

(In reply to Stephen Thompson [:sthompson] from comment #0)

Add the new icons to a new location in the codebase so that the existing icons can still be used without any changes. The new icons should be opt-in based on the Nova pref. The new icons should all adhere to the canonical Acorn name, e.g. checkmark-circle-fill-16, camera-16, audio-muted-12.

Just to note our convention has been to omit the size suffix if it is the default, e.g. checkmark-circle-fill-16 > checkmark-circle-fill.svg.

Thank you for the reminder. I'd like to reconsider that convention. For the vast majority of icons, the asset is intended to be used at a specific pixel size. I think it would be useful for icon users to have that explicit signal in the icon asset name without having to understand a naming convention.

Assignee: nobody → sthompson
Depends on: 2041513
Depends on: 2041515
Depends on: 2041517
Depends on: 2041521
Depends on: 2041523
Depends on: 2041529
Depends on: 2041530
Depends on: 2043461
Depends on: 2045945
Depends on: 2046132
Depends on: 2046864
Depends on: 2047229
Depends on: 2047278
Depends on: 2048189
Depends on: 2048354
You need to log in before you can comment on or make changes to this bug.