[Glitch] Switch from 48px weight 600 material symbol icons to 24px weight 400 icons
Port 6bbcd9348e to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
2f521bc84a
commit
a1920425ca
142 files changed
+348
-328
No files matched your search
@@ -5,9 +5,9 @@ import { defineMessages, injectIntl } from 'react-intl';
|
||||
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
|
||||
import MenuIcon from '@material-symbols/svg-600/outlined/menu.svg?react';
|
||||
|
||||
import { preferencesLink, profileLink } from 'flavours/glitch/utils/backend_links';
|
||||
import MenuIcon from 'mastodon/../material-icons/400-24px/menu.svg?react';
|
||||
|
||||
|
||||
import DropdownMenuContainer from '../../../containers/dropdown_menu_container';
|
||||
|
||||
|
||||
@@ -7,17 +7,17 @@ import { Link } from 'react-router-dom';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import PeopleIcon from '@material-symbols/svg-600/outlined/group.svg?react';
|
||||
import HomeIcon from '@material-symbols/svg-600/outlined/home-fill.svg?react';
|
||||
import LogoutIcon from '@material-symbols/svg-600/outlined/logout.svg?react';
|
||||
import ManufacturingIcon from '@material-symbols/svg-600/outlined/manufacturing.svg?react';
|
||||
import MenuIcon from '@material-symbols/svg-600/outlined/menu.svg?react';
|
||||
import NotificationsIcon from '@material-symbols/svg-600/outlined/notifications-fill.svg?react';
|
||||
import PublicIcon from '@material-symbols/svg-600/outlined/public.svg?react';
|
||||
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import { signOutLink } from 'flavours/glitch/utils/backend_links';
|
||||
import { conditionalRender } from 'flavours/glitch/utils/react_helpers';
|
||||
import PeopleIcon from 'mastodon/../material-icons/400-24px/group.svg?react';
|
||||
import HomeIcon from 'mastodon/../material-icons/400-24px/home-fill.svg?react';
|
||||
import LogoutIcon from 'mastodon/../material-icons/400-24px/logout.svg?react';
|
||||
import ManufacturingIcon from 'mastodon/../material-icons/400-24px/manufacturing.svg?react';
|
||||
import MenuIcon from 'mastodon/../material-icons/400-24px/menu.svg?react';
|
||||
import NotificationsIcon from 'mastodon/../material-icons/400-24px/notifications-fill.svg?react';
|
||||
import PublicIcon from 'mastodon/../material-icons/400-24px/public.svg?react';
|
||||
|
||||
|
||||
const messages = defineMessages({
|
||||
community: {
|
||||
|
||||
@@ -6,18 +6,19 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import AttachFileIcon from '@material-symbols/svg-600/outlined/attach_file.svg?react';
|
||||
import BrushIcon from '@material-symbols/svg-600/outlined/brush.svg?react';
|
||||
import CodeIcon from '@material-symbols/svg-600/outlined/code.svg?react';
|
||||
import DescriptionIcon from '@material-symbols/svg-600/outlined/description.svg?react';
|
||||
import InsertChartIcon from '@material-symbols/svg-600/outlined/insert_chart.svg?react';
|
||||
import MarkdownIcon from '@material-symbols/svg-600/outlined/markdown.svg?react';
|
||||
import MoreHorizIcon from '@material-symbols/svg-600/outlined/more_horiz.svg?react';
|
||||
import UploadFileIcon from '@material-symbols/svg-600/outlined/upload_file.svg?react';
|
||||
import Toggle from 'react-toggle';
|
||||
|
||||
import { IconButton } from 'flavours/glitch/components/icon_button';
|
||||
import { pollLimits } from 'flavours/glitch/initial_state';
|
||||
import AttachFileIcon from 'mastodon/../material-icons/400-24px/attach_file.svg?react';
|
||||
import BrushIcon from 'mastodon/../material-icons/400-24px/brush.svg?react';
|
||||
import CodeIcon from 'mastodon/../material-icons/400-24px/code.svg?react';
|
||||
import DescriptionIcon from 'mastodon/../material-icons/400-24px/description.svg?react';
|
||||
import InsertChartIcon from 'mastodon/../material-icons/400-24px/insert_chart.svg?react';
|
||||
import MarkdownIcon from 'mastodon/../material-icons/400-24px/markdown.svg?react';
|
||||
import MoreHorizIcon from 'mastodon/../material-icons/400-24px/more_horiz.svg?react';
|
||||
import UploadFileIcon from 'mastodon/../material-icons/400-24px/upload_file.svg?react';
|
||||
|
||||
|
||||
import DropdownContainer from '../containers/dropdown_container';
|
||||
import LanguageDropdown from '../containers/language_dropdown_container';
|
||||
|
||||
@@ -8,13 +8,13 @@ import classNames from 'classnames';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import AddIcon from '@material-symbols/svg-600/outlined/add.svg?react';
|
||||
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
|
||||
|
||||
import AutosuggestInput from 'flavours/glitch/components/autosuggest_input';
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import { IconButton } from 'flavours/glitch/components/icon_button';
|
||||
import { pollLimits } from 'flavours/glitch/initial_state';
|
||||
import AddIcon from 'mastodon/../material-icons/400-24px/add.svg?react';
|
||||
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
|
||||
|
||||
const messages = defineMessages({
|
||||
option_placeholder: { id: 'compose_form.poll.option_placeholder', defaultMessage: 'Choice {number}' },
|
||||
|
||||
@@ -3,10 +3,10 @@ import { PureComponent } from 'react';
|
||||
|
||||
import { injectIntl, defineMessages } from 'react-intl';
|
||||
|
||||
import LockIcon from '@material-symbols/svg-600/outlined/lock.svg?react';
|
||||
import LockOpenIcon from '@material-symbols/svg-600/outlined/lock_open.svg?react';
|
||||
import MailIcon from '@material-symbols/svg-600/outlined/mail.svg?react';
|
||||
import PublicIcon from '@material-symbols/svg-600/outlined/public.svg?react';
|
||||
import LockIcon from 'mastodon/../material-icons/400-24px/lock.svg?react';
|
||||
import LockOpenIcon from 'mastodon/../material-icons/400-24px/lock_open.svg?react';
|
||||
import MailIcon from 'mastodon/../material-icons/400-24px/mail.svg?react';
|
||||
import PublicIcon from 'mastodon/../material-icons/400-24px/public.svg?react';
|
||||
|
||||
import Dropdown from './dropdown';
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ import { defineMessages, injectIntl } from 'react-intl';
|
||||
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import LockIcon from '@material-symbols/svg-600/outlined/lock.svg?react';
|
||||
import LockOpenIcon from '@material-symbols/svg-600/outlined/lock_open.svg?react';
|
||||
import MailIcon from '@material-symbols/svg-600/outlined/mail.svg?react';
|
||||
import PublicIcon from '@material-symbols/svg-600/outlined/public.svg?react';
|
||||
|
||||
import { Button } from 'flavours/glitch/components/button';
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import LockIcon from 'mastodon/../material-icons/400-24px/lock.svg?react';
|
||||
import LockOpenIcon from 'mastodon/../material-icons/400-24px/lock_open.svg?react';
|
||||
import MailIcon from 'mastodon/../material-icons/400-24px/mail.svg?react';
|
||||
import PublicIcon from 'mastodon/../material-icons/400-24px/public.svg?react';
|
||||
|
||||
|
||||
const messages = defineMessages({
|
||||
publish: {
|
||||
|
||||
@@ -5,10 +5,10 @@ import { defineMessages, injectIntl } from 'react-intl';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
|
||||
|
||||
import AttachmentList from 'flavours/glitch/components/attachment_list';
|
||||
import { WithOptionalRouterPropTypes, withOptionalRouter } from 'flavours/glitch/utils/react_router';
|
||||
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
|
||||
|
||||
import { Avatar } from '../../../components/avatar';
|
||||
import { DisplayName } from '../../../components/display_name';
|
||||
|
||||
@@ -8,14 +8,14 @@ import { withRouter } from 'react-router-dom';
|
||||
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
|
||||
import CancelIcon from '@material-symbols/svg-600/outlined/cancel-fill.svg?react';
|
||||
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
|
||||
import SearchIcon from '@material-symbols/svg-600/outlined/search.svg?react';
|
||||
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import { domain, searchEnabled } from 'flavours/glitch/initial_state';
|
||||
import { HASHTAG_REGEX } from 'flavours/glitch/utils/hashtags';
|
||||
import { WithRouterPropTypes } from 'flavours/glitch/utils/react_router';
|
||||
import CancelIcon from 'mastodon/../material-icons/400-24px/cancel-fill.svg?react';
|
||||
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
|
||||
import SearchIcon from 'mastodon/../material-icons/400-24px/search.svg?react';
|
||||
|
||||
const messages = defineMessages({
|
||||
placeholder: { id: 'search.placeholder', defaultMessage: 'Search' },
|
||||
|
||||
@@ -5,14 +5,14 @@ import { FormattedMessage } from 'react-intl';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import FindInPageIcon from '@material-symbols/svg-600/outlined/find_in_page.svg?react';
|
||||
import PeopleIcon from '@material-symbols/svg-600/outlined/group.svg?react';
|
||||
import SearchIcon from '@material-symbols/svg-600/outlined/search.svg?react';
|
||||
import TagIcon from '@material-symbols/svg-600/outlined/tag.svg?react';
|
||||
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import { LoadMore } from 'flavours/glitch/components/load_more';
|
||||
import { SearchSection } from 'flavours/glitch/features/explore/components/search_section';
|
||||
import FindInPageIcon from 'mastodon/../material-icons/400-24px/find_in_page.svg?react';
|
||||
import PeopleIcon from 'mastodon/../material-icons/400-24px/group.svg?react';
|
||||
import SearchIcon from 'mastodon/../material-icons/400-24px/search.svg?react';
|
||||
import TagIcon from 'mastodon/../material-icons/400-24px/tag.svg?react';
|
||||
|
||||
|
||||
import { ImmutableHashtag as Hashtag } from '../../../components/hashtag';
|
||||
import AccountContainer from '../../../containers/account_container';
|
||||
|
||||
@@ -5,10 +5,10 @@ import { defineMessages, injectIntl } from 'react-intl';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import ForumIcon from '@material-symbols/svg-600/outlined/forum.svg?react';
|
||||
import HomeIcon from '@material-symbols/svg-600/outlined/home-fill.svg?react';
|
||||
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import ForumIcon from 'mastodon/../material-icons/400-24px/forum.svg?react';
|
||||
import HomeIcon from 'mastodon/../material-icons/400-24px/home-fill.svg?react';
|
||||
|
||||
|
||||
const messages = defineMessages({
|
||||
localOnly: {
|
||||
|
||||
@@ -5,12 +5,13 @@ import { FormattedMessage } from 'react-intl';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
import ImmutablePureComponent from 'react-immutable-pure-component';
|
||||
|
||||
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
|
||||
import EditIcon from '@material-symbols/svg-600/outlined/edit.svg?react';
|
||||
import InfoIcon from '@material-symbols/svg-600/outlined/info.svg?react';
|
||||
import spring from 'react-motion/lib/spring';
|
||||
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
|
||||
import EditIcon from 'mastodon/../material-icons/400-24px/edit.svg?react';
|
||||
import InfoIcon from 'mastodon/../material-icons/400-24px/info.svg?react';
|
||||
|
||||
|
||||
import Motion from '../../ui/util/optional_motion';
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@ import { PureComponent } from 'react';
|
||||
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
import UploadFileIcon from '@material-symbols/svg-600/outlined/upload_file.svg?react';
|
||||
import spring from 'react-motion/lib/spring';
|
||||
|
||||
import { Icon } from 'flavours/glitch/components/icon';
|
||||
import UploadFileIcon from 'mastodon/../material-icons/400-24px/upload_file.svg?react';
|
||||
|
||||
import Motion from '../../ui/util/optional_motion';
|
||||
|
||||
|
||||
Reference in new issue
Block a user