Skip to content

Commit 6f745e6

Browse files
authoredMar 4, 2025··
Add functional tones to Tailwind config (#700)
* Add functional tones to Tailwind config * Create moody-buses-suffer.md
1 parent a14bbb5 commit 6f745e6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
 

‎.changeset/moody-buses-suffer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@theguild/tailwind-config": patch
3+
---
4+
5+
Add functional tones to Tailwind config

‎packages/tailwind-config/src/hive-colors.ts

+21
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,25 @@ export const hiveColors = {
3939
900: '#6D6A63',
4040
1000: '#4D4B46',
4141
},
42+
// primary color functional tones, e.g. for icons in tables
43+
// use bright for icons and dark for text on light backgrounds
44+
// use dark for icons and bright for text on dark backgrounds
45+
'critical-bright': '#FD3325',
46+
'critical-dark': '#F81202',
47+
'warning-bright': '#FE8830',
48+
'positive-bright': '#24D551',
49+
'positive-dark': '#1BA13D',
50+
// subtle matching functional tones, e.g. for callouts
51+
'warning-100': '#FBF8CB',
52+
'warning-500': '#E7DE62',
53+
'warning-800': '#7D7204',
54+
'critical-100': '#FFF0E8',
55+
'critical-500': '#FFC6BB',
56+
'critical-800': '#932D47',
57+
'info-100': '#E7F7FF',
58+
'info-500': '#9FC9DC',
59+
'info-800': '#205B75',
60+
'positive-100': '#F3FBD7',
61+
'positive-500': '#AFD563',
62+
'positive-800': '#406B10',
4263
};

0 commit comments

Comments
 (0)
Please sign in to comment.