* -------------------------------------------------------------------------
* This file is part of the MindStudio project.
* Copyright (c) 2025 Huawei Technologies Co.,Ltd.
*
* MindStudio is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
* -------------------------------------------------------------------------
*/
import '@emotion/react';
declare module '@emotion/react' {
interface ColorPalette {
slateblue: string;
royalblue: string;
skyblue: string;
turquoise: string;
olivedrab: string;
yellowgreen: string;
gold: string;
orange: string;
coral: string;
orangered: string;
palevioletred: string;
mediumorchid: string;
pink: string;
otherColor: string;
yellow: string;
coralRed: string;
deepBlue: string;
tealGreen: string;
aquaBlue: string;
vividBlue: string;
vividRed: string;
raspberryPink: string;
skyBlue: string;
royalPurple: string;
sunsetOrange: string;
amethystPurple: string;
limeGreen: string;
}
export interface Theme {
mode: 'light' | 'dark';
backgroundColor: string;
timeInsightIcon: string;
allocationInsightIcon: string;
contentBackgroundColor: string;
buttonBackgroundColor: string;
okBackgroundColor: string;
selectBackgroundColor: string;
cardHeadBackgroundColor: string;
fontColor: string;
disabledFontColor: string;
tableHeadFontColor: string;
subtitleColor: string;
solidLine: string;
buttonFontColor: string;
svgBackgroundColor: string;
svgPlayBackgroundColor: string;
scrollbarColor: string;
tableRowSelect: string;
devicePullDown: string;
switchIconColor: string;
selectedChartColor: string;
frameRelativeLineColor: string;
selectJankColor: string;
selectNoJankColor: string;
selectedChartBackgroundColor: string;
selectedChartBorderColor: string;
templateBackgroundColor: string;
templateSVGFillColor: string;
selectedTemplateSVGFillColor: string;
deviceProcessBackgroundColor: string;
deviceProcessContentFontColor: string;
deviceProcessActiveFontColor: string;
deviceProcessNotActiveFontColor: string;
searchBackgroundColor: string;
tableBorderColor: string;
backIconBackgroundColor: string;
arrowUnexpandedBgColor: string;
insightHeaderButtonBackgroundColor: string;
timelineAxisColor: string;
searchInputCaretColor: string;
allSessionHeadBgColor: string;
deviceProcessActiveBackgroundColor: string;
placeholderFontColor: string;
unitTagInfoBackgroundColor: string;
tooltipBGColor: string;
chartWrongBGColor: string;
systemEventColor: string;
thumbIconBackgroundColor: string;
thumbEntranceBackgroundColor: string;
toolTipBackgroundColor: string;
toolTipShadowColor: string;
timeMakerListToolTipBackgroundColor: string;
shadowBackgroundColor: string;
enclosureBorder: string;
controllerBarBackgroundColor: string;
activeButtonBackgroundColor: string;
disableButtonBackgroundColor: string;
fpsPointersColor: string;
fpsTextColor: string;
fpsColor: string;
categories: {
system: { name: 'System'; color: string; background: string };
arkTS: { name: 'ArkTS'; color: string; background: string };
NAPI: { name: 'NAPI'; color: string; background: string };
native: { name: 'Native'; color: string; background: string };
};
searchIconBackgroundColor: string;
cancelIconBackgroundColor: string;
dividerColor: string;
closeDragContainerBG: string;
tooltipFontColor: string;
tooltipBoxShadow: string;
colorPalette: ColorPalette & {
transparentMask: string;
};
grayscaleColor: string;
filterColor: string;
filterTipColor: string;
multiSelectBgColor: string;
multiSelectUnCheckedBgColor: string;
multiSelectUnCheckedBorderColor: string;
timeDiffBackgroundColor: string;
timeDiffPictureColor: string;
filterIconColor: string;
filterSelectActiveBgColor: string;
searchContainerBorder: string;
searchHeaderBgColor: string;
listItemHoverColor: string;
flagListSelectedColor: string;
flagListHoverColor: string;
colorSelectedBorder: string;
schedulingLineColor: string;
frameExpectColor: string;
buttonColor: {
enableClickColor: string;
disableClickColor: string;
emphasizeColor: string;
suspendBGColor: string;
unSuspendBGColor: string;
};
otherColor: string;
switchOpen: string;
switchClose: string;
primaryColor: string;
primaryColorLight1: string;
primaryColorLight2: string;
primaryColorLight3: string;
primaryColorLight4: string;
primaryColorLight5: string;
primaryColorLight6: string;
primaryColorDark: string;
primaryColorHover: string;
primaryColorDisabled: string;
successColor: string;
successColorLight1: string;
successColorLight2: string;
successColorLight3: string;
successColorLight4: string;
successColorLight5: string;
successColorDark: string;
warningColor: string;
warningColorLight1: string;
warningColorLight2: string;
warningColorLight3: string;
warningColorLight4: string;
warningColorLight5: string;
warningColorDark: string;
dangerColor: string;
dangerColorLight1: string;
dangerColorLight2: string;
dangerColorLight3: string;
dangerColorLight4: string;
dangerColorLight5: string;
dangerColorDark: string;
infoColor: string;
infoColorLight1: string;
infoColorLight2: string;
infoColorLight3: string;
infoColorLight4: string;
infoColorLight5: string;
infoColorDark: string;
majorColor: string;
majorColorLight1: string;
bgColor: string;
bgColorDark: string;
bgColorGrey: string;
bgColorLight: string;
bgColorLighter: string;
bgColorDisabled: string;
bgColorCommon: string;
textColor: string;
textColorPrimary: string;
textColorSecondary: string;
textColorTertiary: string;
textColorFourth: string;
textColorPlaceholder: string;
textColorPlaceholderLight: string;
textColorDisabled: string;
textColorMenu: string;
borderColor: string;
borderColorLight: string;
borderColorLighter: string;
borderColorExtraLight: string;
borderColorDisabled: string;
boxShadow: string;
boxShadowLight: string;
boxShadowLighter: string;
boxShadowDark: string;
boxShadowDropDown: string;
maskColor: string;
maskColorExtraLight: string;
borderColorHover: string;
fontSizeExtraLarge: string;
fontSizeLarge: string;
fontSizeMedium: string;
fontSizeBase: string;
fontSizeSmall: string;
fontSizeExtraSmall: string;
fontFamily: string;
borderRadiusBase: string;
borderRadiusSmall: string;
borderRadiusRound: string;
borderRadiusCircle: string;
pagePadding: string;
icon: string;
iconColor: string;
tableTextColor: string;
radioSelectedColor: string;
rankBackgroudColor: string;
contextMenuBgColor: string;
summaryChartBgColor: string;
rankContainerBackgroudColor: string;
unitInfoTextColor: string;
scrollBarWidth: number;
splitLineColor: string;
selectedBgColor: string;
}
}