🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@brandcolors/snapchat

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

@brandcolors/snapchat

Snapchat Brand Colors.

latest
Source
npmnpm
Version
1.7.0
Version published
Weekly downloads
191
2628.57%
Maintainers
1
Weekly downloads
 
Created
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

snapchat

FAQs

Package last updated on 25 Apr 2022

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