story-kit: merge 87_story_update_agent_lozenge_colour_scheme_across_panels
This commit is contained in:
@@ -59,9 +59,9 @@ function RosterBadge({
|
||||
padding: "2px 8px",
|
||||
borderRadius: "6px",
|
||||
fontSize: "0.7em",
|
||||
background: isActive ? "#58a6ff18" : "#3fb95015",
|
||||
color: isActive ? "#58a6ff" : "#3fb950",
|
||||
border: isActive ? "1px solid #58a6ff44" : "1px solid #3fb95040",
|
||||
background: isActive ? "#3fb95018" : "#aaaaaa18",
|
||||
color: isActive ? "#3fb950" : "#aaa",
|
||||
border: isActive ? "1px solid #3fb95044" : "1px solid #aaaaaa44",
|
||||
transition: "background 0.3s, color 0.3s, border-color 0.3s",
|
||||
}}
|
||||
title={
|
||||
@@ -77,7 +77,7 @@ function RosterBadge({
|
||||
width: "5px",
|
||||
height: "5px",
|
||||
borderRadius: "50%",
|
||||
background: "#58a6ff",
|
||||
background: "#3fb950",
|
||||
animation: "pulse 1.5s infinite",
|
||||
flexShrink: 0,
|
||||
}}
|
||||
@@ -95,23 +95,21 @@ function RosterBadge({
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<span
|
||||
style={{ fontWeight: 600, color: isActive ? "#58a6ff" : "#3fb950" }}
|
||||
>
|
||||
<span style={{ fontWeight: 600, color: isActive ? "#3fb950" : "#aaa" }}>
|
||||
{agent.name}
|
||||
</span>
|
||||
{agent.model && (
|
||||
<span style={{ color: isActive ? "#7ab8ff" : "#5ab96a" }}>
|
||||
<span style={{ color: isActive ? "#5ab96a" : "#888" }}>
|
||||
{agent.model}
|
||||
</span>
|
||||
)}
|
||||
{isActive && storyNumber && (
|
||||
<span style={{ color: "#7ab8ff", marginLeft: "2px" }}>
|
||||
<span style={{ color: "#5ab96a", marginLeft: "2px" }}>
|
||||
#{storyNumber}
|
||||
</span>
|
||||
)}
|
||||
{!isActive && (
|
||||
<span style={{ color: "#5ab96a", fontStyle: "italic" }}>available</span>
|
||||
<span style={{ color: "#888", fontStyle: "italic" }}>available</span>
|
||||
)}
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user