| briefcase.svg |
|
1767 |
- |
| cart.svg |
|
1842 |
- |
| chill.svg |
|
2256 |
- |
| circle.svg |
|
855 |
- |
| 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 |
- |
| dollar.svg |
|
1903 |
- |
| fence.svg |
|
1729 |
- |
| fingerprint.svg |
|
3452 |
- |
| food.svg |
|
1499 |
- |
| fruit.svg |
|
1910 |
- |
| gift.svg |
|
2023 |
- |
| pet.svg |
|
2173 |
- |
| tree.svg |
|
1602 |
- |
| 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, `codeNova` matches the nova stroke shade (--color-<name>-40).
Under nova each container surface picks a dedicated palette shade:
--identity-fill-color light 60 / dark 20 (URL-bar pill, menus, panel subviews,
preferences list, tab-row indicators)
--identity-stroke-color shade 40 (tab stroke, URL-bar badge, all-tabs indicator, preferences color swatches) |
8916 |
- |
| vacation.svg |
|
3423 |
- |