diff --git a/.storybook/nds-theme/ThemeColorInput.jsx b/.storybook/nds-theme/ThemeColorInput.jsx deleted file mode 100644 index 6d9abf9ca..000000000 --- a/.storybook/nds-theme/ThemeColorInput.jsx +++ /dev/null @@ -1,44 +0,0 @@ -import React, { useState } from "react"; -import { ChromePicker } from "react-color"; -import styled from "styled-components"; - -import { ThemeInput } from "./ThemeInput"; - -const Popover = styled.div({ - position: "absolute", - zIndex: "2", -}); - -const CloseableArea = styled.div({ - position: "fixed", - top: "0px", - right: "0px", - bottom: "0px", - left: "100px", -}); - -const Swatch = styled.div(({ color }) => ({ - backgroundColor: color, - height: "15px", - width: "23px", - borderRadius: "3px", - margin: "0 5px", -})); - -const ThemeColorInput = ({ color, onChange }) => { - const [displayColorPicker, setDisplayColorPicker] = useState(false); - return ( - <> - - setDisplayColorPicker(true)} value={color} readOnly /> - {displayColorPicker ? ( - - setDisplayColorPicker(false)} /> - onChange(e)} /> - - ) : null} - - ); -}; - -export default ThemeColorInput; diff --git a/.storybook/nds-theme/ThemeKey.jsx b/.storybook/nds-theme/ThemeKey.jsx deleted file mode 100644 index 146277a4d..000000000 --- a/.storybook/nds-theme/ThemeKey.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import styled from "styled-components"; -import { Text } from "../../src"; - -const ThemeKey = styled(Text)(({ theme }) => ({ - display: "inline-block", - width: "250px", - fontSize: theme.fontSizes.small, - fontFamily: `${theme.fonts.mono} important`, - marginRight: theme.space.x3, -})); - -export default ThemeKey;