Socket
Socket
Sign inDemoInstall

@eventstore-ui/assets

Package Overview
Dependencies
0
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @eventstore-ui/assets

Assets for use with the Event Store Design System


Version published
Weekly downloads
8
decreased by-91.11%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@eventstore-ui/assets

Fonts and favicons for use in Event Store sites

Add to your project

yarn add @eventstore-ui/assets

Set up within a Stencil project:

In your stencil config, add the assets to your copy task.

// import the path to the workers
import { assetsPath } from '@eventstore-ui/assets';

export const config: Config = {
    // ...
    outputTargets: [
        {
            // ...
            copy: [
                // ...
                {
                    src: assetsPath,
                    dest: 'assets',
                },
            ],
        },
    ],
};

In your globalStyle css file, import the fonts:

@import url('~@eventstore-ui/assets/font-face.css');

In your index.html, reference the favicons

<link rel="icon" type="image/x-icon" href="/assets/favicons/favicon.ico" />
<link rel="icon" href="/assets/favicons/favicon-32.png" sizes="32x32" />
<link rel="icon" href="/assets/favicons/favicon-128.png" sizes="128x128" />
<link rel="icon" href="/assets/favicons/favicon-152.png" sizes="152x152" />

<!-- Android -->
<link
    rel="shortcut icon"
    href="/assets/favicons/favicon-196.png"
    sizes="196x196"
/>

<!-- iOS -->
<link
    rel="apple-touch-icon"
    href="/assets/favicons/favicon-152.png"
    sizes="152x152"
/>
<link
    rel="apple-touch-icon"
    href="/assets/favicons/favicon-180.png"
    sizes="180x180"
/>

FAQs

Last updated on 26 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc