Skip to content

Commit

Permalink
ref(design) Update icons (#12489)
Browse files Browse the repository at this point in the history
Remove unused icons
Remove fill none from icons
Rename some icons
  • Loading branch information
robertpin authored Nov 8, 2022
1 parent f4e8f86 commit 936a1a6
Show file tree
Hide file tree
Showing 323 changed files with 631 additions and 1,074 deletions.
5 changes: 5 additions & 0 deletions css/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,8 @@ form {
background: rgba(0, 0, 0, .5);
border-radius: 4px;
}

/* Necessary for the new icons to work properly. */
.jitsi-icon svg path {
fill: inherit !important;
}
2 changes: 1 addition & 1 deletion css/_settings-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
border-radius: 3px;
cursor: pointer;
padding: 4px;
padding: 1px;
position: absolute;
right: -4px;
top: -3px;
Expand Down
6 changes: 3 additions & 3 deletions react/features/always-on-top/AudioMuteButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { Component } from 'react';

// We need to reference these files directly to avoid loading things that are not available
// in this environment (e.g. JitsiMeetJS or interfaceConfig)
import { IconMicrophoneEmpty, IconMicrophoneEmptySlash } from '../base/icons';
import { IconMic, IconMicSlash } from '../base/icons';
import type { Props } from '../base/toolbox/components/AbstractButton';

import ToolbarButton from './ToolbarButton';
Expand All @@ -31,8 +31,8 @@ type State = {
* Stateless "mute/unmute audio" button for the Always-on-Top windows.
*/
export default class AudioMuteButton extends Component<Props, State> {
icon = IconMicrophoneEmpty;
toggledIcon = IconMicrophoneEmptySlash;
icon = IconMic;
toggledIcon = IconMicSlash;
accessibilityLabel = 'Audio mute';

/**
Expand Down
6 changes: 3 additions & 3 deletions react/features/always-on-top/VideoMuteButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { Component } from 'react';

// We need to reference these files directly to avoid loading things that are not available
// in this environment (e.g. JitsiMeetJS or interfaceConfig)
import { IconCameraEmpty, IconCameraEmptyDisabled } from '../base/icons';
import { IconVideo, IconVideoOff } from '../base/icons';
import type { Props } from '../base/toolbox/components/AbstractButton';

import ToolbarButton from './ToolbarButton';
Expand Down Expand Up @@ -31,8 +31,8 @@ type State = {
*/
export default class VideoMuteButton extends Component<Props, State> {

icon = IconCameraEmpty;
toggledIcon = IconCameraEmptyDisabled;
icon = IconVideo;
toggledIcon = IconVideoOff;
accessibilityLabel = 'Video mute';

/**
Expand Down
2 changes: 1 addition & 1 deletion react/features/base/buttons/CopyButton.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const useStyles = makeStyles()((theme: Theme) => {
background: theme.palette.success02
},

'& > div > svg > path': {
'& > div > svg': {
fill: theme.palette.icon01
}
},
Expand Down
4 changes: 2 additions & 2 deletions react/features/base/dialog/components/web/ModalHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import React from 'react';
import { WithTranslation } from 'react-i18next';

import { translate } from '../../../i18n/functions';
import { IconClose } from '../../../icons/svg';
import { IconCloseLarge } from '../../../icons/svg';
import { withPixelLineHeight } from '../../../styles/functions.web';
import Button from '../../../ui/components/web/Button';
import { BUTTON_TYPES } from '../../../ui/constants';
Expand Down Expand Up @@ -159,7 +159,7 @@ class ModalHeader extends React.Component<IProps> {
{
!hideCloseIconButton && <Button
accessibilityLabel = { t('dialog.close') }
icon = { IconClose }
icon = { IconCloseLarge }
id = 'modal-header-close-button'
onClick = { onClose }
size = 'large'
Expand Down
5 changes: 0 additions & 5 deletions react/features/base/icons/svg/AUD.svg

This file was deleted.

5 changes: 0 additions & 5 deletions react/features/base/icons/svg/HD.svg

This file was deleted.

5 changes: 0 additions & 5 deletions react/features/base/icons/svg/LD.svg

This file was deleted.

5 changes: 0 additions & 5 deletions react/features/base/icons/svg/SD.svg

This file was deleted.

5 changes: 5 additions & 0 deletions react/features/base/icons/svg/add-user.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions react/features/base/icons/svg/add.svg

This file was deleted.

3 changes: 0 additions & 3 deletions react/features/base/icons/svg/arrow-down-small.svg

This file was deleted.

3 changes: 3 additions & 0 deletions react/features/base/icons/svg/arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions react/features/base/icons/svg/arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions react/features/base/icons/svg/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions react/features/base/icons/svg/arrow-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions react/features/base/icons/svg/arrow_down.svg

This file was deleted.

3 changes: 0 additions & 3 deletions react/features/base/icons/svg/arrow_up.svg

This file was deleted.

6 changes: 2 additions & 4 deletions react/features/base/icons/svg/bluetooth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions react/features/base/icons/svg/burger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions react/features/base/icons/svg/calendar-plus.svg

This file was deleted.

3 changes: 3 additions & 0 deletions react/features/base/icons/svg/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions react/features/base/icons/svg/camera-disabled.svg

This file was deleted.

3 changes: 0 additions & 3 deletions react/features/base/icons/svg/camera-empty-disabled.svg

This file was deleted.

3 changes: 0 additions & 3 deletions react/features/base/icons/svg/camera-empty.svg

This file was deleted.

2 changes: 1 addition & 1 deletion react/features/base/icons/svg/camera-refresh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions react/features/base/icons/svg/camera-take-picture.svg

This file was deleted.

Loading

0 comments on commit 936a1a6

Please sign in to comment.