Skip to content

Commit

Permalink
Merge pull request #73 from yalesites-org/YALB-1562-themes
Browse files Browse the repository at this point in the history
YALB-1562 - Color: Update tokens for existing color palettes
  • Loading branch information
joetower authored Sep 27, 2023
2 parents 81f60a6 + 354a906 commit ab0fe97
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 99 deletions.
70 changes: 21 additions & 49 deletions tokens/base/color.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ component-themes:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
value: "{color.blue.athens.value}"
slot-three:
value: "{color.blue.light.value}"
value: "{color.blue.whipple.value}"
slot-four:
value: "{color.gray.100.value}"
slot-five:
Expand All @@ -33,11 +33,11 @@ component-themes:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.green.primary.value}"
value: "{color.green.sweet-basil.value}"
slot-three:
value: "{color.green.primary.value}"
value: "{color.green.sweet-basil.value}"
slot-four:
value: "{color.green.light.value}"
value: "{color.green.kennebunkport.value}"
slot-five:
value: "{color.gray.600.value}"
"three":
Expand All @@ -50,11 +50,11 @@ component-themes:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
value: "{color.blue.twilight.value}"
slot-three:
value: "{color.orange.primary.value}"
value: "{color.orange.bryant.value}"
slot-four:
value: "{color.yellow.primary.value}"
value: "{color.yellow.marblehead.value}"
slot-five:
value: "{color.gray.600.value}"
global-themes:
Expand All @@ -65,69 +65,41 @@ global-themes:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
value: "{color.blue.athens.value}"
slot-three:
value: "{color.blue.light.value}"
value: "{color.blue.whipple.value}"
slot-four:
value: "{color.gray.100.value}"
value: "{color.blue.yarmouth.value}"
slot-five:
value: "{color.gray.800.value}"
value: "{color.gray.hale.value}"
"two":
label:
value: "New Haven Green"
colors:
slot-one:
value: "{color.blue.medium.value}"
value: "{color.gray.700.value}"
slot-two:
value: "{color.green.primary.value}"
value: "{color.green.sweet-basil.value}"
slot-three:
value: "{color.green.primary.value}"
value: "{color.green.kennebunkport.value}"
slot-four:
value: "{color.green.light.value}"
value: "{color.green.overcast.value}"
slot-five:
value: "{color.gray.600.value}"
value: "{color.green.essex-green.value}"
"three":
label:
value: "Shoreline Summer"
colors:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
slot-three:
value: "{color.orange.primary.value}"
slot-four:
value: "{color.yellow.primary.value}"
slot-five:
value: "{color.gray.600.value}"
"four":
label:
value: "Elm City Nights"
colors:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
slot-three:
value: "{color.purple.primary.value}"
slot-four:
value: "{color.gray.100.value}"
slot-five:
value: "{color.purple.primary.value}"
"five":
label:
value: "Quiet Corner"
colors:
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
value: "{color.blue.twilight.value}"
slot-three:
value: "{color.basic.brown-gray.value}"
value: "{color.orange.bryant.value}"
slot-four:
value: "{color.gray.200.value}"
value: "{color.yellow.marblehead.value}"
slot-five:
value: "{color.gray.600.value}"
value: "{color.blue.yorktown.value}"
basic-themes:
"gray-800":
background:
Expand Down
50 changes: 49 additions & 1 deletion tokens/figma-export/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,26 @@
"light": {
"value": "#63aaff",
"type": "color"
},
"athens": {
"value": "#3E75AD",
"type": "color"
},
"whipple": {
"value": "#779FB1",
"type": "color"
},
"yarmouth": {
"value": "#B6C9CA",
"type": "color"
},
"twilight": {
"value": "#375597",
"type": "color"
},
"yorktown": {
"value": "#475B5E",
"type": "color"
}
},
"green": {
Expand All @@ -113,12 +133,32 @@
"light": {
"value": "#F7FDD2",
"type": "color"
},
"sweet-basil": {
"value": "#57674F",
"type": "color"
},
"kennebunkport": {
"value": "#929E83",
"type": "color"
},
"overcast": {
"value": "#DEDBC7",
"type": "color"
},
"essex-green": {
"value": "#28372F",
"type": "color"
}
},
"orange": {
"primary": {
"value": "#FF6D1B",
"type": "color"
},
"bryant" : {
"value": "#D6A760",
"type": "color"
}
},
"purple": {
Expand All @@ -131,7 +171,11 @@
"primary": {
"value": "#FFE980",
"type": "color"
}
},
"marblehead": {
"value": "#E2C579",
"type": "color"
}
},
"basic": {
"white": {
Expand Down Expand Up @@ -179,6 +223,10 @@
"800": {
"value": "#222222",
"type": "color"
},
"hale": {
"value": "#444C57",
"type": "color"
}
}
},
Expand Down
42 changes: 0 additions & 42 deletions tokens/organisms/site-footer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,45 +62,3 @@ site-footer-themes:
value: "{color.yellow.primary.value}"
slot-five:
value: "{color.gray.600.value}"
four:
background-color:
value: "{color.gray.700.value}"
yale-branding:
value: "{color.blue.yale.value}"
border-color:
value: "{color.blue.light.value}"
divider-color:
value: "{color.gray.300.value}"
text-color:
value: "{color.basic.white.value}"
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
slot-three:
value: "{color.purple.primary.value}"
slot-four:
value: "{color.gray.100.value}"
slot-five:
value: "{color.purple.primary.value}"
five:
background-color:
value: "{color.blue.yale.value}"
yale-branding:
value: "{color.blue.yale.value}"
border-color:
value: "{color.blue.light.value}"
divider-color:
value: "{color.gray.300.value}"
text-color:
value: "{color.basic.white.value}"
slot-one:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.medium.value}"
slot-three:
value: "{color.basic.brown-gray.value}"
slot-four:
value: "{color.gray.200.value}"
slot-five:
value: "{color.gray.600.value}"
26 changes: 19 additions & 7 deletions tokens/organisms/site-header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,31 @@ site-header-themes:
value: "{color.blue.yale.value}"
slot-three:
value: "{color.blue.yale.value}"
slot-four:
value: "{color.blue.yale.value}"
slot-five:
value: "{color.blue.yale.value}"
two:
background:
value: "{color.gray.100.value}"
value: "{color.gray.800.value}"
yale-branding:
value: "{color.blue.yale.value}"
value: "{color.blue.light.value}"
site-branding:
value: "{color.blue.yale.value}"
value: "{color.basic.white.value}"
border-color:
value: "{color.blue.yale.value}"
value: "{color.blue.light.value}"
divider-color:
value: "{color.gray.300.value}"
value: "{color.gray.500.value}"
slot-one:
value: "{color.gray.100.value}"
slot-two:
value: "{color.blue.yale.value}"
slot-two:
value: "{color.blue.light.value}"
slot-three:
value: "{color.blue.light.value}"
slot-four:
value: "{color.blue.light.value}"
slot-five:
value: "{color.blue.light.value}"
three:
background:
value: "{color.blue.yale.value}"
Expand All @@ -50,6 +58,10 @@ site-header-themes:
value: "{color.blue.light.value}"
slot-three:
value: "{color.blue.light.value}"
slot-four:
value: "{color.blue.light.value}"
slot-five:
value: "{color.blue.light.value}"
site-header-layout:
left:
justify:
Expand Down

0 comments on commit ab0fe97

Please sign in to comment.