diff --git a/src/pages/Popup/Icon.tsx b/src/pages/Popup/Icon.tsx
index 9a56c26..ca65cd8 100644
--- a/src/pages/Popup/Icon.tsx
+++ b/src/pages/Popup/Icon.tsx
@@ -10,9 +10,9 @@ const Icon = ({ icon }: any) => {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
- color: 'white',
+ color: 'background',
':hover': {
- backgroundColor: '#8750A7',
+ backgroundColor: 'primaryDark',
},
}}
>
diff --git a/src/pages/Popup/LocationPage.tsx b/src/pages/Popup/LocationPage.tsx
new file mode 100644
index 0000000..02bc61b
--- /dev/null
+++ b/src/pages/Popup/LocationPage.tsx
@@ -0,0 +1,31 @@
+import React, { useState, useEffect } from 'react'
+import { Box, Label, Input, Select } from 'theme-ui'
+
+const LocationPage = () => {
+ return (
+
+ Location
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
+
+export default LocationPage
diff --git a/src/pages/Popup/Popup.tsx b/src/pages/Popup/Popup.tsx
index 6cfe87c..5c15df5 100644
--- a/src/pages/Popup/Popup.tsx
+++ b/src/pages/Popup/Popup.tsx
@@ -1,8 +1,9 @@
import React, { useState, useEffect } from 'react'
-import { ThemeProvider } from 'theme-ui'
+import { ThemeProvider, Flex } from 'theme-ui'
import { theme } from '../../theme'
-import { Home, MapPin, Globe, Command, Users, List } from 'react-feather'
+import { Home, MapPin, Globe, Users, List } from 'react-feather'
import Icon from './Icon'
+import LocationPage from './LocationPage'
// import Navbar from './Navbar'
// import IpSettings from './IpSettings'
// import ProfileSelect from './ProfileSelect'
@@ -17,33 +18,28 @@ const Popup = () => {
return (
-
-
+
-
- } />
- } />
- } />
- } />
- } />
- } />
-
-
-
-
+ } />
+ } />
+ } />
+ } />
+ } />
+
+
+
)
}
diff --git a/src/pages/Popup/index.css b/src/pages/Popup/index.css
deleted file mode 100644
index ab76e6f..0000000
--- a/src/pages/Popup/index.css
+++ /dev/null
@@ -1,27 +0,0 @@
-:root {
- --main: #A965D1;
- --text: #212121;
- --background: #fff;
- --scrollbar: #ccc;
- --navbar: #A965D1;
- --icon: #aab7b8;
- --border: #f0f3f4;
-}
-
-body {
- color: var(--text);
- background-color: var(--background);
- font-size: 13px;
- line-height: 22px;
- width: 350px;
- height: 350px;
- margin: 0;
- font-family: 'Segoe UI', Tahoma, sans-serif;
-}
-
-input[type=checkbox] {
- vertical-align: middle;
- position: relative;
- bottom: 1px;
- margin: 0 4px 0 0
-}
diff --git a/src/pages/Popup/index.jsx b/src/pages/Popup/index.jsx
index 7d2320a..2228d31 100644
--- a/src/pages/Popup/index.jsx
+++ b/src/pages/Popup/index.jsx
@@ -2,7 +2,6 @@ import React from 'react'
import { render } from 'react-dom'
import Popup from './Popup'
-import './index.css'
render(, window.document.querySelector('#app-container'))
diff --git a/src/theme.ts b/src/theme.ts
index 2db45a8..e266a84 100644
--- a/src/theme.ts
+++ b/src/theme.ts
@@ -1,14 +1,40 @@
import type { Theme } from 'theme-ui'
export const theme: Theme = {
- fonts: {
- body: 'system-ui, sans-serif',
- heading: '"Avenir Next", sans-serif',
- monospace: 'Menlo, monospace',
- },
colors: {
- text: '#000',
- background: '#fff',
- primary: '#33e',
+ text: '#333333',
+ background: '#FDFDFD',
+ primary: '#a965d1',
+ primaryDark: '#8750A7',
},
-}
\ No newline at end of file
+ styles: {
+ root: {
+ backgroundColor: 'body',
+ color: 'text',
+ fontSize: '16px',
+ lineHeight: '22px',
+ margin: '0',
+ fontFamily: "'Segoe UI', Tahoma, sans-serif",
+ },
+ },
+ forms: {
+ label: {},
+ input: {
+ p: '2px 8px',
+ mb: '8px',
+ borderColor: 'gray',
+ '&:focus': {
+ borderColor: 'primaryDark',
+ outline: 'none',
+ },
+ },
+ select: {
+ p: '2px 8px',
+ borderColor: 'gray',
+ '&:focus': {
+ borderColor: 'primaryDark',
+ outline: 'none',
+ },
+ },
+ },
+}