diff --git a/phone/src/apps/settings/default.json b/phone/src/apps/settings/default.json
index 01d3d2a..934fea5 100644
--- a/phone/src/apps/settings/default.json
+++ b/phone/src/apps/settings/default.json
@@ -1,5 +1,5 @@
{
"wallpaper": "default.png",
"frame": "s10.png",
- "theme": "default-dark"
+ "theme": "taso-dark"
}
diff --git a/phone/src/config/default.json b/phone/src/config/default.json
index a6aa440..e0b818f 100644
--- a/phone/src/config/default.json
+++ b/phone/src/config/default.json
@@ -13,6 +13,26 @@
"palette": {
"type": "light"
}
+ },
+ "taso-dark": {
+ "common": {},
+ "palette": {
+ "type": "dark",
+ "background": {
+ "paper": "#1c1c1c",
+ "default": "#121212",
+ "dark": "#000000",
+ "light": "#383838"
+ },
+ "text": {
+ "primary": "#fff",
+ "secondary": "rgba(255, 255, 255, 0.7)",
+ "disabled": "rgba(255, 255, 255, 0.5)",
+ "hint": "rgba(255, 255, 255, 0.5)",
+ "icon": "rgba(255, 255, 255, 0.5)"
+ }
+ },
+ "divider": "rgba(255, 255, 255, 0.12)"
}
}
}
diff --git a/phone/src/os/apps/hooks/useApps.tsx b/phone/src/os/apps/hooks/useApps.tsx
index 40b4d25..5ce674f 100644
--- a/phone/src/os/apps/hooks/useApps.tsx
+++ b/phone/src/os/apps/hooks/useApps.tsx
@@ -1,5 +1,5 @@
-import React from "react";
-import { useConfig } from "../../../config/hooks/useConfig";
+import React from 'react';
+import { useConfig } from '../../../config/hooks/useConfig';
import {
blue,
common,
@@ -9,109 +9,109 @@ import {
yellow,
red,
amber,
-} from "@material-ui/core/colors";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
+} from '@material-ui/core/colors';
+import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
faAd,
faPlaneArrival,
faPhoneAlt,
faWonSign,
- faStickyNote
-} from "@fortawesome/free-solid-svg-icons";
-import { faTwitter } from "@fortawesome/free-brands-svg-icons";
+ faStickyNote,
+} from '@fortawesome/free-solid-svg-icons';
+import { faTwitter } from '@fortawesome/free-brands-svg-icons';
-import ContactsIcon from "@material-ui/icons/Contacts";
-import SettingsIcon from "@material-ui/icons/Settings";
-import MessageIcon from "@material-ui/icons/Message";
-import { atom } from "recoil";
-import { CalculatorIcon } from "../../../apps/calculator/components/CalculatorIcon";
-import { Route } from "react-router-dom";
-import { DialerApp } from "../../../apps/dialer/components/DialerApp";
-import { ContactsApp } from "../../../apps/contacts/components/ContactsApp";
-import { CalculatorApp } from "../../../apps/calculator/components/CalculatorApp";
-import { SettingsApp } from "../../../apps/settings/components/SettingsApp";
-import { BankApp } from "../../../apps/bank/components/BankApp";
-import { MessagesApp } from "../../../apps/messages/components/MessagesApp";
-import { TwitterApp } from "../../../apps/twitter/components/TwitterApp";
-import { ExampleApp } from "../../../apps/example/components/ExampleApp";
-import { SelloutApp } from "../../../apps/sellout/components/SelloutApp";
-import { NotesApp } from "../../../apps/notes/NotesApp";
+import ContactsIcon from '@material-ui/icons/Contacts';
+import SettingsIcon from '@material-ui/icons/Settings';
+import MessageIcon from '@material-ui/icons/Message';
+import { atom } from 'recoil';
+import { CalculatorIcon } from '../../../apps/calculator/components/CalculatorIcon';
+import { Route } from 'react-router-dom';
+import { DialerApp } from '../../../apps/dialer/components/DialerApp';
+import { ContactsApp } from '../../../apps/contacts/components/ContactsApp';
+import { CalculatorApp } from '../../../apps/calculator/components/CalculatorApp';
+import { SettingsApp } from '../../../apps/settings/components/SettingsApp';
+import { BankApp } from '../../../apps/bank/components/BankApp';
+import { MessagesApp } from '../../../apps/messages/components/MessagesApp';
+import { TwitterApp } from '../../../apps/twitter/components/TwitterApp';
+import { ExampleApp } from '../../../apps/example/components/ExampleApp';
+import { SelloutApp } from '../../../apps/sellout/components/SelloutApp';
+import { NotesApp } from '../../../apps/notes/NotesApp';
const appsState = atom({
- key: "apps",
+ key: 'apps',
default: {
preinstalled: [
{
- id: "DIALER",
- nameLocale: "APPS_DIALER",
- icon: ,
+ id: 'DIALER',
+ nameLocale: 'APPS_DIALER',
+ icon: ,
backgroundColor: green[600],
color: common.white,
- path: "/phone",
- Route: () => ,
+ path: '/phone',
+ Route: () => ,
},
{
- id: "MESSAGES",
- nameLocale: "APPS_MESSAGES",
- icon: ,
+ id: 'MESSAGES',
+ nameLocale: 'APPS_MESSAGES',
+ icon: ,
backgroundColor: amber[700],
color: common.white,
- path: "/messages",
- Route: () => ,
+ path: '/messages',
+ Route: () => ,
},
{
- id: "CONTACTS",
- nameLocale: "APPS_CONTACTS",
+ id: 'CONTACTS',
+ nameLocale: 'APPS_CONTACTS',
icon: ,
backgroundColor: blue[500],
color: common.white,
- path: "/contacts",
- Route: () => ,
+ path: '/contacts',
+ Route: () => ,
},
{
- id: "CALCULATOR",
- nameLocale: "APPS_CALCULATOR",
+ id: 'CALCULATOR',
+ nameLocale: 'APPS_CALCULATOR',
icon: ,
backgroundColor: purple[500],
color: grey[50],
- path: "/calculator",
- Route: () => ,
+ path: '/calculator',
+ Route: () => ,
},
{
- id: "SETTINGS",
- nameLocale: "APPS_SETTINGS",
+ id: 'SETTINGS',
+ nameLocale: 'APPS_SETTINGS',
icon: ,
- backgroundColor: grey[700],
+ backgroundColor: '#383838',
color: grey[50],
- path: "/settings",
- Route: () => ,
+ path: '/settings',
+ Route: () => ,
},
{
- id: "BANK",
- nameLocale: "APPS_BANK",
- icon: ,
+ id: 'BANK',
+ nameLocale: 'APPS_BANK',
+ icon: ,
backgroundColor: blue[900],
color: common.white,
- path: "/bank",
- Route: () => ,
+ path: '/bank',
+ Route: () => ,
},
{
- id: "TWITTER",
- nameLocale: "APPS_TWITTER",
- icon: ,
+ id: 'TWITTER',
+ nameLocale: 'APPS_TWITTER',
+ icon: ,
backgroundColor: blue[600],
color: common.white,
- path: "/twitter",
- Route: () => ,
+ path: '/twitter',
+ Route: () => ,
},
{
- id: "SELLOUT",
- nameLocale: "APPS_SELLOUT",
+ id: 'SELLOUT',
+ nameLocale: 'APPS_SELLOUT',
icon: ,
backgroundColor: red[500],
color: common.white,
- path: "/sellout",
- Route: () => ,
+ path: '/sellout',
+ Route: () => ,
},
{
id: 'NOTES',
@@ -119,17 +119,17 @@ const appsState = atom({
icon: ,
backgroundColor: yellow[800],
color: common.white,
- path: "/notes",
- Route: () =>
+ path: '/notes',
+ Route: () => ,
},
{
- id: "EXAMPLE",
- nameLocale: "APPS_EXAMPLE",
- icon: ,
+ id: 'EXAMPLE',
+ nameLocale: 'APPS_EXAMPLE',
+ icon: ,
backgroundColor: blue[500],
color: blue[50],
- path: "/example",
- Route: () => ,
+ path: '/example',
+ Route: () => ,
},
],
},
diff --git a/phone/src/os/notifications/components/NotificationBar.tsx b/phone/src/os/notifications/components/NotificationBar.tsx
index aa0dbe0..738d9ee 100644
--- a/phone/src/os/notifications/components/NotificationBar.tsx
+++ b/phone/src/os/notifications/components/NotificationBar.tsx
@@ -1,30 +1,30 @@
-import React from "react";
-import { makeStyles, Typography, Grid, IconButton } from "@material-ui/core";
-import { fade } from "@material-ui/core/styles/colorManipulator";
-import SignalIcon from "@material-ui/icons/SignalCellular3Bar";
-import Battery90Icon from "@material-ui/icons/Battery90";
-import Default from "../../../config/default.json";
+import React from 'react';
+import { makeStyles, Typography, Grid, IconButton } from '@material-ui/core';
+import { fade } from '@material-ui/core/styles/colorManipulator';
+import SignalIcon from '@material-ui/icons/SignalCellular3Bar';
+import Battery90Icon from '@material-ui/icons/Battery90';
+import Default from '../../../config/default.json';
const useStyles = makeStyles((theme) => ({
root: {
- backgroundColor: fade(theme.palette.background.paper, 0.7),
- height: "25px",
- width: "100%",
+ backgroundColor: theme.palette.background.default,
+ height: '25px',
+ width: '100%',
color: theme.palette.text.primary,
zIndex: 2,
- paddingLeft: "10px",
- paddingRight: "10px",
+ paddingLeft: '10px',
+ paddingRight: '10px',
},
item: {
- margin: "0 6px",
+ margin: '0 6px',
},
text: {
- position: "relative",
- bottom: "4px",
+ position: 'relative',
+ bottom: '4px',
color: theme.palette.text.primary,
},
icon: {
- padding: "4px",
+ padding: '4px',
color: theme.palette.text.primary,
},
}));
@@ -44,10 +44,10 @@ export const NotificationBar = ({ notifications = [] }: IProps) => {
-
+
{notifications.map((notification) => (
{
))}
-
+
-
+
-
+
{Default.cellProvider}
-
+