added root styles

added auto editor
cleaned up styles for dagboard
This commit is contained in:
ari committed 2021-12-16 16:41:33 -05:00
1 parent fff15f65ce
commit 1efb04fe68
11 files changed
+328 -36

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
:root {
--primary: #111111;
--secondary: #1c1c1c;
--primaryAccent: #bbbbbb;
--secondaryAccent: #929191;
touch-action: pan-x pan-y;
height: 100%;
}
html,
body,
#root {
margin: 0 !important;
padding: 0 !important;
height: 100vh;
width: 100vw;
overflow: hidden !important;
font-family: Tahoma, Geneva, sans-serif;
display: flex !important;
align-items: center;
justify-items: center;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: var(--secondary);
}
/* Handle */
::-webkit-scrollbar-thumb {
background: var(--secondary-accent);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: var(--primary-accent);
}
+3 -2
View File
@@ -1,8 +1,9 @@
import "styles/root.css";
import { Classes } from "jss";
import { Context, createContext } from "react"
import { createUseStyles, Styles } from "react-jss";
import { createTheming } from "theming"
// import Color from 'color';
export const {
context: ThemeContext,
@@ -34,4 +35,4 @@ export const createAppUseStyles = <
const useStyles = createUseStyles<C,Props,AppTheme>(f)
const classes = useStyles({...props, theme}) as Classes<keyof Styles<C, Props, AppTheme>>;
return {classes, theme};
}
}