mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
chore: format
This commit is contained in:
@@ -212,8 +212,22 @@ function get256Color(index: number): string {
|
|||||||
// 0-15: Standard colors
|
// 0-15: Standard colors
|
||||||
if (index < 16) {
|
if (index < 16) {
|
||||||
const standardColors = [
|
const standardColors = [
|
||||||
'#000000', '#cd0000', '#00cd00', '#cdcd00', '#0000ee', '#cd00cd', '#00cdcd', '#e5e5e5',
|
'#000000',
|
||||||
'#7f7f7f', '#ff0000', '#00ff00', '#ffff00', '#5c5cff', '#ff00ff', '#00ffff', '#ffffff',
|
'#cd0000',
|
||||||
|
'#00cd00',
|
||||||
|
'#cdcd00',
|
||||||
|
'#0000ee',
|
||||||
|
'#cd00cd',
|
||||||
|
'#00cdcd',
|
||||||
|
'#e5e5e5',
|
||||||
|
'#7f7f7f',
|
||||||
|
'#ff0000',
|
||||||
|
'#00ff00',
|
||||||
|
'#ffff00',
|
||||||
|
'#5c5cff',
|
||||||
|
'#ff00ff',
|
||||||
|
'#00ffff',
|
||||||
|
'#ffffff',
|
||||||
];
|
];
|
||||||
return standardColors[index];
|
return standardColors[index];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,10 +161,7 @@ export function SettingsView() {
|
|||||||
);
|
);
|
||||||
case 'worktrees':
|
case 'worktrees':
|
||||||
return (
|
return (
|
||||||
<WorktreesSection
|
<WorktreesSection useWorktrees={useWorktrees} onUseWorktreesChange={setUseWorktrees} />
|
||||||
useWorktrees={useWorktrees}
|
|
||||||
onUseWorktreesChange={setUseWorktrees}
|
|
||||||
/>
|
|
||||||
);
|
);
|
||||||
case 'account':
|
case 'account':
|
||||||
return <AccountSection />;
|
return <AccountSection />;
|
||||||
|
|||||||
@@ -251,7 +251,6 @@ export function FeatureDefaultsSection({
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user