compass-aura 0.3 → 0.3.1

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.
Files changed (2) hide show
  1. data/stylesheets/aura/_functions.scss +19 -0
  2. metadata +2 -1
@@ -97,6 +97,25 @@
97
97
  }
98
98
  @return $aura-breakpoints;
99
99
  }
100
+
101
+ ////////////////////////
102
+ // Aura Breakpoints
103
+ ////////////////////////
104
+ @function aura-break($size) {
105
+ @if $size == 'full' {
106
+ @return nth($aura-breakpoints, 1);
107
+ }
108
+ @else if $size == 'large' {
109
+ @return nth($aura-breakpoints, 2);
110
+ }
111
+ @else if $size == 'medium' {
112
+ @return nth($aura-breakpoints, 3);
113
+ }
114
+ @else if $size == 'small' {
115
+ @return nth($aura-breakpoints, 4);
116
+ }
117
+ }
118
+
100
119
  //////////////////////////////
101
120
  // Aura Grid Functions
102
121
  //////////////////////////////
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- version: "0.3"
8
+ - 1
9
+ version: 0.3.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Sam Richard