Skip to content

Commit

Permalink
fix(linearProgress): linear progress component style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmchein committed Aug 15, 2022
1 parent 914198b commit b73b29f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ui/LinearProgress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const LinearProgress = ({
);

return (
<div className="h-1.5 w-full bg-gray-300 rounded" {...rest}>
<div className="h-2 w-full bg-gray-300 rounded" {...rest}>
<div
className={genClassName}
style={{ width: `${((value - min) / (max - min)) * 100}%` }}
Expand All @@ -30,7 +30,7 @@ export const LinearProgress = ({
const LINEAR_PROGRESS_BASE = "h-full rounded";

const VARIANTS = {
primary: "bg-blue-500",
secondary: "bg-green-500",
danger: "bg-red-500",
primary: "bg-gradient-to-r from-cyan-500 to-blue-800",
secondary: "bg-gradient-to-r from-emerald-400 to-green-800",
danger: "bg-gradient-to-r from-pink-500 to-red-800",
};

0 comments on commit b73b29f

Please sign in to comment.