style(backends): elevate community card and version title backgrounds

This commit is contained in:
jialin
2026-07-20 20:24:28 +08:00
committed by jialin
parent 63b06e595e
commit c3bdbc200e
2 changed files with 14 additions and 8 deletions
@@ -120,13 +120,19 @@ const CommunityBackends: React.FC<{
const renderItem = (item: ListItem) => { const renderItem = (item: ListItem) => {
return ( return (
<BackendCard <div
active={currentData?.id === item.id} style={{
data={item} backgroundColor: 'var(--ant-color-bg-container)'
layout="community" }}
onClick={handleOnClickItem} >
actionsRenderer={actionsRenderer} <BackendCard
/> active={currentData?.id === item.id}
data={item}
layout="community"
onClick={handleOnClickItem}
actionsRenderer={actionsRenderer}
/>
</div>
); );
}; };
+1 -1
View File
@@ -45,7 +45,7 @@ const Title = styled.div`
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
background-color: var(--ant-color-bg-container); background-color: var(--ant-color-bg-elevated);
font-weight: 600; font-weight: 600;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;