feat: slim account menu and icon buttons (#655)

* feat: footer icon for preferences menu

* feat: account footer icon

* feat: account menu icon and slimmed down account menu
This commit is contained in:
Gorjan Petrovski
2021-09-29 17:52:27 +02:00
committed by GitHub
parent 3867f625f1
commit 0e5692d8ab
8 changed files with 42 additions and 58 deletions

View File

@@ -28,6 +28,7 @@ import DownloadIcon from '../../icons/ic-download.svg';
import InfoIcon from '../../icons/ic-info.svg';
import CheckIcon from '../../icons/ic-check.svg';
import CheckBoldIcon from '../../icons/ic-check-bold.svg';
import AccountCircleIcon from '../../icons/ic-account-circle.svg';
import { toDirective } from './utils';
import { FunctionalComponent } from 'preact';
@@ -61,7 +62,8 @@ const ICONS = {
download: DownloadIcon,
info: InfoIcon,
check: CheckIcon,
"check-bold": CheckBoldIcon,
'check-bold': CheckBoldIcon,
'account-circle': AccountCircleIcon,
};
export type IconType = keyof typeof ICONS;