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,6 +120,11 @@ const CommunityBackends: React.FC<{
const renderItem = (item: ListItem) => { const renderItem = (item: ListItem) => {
return ( return (
<div
style={{
backgroundColor: 'var(--ant-color-bg-container)'
}}
>
<BackendCard <BackendCard
active={currentData?.id === item.id} active={currentData?.id === item.id}
data={item} data={item}
@@ -127,6 +132,7 @@ const CommunityBackends: React.FC<{
onClick={handleOnClickItem} onClick={handleOnClickItem}
actionsRenderer={actionsRenderer} 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;