mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
chore: update prettier tab width for consistency (#175)
This commit is contained in:
parent
a931f8c69c
commit
f24d2fcc99
247 changed files with 7224 additions and 7375 deletions
|
@ -1,4 +1,4 @@
|
|||
module.exports = {
|
||||
stories: ['../**/*.stories.mdx', '../**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
||||
stories: ['../**/*.stories.mdx', '../**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
||||
};
|
||||
|
|
|
@ -2,5 +2,5 @@ import { addons } from '@storybook/addons';
|
|||
import { roleypolyTheme } from './theme';
|
||||
|
||||
addons.setConfig({
|
||||
theme: roleypolyTheme,
|
||||
theme: roleypolyTheme,
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as React from 'react';
|
||||
|
||||
type Props = {
|
||||
children: React.ReactNode;
|
||||
children: React.ReactNode;
|
||||
};
|
||||
const Link = (props: Props) => <>{props.children}</>;
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@ import { roleypolyTheme } from './theme';
|
|||
import { mdxComponents } from '../atoms/typography/mdx';
|
||||
|
||||
export const parameters = {
|
||||
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||
docs: {
|
||||
theme: roleypolyTheme,
|
||||
components: mdxComponents,
|
||||
},
|
||||
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||
docs: {
|
||||
theme: roleypolyTheme,
|
||||
components: mdxComponents,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -2,33 +2,33 @@ import { create } from '@storybook/theming';
|
|||
import { palette } from '../atoms/colors';
|
||||
|
||||
export const roleypolyTheme = create({
|
||||
base: 'dark',
|
||||
base: 'dark',
|
||||
|
||||
colorPrimary: palette.green400,
|
||||
colorSecondary: palette.taupe200,
|
||||
colorPrimary: palette.green400,
|
||||
colorSecondary: palette.taupe200,
|
||||
|
||||
// UI
|
||||
appBg: palette.taupe300,
|
||||
appContentBg: palette.taupe200,
|
||||
appBorderColor: palette.taupe100,
|
||||
appBorderRadius: 0,
|
||||
// UI
|
||||
appBg: palette.taupe300,
|
||||
appContentBg: palette.taupe200,
|
||||
appBorderColor: palette.taupe100,
|
||||
appBorderRadius: 0,
|
||||
|
||||
// Typography
|
||||
fontBase: 'system-ui, sans-serif',
|
||||
fontCode: 'monospace',
|
||||
// Typography
|
||||
fontBase: 'system-ui, sans-serif',
|
||||
fontCode: 'monospace',
|
||||
|
||||
// Text colors
|
||||
textColor: palette.grey600,
|
||||
textInverseColor: palette.grey100,
|
||||
// Text colors
|
||||
textColor: palette.grey600,
|
||||
textInverseColor: palette.grey100,
|
||||
|
||||
// Toolbar default and active colors
|
||||
barTextColor: palette.taupe500,
|
||||
barSelectedColor: palette.taupe600,
|
||||
barBg: palette.taupe100,
|
||||
// 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,
|
||||
// Form colors
|
||||
inputBg: 'rgba(0,0,0,0.24)',
|
||||
inputBorder: palette.taupe100,
|
||||
inputTextColor: palette.grey600,
|
||||
inputBorderRadius: 0,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue