🎨 fix(theme): align UI controls with global radius tokens
Remove hard-coded and capped border radius overrides so shared controls and feature actions consistently follow the active theme radius. - Replace fixed radius utilities with semantic theme-aware radius tokens - Remove redundant `rounded-full` and pixel-based overrides from header, toolbar, Playground, and utility actions - Drop unused `StatusBadge` rounded prop usage - Keep existing component behavior intact while improving global theme consistency
This commit is contained in:
+4
-2
@@ -80,7 +80,8 @@ export function processChartData(
|
||||
data: QuotaDataItem[],
|
||||
timeGranularity: TimeGranularity = 'day',
|
||||
t?: TFunction,
|
||||
themeKey?: string
|
||||
themeKey?: string,
|
||||
chartCornerRadius?: number
|
||||
): ProcessedChartData {
|
||||
const tt: TFunction = t ?? ((x) => x)
|
||||
const otherLabel = tt('Other')
|
||||
@@ -472,7 +473,8 @@ export function processChartData(
|
||||
valueField: 'value',
|
||||
categoryField: 'type',
|
||||
pie: {
|
||||
style: { cornerRadius: 10 },
|
||||
style:
|
||||
chartCornerRadius == null ? {} : { cornerRadius: chartCornerRadius },
|
||||
state: {
|
||||
hover: { outerRadius: 0.85, stroke: '#000', lineWidth: 1 },
|
||||
selected: { outerRadius: 0.85, stroke: '#000', lineWidth: 1 },
|
||||
|
||||
Reference in New Issue
Block a user