mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
fix: inconsistent color vars (#7028)
* Fix inconsistent color vars * pointless commit Signed-off-by: Prospector <6166773+Prospector@users.noreply.github.com> * undo Signed-off-by: Prospector <6166773+Prospector@users.noreply.github.com> * prepr --------- Signed-off-by: Prospector <6166773+Prospector@users.noreply.github.com> Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -514,7 +514,7 @@ function roleClasses(role: ServerAccessRole): string {
|
||||
case 'owner':
|
||||
return 'border-orange !bg-highlight-orange !text-orange'
|
||||
case 'editor':
|
||||
return 'border-green !bg-highlight-green !text-brand'
|
||||
return 'border-green !bg-highlight-green !text-green'
|
||||
case 'viewer':
|
||||
return 'border-blue !bg-highlight-blue !text-blue'
|
||||
}
|
||||
|
||||
@@ -300,7 +300,7 @@ function roleClasses(role: ServerAccessRole): string {
|
||||
case 'owner':
|
||||
return 'border-orange bg-highlight-orange text-orange'
|
||||
case 'editor':
|
||||
return 'border-green bg-highlight-green text-brand'
|
||||
return 'border-green bg-highlight-green text-green'
|
||||
case 'viewer':
|
||||
return 'border-blue bg-highlight-blue text-blue'
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ function roleClasses(role: ServerAccessRole): string {
|
||||
case 'owner':
|
||||
return 'border-orange bg-highlight-orange text-orange'
|
||||
case 'editor':
|
||||
return 'border-green bg-highlight-green text-brand'
|
||||
return 'border-green bg-highlight-green text-green'
|
||||
case 'viewer':
|
||||
return 'border-blue bg-highlight-blue text-blue'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user