Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more fontawesome icons for media keys #1381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion src/components/colorways/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@ export default {
KC_DOWN: 'arrow-down',
KC_LEFT: 'arrow-left',
KC_RGHT: 'arrow-right',
KC_APP: 'bars'
KC_APP: 'bars',
KC_PWR: 'power-off',
KC_SLEP: 'moon',
KC_EJCT: 'eject',
KC_MPLY: 'play',
KC_MSTP: 'stop',
KC_MRWD: 'backward',
KC_MFFD: 'forward',
KC_MPRV: 'fast-backward',
KC_MNXT: 'fast-forward',
KC_MUTE: 'volume-mute',
KC_VOLD: 'volume-down',
KC_VOLU: 'volume-up'
},
/**
* returns the correct icons for the identified platform
Expand Down
22 changes: 21 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,17 @@ import {
faChevronUp,
faSearch,
faQuestionCircle,
faPowerOff,
faMoon,
faEject,
faPlay,
faStop,
faBackward,
faForward,
faFastBackward,
faFastForward,
faVolumeMute,
faVolumeDown,
faVolumeUp,
faBars
} from '@fortawesome/free-solid-svg-icons';
Expand Down Expand Up @@ -105,7 +115,17 @@ const icons = [
faWindows,
faQuestionCircle,
faVolumeUp,
faVolumeMute
faVolumeDown,
faVolumeMute,
faPowerOff,
faMoon,
faEject,
faPlay,
faStop,
faBackward,
faForward,
faFastBackward,
faFastForward
];
library.add(...icons);

Expand Down
Loading