Skip to content

Commit

Permalink
Update colors to match Blueprint v4/v5 (#657)
Browse files Browse the repository at this point in the history
In Blueprint v4, the colors were modernized and contrast was improved
between the 1 and 5 values of each color. Because we use a limited set
of colors, this should be a pretty subtle change.
  • Loading branch information
bluekeyes authored Dec 8, 2023
1 parent ed2b4ca commit a59af44
Showing 1 changed file with 73 additions and 76 deletions.
149 changes: 73 additions & 76 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,102 +1,99 @@
const colors = {
}

module.exports = {
theme: {
// generated from blueprintjs colors
// curl -s https://raw.githubusercontent.com/palantir/blueprint/develop/packages/core/src/common/_colors.scss \
// generated from @blueprintjs/core v5 colors
// curl -s https://raw.githubusercontent.com/palantir/blueprint/develop/packages/colors/src/_colors.scss \
// | grep '^\$' \
// | sed 's/\$\(.*\): \([#0-9a-f]*\).*/ '"'\1': '\2',/"
colors: {
'transparent': 'transparent',
'current': 'currentColor',
'black': '#10161a',
'dark-gray1': '#182026',
'dark-gray2': '#202b33',
'dark-gray3': '#293742',
'dark-gray4': '#30404d',
'dark-gray5': '#394b59',
'gray1': '#5c7080',
'gray2': '#738694',
'gray3': '#8a9ba8',
'gray4': '#a7b6c2',
'gray5': '#bfccd6',
'light-gray1': '#ced9e0',
'light-gray2': '#d8e1e8',
'light-gray3': '#e1e8ed',
'light-gray4': '#ebf1f5',
'light-gray5': '#f5f8fa',
'black': '#111418',
'dark-gray1': '#1c2127',
'dark-gray2': '#252a31',
'dark-gray3': '#2f343c',
'dark-gray4': '#383e47',
'dark-gray5': '#404854',
'gray1': '#5f6b7c',
'gray2': '#738091',
'gray3': '#8f99a8',
'gray4': '#abb3bf',
'gray5': '#c5cbd3',
'light-gray1': '#d3d8de',
'light-gray2': '#dce0e5',
'light-gray3': '#e5e8eb',
'light-gray4': '#edeff2',
'light-gray5': '#f6f7f9',
'white': '#ffffff',
'blue1': '#0e5a8a',
'blue2': '#106ba3',
'blue3': '#137cbd',
'blue4': '#2b95d6',
'blue5': '#48aff0',
'green1': '#0a6640',
'green2': '#0d8050',
'green3': '#0f9960',
'green4': '#15b371',
'green5': '#3dcc91',
'orange1': '#a66321',
'orange2': '#bf7326',
'orange3': '#d9822b',
'orange4': '#f29d49',
'orange5': '#ffb366',
'red1': '#a82a2a',
'red2': '#c23030',
'red3': '#db3737',
'red4': '#f55656',
'red5': '#ff7373',
'vermilion1': '#9e2b0e',
'blue1': '#184a90',
'blue2': '#215db0',
'blue3': '#2d72d2',
'blue4': '#4c90f0',
'blue5': '#8abbff',
'green1': '#165a36',
'green2': '#1c6e42',
'green3': '#238551',
'green4': '#32a467',
'green5': '#72ca9b',
'orange1': '#77450d',
'orange2': '#935610',
'orange3': '#c87619',
'orange4': '#ec9a3c',
'orange5': '#fbb360',
'red1': '#8e292c',
'red2': '#ac2f33',
'red3': '#cd4246',
'red4': '#e76a6e',
'red5': '#fa999c',
'vermilion1': '#96290d',
'vermilion2': '#b83211',
'vermilion3': '#d13913',
'vermilion4': '#eb532d',
'vermilion5': '#ff6e4a',
'vermilion3': '#d33d17',
'vermilion4': '#eb6847',
'vermilion5': '#ff9980',
'rose1': '#a82255',
'rose2': '#c22762',
'rose3': '#db2c6f',
'rose4': '#f5498b',
'rose5': '#ff66a1',
'violet1': '#5c255c',
'violet2': '#752f75',
'violet3': '#8f398f',
'violet4': '#a854a8',
'violet5': '#c274c2',
'violet2': '#7c327c',
'violet3': '#9d3f9d',
'violet4': '#bd6bbd',
'violet5': '#d69fd6',
'indigo1': '#5642a6',
'indigo2': '#634dbf',
'indigo3': '#7157d9',
'indigo4': '#9179f2',
'indigo5': '#ad99ff',
'cobalt1': '#1f4b99',
'cobalt2': '#2458b3',
'cobalt3': '#2965cc',
'cobalt4': '#4580e6',
'cobalt5': '#669eff',
'turquoise1': '#008075',
'turquoise2': '#00998c',
'turquoise3': '#00b3a4',
'turquoise4': '#14ccbd',
'turquoise5': '#2ee6d6',
'indigo3': '#7961db',
'indigo4': '#9881f3',
'indigo5': '#bdadff',
'cerulean1': '#1f4b99',
'cerulean2': '#2458b3',
'cerulean3': '#2965cc',
'cerulean4': '#4580e6',
'cerulean5': '#669eff',
'turquoise1': '#004d46',
'turquoise2': '#007067',
'turquoise3': '#00a396',
'turquoise4': '#13c9ba',
'turquoise5': '#7ae1d8',
'forest1': '#1d7324',
'forest2': '#238c2c',
'forest3': '#29a634',
'forest4': '#43bf4d',
'forest5': '#62d96b',
'lime1': '#728c23',
'lime2': '#87a629',
'lime3': '#9bbf30',
'lime1': '#43501b',
'lime2': '#5a701a',
'lime3': '#8eb125',
'lime4': '#b6d94c',
'lime5': '#d1f26d',
'gold1': '#a67908',
'gold2': '#bf8c0a',
'gold3': '#d99e0b',
'gold4': '#f2b824',
'gold5': '#ffc940',
'sepia1': '#63411e',
'sepia2': '#7d5125',
'sepia3': '#96622d',
'sepia4': '#b07b46',
'sepia5': '#c99765',
'lime5': '#d4f17e',
'gold1': '#5c4405',
'gold2': '#866103',
'gold3': '#d1980b',
'gold4': '#f0b726',
'gold5': '#fbd065',
'sepia1': '#5e4123',
'sepia2': '#7a542e',
'sepia3': '#946638',
'sepia4': '#af855a',
'sepia5': '#d0b090',
},
boxShadow: {
// blueprintjs elevation levels
Expand Down

0 comments on commit a59af44

Please sign in to comment.