Skip to content

Update icons to v2.1 and manage future updates - #3729

Open
hannahiss wants to merge 58 commits into
mainfrom
main-his-update-icons-2.1
Open

Update icons to v2.1 and manage future updates#3729
hannahiss wants to merge 58 commits into
mainfrom
main-his-update-icons-2.1

Conversation

@hannahiss

@hannahiss hannahiss commented Jul 29, 2026

Copy link
Copy Markdown
Member

Types of change

  • Non-breaking change
  • Breaking change (fix or feature that would change existing functionality and usage)

Related issues

Closes #3652

Context & Motivation

This PR is to update all OUDS icons to v2.1 across all 3 themes(Orange, Sosh, Orange Compact) and simplify the future updates of icons.

It updates the SVG paths in sprite and composite files, reorganizes icon naming, removes useless icons and adds two new build scripts for automated icon comparison/update.

Description


1. Composite Icons (_composite.scss) — All 3 Brands

The icon section of _composite.scss has been completely reorganized with clear section headers by component (// * Alert *, // * Badge *, // * Button *, etc.), replacing the previous flat layout. When identical icons are detected, they are reused to lighten the distributed css files.

Changes for Orange and Orange-compact component icons
New name Old name if diff. Component Prev. version Name updates Path updates Status
$alert-icon-success Alert 1.4 None None No changes
$alert-icon-info Alert 1.4 None None No changes
$alert-icon-warning-external Alert 1.4 None None No changes
$alert-icon-warning-internal Alert 1.4 None None No changes
$alert-icon-important Alert 1.4 None None No changes
$badge-icon-positive Badge 1.6 None Bug fix for "fill=white", simplified path from v1.7 Path updated
$badge-icon-info Badge 1.6 None Bug fix for "fill=white", simplified path from v1.7 Path updated
$badge-icon-warning-external Badge 1.6 None Bug fix for "fill=white", simplified path from v1.7 Path updated
$badge-icon-warning-internal Badge 1.6 None Bug fix for "fill=white", simplified path from v1.7 Path updated
$badge-icon-negative Badge 1.6 None Bug fix for "fill=white", simplified path in v1.7 Path updated
$breadcrumb-divider $breadcrumb-divider-icon Breadcrumb Unknown Renamed to match *-icon in the custom-props-map Add missing viewbox in 24 24 Renamed and path updated
$btn-previous-icon Button 1.4 None Small path changes (not tracked) Path updated
$btn-next-icon Button 1.4 None Small path changes (not tracked) Path updated
$btn-expurge-icon $cross-icon-stroke Button Unknown Now clearly identified as a component icon None Renamed
$bullet-list-marker-level-0 Bullet list Unknown None Viewbox in 24 24 Path updated
$bullet-list-marker-level-1 Bullet list Unknown None Viewbox in 24 24 Path updated
$bullet-list-marker-level-2 Bullet list Unknown None Viewbox in 24 24 Path updated
$bullet-list-empty-marker Bullet list Unknown None Viewbox in 24 24 Path updated
$bullet-list-marker-tick Bullet list Unknown None Viewbox in 24 24 Path updated
$checkbox-selected-icon $form-check-input-checked-bg-image Checkbox Unknown Now clearly identified as a component icon for Checkbox Viewbox in 24 24 Renamed and path updated
$checkbox-undetermined-icon $form-check-input-indeterminate-bg-image Checkbox Unknown Now clearly identified as a component icon for Checkbox Viewbox in 24 24 Renamed and path updated
$chip-tick-icon Chip Unknown None Viewbox in 24 24 Path updated
$link-previous-icon Used $chevron-icon Link Unknown Now clearly identified as a component icon for link Viewbox in 24 24 Added
$radio-button-selected-icon $form-check-radio-checked-bg-image Radio button Unknown Now clearly identified as a component icon for Radio button Viewbox in 24 24 Renamed and path updated
$select-input-chevron Select input Unknown None None Up to date - no changes
$select-input-expanded-chevron Select input Unknown None None Up to date - no changes
$switch-selected-icon $form-switch-checked-bg-image Switch Unknown Now clearly identified as a component icon for Switch Viewbox in 24 24 Renamed and path updated
Changes for Sosh component icons
New name Old name if diff. Component Prev. version Name updates Path updates Status
$alert-icon-success Alert 1.4 None None No changes
$alert-icon-info Alert 1.4 None None No changes
$alert-icon-warning-external Alert 1.4 None None No changes
$alert-icon-warning-internal Alert 1.4 None None No changes
$alert-icon-important Alert 1.4 None None No changes
$badge-icon-positive Badge 1.6 None None No changes
$badge-icon-info Badge 1.6 None None No changes
$badge-icon-warning-external Badge 1.6 None None No changes
$badge-icon-warning-internal Badge 1.6 None None No changes
$badge-icon-negative Badge 1.6 None None No changes
$breadcrumb-divider $breadcrumb-divider-icon Breadcrumb Unknown Renamed to match *-icon in the custom-props-map Small path changes (not tracked) Renamed and path updated
$btn-previous-icon Button 1.4 None Path changes (not tracked) Path updated
$btn-next-icon Button 1.4 None Path changes (not tracked) Path updated
$btn-expurge-icon $cross-icon-stroke Button Unknown Now clearly identified as a component icon None Renamed
$bullet-list-marker-level-0 Bullet list Unknown None None No changes
$bullet-list-marker-level-1 Bullet list Unknown None Path changes (not tracked) Path updated
$bullet-list-marker-level-2 Bullet list Unknown None Path changes (not tracked) Path updated
$bullet-list-empty-marker Bullet list Unknown None None No changes
$bullet-list-marker-tick Bullet list Unknown None Path changes (not tracked) Path updated
$checkbox-selected-icon $form-check-input-checked-bg-image Checkbox Unknown Now clearly identified as a component icon for Checkbox Small path changes and fill=white (not tracked) Renamed and path updated
$checkbox-undetermined-icon $form-check-input-indeterminate-bg-image Checkbox Unknown Now clearly identified as a component icon for Checkbox None Renamed
$chip-tick-icon Chip Unknown None Small path changes (not tracked) Path updated
$link-previous-icon Used $chevron-icon Link Unknown Now clearly identified as a component icon for link Path changes (not tracked) Added
$radio-button-selected-icon $form-check-radio-checked-bg-image Radio button Unknown Now clearly identified as a component icon for Radio button Path changes (not tracked) Renamed and path updated
$select-input-chevron Select input Unknown None Small path changes (not tracked) Path updated
$select-input-expanded-chevron Select input Unknown None Small path changes (not tracked) Path updated
$switch-selected-icon $form-switch-checked-bg-image Switch Unknown Now clearly identified as a component icon for Switch None Renamed
CSS Custom Properties Map Renamed

The $svg-as-custom-props map keys were renamed and the suffix '-icon' previously added in root is now visible in here to ease the search of these custom props usages. There are still supposed to follow a consistent -icon suffix convention:

Old Key New Key Comments
"chevron" "chevron-icon" Renamed and now only used for leagy usages (pagination, carousel and back-to-top legacy components)
"close" (removed) Its usage in close button has been replaced by the component icon $btn-expurge-icon where needed and this custom prop was no longer used (some legacy usages still remain pointing directly to $cross-icon or other icons in variables.scss
"success" "alert-success-icon" The custom prop has been renamed with 'alert' prefix, so that it is easy to understand it is the component icon from Alert
"info" "alert-info-icon" The custom prop has been renamed with 'alert' prefix, so that it is easy to understand it is the component icon from Alert
"warning" "alert-warning-icon" The custom prop has been renamed with 'alert' prefix, so that it is easy to understand it is the component icon from Alert
"warning-internal" "alert-warning-internal-icon" The custom prop has been renamed with 'alert' prefix, so that it is easy to understand it is the component icon from Alert
"error" "alert-error-icon" The custom prop has been renamed with 'alert' prefix, so that it is easy to understand it is the component icon from Alert

The new update script also adds duplicated icons inside this map (for now breadcrumb-divider-icon and btn-previous-icon so they can be reused without overloading the bundle.

Legacy Icons Preserved

The following legacy icons remain unchanged for backward compatibility with draft/legacy components, they should totally disappear over time:

  • $chevron-icon (pagination, carousel, back-to-top)
  • $cross-icon, $burger-icon, $burger-icon-small (header)
  • $add-icon, $remove-icon, $add-icon-sm, $remove-icon-sm (quantity-selector)
  • $play-icon, $pause-icon (carousel)
  • $helper-icon (text-input Bootstrap compatibility)

2. Sprite Icons (ouds-web-sprite.svg) — All 3 Brands

Icons renamed (ID changed)
# Old ID (main) New ID (branch) Old source New source (Solaris v2.1) Change details
1 alert-important functional-status-negative icon alert important-fill v1.4 functional/status-and-indicators/important-fill v2.1 Renamed + minor path adjustments
2 alert-warning-accessible functional-status-warning icon alert accessible warning v1.4 functional/status-and-indicators/warning-important-fill v2.1 Renamed, bicolor icon preserved
3 alert-info functional-status-info icon alert info-fill v1.4 functional/status-and-indicators/info-fill v2.1 Renamed + minor path adjustments
4 alert-success functional-status-positive icon alert tick-confirmation-fill v1.4 functional/status-and-indicators/tick-confirmation-fill v2.1 Renamed + minor path adjustments
5 file-earmark-richtext file-document Custom (1000×1000) functional/charts-and-files/file-document v2.1 Completely new icon (1000→24)
6 book-half information-manual Custom (1000×1000) functional/settings-and-tools/information-manual v2.1 Completely new icon (1000→24)
7 grid-fill display-grid Custom (1000×1000) functional/navigation/display-grid-square v2.1 Completely new icon (1000→24)
8 repair-tools multi-tool-repair Custom (960×960) communication/objects/multi-tool-repair v2.1 Completely new icon (960→24)
Icons redrawn (same ID, new paths)
# ID Old viewBox New viewBox Old source New source (Solaris v2.1) Change details
9 copy 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/actions/copy v2.1 Completely redrawn
10 check2 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/actions/form-tick-square-approve v2.1 Completely redrawn
11 design-token-figma 0 0 1000 1000 0 0 24 24 Custom (1000×1000) communication/design/design-token-figma v2.1 Completely redrawn
12 ui-auto-mode 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/media/contrast v2.1 Completely redrawn
13 ui-dark-mode 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/settings-and-tools/ui-dark-mode v2.1 Completely redrawn
14 ui-light-mode 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/settings-and-tools/ui-light-mode v2.1 Completely redrawn
15 buy 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/commerce/buy-shoping-basket v2.1 Completely redrawn
16 search 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/actions/search v2.1 Completely redrawn
17 live-chat 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/communications/live-chat v2.1 Completely redrawn + viewBox fixed
18 location-pin-compass 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/transport-and-location/location-pin-compass v2.1 Completely redrawn + viewBox fixed
19 mobile-network-coverage 0 0 1000 1000 0 0 24 24 Custom (1000×1000) functional/status-and-indicators/mobile-network-coverage-signal v2.1 Completely redrawn + viewBox fixed
20 child-protection 0 0 1000 1000 0 0 24 24 Custom (1000×1000) communication/security-and-safety/child-protection v2.1 Completely redrawn + viewBox fixed
21 side-panel-show-chevron 0 0 960 960 0 0 24 24 Custom (960×960) functional/navigation/side-panel-show-chevron v2.1 Completely redrawn
22 bug 0 0 960 960 0 0 24 24 Custom (960×960) communication/technology/bug v2.1 Completely redrawn
23 message-talk 0 0 960 960 0 0 24 24 Custom (960×960) functional/social-and-engagement/message-talk v2.1 Completely redrawn
24 external-link 0 0 960 960 0 0 24 24 Custom (960×960) functional/actions/external-link v2.1 Completely redrawn. ⚠️ To be removed with tokens 2.6
Icons reformatted (same ID, minor changes)
# ID Change details
25 download style="fill-rule:evenodd"fill-rule="evenodd" clip-rule="evenodd"
26 settings style= → SVG attribute; minor coordinates fixed
27 trash style= → SVG attribute; coordinates adjusted (.6.599, 7.27.199, 1522.2)
28 component-atom Minor path data adjustments (.246.245, .641.637, etc.)
29 lightning-charge-fill Reformatted (single line), no path change
Icons kept unchanged
# ID Source (Solaris v2.1)
30 heart-empty functional/social-and-engagement/heart-recommend v2.1
31 lock-closed communication/security-and-safety/lock-closed v2.1
32 accessibility-vision communication/accessibility/accessibility-vision v2.1
33 hide functional/settings-and-tools/accessibility-hide v2.1
34 internet communication/technology/internet-world-connection v2.1
35 theme communication/design/theme v2.1
36 traffic-cone functional/transport-and-location/traffic-cone v2.1
Icons removed (no replacement)
# Old ID (main) Old source Reason
37 alert-warning- icon alert warning-external-shape v1.4 Redundant with accessible bicolor version
38 tick Custom (24×24) No longer needed
39 delete Custom (24×24) No longer needed
40 expurge Custom (24×24) No longer needed
41 chevron-expand Bootstrap Icons (16×16) No longer needed
42 globe2 Custom (1000×1000) Replaced by existing internet
43 magic Custom (1000×1000) No longer needed
44 menu-button-wide-fill Custom (1000×1000) No longer needed
45 palette2 Custom (1000×1000) Replaced by existing theme
46 braces-asterisk Custom (1000×1000) Replaced by multi-tool-repair
47 transfers Custom (1000×1000) No longer needed
48 ui-radios Custom (1000×1000) No longer needed
Summary
Change type Count Description
🏷️ Renamed 8 ID changed to match Solaris v2.1 naming convention
🔄 Redrawn 16 Same ID, paths fully replaced (1000/960 → 24 coordinate system)
🔧 Reformatted 5 Minor formatting or coordinate adjustments
— Unchanged 7 No modification from initial v2.1 import
🗑️ Removed 12 Icons deleted, no longer needed in docs
Total on main 48
Total on branch 36
⚠️ Notes
  • All remaining icons now use Solaris v2.1 except lightning-charge-fill (Bootstrap Icons legacy for Stackblitz).
  • All viewBoxes are now 0 0 24 24 (except lightning-charge-fill at 0 0 16 16).
  • external-link is marked for removal with tokens v2.6.
  • The file is now organized with section comments: Functional icons, Doc examples, Icon page examples, Header icons, Footer icons, Submenu icons.

Checklists

  • I have read the contributing guidelines
  • My change follows the developer guide
  • My change pass all tests
  • My change is compatible with a responsive display
  • I have added tests (Javascript unit test or visual) to cover my changes
  • My change introduces changes to the documentation that I have updated accordingly
    • Title and DOM structure is correct
    • Links have been updated (title changes impact links)
    • CSS for the documentation
  • I have checked all states and combinations of the component with my change
  • I have checked all the impacts for the other components and core behavior (grid, reboot, utilities)

Checklist (for Core Team only)

  • The changes need to be in the migration guide
  • The changes are well displayed in Storybook (be careful if example order has changed for DSM)
  • The changes are compatible with RTL
  • Manually test browser compatibility with BrowserStack (Chrome 120, Firefox 121, Edge 120, Safari 15.6, iOS Safari, Chrome & Firefox on Android)

Progression (for Core Team only)

Live previews

@netlify

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit ae9240c
🔍 Latest deploy log https://app.netlify.com/projects/boosted/deploys/6a75cbfaf20c740008270b85
😎 Deploy Preview https://deploy-preview-3729--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread build/compare-composite-icons.mjs Fixed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Not ready to approve

There are confirmed icon variable naming mismatches (undefined CSS vars) and an unused import/const that likely break lint/build until fixed.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

This PR updates OUDS Web icon assets to v2.1, aligns documentation/examples with renamed sprite symbols, and introduces helper scripts to compare/update sprite and composite icon sources across the 3 brands.

Changes:

  • Refresh composite icon data-URIs and generated CSS custom props (renamed to --bs-alert-*-icon scheme).
  • Update docs (MDX/Astro/YAML sidebars) to reference new sprite symbol IDs.
  • Add compare-composite-icons / compare-sprite-icons Node scripts to ease future icon upgrades.
File summaries
File Description
site/src/scss/_toc.scss Adds a temporary TOC expand icon styling for the docs layout.
site/src/layouts/DocsLayout.astro Reworks the TOC collapse button to rely on CSS-based icon styling.
site/src/content/docs/getting-started/migration.mdx Minor tag class adjustment in migration notes.
site/src/content/docs/getting-started/migration-from-boosted.mdx Minor tag class adjustment in migration notes.
site/src/content/docs/getting-started/accessibility.mdx Updates sprite icon reference to the new symbol name.
site/src/content/docs/components/table.mdx Replaces deprecated/renamed file icon symbol references.
site/src/content/docs/components/icon.mdx Updates example icons and status icon symbol IDs to v2.1 naming.
site/src/components/shortcodes/JsDismiss.astro Updates dismiss button example to btn-close and removes the old icon usage.
site/src/components/home/MastHead.astro Updates hero buttons to new sprite symbol IDs.
site/data/sidebar-utilities.yml Updates sidebar icon name to new symbol ID.
site/data/sidebar-layout.yml Updates sidebar icon name to new symbol ID.
site/data/sidebar-getting-started.yml Updates sidebar icon name to new symbol ID.
site/data/sidebar-components.yml Updates sidebar icon names to new symbol IDs.
scss/tests/snapshot-tests/__snapshots__/ouds-web.css Updates CSS snapshots to reflect renamed icon vars/data URIs.
scss/forms/_text-input.scss Switches invalid-state icon var from error-icon to alert-error-icon.
scss/forms/_select-input.scss Switches invalid-state icon var from error-icon to alert-error-icon.
scss/forms/_control-item.scss Points control-item icons to new composite-defined variables.
scss/_variables.scss Updates Bootstrap compatibility variables to the new alert icon custom props.
scss/_tags.scss Updates tag icons to use --bs-alert-*-icon custom props.
scss/_root.scss Changes how $svg-as-custom-props keys are emitted as CSS custom properties.
scss/_links.scss Switches link chevron mask source to a composite token icon.
scss/_buttons.scss Updates close button mask-image source to the composite “expurge” icon.
scss/_alert.scss Updates alert icon vars to use --bs-alert-*-icon custom props.
packages/sosh/scss/tokens/_composite.scss Reorganizes and updates embedded icon data URIs to v2.1 and updates custom-props map.
packages/orange/scss/tokens/_composite.scss Reorganizes and updates embedded icon data URIs to v2.1 and updates custom-props map.
packages/orange-compact/scss/tokens/_composite.scss Reorganizes and updates embedded icon data URIs to v2.1 and updates custom-props map.
package.json Adds npm scripts for the new icon-compare tooling.
build/compare-sprite-icons.mjs Adds tooling to compare/refresh per-brand SVG sprite symbols from source folders.
build/compare-composite-icons.mjs Adds tooling to compare/refresh per-brand composite SCSS icon data URIs (with dedup).
Review details

Files not reviewed (2)

  • scss/tests/snapshot-tests/snapshots/ouds-web-bootstrap.css: Generated file
  • scss/tests/snapshot-tests/snapshots/ouds-web.css: Generated file
  • Files reviewed: 28/33 changed files
  • Comments generated: 3
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread scss/_variables.scss Outdated
Comment thread scss/_root.scss
Comment on lines 84 to 88
// OUDS mod
@each $icon, $svg in $svg-as-custom-props {
--#{$prefix}#{$icon}-icon: #{escape-svg($svg)};
--#{$prefix}#{$icon}: #{escape-svg($svg)};
}
// End mod
Comment thread site/src/components/shortcodes/JsDismiss.astro

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

It introduces at least one broken npm script reference and a runtime CSS variable mismatch in $list-group-icons that will lead to unresolved icon masks.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details

Files not reviewed (2)

  • scss/tests/snapshot-tests/snapshots/ouds-web-bootstrap.css: Generated file
  • scss/tests/snapshot-tests/snapshots/ouds-web.css: Generated file

Suppressed comments (4)

scss/_variables.scss:1799

  • The $list-group-icons map references CSS custom props that are not defined by the updated $svg-as-custom-props keys (uses alert-warning-external-icon and alert-important-icon). This will produce unresolved var(--bs-...) at runtime and is already reflected in generated CSS snapshots. Use the new keys alert-warning-icon and alert-error-icon to match packages/*/scss/tokens/_composite.scss.
$list-group-icons: (
  "success": escape-svg(var(--#{$prefix}alert-success-icon)),
  "info":    escape-svg(var(--#{$prefix}alert-info-icon)),
  "warning": escape-svg(var(--#{$prefix}alert-warning-external-icon)),
  "danger":  escape-svg(var(--#{$prefix}alert-important-icon))

build/update-sprite-icons.mjs:20

  • The usage examples reference "npm run update-sprite-icons", but package.json defines the script as "compare-sprite-icons". Update the usage block so it matches the actual npm script name (or rename the npm script accordingly).
// Usage:
//   npm run update-sprite-icons "<icons-directory>"
//   npm run update-sprite-icons --icons-root "<icons-directory>"
//   npm run update-sprite-icons --icons-root "<icons-directory>" --version 2.1

build/update-sprite-icons.mjs:3

  • Header comment name doesn't match the file name (currently says compare-sprite-icons.mjs). This is confusing given the npm scripts reference build/update-sprite-icons.mjs.

This issue also appears on line 17 of the same file.

// compare-sprite-icons.mjs

build/update-composite-icons.mjs:3

  • Header comment name doesn't match the file name (currently says update-component-icons.mjs). This makes it harder to connect the script to package.json's compare-composite-icons entry.
// update-component-icons.mjs
  • Files reviewed: 29/34 changed files
  • Comments generated: 1
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Comment thread package.json Outdated

@louismaximepiton louismaximepiton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The banner in tarteaucitron doesn't seem like to have any icon anymore

Image Image


// * Switch *
// orange/Component/switch/selected-switch v2.1
$switch-selected-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='m17.413 8.962-6.207 7.2a.998.998 0 0 1-.758.338.997.997 0 0 1-.757-.338l-3.103-3.6A.857.857 0 0 1 6.375 12c0-.248.109-.473.284-.636l.388-.36c.175-.163.418-.264.686-.264.24 0 .461.082.63.217l1.891 1.943 5.738-5.157c.173-.15.407-.243.663-.243.536 0 .97.403.97.9a.86.86 0 0 1-.212.562Z' clip-rule='evenodd'/></svg>") !default;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some evenodd in this path, is that normal ? so there are probably some others

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there are some remaining fill-rule and clip-path and some other strange stuff but there have been delivered like this by Jérôme. I think the source must be fixed, because if we fix it via our script, we could potentially have a bug... What do you think @vprothais ?

Comment thread scss/_variables.scss Outdated
"success": escape-svg(var(--#{$prefix}alert-success-icon)),
"info": escape-svg(var(--#{$prefix}alert-info-icon)),
"warning": escape-svg(var(--#{$prefix}alert-warning-icon)),
"danger": escape-svg(var(--#{$prefix}alert-error-icon))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

escape-svg won't escape nothing in here, we can safely remove I think

Comment thread site/src/scss/_toc.scss Outdated

// TODO Hack until we have the expand button
button.btn-next::after {
mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='m3 9.167 9 9.333 9-9.333L18.429 6.5 12 13.167 5.571 6.5 3 9.167Z' clip-rule='evenodd'/></svg>");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same evenodd in here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I can remove it since it is just temporary. I can even remove fill="currentColor" in here.

@hannahiss

hannahiss commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

The banner in tarteaucitron doesn't seem like to have any icon anymore

For the tarteaucitron panel, I fixed the icon by pointing to --bs-alert-error-icon and --bs-alert-success-icon but this doesn't feel totally right since we're using here the component icons of alerts inside some buttons with text and icon, whereas we should technically use decorative icons. What do you think @vprothais ?

# Conflicts:
#	packages/orange-compact/scss/tokens/_composite.scss
#	packages/orange/scss/tokens/_composite.scss
#	packages/sosh/scss/tokens/_composite.scss
#	scss/_links.scss
#	scss/forms/_select-input.scss
#	scss/forms/_text-input.scss
#	scss/tests/snapshot-tests/__snapshots__/ouds-web-bootstrap.css
#	scss/tests/snapshot-tests/__snapshots__/ouds-web.css
#	site/static/orange-compact/docs/[version]/assets/img/ouds-web-sprite.svg
#	site/static/orange/docs/[version]/assets/img/ouds-web-sprite.svg
#	site/static/sosh/docs/[version]/assets/img/ouds-web-sprite.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Dev Review

Development

Successfully merging this pull request may close these issues.

[OUDS] Update icons to version 2.1

5 participants