项目作者: srmullen

项目描述 :
Logo placeholder components for Svelte
高级语言: Svelte
项目地址: git://github.com/srmullen/svelte-logoipsum.git
创建时间: 2021-03-29T18:36:01Z
项目社区:https://github.com/srmullen/svelte-logoipsum

开源协议:MIT License

下载


svelte-logoipsum

Svelte components for the beautiful Logoipsum placeholders.

See the components here.

Installation

With npm
npm install --save-dev svelte-logoipsum

or yarn
yarn add --dev svelte-logoipsum

Usage

  1. <script>
  2. import { Logo1, Logo16 } from 'svelte-logoipsum';
  3. </script>
  4. <Logo1 ></Logo1>
  5. <Logo1 color="red" ></Logo1>
  6. <Logo16 color1="#2a9d8f" color2="#ffd200" ></Logo16>

All components expose properties to change each color. Most logos are just one color so they just have a color property. If a logo has more than one color then the colors are numbered (i.e. color1="#2a9d8f" color2="#ffd200"). There’s no real rhyme or reason to which color is assigned to which number, so just play around until you find what you want. :)

Acknowledgements

All logo designs are from logoipsum by SignalSupply.