@@ -16,11 +16,11 @@ const DifficultyTag = ({
1616 size ?: "sm" | "md" ;
1717} ) => {
1818 const difficultyColorMap = {
19- beginner : "text-[rgba(20,108,88,1) ] border-[rgba(20,108,88,1) ]" ,
19+ beginner : "text-[#146C58 ] border-[#146C58 ]" ,
2020 intermediate : "text-[rgba(180,83,9,1)] border-[rgba(180,83,9,1)]" ,
2121 expert : "text-[rgba(153,27,27,1)] border-[rgba(153,27,27,1)]" ,
22- "all welcome" : "text-[rgba(20,108,88,1) ] border-[rgba(20,108,88,1) ]" ,
23- other : "text-[rgba(20,108,88,1) ] border-[rgba(20,108,88,1) ]" ,
22+ "all welcome" : "text-[#146C58 ] border-[#146C58 ]" ,
23+ other : "text-[#146C58 ] border-[#146C58 ]" ,
2424 } ;
2525
2626 const difficultyTextMap = {
@@ -38,7 +38,7 @@ const DifficultyTag = ({
3838
3939 return (
4040 < div
41- className = { `${ difficultyColorMap [ difficulty ] } border border-solid px-2 py-0.5 uppercase ${ sizeMap [ size ] } shrink-0` }
41+ className = { `${ difficultyColorMap [ difficulty ] } bg-white border border-solid px-2 py-0.5 uppercase ${ sizeMap [ size ] } shrink-0` }
4242 >
4343 { difficultyTextMap [ difficulty ] }
4444 </ div >
@@ -98,7 +98,7 @@ const TypeTag = ({
9898
9999 return (
100100 < div
101- className = { `${ typeColorMap [ category ] } px-2 py-0.5 rounded-full uppercase ${ sizeMap [ size ] } ` }
101+ className = { `${ typeColorMap [ category ] } px-2 py-0.5 bg-white rounded-full uppercase ${ sizeMap [ size ] } ` }
102102 >
103103 { typeTextMap [ category ] }
104104 </ div >
0 commit comments