Problem/Motivation

In #3467605: Add Bootstrap icons, we declared the Icons in UI Suite Bootstrap.

Now let's use the breaking change of 5.1.x to also make UI Icons a requirement and to use icons automatically in UI Suite Bootstrap to improve the UI out-of-the-box.

Proposed resolution

Add UI Icons in the theme dependencies.

Maybe add a hook_requirements inspired by https://gitlab.com/ui-icons/ui-icons-example/-/blob/main/ui_icons_bootst...

Also proper theming for the icon selector widget.

https://getbootstrap.com/docs/5.3/helpers/icon-link/

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

grimreaper created an issue. See original summary.

grimreaper’s picture

Issue tags: +Barcelona2024
pdureau’s picture

Title: [5.1.x] Use icons » [5.1.0] Use icons
grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Version: 5.0.x-dev » 5.1.x-dev
grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Assigned: Unassigned » grimreaper

grimreaper’s picture

grimreaper’s picture

Assigned: grimreaper » pdureau
Status: Active » Needs work

Some poc done to start discussion.

grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Assigned: pdureau » grimreaper
grimreaper’s picture

Issue summary: View changes

Layout Builder related icons put in #3490687: Layout Builder: stylize main form/page

grimreaper’s picture

Tablesort indicators markup is already rendered when manipulating presenter template table et views table.

So there is a svg tag in a link and it is filtered out.

grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Issue summary: View changes
StatusFileSize
new3.48 KB

grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

grimreaper’s picture

Issue summary: View changes
StatusFileSize
new2.28 KB

grimreaper’s picture

Issue summary: View changes
StatusFileSize
new9.08 KB

grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

Issue summary: View changes
grimreaper’s picture

grimreaper’s picture

Issue summary: View changes
StatusFileSize
new10.85 KB

grimreaper’s picture

Assigned: grimreaper » pdureau
Status: Needs work » Needs review
grimreaper’s picture

grimreaper’s picture

Assigned: pdureau » grimreaper
Status: Needs review » Needs work

  • grimreaper committed 589fc243 on 5.1.x
    Issue #3476981 by grimreaper, pdureau: [5.1.0] Use icons:
    
    - add...
grimreaper’s picture

Assigned: grimreaper » Unassigned
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.