Problem/motivation

For optimum presentation, it is sometimes optimal to show icons instead of text links. This could apply to the individual calendar links, and also the add to calendar link that launches the modal.

Proposed resolution

Create an SVG sprite containing logos for Outlook, Google, and Apple, as well as a calendar icon. Create a library that would use CSS to show the icons instead of the equivalent text. Add a "use icons" setting to this module that if enabled will attach the new library in the twig template.

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

mandclu created an issue. See original summary.

mandclu’s picture

Version: 1.1.x-dev » 1.2.x-dev

Changing this to target a new 1.2.x branch

  • mandclu committed e7646599 on 1.2.x
    Issue #3464611 by mandclu: Provide an option to replace text with icons
    
mandclu’s picture

Status: Active » Fixed

Merged in, and will roll into a beta release for more feedback.

Status: Fixed » Closed (fixed)

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