Use filled invert for the top-nav Create rule button.
Matches the Figma Filled Invert variant so the label stays white on the dark pill. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -189,15 +189,11 @@ const TopContainer = memo<TopProps>(
|
||||
containerSize: "small" | "medium" | "large" | "xlarge",
|
||||
avatarSize: "small" | "medium" | "large" | "xlarge",
|
||||
) => {
|
||||
// Use ghost type when folderTop is true, filled (default) otherwise
|
||||
const buttonType = folderTop ? "ghost" : "filled";
|
||||
const palette = "default";
|
||||
|
||||
return (
|
||||
<Button
|
||||
size={buttonSize}
|
||||
buttonType={buttonType}
|
||||
palette={palette}
|
||||
buttonType="filled"
|
||||
palette="inverse"
|
||||
onClick={handleCreateRuleClick}
|
||||
ariaLabel={t("ariaLabels.createNewRule")}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user