feat(design-system): port most of ui atoms to bazel monorepo and new storybook

This commit is contained in:
41666 2020-10-09 15:17:23 -04:00
parent a5e2fdc7a7
commit 72ea639c5d
108 changed files with 13650 additions and 53 deletions

34
.storybook/theme.js Normal file
View file

@ -0,0 +1,34 @@
import { create } from "@storybook/theming";
import { palette } from "../src/design-system/atoms/colors";
export const roleypolyTheme = create({
base: "dark",
colorPrimary: palette.green400,
colorSecondary: palette.taupe200,
// UI
appBg: palette.taupe300,
appContentBg: palette.taupe300,
appBorderColor: palette.taupe100,
appBorderRadius: 0,
// Typography
fontBase: "system-ui, sans-serif",
fontCode: "monospace",
// Text colors
textColor: palette.grey600,
textInverseColor: palette.grey100,
// Toolbar default and active colors
barTextColor: palette.taupe500,
barSelectedColor: palette.taupe600,
barBg: palette.taupe100,
// Form colors
inputBg: "rgba(0,0,0,0.24)",
inputBorder: palette.taupe100,
inputTextColor: palette.grey600,
inputBorderRadius: 0,
});