Socket
Socket
Sign inDemoInstall

@brandcolors/snapchat

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @brandcolors/snapchat

Snapchat Brand Colors.


Version published
Maintainers
1
Created

Changelog

Source

1.7.0 (2022-04-25)

Features

  • core: add amex, boeing, dailymotion, dailymotion, deezer, deliveroo, dell and (ca8a8ec)
  • core: add discord (d446959), closes #5
  • core: rename @brandcolors/core for @brandcolors/brandcolors (4a8573b)

Readme

Source

Brand Colors Snapchat

Version Download License

Introduction

Snapchat Brand Colors.

Installation

npm install @brandcolors/snapchat

Usage

Styles

@use "@brandcolors/snapchat/styles";

The styles will create all custom properties in CSS root. If you want this custom properties anywhere else, use the public mixin custom-properties.

Theming

@use "@brandcolors/snapchat";

.foo {
    color: snapchat.$primary;
    // color: #fffc00;
    color: snapchat.$primary-rgb;
    // color: rgb(255, 252, 0);
}

Custom Properties

@use "@brandcolors/snapchat";

:root {
    @include snapchat.custom-properties(primary);
    // --bc-snapchat-primary: #fffc00;
    @include snapchat.custom-properties(primary-rgb);
    // --bc-snapchat-primary-rgb: rgb(255, 252, 0);
}

API

Variables

VariableValue
$primaryReturn hex value color.
$primary-rgbReturn rgb color.

Mixins

MixinDescription
custom-properties($values...)Create dedicated custom property. If the $values is empty, the mixin will create all styles by default.

Keywords

FAQs

Last updated on 25 Apr 2022

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc