mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-17 13:05:42 +00:00
1295c36241
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
9 lines
274 B
TypeScript
9 lines
274 B
TypeScript
// Copyright 2017-2025 @pezkuwi/react-components authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import * as helpers from 'chart.js/helpers';
|
|
|
|
export function alphaColor (hexColor: string): string {
|
|
return helpers.color(hexColor).alpha(0.65).rgbString();
|
|
}
|