Searched refs:makeResourceWithOpacity (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_manager/src/theme/ |
H A D | ArkColorsImpl.ts | 157 … result.secondary = ArkColorsImpl.makeResourceWithOpacity(brandColor as Resource, 0.6) as Resource; 158 … result.tertiary = ArkColorsImpl.makeResourceWithOpacity(brandColor as Resource, 0.4) as Resource; 159 … result.fourth = ArkColorsImpl.makeResourceWithOpacity(brandColor as Resource, 0.2) as Resource; 160 … result.fifth = ArkColorsImpl.makeResourceWithOpacity(brandColor as Resource, 0.1) as Resource; 161 … result.sixth = ArkColorsImpl.makeResourceWithOpacity(brandColor as Resource, 0.05) as Resource; 175 static makeResourceWithOpacity(resourceColor: Resource, opacityRatio: number) : Object {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkTheme.js | 444 result.secondary = ArkColorsImpl.makeResourceWithOpacity(brandColor, 0.6); 445 result.tertiary = ArkColorsImpl.makeResourceWithOpacity(brandColor, 0.4); 446 result.fourth = ArkColorsImpl.makeResourceWithOpacity(brandColor, 0.2); 447 result.fifth = ArkColorsImpl.makeResourceWithOpacity(brandColor, 0.1); 448 result.sixth = ArkColorsImpl.makeResourceWithOpacity(brandColor, 0.05); 462 static makeResourceWithOpacity(resourceColor, opacityRatio) { method in ArkColorsImpl
|