diff --git a/wwwroot/api/bid_task_io.dspy b/wwwroot/api/bid_task_io.dspy index a7173af..5827ace 100644 --- a/wwwroot/api/bid_task_io.dspy +++ b/wwwroot/api/bid_task_io.dspy @@ -48,7 +48,7 @@ async with DBPools().sqlorContext(dbname) as sor: {"widgettype": "Text", "options": {"otext": "第${p0}轮 ${p1} QC 契合度审核", "text": "第${p0}轮 ${p1} QC 契合度审核", "i18n": True, "i18n_params": {"p0": str(getattr(rv, 'round', '')), "p1": str(getattr(rv, 'qc_type', '') or '')}, "halign": "left", "cfontsize": 1.1, - "style": {"fontWeight": "bold", "color": "#1e293b"}}}, + "style": {"fontWeight": "bold", "color": "var(--ink-1)"}}}, {"widgettype": "HBox", "options": {"gap": "12px", "width": "100%"}, "subwidgets": [ {"widgettype": "Text", "options": { @@ -111,7 +111,7 @@ async with DBPools().sqlorContext(dbname) as sor: {"widgettype": "Text", "options": {"text": "\u2699\ufe0f " + (getattr(s, 'display_name', '') or getattr(s, 'step_name', '') or ''), "halign": "left", "cfontsize": 1.1, - "style": {"fontWeight": "bold", "color": "#1e293b"}}}, + "style": {"fontWeight": "bold", "color": "var(--ink-1)"}}}, {"widgettype": "HBox", "options": {"gap": "12px", "width": "100%"}, "subwidgets": [ {"widgettype": "Text", "options": {"text": st, "cfontsize": 0.75, @@ -152,7 +152,7 @@ async with DBPools().sqlorContext(dbname) as sor: subwidgets = [{"widgettype": "Text", "options": {"text": "\U0001f4e4 " + (getattr(d, 'title', '') or getattr(d, 'deliverable_type', '') or ''), "halign": "left", "cfontsize": 1.1, - "style": {"fontWeight": "bold", "color": "#1e293b"}}}] + "style": {"fontWeight": "bold", "color": "var(--ink-1)"}}}] subwidgets += deliverable_widgets({ "deliverable_type": getattr(d, 'deliverable_type', '') or '', "title": getattr(d, 'title', '') or '', @@ -225,7 +225,7 @@ async with DBPools().sqlorContext(dbname) as sor: subwidgets.append({ "widgettype": "Text", "options": {"text": title, "halign": "left", "cfontsize": 1.15, - "style": {"fontWeight": "bold", "color": "#1e293b"}}, + "style": {"fontWeight": "bold", "color": "var(--ink-1)"}}, }) info_row = [ {"widgettype": "Text", "options": {"text": state, "cfontsize": 0.75, @@ -259,7 +259,7 @@ async with DBPools().sqlorContext(dbname) as sor: subwidgets.append({ "widgettype": "Text", "options": {"text": description[:4000], "cfontsize": 0.85, - "color": "#334155", "wrap": True, "halign": "left", "css": "card"}, + "color": "var(--ink-2)", "wrap": True, "halign": "left", "css": "card"}, }) if qc_imp: subwidgets.append({ @@ -290,7 +290,7 @@ async with DBPools().sqlorContext(dbname) as sor: "options": {"gap": "8px", "width": "100%", "padding": "4px 8px", "css": "card"}, "subwidgets": [ {"widgettype": "Text", "options": {"text": label[:80], - "cfontsize": 0.82, "color": "#1e293b"}}, + "cfontsize": 0.82, "color": "var(--ink-1)"}}, {"widgettype": "Filler"}, {"widgettype": "Text", "options": {"text": st, "cfontsize": 0.75, "color": s_color}},