File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,12 @@ function PromotionEligibility({ currentUser }) {
109109 } ) => (
110110 < tr key = { id } >
111111 < td data-label = "Reviewer Name" > { reviewerName } </ td >
112- < td data-label = "Weekly Requirements" > { weeklyRequirementsMet ? '✔️' : '❌' } </ td >
112+ < td
113+ data-label = "Weekly Requirements"
114+ className = { weeklyRequirementsMet ? 'status-met' : 'status-not-met' }
115+ >
116+ { weeklyRequirementsMet ? '✓ Has Met' : '✗ Has not Met' }
117+ </ td >
113118 < td data-label = "Required PRs" > { requiredPRs } </ td >
114119 < td data-label = "Total Reviews Done" > { totalReviews } </ td >
115120 < td data-label = "Remaining Weeks" > { remainingWeeks } </ td >
Original file line number Diff line number Diff line change 151151 color : white;
152152}
153153
154+ /* Status colors for Weekly Requirements */
155+ .promo-table td .status-met {
156+ color : # 22863a ;
157+ font-weight : 500 ;
158+ }
159+
160+ .promo-table td .status-not-met {
161+ color : # cb2431 ;
162+ font-weight : 500 ;
163+ }
164+
165+ /* Dark mode status colors - higher specificity to override td color */
166+ .promo-table-container .dark .promo-table td .status-met {
167+ color : # 53d06e !important ;
168+ }
169+
170+ .promo-table-container .dark .promo-table td .status-not-met {
171+ color : # fa7970 !important ;
172+ }
173+
154174/* mobile */
155175
156176@media screen and (max-width : 768px ) {
221241 background-color : transparent;
222242 color : # f0f0f0 ;
223243 }
244+
245+ /* Mobile dark mode status colors */
246+ .promo-table-container .dark .promo-table td .status-met {
247+ color : # 53d06e !important ;
248+ }
249+
250+ .promo-table-container .dark .promo-table td .status-not-met {
251+ color : # fa7970 !important ;
252+ }
224253}
Original file line number Diff line number Diff line change 9494 color : # 586069 ;
9595}
9696
97- .statusMet {
97+ /* Status colors for Weekly Requirements */
98+ .promotionTable td .statusMet {
9899 color : # 22863a ;
99100}
100101
101- .statusNotMet {
102+ .promotionTable td . statusNotMet {
102103 color : # cb2431 ;
103104}
104105
185186 color : # f85149 ;
186187}
187188
189+ /* Dark mode status colors - higher specificity to override td color */
190+ [data-theme = 'dark' ] .promotionTable td .statusMet {
191+ color : # 53d06e !important ;
192+ }
193+
194+ [data-theme = 'dark' ] .promotionTable td .statusNotMet {
195+ color : # fa7970 !important ;
196+ }
197+
188198[data-theme = 'dark' ] .statusMet {
189199 color : # 3fb950 !important ;
190200}
You can’t perform that action at this time.
0 commit comments