Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/validate-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,12 @@ jobs:
# Extract all aliases and their protocols, then check for duplicates
jq -r 'to_entries | .[] | .key as $protocol | .value.aliases[] | [$protocol, .] | @tsv' color-palettes.json | \
awk -F '\t' '{
# Store the original alias
original_alias = $2
# Convert alias to lowercase for case-insensitive comparison
alias = tolower(original_alias)
alias = $2

# Check if this exact alias has been seen before (only comparing aliases)
if (seen[alias]) {
# Check if this exact alias has been seen for a different protocol.
if (seen[alias] && seen[alias] != $1) {
printf "Error: Duplicate alias \"%s\" found in protocols \"%s\" and \"%s\"\n",
original_alias, seen[alias], $1
alias, seen[alias], $1
exit 1
}

Expand Down
68 changes: 68 additions & 0 deletions color-palettes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1735,6 +1735,10 @@
"hex": "#5d69b1",
"aliases": ["lending"]
},
"payments": {
"hex": "#99c945",
"aliases": ["payments"]
},
"bridge": {
"hex": "#52bca3",
"aliases": ["bridge"]
Expand Down Expand Up @@ -1831,6 +1835,70 @@
"hex": "#0EA5E9",
"aliases": ["exa"]
},
"MPP": {
Comment thread
lorenz234 marked this conversation as resolved.
"hex": "#14B8A6",
"aliases": ["mpp", "Mpp"]
},
Comment thread
lorenz234 marked this conversation as resolved.
"X402": {
"hex": "#7C3AED",
"aliases": ["x402"]
},
"B2B": {
"hex": "#475569",
"aliases": ["b2b"]
},
"C2B": {
"hex": "#059669",
"aliases": ["c2b"]
},
"B2C": {
"hex": "#4F46E5",
"aliases": ["b2c"]
},
"C2B - Cards": {
"hex": "#16A34A",
"aliases": ["c2b - cards"]
},
"C2B - Other": {
"hex": "#84CC16",
"aliases": ["c2b - other"]
},
"B2B - Agentic": {
"hex": "#818CF8",
"aliases": ["b2b - agentic"]
},
"B2B - Other": {
"hex": "#94A3B8",
"aliases": ["b2b - other"]
},
"Cards": {
"hex": "#EA580C",
"aliases": ["cards"]
},
"Agentic": {
"hex": "#D946EF",
"aliases": ["agentic"]
},
"BVNK": {
"hex": "#1E40AF",
"aliases": ["bvnk"]
},
"Coinbase Commerce": {
"hex": "#0052FF",
"aliases": ["coinbase_commerce", "coinbase commerce"]
},
"Request Network": {
"hex": "#00E6A0",
"aliases": ["request_network", "request network", "requestnetwork"]
},
"Shopify CPP": {
"hex": "#95BF47",
"aliases": ["shopify_base_cpp", "shopify base cpp", "shopify_cpp"]
},
"Stripe": {
"hex": "#635BFF",
"aliases": ["stripe"]
},
"MRDN": {
"hex": "#10B981",
"aliases": ["mrdn", "meridian"]
Expand Down
Loading