1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | @type : 'element';
|
17 | @element : 'text';
|
18 |
|
19 | @import (multiple) '../../theme.config';
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | each(@colors, {
|
27 | @color: replace(@key, '@', '');
|
28 | @c: @colors[@@color][color];
|
29 | @l: @colors[@@color][light];
|
30 |
|
31 | span.ui.@{color}.text {
|
32 | color: @c;
|
33 | }
|
34 | & when (@variationTextInverted) {
|
35 | span.ui.inverted.@{color}.text {
|
36 | color: @l;
|
37 | }
|
38 | }
|
39 | })
|
40 |
|
41 | & when (@variationTextDisabled) {
|
42 | span.ui.disabled.text {
|
43 | opacity: @disabledOpacity;
|
44 | }
|
45 | }
|
46 |
|
47 |
|
48 | span.ui.medium.text {
|
49 | font-size: @medium;
|
50 | }
|
51 | & when not (@variationTextSizes = false) {
|
52 | each(@variationTextSizes, {
|
53 | @s: @@value;
|
54 | span.ui.@{value}.text {
|
55 | font-size: @s;
|
56 | }
|
57 | })
|
58 | }
|
59 |
|
60 | .loadUIOverrides();
|