Skip to content

Commit ea44a91

Browse files
committed
Adds new jsmn subbranding colors to tailwind
1 parent 89c1e5a commit ea44a91

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/css/tailwind.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,21 @@ Call to action effects
4646

4747
:root {
4848
/* Light Cornflower Blue */
49-
--box-flap-color-1: #94cbe3;
49+
--box-flap-color-1: theme('colors.jsmn-blue');
5050
/* English Red */
51-
--box-flap-color-2: #b73f53;
51+
--box-flap-color-2: theme('colors.jsmn-red');
5252
/* Old Mauve (not used yet) */
53-
--box-flap-color-3: #6b334a;
53+
--box-flap-color-3: theme('colors.jsmn-mauve');
5454

5555
--box-flap-size: theme('spacing.16');
5656
--box-flap-offset: theme('spacing.8');
5757
}
5858

5959
.box-flap {
60+
/*
61+
Box flap inspiration, by kang, 2019.
62+
https://codepen.io/inyoung1/pen/gZVdeX
63+
*/
6064
position: relative;
6165
}
6266

tailwind.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ module.exports = {
2525
white: '#fff',
2626

2727
'jsmn-yellow': '#e5cf5f',
28+
'jsmn-black': '#242323',
29+
'jsmn-blue': '#94cbe3',
30+
'jsmn-red': '#b73f53',
31+
'jsmn-mauve': '#6b334a',
2832

2933
gray: {
3034
100: '#f7fafc',

0 commit comments

Comments
 (0)