New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dile-close-icon-template

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dile-close-icon-template

A simple close icon created in a LitElement template to use in Web Components

  • 1.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Moved

This package has moved and is now available at @dile/dile-close-icon-template. Please update your dependencies. This repository is no longer maintained.

dile-close-icon-template

LitElement Template to implement a close icon

import { closeIcon } from 'dile-close-icon-template';

Yo may use this icon in a LitElement template:

render() {
  return html`
    // Your component template
    ${ closeIcon }
  `;
}

To easy style the icon you may use the CSS declaration provided in this package.

import { closeIcon, closeIconCss } from 'dile-close-icon-template';

You may use this style declaration like this:

static get styles() { return [closeIconCss, css :host { --dile-close-icon-template-color: #fce; } ]; }

As you may note, there is a custom CSS property named --dile-close-icon-template-color. Use it to set the color of the icon.

Keywords

FAQs

Package last updated on 10 Jul 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc