office-ui-fabric-rails 3.0.0.0.beta1 → 3.0.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,7 @@
23
23
  @import '../components/OrgChart/OrgChart';
24
24
  @import '../components/Overlay/Overlay';
25
25
  @import '../components/Panel/Panel';
26
+ @import '../components/PanelHost/PanelHost';
26
27
  @import '../components/PeoplePicker/PeoplePicker';
27
28
  @import '../components/Persona/Persona';
28
29
  @import '../components/PersonaCard/PersonaCard';
@@ -17,6 +17,7 @@
17
17
 
18
18
  // Typography
19
19
  @import './Fabric.Typography.Variables';
20
+ @import './Fabric.Typography.Mixins';
20
21
  @import './Fabric.Typography.Output';
21
22
  @import './Fabric.Typography.Fonts.Output';
22
23
 
@@ -10,5 +10,6 @@
10
10
  @import "./Fabric.Typography";
11
11
  @import "./Fabric.Typography.Fonts";
12
12
  @import "./Fabric.Typography.Variables";
13
+ @import "./Fabric.Typography.Mixins";
13
14
  @import "./Fabric.Utilities";
14
15
  @import "./Fabric.ZIndex.Variables";
@@ -0,0 +1,11 @@
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Fabric Core Typography mixins
7
+
8
+ @mixin ms-baseFont() {
9
+ font-family: $ms-font-family-base;
10
+ -webkit-font-smoothing: antialiased;
11
+ }
@@ -5,83 +5,84 @@
5
5
  // --------------------------------------------------
6
6
  // Typographic mixins arranged with appropriate size and family combinations.
7
7
  @import 'Fabric.Typography.Variables';
8
+ @import 'Fabric.Typography.Mixins';
8
9
 
9
10
  // Super Styles (LIMITED USE)
10
11
  @mixin ms-font-su {
12
+ @include ms-baseFont;
11
13
  color: $ms-color-neutralPrimary;
12
- font-family: $ms-font-family-base;
13
14
  font-size: $ms-font-size-su;
14
15
  font-weight: $ms-font-weight-light;
15
16
  }
16
17
 
17
18
  // Extra-Extra-Large
18
19
  @mixin ms-font-xxl {
20
+ @include ms-baseFont;
19
21
  color: $ms-color-neutralPrimary;
20
- font-family: $ms-font-family-base;
21
22
  font-size: $ms-font-size-xxl;
22
23
  font-weight: $ms-font-weight-light;
23
24
  }
24
25
 
25
26
  // Extra-Large Styles
26
27
  @mixin ms-font-xl {
28
+ @include ms-baseFont;
27
29
  color: $ms-color-neutralPrimary;
28
- font-family: $ms-font-family-base;
29
30
  font-size: $ms-font-size-xl;
30
31
  font-weight: $ms-font-weight-light;
31
32
  }
32
33
 
33
34
  // Large Styles
34
35
  @mixin ms-font-l {
36
+ @include ms-baseFont;
35
37
  color: $ms-color-neutralPrimary;
36
- font-family: $ms-font-family-base;
37
38
  font-size: $ms-font-size-l;
38
39
  font-weight: $ms-font-weight-semilight;
39
40
  }
40
41
 
41
42
  // Medium Plus Styles
42
43
  @mixin ms-font-m-plus {
44
+ @include ms-baseFont;
43
45
  color: $ms-color-neutralPrimary;
44
- font-family: $ms-font-family-base;
45
46
  font-size: $ms-font-size-m-plus;
46
47
  font-weight: $ms-font-weight-regular;
47
48
  }
48
49
 
49
50
  // Medium Styles
50
51
  @mixin ms-font-m {
52
+ @include ms-baseFont;
51
53
  color: $ms-color-neutralPrimary;
52
- font-family: $ms-font-family-base;
53
54
  font-size: $ms-font-size-m;
54
55
  font-weight: $ms-font-weight-regular;
55
56
  }
56
57
 
57
58
  // Small Plus Styles
58
59
  @mixin ms-font-s-plus {
60
+ @include ms-baseFont;
59
61
  color: $ms-color-neutralPrimary;
60
- font-family: $ms-font-family-base;
61
62
  font-size: $ms-font-size-s-plus;
62
63
  font-weight: $ms-font-weight-regular;
63
64
  }
64
65
 
65
66
  // Small Styles
66
67
  @mixin ms-font-s {
68
+ @include ms-baseFont;
67
69
  color: $ms-color-neutralPrimary;
68
- font-family: $ms-font-family-base;
69
70
  font-size: $ms-font-size-s;
70
71
  font-weight: $ms-font-weight-regular;
71
72
  }
72
73
 
73
74
  // XS Styles
74
75
  @mixin ms-font-xs {
76
+ @include ms-baseFont;
75
77
  color: $ms-color-neutralPrimary;
76
- font-family: $ms-font-family-base;
77
78
  font-size: $ms-font-size-xs;
78
79
  font-weight: $ms-font-weight-regular;
79
80
  }
80
81
 
81
82
  // Micro Styles (LIMITED USE)
82
83
  @mixin ms-font-mi {
84
+ @include ms-baseFont;
83
85
  color: $ms-color-neutralPrimary;
84
- font-family: $ms-font-family-base;
85
86
  font-size: $ms-font-size-mi;
86
87
  font-weight: $ms-font-weight-semibold;
87
88
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: office-ui-fabric-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.0.beta1
4
+ version: 3.0.0.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig Plummer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-14 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -142,6 +142,7 @@ files:
142
142
  - vendor/assets/scss/_Fabric.Responsive.Variables.scss
143
143
  - vendor/assets/scss/_Fabric.Typography.Fonts.scss
144
144
  - vendor/assets/scss/_Fabric.Typography.Language.Overrides.scss
145
+ - vendor/assets/scss/_Fabric.Typography.Mixins.scss
145
146
  - vendor/assets/scss/_Fabric.Typography.Variables.scss
146
147
  - vendor/assets/scss/_Fabric.Typography.scss
147
148
  - vendor/assets/scss/_Fabric.Utilities.scss