8 |
9 | NOT FOUND
10 | You just hit a route that doesn't exist... the sadness.
11 |
12 | );
13 |
14 | export default NotFoundPage;
15 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "include": ["./src/**/*"],
3 | "compilerOptions": {
4 | "target": "esnext",
5 | "module": "commonjs",
6 | "lib": ["dom", "es2017"],
7 | // "allowJs": true,
8 | // "checkJs": true,
9 | "jsx": "react",
10 | "strict": true,
11 | "esModuleInterop": true,
12 | "experimentalDecorators": true,
13 | "emitDecoratorMetadata": true,
14 | "noEmit": true,
15 | "skipLibCheck": true
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # UIColor.io [](https://travis-ci.org/manosim/ui-color)
2 |
3 | ## Getting Started
4 |
5 | First, run the development server:
6 |
7 | ```bash
8 | yarn start
9 | ```
10 |
11 | Open [http://localhost:8000](http://localhost:8000) with your browser to see the result.
12 |
13 | You can start editing the page by modifying `src/pages/index.js`. The page auto-updates as you edit the file.
14 |
15 | ## Learning Gatsby
16 |
17 | Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start:
18 |
19 | - **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
20 |
21 | - **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.
22 |
--------------------------------------------------------------------------------
/src/components/forms/FormHEX.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import styled from 'styled-components';
3 | import Color from 'color';
4 |
5 | import { Input } from './Input';
6 | import { ColorPicker } from '../ColorPicker';
7 |
8 | const Container = styled.div`
9 | display: flex;
10 | flex: 1;
11 | flex-direction: row;
12 |
13 | div:first-of-type {
14 | margin-top: 0;
15 | }
16 | `;
17 |
18 | export interface IProps {
19 | value?: Color;
20 | onColorChange: any;
21 | }
22 |
23 | export const FormHEX: React.FC