Skip to content

Commit

Permalink
feat(core): rename @brandcolors/core for @brandcolors/brandcolors
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdamevin committed Apr 25, 2022
1 parent ca8a8ec commit 4a8573b
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 38 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ Official Brand Colors Collection.
## Installation

```shell
npm install @brandcolors/core
npm install @brandcolors/brandcolors
```

## Usage

### Styles

```scss
@use "@brandcolors/core" as brandcolors;
@use "@brandcolors/brandcolors" as brandcolors;

.foo {
color: brandcolors.$facebook;
Expand Down
79 changes: 48 additions & 31 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

</div>

[![Version](https://flat.badgen.net/npm/v/@brandcolors/core)](https://www.npmjs.com/package/@brandcolors/core)
[![Download](https://flat.badgen.net/npm/dt/@brandcolors/core)](https://www.npmjs.com/package/@brandcolors/core)
[![License](https://flat.badgen.net/npm/license/@brandcolors/core)](https://www.npmjs.com/package/@brandcolors/core)
[![Version](https://flat.badgen.net/npm/v/@brandcolors/brandcolors)](https://www.npmjs.com/package/@brandcolors/brandcolors)
[![Download](https://flat.badgen.net/npm/dt/@brandcolors/brandcolors)](https://www.npmjs.com/package/@brandcolors/brandcolors)
[![License](https://flat.badgen.net/npm/license/@brandcolors/brandcolors)](https://www.npmjs.com/package/@brandcolors/brandcolors)

## Introduction

Expand All @@ -15,15 +15,15 @@ Brand Colors Collection.
## Installation

```shell
npm install @brandcolors/core
npm install @brandcolors/brandcolors
```

## Usage

### Styles

```scss
@use "@brandcolors/core" as brandcolors;
@use "@brandcolors/brandcolors";

.foo {
color: brandcolors.$facebook;
Expand All @@ -32,29 +32,46 @@ npm install @brandcolors/core

## Colors

| Token | Value |
|--------------|-----------|
| `$adobe` | `#ff0000` |
| `$airbnb` | `#fd5c63` |
| `$airbus` | `#00205b` |
| `$airbus-2` | `#005587` |
| `$airbus-3` | `#0085ad` |
| `$airbus-4` | `#6399ae` |
| `$airbus-5` | `#b7c9d3` |
| `$amazon` | `#ff9900` |
| `$amazon-2` | `#146eb4` |
| `$android` | `#a4c639` |
| `$coca-cola` | `#ed1c16` |
| `$facebook` | `#1877f2` |
| `$google` | `#4285f4` |
| `$google-2` | `#34a853` |
| `$google-3` | `#fbbc05` |
| `$google-4` | `#ea4335` |
| `$linkedin` | `#0a66c2` |
| `$snapchat` | `#fffc00` |
| `$twitter` | `#1d9bf0` |
| `$vimeo` | `#1ab7ea` |
| `$vimeo-2` | `#162221` |
| `$whatsapp` | `#25d366` |
| `$youtube` | `#ff0000` |
| `$youtube-2` | `#212121` |
| Token | Value |
|------------------|-----------|
| `$adobe` | `#ff0000` |
| `$airbnb` | `#fd5c63` |
| `$airbus` | `#00205b` |
| `$airbus-2` | `#005587` |
| `$airbus-3` | `#0085ad` |
| `$airbus-4` | `#6399ae` |
| `$airbus-5` | `#b7c9d3` |
| `$amazon` | `#ff9900` |
| `$amazon-2` | `#146eb4` |
| `$android` | `#a4c639` |
| `$amex` | `#002663` |
| `$boeing` | `#0033a1` |
| `$coca-cola` | `#ed1c16` |
| `$dailymotion` | `#00aaff` |
| `$dailymotion-2` | `#00d2f3` |
| `$deezer` | `#ff0000` |
| `$deliveroo` | `#00c1b2` |
| `$dell` | `#0085c3` |
| `$digital-ocean` | `#008bcf` |
| `$discord` | `#7289da` |
| `$docker` | `#0db7ed` |
| `$dropbox` | `#007ee5` |
| `$drupal` | `#0077c0` |
| `$easyjet` | `#ff6600` |
| `$ebay` | `#e53238` |
| `$evernote` | `#2dbe60` |
| `$facebook` | `#1877f2` |
| `$firefox` | `#e66000` |
| `$google` | `#4285f4` |
| `$google-2` | `#34a853` |
| `$google-3` | `#fbbc05` |
| `$google-4` | `#ea4335` |
| `$groupon` | `#82b548` |
| `$linkedin` | `#0a66c2` |
| `$snapchat` | `#fffc00` |
| `$twitter` | `#1d9bf0` |
| `$vimeo` | `#1ab7ea` |
| `$vimeo-2` | `#162221` |
| `$whatsapp` | `#25d366` |
| `$youtube` | `#ff0000` |
| `$youtube-2` | `#212121` |
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@brandcolors/core",
"name": "@brandcolors/brandcolors",
"version": "1.6.0",
"description": "Official Brand Colors Collection.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/facebook/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ============================================================================================= //

@use "sass:color";
@use "@brandcolors/core/variables";
@use "@brandcolors/brandcolors/variables";

$primary: variables.$facebook;
$primary-rgb: rgb(color.red($primary), color.green($primary), color.blue($primary));
Expand Down
2 changes: 1 addition & 1 deletion packages/facebook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Facebook Brand Colors.",
"main": "_index.scss",
"dependencies": {
"@brandcolors/core": "^1.6.0"
"@brandcolors/brandcolors": "^1.6.0"
},
"files": [
"*.scss"
Expand Down
2 changes: 1 addition & 1 deletion packages/google/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ============================================================================================= //

@use "sass:color";
@use "@brandcolors/core/variables";
@use "@brandcolors/brandcolors/variables";

$primary: variables.$google;
$primary-rgb: rgb(color.red($primary), color.green($primary), color.blue($primary));
Expand Down
2 changes: 1 addition & 1 deletion packages/google/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Google Brand Colors.",
"main": "_index.scss",
"dependencies": {
"@brandcolors/core": "^1.6.0"
"@brandcolors/brandcolors": "^1.6.0"
},
"files": [
"*.scss"
Expand Down

0 comments on commit 4a8573b

Please sign in to comment.