mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 05:01:02 +00:00
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { ColorGen, Seeder } from './types';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
export default function container (diameter: number, background = 'white', className = '', _style: { [index: string]: string } = {}): HTMLElement {
|
||||
const element = document.createElement('div');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
const COLORS: string[] = [
|
||||
// https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { isNull } from '@polkadot/util';
|
||||
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { Options } from '../types';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { Seeder } from '../types';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { Seeder } from '../types';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import createSvg from './svg';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2016 Dan Finlay
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
const SVG_NS = 'http://www.w3.org/2000/svg';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
|
||||
// Copyright 2018-2020 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
|
||||
|
||||
// This has been converted from the original version that can be found at
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user