This commit is contained in:
legop3
2026-03-23 03:55:13 -04:00
parent 463bd89dd8
commit ebb400adc4
6 changed files with 12 additions and 19 deletions
+1 -8
View File
@@ -1,7 +1,7 @@
import { useEffect, useMemo, useState } from 'react';
import { useSession } from '../context/SessionContext.jsx';
import { useSettingsNamespace } from '../settings/index.js';
import { roverNameChromeStyle, roverSwatchStyle } from '../lib/roverColor.js';
import { roverNameChromeStyle } from '../lib/roverColor.js';
function normalizeSources(list = []) {
return list
@@ -145,13 +145,6 @@ function GroupList({ title, items, selected, onToggle }) {
onChange={() => onToggle(item.key)}
className="accent-emerald-400"
/>
{item.type === 'rover' && item.color ? (
<span
className="inline-block h-2 w-2 rounded-full border border-white/30"
style={roverSwatchStyle(item.color)}
aria-hidden="true"
/>
) : null}
<span
className={`truncate ${item.type === 'rover' ? 'rounded px-1 py-[1px] border border-transparent' : ''}`}
style={item.type === 'rover' ? roverNameChromeStyle(item.color, 0.16) : undefined}