mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: better colors
This commit is contained in:
@@ -5,7 +5,9 @@ import {t} from "ttag";
|
|||||||
export const rolesToColor = (roles: string[]) => roles.includes('registrant') ? 'green' :
|
export const rolesToColor = (roles: string[]) => roles.includes('registrant') ? 'green' :
|
||||||
roles.includes('administrative') ? 'blue' :
|
roles.includes('administrative') ? 'blue' :
|
||||||
roles.includes('technical') ? 'orange' :
|
roles.includes('technical') ? 'orange' :
|
||||||
roles.includes('registrar') ? 'violet' : 'white'
|
roles.includes('registrar') ? 'magenta' :
|
||||||
|
roles.includes('sponsor') ? 'purple' :
|
||||||
|
roles.includes('billing') ? 'cyan' : 'default'
|
||||||
|
|
||||||
export function domainEntitiesToEdges(d: Domain, withRegistrar = false) {
|
export function domainEntitiesToEdges(d: Domain, withRegistrar = false) {
|
||||||
const rdapRoleTranslated = rdapRoleTranslation()
|
const rdapRoleTranslated = rdapRoleTranslation()
|
||||||
|
|||||||
@@ -671,7 +671,7 @@ msgstr ""
|
|||||||
msgid "Watchlist Entity Diagram"
|
msgid "Watchlist Entity Diagram"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/tracking/watchlist/diagram/watchlistToEdges.tsx:40
|
#: assets/components/tracking/watchlist/diagram/watchlistToEdges.tsx:42
|
||||||
msgid "Registry"
|
msgid "Registry"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user