forked from canonical/vanilla-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
_base_typography-max-widths.scss
36 lines (31 loc) · 1.05 KB
/
_base_typography-max-widths.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@mixin vf-b-typography-max-widths {
@include deprecate('3.0.0', 'Use the `p-max-width` mixin instead') {
%max-width--p {
max-width: map-get($max-widths, default);
}
%measure--p,
.measure--p {
@extend %max-width--p;
}
}
}
@mixin p-max-width {
@include deprecate('3.0.0', 'Max-widths should not be based on font-size. Use map-get($max-widths, default) instead.') {
max-width: map-get($max-widths, default);
}
}
@mixin heading-max-width--short {
@include deprecate('3.0.0', 'Max-widths should not be based on font-size. Use map-get($max-widths, default) instead.') {
max-width: map-get($max-widths, default);
}
}
@mixin heading-max-width--long {
@include deprecate('3.0.0', 'Max-widths should not be based on font-size. Use map-get($max-widths, default) instead.') {
max-width: map-get($max-widths, default);
}
}
@mixin p-max-width--long {
@include deprecate('3.0.0', 'Max-widths should not be based on font-size. Use map-get($max-widths, default) instead.') {
max-width: map-get($max-widths, default);
}
}