oulu 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d15f11ba6ad05680d48519b49a432e1180d33fd
4
- data.tar.gz: a554baf32fed3a596401de302a5c6e0a5e23cb38
3
+ metadata.gz: 4e48020281ccce2487a555d597f8be1b92990edb
4
+ data.tar.gz: 8ac27ab2898b54df87235150964d919e05566b56
5
5
  SHA512:
6
- metadata.gz: 140dbff7a81d3770aa806c7b15d614e827edf48171eb7e23aa8f346848810b92ec556a7194027152acd1a5b7ffbff356700a1a46ee856bc19876491b14bdb54e
7
- data.tar.gz: 62ee9e9e687c4550a8e78e30e36a5125b4889ce38af18a166915fbf9832c450af3d7810b84040ba83c8778c29e8ddf7cfc4bdf0f1a49c8cd1b2bf29af47ffaae
6
+ metadata.gz: ae4832f28899bf8361e5c4bc9ade0eb0865407936b2e8c63f162a6387ba05e280ca02f883ad51f96ed0573be8a1fb142c4db4f258d508a5f8f8bddd8621d92c7
7
+ data.tar.gz: 54a23d61338d13e2c54bbd6719f1fa8963a5d43295fec285d0c5e2a6aadea6cb5566ddd201b168490de330923a4445df56dc0f8f592b75222348173d547b8440
@@ -35,7 +35,7 @@
35
35
 
36
36
  @function luma_contrast($color-1, $color-2: null)
37
37
  @if $color-2
38
- @if abs(luma($color-1) - luma($color-2)) > $ruma-threshold
38
+ @if abs(luma($color-1) - luma($color-2)) > $luma-threshold
39
39
  @return true
40
40
  @else
41
41
  @return null
@@ -1,5 +1,8 @@
1
1
  // https://gist.github.com/voxpelli/6304812
2
2
 
3
+ @function pi()
4
+ @return 3.14159265359
5
+
3
6
  @function gcd($a, $b)
4
7
  // From: http://rosettacode.org/wiki/Greatest_common_divisor#JavaScript
5
8
  @if ($b != 0)
@@ -122,7 +122,8 @@ textarea
122
122
 
123
123
  // specify the root styles of the document
124
124
 
125
- \:root
125
+ $colon: '\:'
126
+ #{$colon}root
126
127
  background-color: $root-background-color
127
128
  box-sizing: $root-box-sizing
128
129
  color: $root-color
@@ -1,3 +1,9 @@
1
+ /////////////////
2
+ // constant
3
+ ////////////////
4
+
5
+ $pi: 3.14159265359
6
+
1
7
  /////////////////
2
8
  // rem
3
9
  ////////////////
@@ -35,7 +41,7 @@ $input-selection-tx-color: black !default
35
41
 
36
42
  $bright-text-color: white !default
37
43
  $dark-text-color: black !default
38
- $ruma-threshold: 100 / pi() !default
44
+ $luma-threshold: 100 / $pi !default
39
45
 
40
46
  /////////////////
41
47
  // grids
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oulu",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
data/lib/oulu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oulu
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oulu",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oulu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - machida