We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e83c6b9 + d67b991 commit f905f49Copy full SHA for f905f49
client/packages/lowcoder/src/comps/controls/styleControl.tsx
@@ -873,15 +873,15 @@ export function styleControl<T extends readonly SingleColorConfig[]>(
873
const { appliedThemeId, preventStyleOverwriting } = comp?.comp?.container || comp?.comp || {};
874
const appTheme = isPreviewTheme || isDefaultTheme || (!preventStyleOverwriting && !preventAppStylesOverwriting)
875
? theme?.theme
876
- : undefined;
+ : defaultTheme;
877
const compTheme = isPreviewTheme || isDefaultTheme || (compType && !preventStyleOverwriting && !preventAppStylesOverwriting)
878
? {
879
...(
880
theme?.theme?.components?.[compType]?.[styleKey]
881
|| defaultTheme.components?.[compType]?.[styleKey]
882
) as unknown as Record<string, string>
883
}
884
+ : defaultTheme.components?.[compType]?.[styleKey];
885
const styleProps = (!comp && !compType) || preventStyleOverwriting || preventAppStylesOverwriting || appliedThemeId === themeId
886
? props as ColorMap
887
: {} as ColorMap;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments