Merge pull request #1039 from nature-of-code/design/html-tag

Update Codesplit.js for HTML tag background color
This commit is contained in:
Yifei Gao 2024-10-16 09:35:54 +08:00 committed by GitHub
commit 060145a917
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ const LanguageNameBadge = ({ language }) => {
};
return (
<div className="ml-4 rounded-b-md bg-noc-400 px-2 py-0.5 text-xs text-white">
<div className="ml-4 rounded-b-md bg-gray-400 px-2 py-0.5 text-xs text-white">
{LANGUAGE_NAME_ALIAS[language] || language}
</div>
);