pusher-chameleon 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8330e6c8d99c1c9e43fd672ce635fbf122989b8b
4
- data.tar.gz: ff709f1cfc1b2a90002165a2e71ff8297f4c0541
3
+ metadata.gz: ad0da8bf813125534ee33d606113358379950a96
4
+ data.tar.gz: 6ab419ce2d5e0280ef7a8540c52abe8a073c23a3
5
5
  SHA512:
6
- metadata.gz: 224ac93f8d67da9e31bc57adf54c7bcf82264a27a77e497debe480a9f98a11fff813fe431577d153be26cdc3c7147734e910a22be3241f573a2c6a675496bfe1
7
- data.tar.gz: e1a8fab43ba030b01c6afbd68f89b4c62097e0777db9d96871f456022ee230277dd3759260ed09ee43ab859f4ab0a593e05b9bc3d54830b8b83b372196382fe7
6
+ metadata.gz: 4f3684461f28fcd17dbfdcf8cec2406061fe61e55852bff6bd9998b0820cfc64a7af33367be39258080488dbee220571a4ae79e0581ae72943b3a3211b5e90ae
7
+ data.tar.gz: 7bbbf983b08841bea42caf71cb353ddeeca6ce8b25879230201d538d9c860a6a96025048075523806e85dcfbbf761183789b587e1d482224200a13a021cb766c
data/README.md CHANGED
@@ -1,8 +1,31 @@
1
- # About
1
+ # Pusher Chameleon
2
+
3
+ [![npm version](https://badge.fury.io/js/pusher-chameleon.svg)](https://badge.fury.io/js/pusher-chameleon) [![Gem Version](https://badge.fury.io/rb/pusher-chameleon.svg)](https://badge.fury.io/rb/pusher-chameleon)
2
4
 
3
5
  Chameleon is a library of front-end assets that can be used across Pusher. The general layout and grid have been taken from Foundation for Sites, with our custom components and elements added in on top.
4
6
 
5
- # Publishing a new version
7
+ ## How to use
8
+
9
+ Chameleon can currently be imported as both a node module, and a ruby gem. Then, import the base chameleon stylesheet in to your project. This includes all of the functions, variables, and mixins that are required:
10
+
11
+ ```sass
12
+ // For a node project
13
+ @import "~pusher-chameleon/stylesheets/chameleon.scss";
14
+
15
+ // For a ruby project via sprockets
16
+ @import "chameleon";
17
+ ```
18
+
19
+ You can pick and choose which components you require, so these will need to be explicitly included:
20
+
21
+ ```sass
22
+ @include CHAMELEON-grid;
23
+ @include CHAMELEON-typography;
24
+ ...
25
+ ```
26
+
27
+
28
+ ## Publishing a new version
6
29
 
7
30
  Follow these steps to publish a new version of Chameleon:
8
31
 
@@ -12,6 +35,6 @@ Follow these steps to publish a new version of Chameleon:
12
35
 
13
36
  This rake task will publish a new version of Chameleon to the npm registry, push to RubyGems, and build a new version of the docs.
14
37
 
15
- # Documentation
38
+ ## Documentation
16
39
 
17
40
  [Read the Docs](https://pusher.github.io/chameleon)
data/license ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Pusher
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pusher-chameleon",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A collection of front-end patterns used across Pusher.",
5
5
  "repository": "https://github.com/pusher/chameleon",
6
6
  "keywords": [
@@ -89,7 +89,7 @@ $syntax-highlighting-style: 'light' !default;
89
89
  font-family: $font-family-secondary;
90
90
  }
91
91
 
92
- $cdn-font-url: "https://d3ulslzrwa6w0a.cloudfront.net";
92
+ $cdn-font-url: "https://d2eur9wolnkxcm.cloudfront.net";
93
93
 
94
94
  // Misc
95
95
  $border-radius: 0px !default;
@@ -2,53 +2,53 @@
2
2
  @font-face {
3
3
  font-family: 'pusher-realtime-text';
4
4
  font-weight: 300;
5
- src: url('#{$cdn-font-url}/realtime/realtime_text_light.eot');
6
- src: url('#{$cdn-font-url}/realtime/realtime_text_light.woff2') format('woff2'),
7
- url('#{$cdn-font-url}/realtime/realtime_text_light.woff') format('woff'),
8
- url('#{$cdn-font-url}/realtime/realtime_text_light.ttf') format('truetype'),
9
- url('#{$cdn-font-url}/realtime/realtime_text_light.eot?#iefix') format('embedded-opentype');
5
+ src: url('#{$cdn-font-url}/fonts/realtime_text_light.eot');
6
+ src: url('#{$cdn-font-url}/fonts/realtime_text_light.woff2') format('woff2'),
7
+ url('#{$cdn-font-url}/fonts/realtime_text_light.woff') format('woff'),
8
+ url('#{$cdn-font-url}/fonts/realtime_text_light.ttf') format('truetype'),
9
+ url('#{$cdn-font-url}/fonts/realtime_text_light.eot?#iefix') format('embedded-opentype');
10
10
  }
11
11
 
12
12
  // Realtime Text Regular
13
13
  @font-face {
14
14
  font-family: 'pusher-realtime-text';
15
15
  font-weight: 400;
16
- src: url('#{$cdn-font-url}/realtime/realtime_text_regular.eot');
17
- src: url('#{$cdn-font-url}/realtime/realtime_text_regular.woff2') format('woff2'),
18
- url('#{$cdn-font-url}/realtime/realtime_text_regular.woff') format('woff'),
19
- url('#{$cdn-font-url}/realtime/realtime_text_regular.ttf') format('truetype'),
20
- url('#{$cdn-font-url}/realtime/realtime_text_regular.eot?#iefix') format('embedded-opentype');
16
+ src: url('#{$cdn-font-url}/fonts/realtime_text_regular.eot');
17
+ src: url('#{$cdn-font-url}/fonts/realtime_text_regular.woff2') format('woff2'),
18
+ url('#{$cdn-font-url}/fonts/realtime_text_regular.woff') format('woff'),
19
+ url('#{$cdn-font-url}/fonts/realtime_text_regular.ttf') format('truetype'),
20
+ url('#{$cdn-font-url}/fonts/realtime_text_regular.eot?#iefix') format('embedded-opentype');
21
21
  }
22
22
 
23
23
  // Realtime Text Semibold
24
24
  @font-face {
25
25
  font-family: 'pusher-realtime-text';
26
26
  font-weight: 500;
27
- src: url('#{$cdn-font-url}/realtime/realtime_text_semibold.eot');
28
- src: url('#{$cdn-font-url}/realtime/realtime_text_semibold.woff2') format('woff2'),
29
- url('#{$cdn-font-url}/realtime/realtime_text_semibold.woff') format('woff'),
30
- url('#{$cdn-font-url}/realtime/realtime_text_semibold.ttf') format('truetype'),
31
- url('#{$cdn-font-url}/realtime/realtime_text_semibold.eot?#iefix') format('embedded-opentype');
27
+ src: url('#{$cdn-font-url}/fonts/realtime_text_semibold.eot');
28
+ src: url('#{$cdn-font-url}/fonts/realtime_text_semibold.woff2') format('woff2'),
29
+ url('#{$cdn-font-url}/fonts/realtime_text_semibold.woff') format('woff'),
30
+ url('#{$cdn-font-url}/fonts/realtime_text_semibold.ttf') format('truetype'),
31
+ url('#{$cdn-font-url}/fonts/realtime_text_semibold.eot?#iefix') format('embedded-opentype');
32
32
  }
33
33
 
34
34
  // Realtime Text Bold
35
35
  @font-face {
36
36
  font-family: 'pusher-realtime-text';
37
37
  font-weight: 600;
38
- src: url('#{$cdn-font-url}/realtime/realtime_text_bold.eot');
39
- src: url('#{$cdn-font-url}/realtime/realtime_text_bold.woff2') format('woff2'),
40
- url('#{$cdn-font-url}/realtime/realtime_text_bold.woff') format('woff'),
41
- url('#{$cdn-font-url}/realtime/realtime_text_bold.ttf') format('truetype'),
42
- url('#{$cdn-font-url}/realtime/realtime_text_bold.eot?#iefix') format('embedded-opentype');
38
+ src: url('#{$cdn-font-url}/fonts/realtime_text_bold.eot');
39
+ src: url('#{$cdn-font-url}/fonts/realtime_text_bold.woff2') format('woff2'),
40
+ url('#{$cdn-font-url}/fonts/realtime_text_bold.woff') format('woff'),
41
+ url('#{$cdn-font-url}/fonts/realtime_text_bold.ttf') format('truetype'),
42
+ url('#{$cdn-font-url}/fonts/realtime_text_bold.eot?#iefix') format('embedded-opentype');
43
43
  }
44
44
 
45
45
  // Realtime Text Black
46
46
  @font-face {
47
47
  font-family: 'pusher-realtime-text';
48
48
  font-weight: 700;
49
- src: url('#{$cdn-font-url}/realtime/realtime_text_black.eot');
50
- src: url('#{$cdn-font-url}/realtime/realtime_text_black.woff2') format('woff2'),
51
- url('#{$cdn-font-url}/realtime/realtime_text_black.woff') format('woff'),
52
- url('#{$cdn-font-url}/realtime/realtime_text_black.ttf') format('truetype'),
53
- url('#{$cdn-font-url}/realtime/realtime_text_black.eot?#iefix') format('embedded-opentype');
49
+ src: url('#{$cdn-font-url}/fonts/realtime_text_black.eot');
50
+ src: url('#{$cdn-font-url}/fonts/realtime_text_black.woff2') format('woff2'),
51
+ url('#{$cdn-font-url}/fonts/realtime_text_black.woff') format('woff'),
52
+ url('#{$cdn-font-url}/fonts/realtime_text_black.ttf') format('truetype'),
53
+ url('#{$cdn-font-url}/fonts/realtime_text_black.eot?#iefix') format('embedded-opentype');
54
54
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pusher-chameleon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Pate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-07 00:00:00.000000000 Z
11
+ date: 2016-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -120,6 +120,7 @@ files:
120
120
  - lib/pusher-chameleon.rb
121
121
  - lib/pusher-chameleon/engine.rb
122
122
  - lib/pusher-chameleon/version.rb
123
+ - license
123
124
  - package.json
124
125
  - pusher-chameleon.gemspec
125
126
  - stylesheets/.gitkeep