Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(projects): a project covers several repositories #35925

Mergedjuliusmarmingemerged 35 commits intomain fromrefs/pull/35925/headmerged by juliusmarminge View on GitHub

Showing 236 changed files with 85 additions and 5 deletions (loading 233).

x
0 of 236 viewed, 236 left
12 additions and 2 deletionsapps/mobile/src/components/ComposerToolbar.tsxModified
View file
@@ -30,6 +30,8 @@
readonly accessibilityLabel?: string;
readonly disabled?: boolean;
readonly emphasized?: boolean;
+ /** The control asks for a decision; it stays usable. */
+ readonly tone?: "warning";
readonly icon?: ComponentProps<typeof SymbolView>["name"];
readonly renderIcon?: (size: number) => ReactNode;
readonly label: string;
@@ -81,7 +83,11 @@
name={props.icon}
size={iconSize}
tintColorClassName={
- props.emphasized || props.selected ? "accent-icon" : "accent-icon-muted"
+ props.tone === "warning"
+ ? "accent-warning-foreground"
+ : props.emphasized || props.selected
+ ? "accent-icon"
+ : "accent-icon-muted"
type="monochrome"
/>
@@ -94,7 +100,11 @@
<Text
className={cn(
props.size === "large" ? "text-base font-t3-medium" : "text-sm font-t3-medium",
- props.emphasized || props.selected ? "text-foreground" : "text-foreground-muted",
+ props.tone === "warning"