mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00
feat(arch): added cloud svg icon
This commit is contained in:
13
packages/mermaid/src/rendering-util/svg/cloud.ts
Normal file
13
packages/mermaid/src/rendering-util/svg/cloud.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Designer: Nicolas Newman
|
||||
* @see https://github.com/NicolasNewman/IconLibrary
|
||||
*/
|
||||
import { createIcon } from '../svgRegister.js';
|
||||
|
||||
export default createIcon(
|
||||
`<g>
|
||||
<rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>
|
||||
<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>
|
||||
</g>`,
|
||||
80
|
||||
);
|
@@ -3,6 +3,7 @@ import database from './database.js';
|
||||
import server from './server.js';
|
||||
import disk from './disk.js';
|
||||
import internet from './internet.js';
|
||||
import cloud from './cloud.js';
|
||||
import unknown from './unknown.js';
|
||||
|
||||
const defaultIconLibrary: IconLibrary = {
|
||||
@@ -10,6 +11,7 @@ const defaultIconLibrary: IconLibrary = {
|
||||
server: server,
|
||||
disk: disk,
|
||||
internet: internet,
|
||||
cloud: cloud,
|
||||
unknown: unknown,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user