Skip to content

Commit

Permalink
replace FA pro icons with free alternatives.
Browse files Browse the repository at this point in the history
  • Loading branch information
stopfstedt committed Aug 9, 2023
1 parent bf803fc commit 96eee7a
Show file tree
Hide file tree
Showing 5 changed files with 3,669 additions and 36,871 deletions.
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

8 changes: 4 additions & 4 deletions app/components/program-year/objective-list-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@
{{else}}
{{#if @programYearObjective.active}}
<button class="active" type="button" {{on "click" (perform this.saveIsActive false)}} data-test-deactivate>
<FaIcon @prefix="fas" @icon="lightbulb-on" @title={{t "general.deactivate"}} />
<FaIcon @icon="toggle-on" @title={{t "general.deactivate"}} />
</button>
{{else}}
<button class="active" type="button" {{on "click" (perform this.saveIsActive true)}} data-test-activate>
<FaIcon @prefix="fal" @icon="lightbulb-slash" @title={{t "general.activate"}}/>
<FaIcon @icon="toggle-off" @title={{t "general.activate"}}/>
</button>
{{/if}}
{{/if}}
{{else}}
{{#if @programYearObjective.active}}
<FaIcon @prefix="fas" @icon="lightbulb-on" @title={{t "general.active"}} />
<FaIcon @icon="toggle-on" @title={{t "general.active"}} />
{{else}}
<FaIcon @prefix="fal" @icon="lightbulb-slash" @title={{t "general.inactive"}} />
<FaIcon @icon="toggle-off" @title={{t "general.inactive"}} />
{{/if}}
{{/if}}
{{#if (and this.canDelete @editable (not this.isManaging) (not this.showRemoveConfirmation))}}
Expand Down
4 changes: 2 additions & 2 deletions config/icons.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = function () {
return {
'pro-light-svg-icons': ['clipboard-list', 'lightbulb-slash'],
'pro-solid-svg-icons': ['lightbulb-on'],
'free-solid-svg-icons': [
'angle-down',
'angle-left',
Expand Down Expand Up @@ -29,6 +27,8 @@ module.exports = function () {
'sun',
'superscript',
'table',
'toggle-off',
'toggle-on',
'truck-medical',
'turn-down',
'turn-up',
Expand Down
Loading

0 comments on commit 96eee7a

Please sign in to comment.