Skip to content

Commit

Permalink
refactor tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas committed Dec 19, 2024
1 parent 2721ef2 commit e72f00a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions client/src/containers/overview/table/toolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,15 @@ export default function ToolbarProjectsTable() {
Each metric can go from a scale from low to high:
</p>
<div className="!mt-4 grid grid-cols-3 gap-2 text-center">
<div className="height[fit-content] rounded-md bg-ramps-red p-2 text-sky-blue-950">
<div className="h-fit rounded-md bg-ramps-red p-2 text-sky-blue-950">
<div className="font-medium">Low</div>
<div className="text-sm">Description of low</div>
</div>
<div className="height[fit-content] rounded-md bg-ramps-yellow p-2 text-sky-blue-950">
<div className="h-fit rounded-md bg-ramps-yellow p-2 text-sky-blue-950">
<div className="font-medium">Medium</div>
<div className="text-sm">Description</div>
</div>
<div className="height[fit-content] rounded-md bg-ramps-green p-2 text-sky-blue-950">
<div className="h-fit rounded-md bg-ramps-green p-2 text-sky-blue-950">
<div className="font-medium">High</div>
<div className="text-sm">Description</div>
</div>
Expand Down
8 changes: 5 additions & 3 deletions client/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ const config: Config = {
500: "#EACD3F",
},
green: "#90BA36",
"ramps-green": "#A4B591",
"ramps-yellow": "#F5EBB8",
"ramps-red": "#F7BA93",
ramps: {
green: "#A4B591",
yellow: "#F5EBB8",
red: "#F7BA93",
},
"deep-ocean": "#132A47",
},
borderRadius: {
Expand Down

0 comments on commit e72f00a

Please sign in to comment.