Skip to content

Commit

Permalink
tweak(phone/os): icon changse
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Jan 13, 2024
1 parent b822e9b commit eeb3268
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 47 deletions.
2 changes: 1 addition & 1 deletion apps/phone/src/os/apps/config/apps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { SvgIconProps, Theme } from '@mui/material';
import { INotificationIcon } from '@os/notifications/providers/NotificationsProvider';
import { BrowserApp } from '@apps/browser/components/BrowserApp';
import { MatchApp } from '@apps/match/components/MatchApp';
import LifeInvaderContainer from '@apps/twitter/components/LifeInvaderContainer';
import LifeInvaderContainer from '@apps/twitter/components/TwitterContainer';
import { IPhoneSettings } from '@typings/settings';
import { i18n } from 'i18next';
import {
Expand Down
14 changes: 2 additions & 12 deletions apps/phone/src/os/apps/icons/material/app/TWITTER.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
import React from 'react';
import { Twitter } from '@mui/icons-material';
import { Twitter } from 'lucide-react';

const TwitterIcon: React.FC = () => (
<svg width="40" height="40" viewBox="0 0 180 225" fill="none" xmlns="http://www.w3.org/2000/svg"
xlinkHref="http://www.w3.org/1999/xlink">
<rect width="225" height="225" fill="url(#pattern0)" />
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlinkHref="#image0_6_17" transform="scale(0.00444444)" />
</pattern>
<image id="image0_6_17" width="225" height="225"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAYAAAA+s9J6AAAAAXNSR0IArs4c6QAAEBBJREFUeF7tnXmsHlUZh38j0ELLFrCFyxLAgEFoqQoimtomRStLFMsqyh5ZGoQ2QmmRCLdFC20RBG0oSGSRgBGLgH+QIBKp/iFYEkjbQHChGqWRilJCuLYWx8zc3i703vu978x8c+Z83/Mlxob+zpxznvM+PbN8SyJeEIBAUAJJ0N7pHAIQEBJSBBAITAAJAy8A3UMAC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co2lI/+BQMJCtZA1ikbCzTvijTf0/4ZF9r26nJoWXvjKG2YS9l6v5OaFUdVU5RwKHDA6YOnZX0l1xUzp2E8gYYEFb1uTTML5C5TMuyG6mmobE+OBowSWZp8/XLigV5+bYpwmsbYTQMLCiKOUMD81zUS89OJenX0Wn0EsvPwVN1x4i5LZs6KtqYppmA8XPbD8hs2c2Z3zM2vmpbMFa70JtORuJdMvjb6mbGSrS3UMsPyn1k44iU9fVFcb/iMhoZ9ZbHdHW80wf7/pqadKn53c/3nE7KfJsv8f+P3Aht9NrXXX2gyzwl5/eJeSSy7rmH/YW9VbVX/fkcDyO6jXzpLGjd9WwoxaE0Ws0IP8ejnUv64/vl/JeRd0ZE1VJdxgx+loYOnlX0v11UukIz7MzZv3rX5bREXCQq52tIQDRNI516Q6bqI0YXz/g35e1RPITv3vuYfT0QJku0LCzTJmd1IPPUSa8nlp4qf4suECBTNsE36jsBDRrpJwa0L5c8bJn+7VaadJR02Q+PBwoQLa3GjlKiXjx3VtPZWBB7SBB/+ZkBM+Lh01Ttp77/4PEu+11/YfKM5Ou7IX34u6pe5Wr5a+eR2/W1/QRCQcBFyafcfNvj3S4R+ResZI+x4o9ewj7TO2Y55Dlr4x09cnLf+9tOoV6YnH+ER9QQHzf89LtO2qpumkSanG7iPttlv/vAd+ReqAA6XDPtT/30aPboukpYUpu1LZTpe9XlohrVkjvbJKeuOf0suv8sVOZdkiYQUEhzlELu7+B/QnsmvO3Xft//MuO0sjRrfufPSoLZnddx86v0Om6aZX1s/Aa+NWTbI3WA+83n57y5/ffXPLn//6hvSvf0s77Si98Q8ly5bxj3TrVSqdAHJphBwAAuUIIGE5frSGQGkCSFgaIQeAQDkCSFiOH60hUJoAEpZGyAEgUI4AEpbjR2sIlCbwf+HPri2ZcieTAAAAAElFTkSuQmCC" />
</defs>
</svg>
<Twitter size={30} />
);

export default TwitterIcon;
14 changes: 2 additions & 12 deletions apps/phone/src/os/apps/icons/material/svg/TWITTER.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
import React from 'react';
import { Twitter } from '@mui/icons-material';
import { Twitter } from 'lucide-react';

const TwitterIcon: React.FC = () => (
<svg width="10" height="10" viewBox="0 0 180 225" fill="none" xmlns="http://www.w3.org/2000/svg"
xlinkHref="http://www.w3.org/1999/xlink">
<rect width="225" height="225" fill="url(#pattern0)"/>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlinkHref="#image0_6_17" transform="scale(0.00444444)"/>
</pattern>
<image id="image0_6_17" width="225" height="225"
xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAYAAAA+s9J6AAAAAXNSR0IArs4c6QAAEBBJREFUeF7tnXmsHlUZh38j0ELLFrCFyxLAgEFoqQoimtomRStLFMsqyh5ZGoQ2QmmRCLdFC20RBG0oSGSRgBGLgH+QIBKp/iFYEkjbQHChGqWRilJCuLYWx8zc3i703vu978x8c+Z83/Mlxob+zpxznvM+PbN8SyJeEIBAUAJJ0N7pHAIQEBJSBBAITAAJAy8A3UMACakBCAQmgISBF4DuIYCE1AAEAhNAwsALQPcQQEJqAAKBCSBh4AWgewggITUAgcAEgkqYzrkm1UknS4ceJu24ozRihLRhQzgkA/1v3LhlDE8/Jd33kJJnngrKKhwUem43gWCFld55V6rTpkkf3Kt/jskO7Z5rseP39Ul/+rO0+E4lSxYH41Vs8LSKgUCQosp3wG9cLY0ZEwOj/jGuWaNkv/2C8IoHEiMtQiBIUaWvv56qp6fIeMO2WXK3kumXBmEWduL03k4CtRdUOuPKVAsWSiNHtnNe7Tn2ylVKxo+rnVl7JsNRm0Kg9oLKT0V758UpIaekTanbjhoHEnqWEwk9tMgaCSBhC1BpduN2IIOExrIi5iGAhB5aSOihRdZIAAmNoHhM4QFF1kMgegm3OV30zLxIlp2wCDXatCAQvYS1rjAS1oq7WzpDQs9KI6GHFlkjASQ0guKa0AOKrIdA8yWs9aKvBTp2Qk9tkTUSaL6ExonUEkPCWjB3Wyd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pJwa0L5c8bJn+7VaadJR02Q+PBwoQLa3GjlKiXjx3VtPZWBB7SBB/+ZkBM+Lh01Ttp77/4PEu+11/YfKM5Ou7IX34u6pe5Wr5a+eR2/W1/QRCQcBFyafcfNvj3S4R+ResZI+x4o9ewj7TO2Y55Dlr4x09cnLf+9tOoV6YnH+ER9QQHzf89LtO2qpumkSanG7iPttlv/vAd+ReqAA6XDPtT/30aPboukpYUpu1LZTpe9XlohrVkjvbJKeuOf0suv8sVOZdkiYQUEhzlELu7+B/QnsmvO3Xft//MuO0sjRrfufPSoLZnddx86v0Om6aZX1s/Aa+NWTbI3WA+83n57y5/ffXPLn//6hvSvf0s77Si98Q8ly5bxj3TrVSqdAHJphBwAAuUIIGE5frSGQGkCSFgaIQeAQDkCSFiOH60hUJoAEpZGyAEgUI4AEpbjR2sIlCbwf+HPri2ZcieTAAAAAElFTkSuQmCC"/>
</defs>
</svg>
<Twitter size={16} />
)

export default TwitterIcon;
8 changes: 5 additions & 3 deletions apps/phone/src/ui/components/AppIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const useStyles = makeStyles<Theme, { color: string; backgroundColor: string }>(
},
avatar: {
'&:hover': {
backgroundColor: ({ backgroundColor }) => darken(backgroundColor, 0.1),
background: ({ backgroundColor }) => {
return `linear-gradient(45deg, ${darken(backgroundColor, 0.25)} 10%, ${backgroundColor} 90%)`;
},
},
background: ({ backgroundColor }) => {
return `linear-gradient(45deg, ${darken(backgroundColor, 0.2)} 20%, ${backgroundColor} 90%)`;
Expand Down Expand Up @@ -66,7 +68,7 @@ export const AppIcon: React.FC<AppIconProps> = ({
});

return (
<Button disableTouchRipple disableRipple disableFocusRipple className={classes.root}>
<button className={classes.root}>
<Badge
color="error"
badgeContent={notification?.badge}
Expand All @@ -78,6 +80,6 @@ export const AppIcon: React.FC<AppIconProps> = ({
<div className={classes.avatar}>{icon || t(nameLocale)}</div>
)}
</Badge>
</Button>
</button>
);
};
42 changes: 23 additions & 19 deletions apps/phone/src/ui/components/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,30 @@ export const ContextMenu: React.FC<ContextMenuProps> = ({
mountOnEnter
unmountOnExit
>
<div className="min-h-10%] z-[9999] max-h-full w-full overflow-auto rounded-t-2xl border-t border-neutral-800 bg-neutral-100 dark:bg-neutral-900 p-2 text-white">
<div className="z-[9999] max-h-[70%] max-h-full min-h-[10%] w-full overflow-hidden rounded-t-2xl border-t border-neutral-800 bg-neutral-100 p-2 text-white dark:bg-neutral-900">
<div className="flex items-center justify-between px-2">
<p className="text-base font-medium text-neutral-900 dark:text-neutral-50">{settingLabel}</p>
<button onClick={onClose} className="dark:text-neutral-50 text-neutral-900">
<p className="text-base font-medium text-neutral-900 dark:text-neutral-50">
{settingLabel}
</p>
<button onClick={onClose} className="text-neutral-900 dark:text-neutral-50">
<X size={24} />
</button>
</div>
<List>
{_options.map((option) => (
<ListItem
startElement={option.icon}
primaryText={option.label}
secondaryText={option.description}
button
selected={option.selected}
onClick={(e) => {
option.onClick(e, option);
onClose();
}}
/>
/* <ListItem
<div className="overflow-auto max-h-[500px] pb-4">
<List>
{_options.map((option) => (
<ListItem
startElement={option.icon}
primaryText={option.label}
secondaryText={option.description}
button
selected={option.selected}
onClick={(e) => {
option.onClick(e, option);
onClose();
}}
/>
/* <ListItem
selected={option.selected}
key={option.key || option.label}
button
Expand All @@ -67,8 +70,9 @@ export const ContextMenu: React.FC<ContextMenuProps> = ({
{option.icon && <ListItemIcon>{option.icon}</ListItemIcon>}
<ListItemText primary={option.label} secondary={option.description} />
</ListItem> */
))}
</List>
))}
</List>
</div>
</div>
</Slide>
);
Expand Down

0 comments on commit eeb3268

Please sign in to comment.