Skip to content

Commit 18bc9ec

Browse files
committed
Align progress bar with design guide
1 parent 0f61317 commit 18bc9ec

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

src/components/progress/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import * as React from 'react'
2+
import { Progress as BaseProgress } from '../ui/progress'
3+
import { cn } from '../../lib/utils'
4+
5+
export const Progress = ({ className, ...props }: React.ComponentProps<typeof BaseProgress>) => {
6+
return <BaseProgress className={cn('h-4 bg-secondary', className)} {...props} />
7+
}

src/stories/Progress/Progress.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { StoryObj } from '@storybook/react-vite'
2-
import { Progress } from '../../components/ui/progress.tsx'
2+
import { Progress } from '../../components/progress'
33
import { expect, within } from 'storybook/test'
44

55
const meta = {

src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
--card-foreground: hsl(0 0% 98%);
5555
--popover: hsl(240 10% 4%);
5656
--popover-foreground: hsl(0 0% 98%);
57-
--primary: hsl(209 100% 81%);
57+
--primary: hsl(180 100% 50.59%);
5858
--primary-foreground: hsl(240 10% 4%);
5959
--secondary: hsl(240 4% 16%);
6060
--secondary-foreground: hsl(0 0% 98%);

0 commit comments

Comments
 (0)