Skip to content

Commit 498e26a

Browse files
authored
chore: improve recurring badge readability (#11400)
1 parent 0321138 commit 498e26a

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

packages/client/components/MeetingCard.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ const BACKGROUND_COLORS = {
125125
teamPrompt: PALETTE.JADE_400
126126
}
127127
const RECURRING_LABEL_COLORS = {
128-
retrospective: 'text-grape-600 bg-grape-100',
129-
action: 'text-aqua-600 bg-aqua-300',
130-
poker: 'text-tomato-600 bg-tomato-300',
131-
teamPrompt: 'text-jade-600 bg-jade-300'
128+
retrospective: 'text-grape-600',
129+
action: 'text-aqua-600',
130+
poker: 'text-tomato-600',
131+
teamPrompt: 'text-jade-600'
132132
}
133133
const MeetingImgBackground = styled.div<{meetingType: keyof typeof BACKGROUND_COLORS}>(
134134
({meetingType}) => ({
@@ -316,7 +316,7 @@ const MeetingCard = (props: Props) => {
316316
{isRecurring && (
317317
<span
318318
className={cn(
319-
'absolute top-2 right-2 rounded-[64px] px-2 py-1 text-[11px] leading-3 font-medium',
319+
'absolute top-2 right-2 rounded-[64px] bg-[#fffc] px-2 py-1 text-[11px] leading-3 font-medium',
320320
RECURRING_LABEL_COLORS[meetingType]
321321
)}
322322
>

packages/client/components/TeamPrompt/TeamPromptEndedBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const NextMeetingCountdown = (props: NextMeetingCountdownProps) => {
3232
const TeamPromptEndedBadgeRoot = styled('div')({
3333
display: 'flex',
3434
justifyContent: 'center',
35-
alignItems: 'start'
35+
alignItems: 'center'
3636
})
3737

3838
const StyledLink = styled(Link)({

packages/client/styles/theme/global.css

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010

1111
@theme {
1212
/* Fonts */
13-
--font-sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
14-
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
15-
--font-mono: 'IBM Plex Mono' ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
16-
'Liberation Mono', 'Courier New', monospace;
13+
--font-sans:
14+
'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
15+
'Segoe UI Symbol', 'Noto Color Emoji';
16+
--font-mono:
17+
'IBM Plex Mono' ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
18+
'Courier New', monospace;
1719

1820
/* Palette */
1921
--color-*: initial;
@@ -31,7 +33,7 @@
3133
--color-tomato-600: #f23b31;
3234
--color-tomato-700: #d5211a;
3335
--color-tomato-800: #9f201e;
34-
--color-tomato-900: #6D1D1;
36+
--color-tomato-900: #6d1d1d;
3537
--color-terra-100: #fedccd;
3638
--color-terra-200: #ffb89c;
3739
--color-terra-300: #fe975d;
@@ -40,7 +42,7 @@
4042
--color-terra-600: #a34f25;
4143
--color-terra-700: #823917;
4244
--color-terra-800: #501f08;
43-
--color-terra-900: #3A140;
45+
--color-terra-900: #3a1404;
4446
--color-gold-100: #faebd3;
4547
--color-gold-200: #fadc9e;
4648
--color-gold-300: #ffcc63;
@@ -49,7 +51,7 @@
4951
--color-gold-600: #a36200;
5052
--color-gold-700: #855000;
5153
--color-gold-800: #703c00;
52-
--color-gold-900: #522C0;
54+
--color-gold-900: #522c00;
5355
--color-grass-100: #ecf1a7;
5456
--color-grass-200: #dee58a;
5557
--color-grass-300: #c4cf66;
@@ -58,7 +60,7 @@
5860
--color-grass-600: #91a617;
5961
--color-grass-700: #73880c;
6062
--color-grass-800: #556704;
61-
--color-grass-900: #35420;
63+
--color-grass-900: #354200;
6264
--color-forest-100: #e3f7d4;
6365
--color-forest-200: #c8ebad;
6466
--color-forest-300: #9ec87e;
@@ -67,7 +69,7 @@
6769
--color-forest-600: #528433;
6870
--color-forest-700: #427326;
6971
--color-forest-800: #335f1b;
70-
--color-forest-900: #244A1;
72+
--color-forest-900: #244a11;
7173
--color-jade-100: #cff2de;
7274
--color-jade-200: #abedc8;
7375
--color-jade-300: #91e8b7;
@@ -76,7 +78,7 @@
7678
--color-jade-600: #2d9f5f;
7779
--color-jade-700: #1d8647;
7880
--color-jade-800: #116931;
79-
--color-jade-900: #08491;
81+
--color-jade-900: #08491e;
8082
--color-aqua-100: #cbecf0;
8183
--color-aqua-200: #a4dee5;
8284
--color-aqua-300: #7ccfd9;
@@ -85,7 +87,7 @@
8587
--color-aqua-600: #2792aa;
8688
--color-aqua-700: #1c748d;
8789
--color-aqua-800: #12566d;
88-
--color-aqua-900: #0A3A4;
90+
--color-aqua-900: #0a3a4c;
8991
--color-sky-100: #e8f4fc;
9092
--color-sky-200: #bbddf7;
9193
--color-sky-300: #8ec7f1;
@@ -94,7 +96,7 @@
9496
--color-sky-600: #14649e;
9597
--color-sky-700: #0f4a76;
9698
--color-sky-800: #0a314d;
97-
--color-sky-900: #051A2;
99+
--color-sky-900: #051a29;
98100
--color-lilac-100: #eeedf7;
99101
--color-lilac-200: #d4d2ef;
100102
--color-lilac-300: #b7b4e9;
@@ -103,7 +105,7 @@
103105
--color-lilac-600: #5454e3;
104106
--color-lilac-700: #3333cc;
105107
--color-lilac-800: #2121ab;
106-
--color-lilac-900: #1A1A7;
108+
--color-lilac-900: #1a1a7f;
107109
--color-grape-100: #bd6bd6;
108110
--color-grape-200: #b66bd6;
109111
--color-grape-300: #af6bd6;
@@ -112,7 +114,7 @@
112114
--color-grape-600: #7340b5;
113115
--color-grape-700: #493272;
114116
--color-grape-800: #2d1d53;
115-
--color-grape-900: #170F3;
117+
--color-grape-900: #170f34;
116118
--color-fuscia-100: #edd5f1;
117119
--color-fuscia-200: #e4b5e8;
118120
--color-fuscia-300: #de94e1;
@@ -121,7 +123,7 @@
121123
--color-fuscia-600: #bc29b2;
122124
--color-fuscia-700: #941e88;
123125
--color-fuscia-800: #6b1460;
124-
--color-fuscia-900: #410B3;
126+
--color-fuscia-900: #410b38;
125127
--color-rose-100: #f9e2ed;
126128
--color-rose-200: #f4bed7;
127129
--color-rose-300: #f099bf;
@@ -130,7 +132,7 @@
130132
--color-rose-600: #eb195f;
131133
--color-rose-700: #c20f45;
132134
--color-rose-800: #95092f;
133-
--color-rose-900: #66051;
135+
--color-rose-900: #66051c;
134136
--color-slate-100: #f8f7fc;
135137
--color-slate-200: #f1f0fa;
136138
--color-slate-300: #e0ddec;
@@ -139,7 +141,7 @@
139141
--color-slate-600: #82809a;
140142
--color-slate-700: #444258;
141143
--color-slate-800: #2d2d39;
142-
--color-slate-900: #1C1C2;
144+
--color-slate-900: #1c1c21;
143145
--color-success-light: #2db553;
144146
--color-starter: #f2e1f7;
145147
--color-team: #cbecf0;

0 commit comments

Comments
 (0)