| briefcase.svg |
|
1515 |
- |
| cart.svg |
|
1605 |
- |
| chill.svg |
|
1875 |
- |
| circle.svg |
|
652 |
- |
| container-select.css |
stylelint-disable stylelint-plugin-mozilla/use-design-tokens --
the identity variables are per-container values defined in usercontext.css
and inherited from the host, so no design token matches them. |
839 |
- |
| container-select.mjs |
The attributes of the moz-option children a container-select expects, one
entry per container.
@returns {Array<Record<string, string>>}
|
4126 |
100 % |
| ContainerCreationPanel.mjs |
Shared entry point for the "Add new container" menu items. Shows a panel,
hosting the same editor as the about:preferences container dialog, anchored
to the URL-bar container indicator (revealing it temporarily when the
current tab has no container).
|
3336 |
91 % |
| ContainerEditor.mjs |
Renders the contextual identity (container) create/edit form and applies the
change to the ContextualIdentityService. Shared between the preferences
subdialog and the container-creation panel anchored to the URL bar so that
the form markup and the create/update logic live in a single place.
@param {Element} host
The element the form is appended to.
@param {object} [options]
@param {?number} [options.userContextId]
When set, the form edits the matching container; otherwise it creates one.
@param {?object} [options.identity]
The initial { name, icon, color } values. Defaults to an empty name and the
first available icon and color.
|
4622 |
82 % |
| dollar.svg |
|
2034 |
- |
| fence.svg |
|
1252 |
- |
| fingerprint.svg |
|
3452 |
- |
| food.svg |
|
1374 |
- |
| fruit.svg |
|
1470 |
- |
| gift.svg |
|
1826 |
- |
| pet.svg |
|
1848 |
- |
| tree.svg |
|
1155 |
- |
| usercontext.css |
Each container color carries a legacy literal (used when browser.nova.enabled
is off) and, when nova is on, refreshed design-system tokens. Kept in sync
with CONTAINER_COLORS in ContextualIdentityService: `code` matches the legacy
literal.
Under nova every container surface (tab stroke, selected tab outline, icons,
URL-bar button, container editor color swatches) uses --identity-color,
a per-color light/dark shade. |
5816 |
- |
| vacation.svg |
|
2859 |
- |