Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ const preview: Preview = {
layout: 'centered',

backgrounds: {
default: 'dark',
options: {
black: { name: 'black', value: '#000000' },
dark: { name: 'dark', value: '#000000' },
},
},

Expand All @@ -27,7 +28,7 @@ const preview: Preview = {
},
},
initialGlobals: {
backgrounds: { value: 'black' },
backgrounds: { value: 'dark' },
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ const meta = {
control: false,
},
},
parameters: {
backgrounds: {
default: 'black',
},
},
} satisfies Meta<typeof AIReviewRequirementModal>;

export default meta;
Expand Down
5 changes: 0 additions & 5 deletions src/shared/ui/button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ const meta = {
options: ['primary', 'secondary', 'ghost', 'outline'],
},
},
parameters: {
backgrounds: {
default: 'dark',
},
},
} satisfies Meta<typeof Button>;

export default meta;
Expand Down
5 changes: 0 additions & 5 deletions src/shared/ui/confirm-modal/ConfirmModal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ const meta = {
control: 'text',
},
},
parameters: {
backgrounds: {
default: 'black',
},
},
} satisfies Meta<typeof ConfirmModal>;

export default meta;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/logo/SymbolLogo.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const meta = {
component: SymbolLogo,
decorators: [
(Story) => (
<div className="bg-black p-8">
<div className="p-8">
<Story />
</div>
),
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/logo/TextLogo.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const meta = {
},
decorators: [
(Story) => (
<div className="bg-black p-8 text-white">
<div className="p-8 text-white">
<Story />
</div>
),
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/page-header/PageHeader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const meta = {
},
decorators: [
(Story) => (
<div className="min-w-160 bg-black p-8 text-white">
<div className="min-w-160 p-8 text-white">
<Story />
</div>
),
Expand Down
5 changes: 0 additions & 5 deletions src/shared/ui/surface/Surface.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,6 @@ const meta = {
control: 'boolean',
},
},
parameters: {
backgrounds: {
default: 'black',
},
},
} satisfies Meta<typeof Surface>;

export default meta;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/ui/title/Title.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const meta = {
},
decorators: [
(Story) => (
<div className="min-w-160 bg-black p-8 text-white">
<div className="min-w-160 p-8 text-white">
<Story />
</div>
),
Expand Down
11 changes: 3 additions & 8 deletions src/shared/ui/tooltip/Tooltip.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const PLACEMENT_EXAMPLES = [

function TooltipExample(props: TooltipStoryProps) {
return (
<div className="flex min-h-72 items-center justify-center bg-black p-12">
<div className="flex min-h-72 items-center justify-center p-12">
<Tooltip {...props}>
<Tooltip.Trigger asChild>
<Button aria-label="AI 첨삭 도움말" iconOnly variant="outline">
Expand Down Expand Up @@ -92,11 +92,6 @@ const meta = {
control: false,
},
},
parameters: {
backgrounds: {
default: 'black',
},
},
} satisfies Meta<typeof Tooltip.Root>;

export default meta;
Expand All @@ -109,7 +104,7 @@ export const Playground: Story = {

export const Placements: Story = {
render: () => (
<div className="grid min-h-96 place-items-center bg-black p-16">
<div className="grid min-h-96 place-items-center p-16">
<div className="grid grid-cols-3 items-center gap-6">
<div className="col-start-2 row-start-2 rounded-xl border border-gray-700 bg-gray-900 px-5 py-4 text-center body-14 text-gray-100">
Hover / Focus
Expand All @@ -134,7 +129,7 @@ export const Placements: Story = {

export const TextTrigger: Story = {
render: () => (
<p className="min-h-64 bg-black p-12 body-16 text-gray-100">
<p className="min-h-64 p-12 body-16 text-gray-100">
문장 안에서도{' '}
<Tooltip placement="bottom">
<Tooltip.Trigger asChild>
Expand Down
Loading