Switch from 48px weight 600 material symbol icons to 24px weight 400 icons (#28064)
This commit is contained in:
parent
1070804a1a
commit
6bbcd9348e
250 changed files with 649 additions and 313 deletions
|
@ -3,8 +3,7 @@ import { PureComponent } from 'react';
|
|||
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
import DeleteForeverIcon from '@material-symbols/svg-600/outlined/delete_forever.svg?react';
|
||||
|
||||
import DeleteForeverIcon from 'mastodon/../material-icons/400-24px/delete_forever.svg?react';
|
||||
import { Icon } from 'mastodon/components/icon';
|
||||
|
||||
export default class ClearColumnButton extends PureComponent {
|
||||
|
|
|
@ -3,13 +3,12 @@ import { PureComponent } from 'react';
|
|||
|
||||
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
||||
|
||||
import HomeIcon from '@material-symbols/svg-600/outlined/home-fill.svg?react';
|
||||
import InsertChartIcon from '@material-symbols/svg-600/outlined/insert_chart.svg?react';
|
||||
import PersonAddIcon from '@material-symbols/svg-600/outlined/person_add.svg?react';
|
||||
import RepeatIcon from '@material-symbols/svg-600/outlined/repeat.svg?react';
|
||||
import ReplyAllIcon from '@material-symbols/svg-600/outlined/reply_all.svg?react';
|
||||
import StarIcon from '@material-symbols/svg-600/outlined/star.svg?react';
|
||||
|
||||
import HomeIcon from 'mastodon/../material-icons/400-24px/home-fill.svg?react';
|
||||
import InsertChartIcon from 'mastodon/../material-icons/400-24px/insert_chart.svg?react';
|
||||
import PersonAddIcon from 'mastodon/../material-icons/400-24px/person_add.svg?react';
|
||||
import RepeatIcon from 'mastodon/../material-icons/400-24px/repeat.svg?react';
|
||||
import ReplyAllIcon from 'mastodon/../material-icons/400-24px/reply_all.svg?react';
|
||||
import StarIcon from 'mastodon/../material-icons/400-24px/star.svg?react';
|
||||
import { Icon } from 'mastodon/components/icon';
|
||||
|
||||
const tooltips = defineMessages({
|
||||
|
|
|
@ -7,9 +7,8 @@ import { Link } from 'react-router-dom';
|
|||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import CheckIcon from '@material-symbols/svg-600/outlined/check.svg?react';
|
||||
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
|
||||
|
||||
import CheckIcon from 'mastodon/../material-icons/400-24px/check.svg?react';
|
||||
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
|
||||
import { Avatar } from 'mastodon/components/avatar';
|
||||
import { DisplayName } from 'mastodon/components/display_name';
|
||||
import { IconButton } from 'mastodon/components/icon_button';
|
||||
|
|
|
@ -8,16 +8,16 @@ import { Link, withRouter } from 'react-router-dom';
|
|||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import EditIcon from '@material-symbols/svg-600/outlined/edit.svg?react';
|
||||
import FlagIcon from '@material-symbols/svg-600/outlined/flag-fill.svg?react';
|
||||
import HomeIcon from '@material-symbols/svg-600/outlined/home-fill.svg?react';
|
||||
import InsertChartIcon from '@material-symbols/svg-600/outlined/insert_chart.svg?react';
|
||||
import PersonIcon from '@material-symbols/svg-600/outlined/person-fill.svg?react';
|
||||
import PersonAddIcon from '@material-symbols/svg-600/outlined/person_add-fill.svg?react';
|
||||
import RepeatIcon from '@material-symbols/svg-600/outlined/repeat.svg?react';
|
||||
import StarIcon from '@material-symbols/svg-600/outlined/star-fill.svg?react';
|
||||
import { HotKeys } from 'react-hotkeys';
|
||||
|
||||
import EditIcon from 'mastodon/../material-icons/400-24px/edit.svg?react';
|
||||
import FlagIcon from 'mastodon/../material-icons/400-24px/flag-fill.svg?react';
|
||||
import HomeIcon from 'mastodon/../material-icons/400-24px/home-fill.svg?react';
|
||||
import InsertChartIcon from 'mastodon/../material-icons/400-24px/insert_chart.svg?react';
|
||||
import PersonIcon from 'mastodon/../material-icons/400-24px/person-fill.svg?react';
|
||||
import PersonAddIcon from 'mastodon/../material-icons/400-24px/person_add-fill.svg?react';
|
||||
import RepeatIcon from 'mastodon/../material-icons/400-24px/repeat.svg?react';
|
||||
import StarIcon from 'mastodon/../material-icons/400-24px/star-fill.svg?react';
|
||||
import { Icon } from 'mastodon/components/icon';
|
||||
import AccountContainer from 'mastodon/containers/account_container';
|
||||
import StatusContainer from 'mastodon/containers/status_container';
|
||||
|
|
|
@ -5,9 +5,8 @@ import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
|
|||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
|
||||
import TuneIcon from '@material-symbols/svg-600/outlined/tune.svg?react';
|
||||
|
||||
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
|
||||
import TuneIcon from 'mastodon/../material-icons/400-24px/tune.svg?react';
|
||||
import { requestBrowserPermission } from 'mastodon/actions/notifications';
|
||||
import { changeSetting } from 'mastodon/actions/settings';
|
||||
import { Button } from 'mastodon/components/button';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue