ISSUE-001 - Playing around quite a bit. Not sure I've figured out a method of constructing the tool page I'm happy with here. Want to take a different path and see what I can do.
This commit is contained in:
1 parent
c6f5899510
commit
c3b268da61
22 files changed
+412
-33
No files matched your search
@@ -0,0 +1,43 @@
|
||||
import { createGlobalStyle, ThemeProps } from "styled-components";
|
||||
|
||||
export const theme = {
|
||||
fonts: {
|
||||
basic: "Helvetica, sans-serif",
|
||||
accent: "\"Permanent Marker\", cursive",
|
||||
},
|
||||
colors: {
|
||||
orange: "#f4ae40",
|
||||
blue: "#387af5",
|
||||
pink: "#eb57a3",
|
||||
grey: "#aaa",
|
||||
},
|
||||
};
|
||||
|
||||
export type MainThemeProps = ThemeProps<typeof theme>;
|
||||
export const GlobalStyle = createGlobalStyle<MainThemeProps>`
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: ${({ theme }) => theme.fonts.basic};
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
*,
|
||||
*::after,
|
||||
*::before { box-sizing: border-box; }
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { margin: 0; }
|
||||
a { color: ${({ theme }) => theme.colors.blue} }
|
||||
a:hover { color: ${({ theme }) => theme.colors.pink} }
|
||||
|
||||
input,
|
||||
textarea,
|
||||
button {
|
||||
font-family: ${({ theme }) => theme.fonts.basic};
|
||||
}
|
||||
|
||||
.main {
|
||||
padding: 70px 0 20px;
|
||||
min-height: calc(100vh - 50px);
|
||||
}
|
||||
`;
|
||||
Reference in new issue
Block a user