pallote-react 0.2.25

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 (94) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +9 -0
  3. package/dist/components/Accordion.js +70 -0
  4. package/dist/components/AccordionItem.js +90 -0
  5. package/dist/components/Alert.js +86 -0
  6. package/dist/components/Breadcrumbs.js +40 -0
  7. package/dist/components/Button.js +74 -0
  8. package/dist/components/Buttons.js +41 -0
  9. package/dist/components/Card.js +74 -0
  10. package/dist/components/CardActions.js +34 -0
  11. package/dist/components/CardContent.js +34 -0
  12. package/dist/components/CardHeader.js +83 -0
  13. package/dist/components/CardMedia.js +48 -0
  14. package/dist/components/Checkbox.js +54 -0
  15. package/dist/components/Checkboxes.js +76 -0
  16. package/dist/components/Chip.js +58 -0
  17. package/dist/components/Component.js +38 -0
  18. package/dist/components/Display.js +48 -0
  19. package/dist/components/Divider.js +39 -0
  20. package/dist/components/Grid.js +73 -0
  21. package/dist/components/Input.js +101 -0
  22. package/dist/components/Layer.js +55 -0
  23. package/dist/components/Link.js +42 -0
  24. package/dist/components/List.js +34 -0
  25. package/dist/components/ListItem.js +47 -0
  26. package/dist/components/Loader.js +45 -0
  27. package/dist/components/Modal.js +75 -0
  28. package/dist/components/ModalActions.js +31 -0
  29. package/dist/components/ModalContent.js +31 -0
  30. package/dist/components/ModalHeader.js +29 -0
  31. package/dist/components/Nav.js +39 -0
  32. package/dist/components/NavBar.js +53 -0
  33. package/dist/components/NavGroup.js +30 -0
  34. package/dist/components/NavItem.js +73 -0
  35. package/dist/components/Page.js +30 -0
  36. package/dist/components/PageHeader.js +57 -0
  37. package/dist/components/Paragraph.js +54 -0
  38. package/dist/components/Radio.js +53 -0
  39. package/dist/components/RadioButtons.js +76 -0
  40. package/dist/components/Section.js +59 -0
  41. package/dist/components/SectionHeader.js +45 -0
  42. package/dist/components/Select.js +80 -0
  43. package/dist/components/Snippet.js +49 -0
  44. package/dist/components/Status.js +42 -0
  45. package/dist/components/Step.js +63 -0
  46. package/dist/components/Stepper.js +81 -0
  47. package/dist/components/Switch.js +56 -0
  48. package/dist/components/Table.js +55 -0
  49. package/dist/components/TableBody.js +30 -0
  50. package/dist/components/TableCell.js +46 -0
  51. package/dist/components/TableFooter.js +89 -0
  52. package/dist/components/TableHead.js +37 -0
  53. package/dist/components/TableRow.js +30 -0
  54. package/dist/components/Tabs.js +30 -0
  55. package/dist/components/TabsContent.js +28 -0
  56. package/dist/components/TabsControl.js +46 -0
  57. package/dist/components/Tag.js +42 -0
  58. package/dist/components/Text.js +63 -0
  59. package/dist/components/Textarea.js +82 -0
  60. package/dist/components/Tooltip.js +52 -0
  61. package/dist/index.js +376 -0
  62. package/dist/styles/common/_global.scss +98 -0
  63. package/dist/styles/common/_mixins.scss +58 -0
  64. package/dist/styles/common/_variables.scss +222 -0
  65. package/dist/styles/components/accordion.scss +181 -0
  66. package/dist/styles/components/button.scss +210 -0
  67. package/dist/styles/components/buttons.scss +56 -0
  68. package/dist/styles/components/card.scss +243 -0
  69. package/dist/styles/components/checkbox.scss +78 -0
  70. package/dist/styles/components/chip.scss +77 -0
  71. package/dist/styles/components/component.scss +17 -0
  72. package/dist/styles/components/detail.scss +36 -0
  73. package/dist/styles/components/divider.scss +54 -0
  74. package/dist/styles/components/form-field.scss +262 -0
  75. package/dist/styles/components/link.scss +36 -0
  76. package/dist/styles/components/loader.scss +131 -0
  77. package/dist/styles/components/modal.scss +112 -0
  78. package/dist/styles/components/nav-group.scss +72 -0
  79. package/dist/styles/components/nav-item.scss +127 -0
  80. package/dist/styles/components/navbar.scss +41 -0
  81. package/dist/styles/components/page.scss +48 -0
  82. package/dist/styles/components/radio.scss +58 -0
  83. package/dist/styles/components/section.scss +169 -0
  84. package/dist/styles/components/snippet.scss +79 -0
  85. package/dist/styles/components/stepper.scss +78 -0
  86. package/dist/styles/components/switch.scss +71 -0
  87. package/dist/styles/components/table.scss +167 -0
  88. package/dist/styles/components/tabs.scss +102 -0
  89. package/dist/styles/components/tag.scss +41 -0
  90. package/dist/styles/components/tooltip.scss +65 -0
  91. package/dist/styles/index.scss +8 -0
  92. package/dist/styles/mixins/layer.scss +109 -0
  93. package/dist/styles/mixins/text.scss +150 -0
  94. package/package.json +91 -0
@@ -0,0 +1,167 @@
1
+ // —————————————————————————————————————————————————————————————————
2
+ // variables
3
+ // elements
4
+ // align
5
+ // dense
6
+ // —————————————————————————————————————————————————————————————————
7
+
8
+ // —————————————————————————————————————————————————————————————————
9
+ // variables
10
+ // —————————————————————————————————————————————————————————————————
11
+
12
+ $padding-vertical: $spacing;
13
+ $padding-horizontal: $spacing*1.25;
14
+ $padding-dense-vertical: $spacing*0.5;
15
+ $padding-dense-horizontal: $spacing*0.75;
16
+
17
+ $border: 1px solid $border;
18
+
19
+ // —————————————————————————————————————————————————————————————————
20
+ // elements
21
+ // —————————————————————————————————————————————————————————————————
22
+
23
+ .table {
24
+ width: 100%;
25
+ border-spacing: 0;
26
+ border-collapse: separate;
27
+ border: $border;
28
+ border-radius: $spacing;
29
+ overflow: hidden;
30
+
31
+ &__content {
32
+ width: 100%;
33
+ }
34
+
35
+ &__row {
36
+
37
+ &:nth-child(even) {
38
+ background-color: rgba($white, 0.05);
39
+ }
40
+ }
41
+
42
+ &__cell {
43
+ padding: $padding-vertical $padding-horizontal;
44
+ border-top: $border;
45
+
46
+ &:not(:first-child) {
47
+ border-left: $border;
48
+ }
49
+
50
+ &--th {
51
+ font-size: 0.75rem;
52
+ font-weight: bold;
53
+ color: $white;
54
+ border-top: none;
55
+ background-color: $overlay;
56
+ padding-top: $spacing*0.75;
57
+ padding-bottom: $spacing*0.75;
58
+ }
59
+ }
60
+
61
+ &Footer {
62
+ display: inline-flex;
63
+ align-items: center;
64
+ justify-content: space-between;
65
+ width: 100%;
66
+ background-color: $overlay;
67
+ padding: 0 $padding-vertical;
68
+ height: $spacing*5.5;
69
+ border-top: $border;
70
+
71
+ &__pages {
72
+ display: inline-flex;
73
+ align-items: center;
74
+ }
75
+
76
+ &__rows {
77
+ flex-shrink: 0;
78
+ }
79
+
80
+ &__button {
81
+ display: inline-flex;
82
+ align-items: center;
83
+ justify-content: center;
84
+ cursor: pointer;
85
+ width: $spacing*3.5;
86
+ height: $spacing*3.5;
87
+ border-radius: $border-radius-sm;
88
+
89
+ &:not(:last-child) {
90
+ margin-right: $spacing*0.5;
91
+ }
92
+
93
+ &--active {
94
+ background-color: $primary;
95
+ color: $primary-text-contrast;
96
+ }
97
+ }
98
+
99
+ &__first,
100
+ &__prev,
101
+ &__page,
102
+ &__next,
103
+ &__last {
104
+
105
+ @include hover {
106
+
107
+ &:not(.tableFooter__button--active) {
108
+ background-color: $hover;
109
+ }
110
+ }
111
+ }
112
+
113
+ &__dots {
114
+ width: 1rem;
115
+ }
116
+ }
117
+ }
118
+
119
+ tbody tr:first-child .table__cell--td {
120
+ border-top: $border;
121
+ }
122
+
123
+
124
+ // —————————————————————————————————————————————————————————————————
125
+ // align
126
+ // —————————————————————————————————————————————————————————————————
127
+
128
+ .table__cell {
129
+
130
+ &--left { text-align: left; }
131
+ &--center { text-align: center; }
132
+ &--right { text-align: right; }
133
+ }
134
+
135
+ // —————————————————————————————————————————————————————————————————
136
+ // dense
137
+ // —————————————————————————————————————————————————————————————————
138
+
139
+ .table__cell--dense {
140
+ padding: $padding-dense-vertical $padding-dense-horizontal;
141
+ font-size: 0.875rem;
142
+
143
+ &.table__cell--th {
144
+ padding-top: $spacing*0.25;
145
+ padding-bottom: $spacing*0.25;
146
+ font-size: 0.7rem;
147
+ }
148
+ }
149
+
150
+ .tableFooter--dense {
151
+ padding: 0 $padding-dense-vertical;
152
+ height: $spacing*4.5;
153
+
154
+ .tableFooter__button {
155
+ width: $spacing*3;
156
+ height: $spacing*3;
157
+ }
158
+ }
159
+
160
+ // —————————————————————————————————————————————————————————————————
161
+ // noBorder
162
+ // —————————————————————————————————————————————————————————————————
163
+
164
+ .table--noBorder {
165
+ border: 0;
166
+ border-radius: 0;
167
+ }
@@ -0,0 +1,102 @@
1
+ // —————————————————————————————————————————————————————————————————
2
+ // elements
3
+ // isActive
4
+ // dense
5
+ // direction
6
+ // —————————————————————————————————————————————————————————————————
7
+
8
+ // —————————————————————————————————————————————————————————————————
9
+ // elements
10
+ // —————————————————————————————————————————————————————————————————
11
+
12
+ .tabs__control {
13
+ display: flex;
14
+ background-color: $paper;
15
+ gap: $spacing*0.75;
16
+ border-radius: $spacing*1.5;
17
+ width: 100%;
18
+ padding: $spacing*1.5;
19
+ }
20
+
21
+ .tabs__item {
22
+ @extend .button;
23
+ position: relative;
24
+ overflow: hidden;
25
+ cursor: pointer;
26
+ padding: $spacing*1.5 $spacing*2;
27
+ border-radius: $spacing*0.5;
28
+
29
+ & + & {
30
+ margin-top: 0;
31
+ }
32
+
33
+ &:after {
34
+ content: '';
35
+ position: absolute;
36
+ }
37
+ }
38
+
39
+ // —————————————————————————————————————————————————————————————————
40
+ // isActive
41
+ // —————————————————————————————————————————————————————————————————
42
+
43
+ .tabs__item:hover,
44
+ .tabs__item--isActive {
45
+ background-color: $hover;
46
+ }
47
+
48
+ .tabs__item--isActive {
49
+ color: $primary;
50
+
51
+ &:after {
52
+ background-color: $primary;
53
+ }
54
+ }
55
+
56
+ // —————————————————————————————————————————————————————————————————
57
+ // dense
58
+ // —————————————————————————————————————————————————————————————————
59
+
60
+ .tabs__control--dense {
61
+ border-radius: $spacing;
62
+ padding: $spacing;
63
+ gap: $spacing*0.5;
64
+
65
+ .tabs__item {
66
+ padding: $spacing*0.75 $spacing;
67
+ border-radius: $spacing*0.25;
68
+ }
69
+ }
70
+
71
+ // —————————————————————————————————————————————————————————————————
72
+ // direction
73
+ // —————————————————————————————————————————————————————————————————
74
+
75
+ .tabs__control--landscape {
76
+
77
+ .tabs__item {
78
+
79
+ &:after {
80
+ bottom: 0;
81
+ left: 0;
82
+ height: 2px;
83
+ width: 100%;
84
+ }
85
+ }
86
+ }
87
+
88
+ .tabs__control--portrait {
89
+ flex-direction: column;
90
+ width: 200px;
91
+
92
+ .tabs__item {
93
+ text-align: left;
94
+
95
+ &:after {
96
+ top: 0;
97
+ right: 0;
98
+ height: 100%;
99
+ width: 2px;
100
+ }
101
+ }
102
+ }
@@ -0,0 +1,41 @@
1
+ // —————————————————————————————————————————————————————————————————
2
+ // elements
3
+ // color
4
+ // dense
5
+ // —————————————————————————————————————————————————————————————————
6
+
7
+ // —————————————————————————————————————————————————————————————————
8
+ // elements
9
+ // —————————————————————————————————————————————————————————————————
10
+
11
+ .tag {
12
+ padding: $spacing*0.5 $spacing*0.75;
13
+ border-radius: $border-radius-sm;
14
+ display: inline-flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ white-space: nowrap; // prevent text to go on multiple lines
18
+ border-radius: border-radius-md;
19
+ padding: 0 $spacing;
20
+ height: $spacing*3.5;
21
+
22
+ &__text {
23
+ line-height: 1;
24
+ }
25
+ }
26
+
27
+ // —————————————————————————————————————————————————————————————————
28
+ // color
29
+ // —————————————————————————————————————————————————————————————————
30
+
31
+ // color is handled with the Layer component
32
+
33
+ // —————————————————————————————————————————————————————————————————
34
+ // dense
35
+ // —————————————————————————————————————————————————————————————————
36
+
37
+ .tag--dense {
38
+ border-radius: $border-radius-sm;
39
+ padding: 0 $spacing*0.5;
40
+ height: $spacing*2.5;
41
+ }
@@ -0,0 +1,65 @@
1
+ // —————————————————————————————————————————————————————————————————
2
+ // elements
3
+ // bold
4
+ // dense
5
+ // —————————————————————————————————————————————————————————————————
6
+
7
+ // ——————————————————————————————————————————————————
8
+ // elements
9
+ // ——————————————————————————————————————————————————
10
+
11
+ .tooltip {
12
+ position: relative;
13
+
14
+ &__content {
15
+ @extend %caption;
16
+ z-index: 1;
17
+ pointer-events: none;
18
+ position: absolute;
19
+ opacity: 0;
20
+ max-width: $spacing*30;
21
+ border-radius: $spacing;
22
+ padding: $spacing*0.5 $spacing*1.5;
23
+ background-color: $paper;
24
+ white-space: nowrap;
25
+ box-shadow: $box-shadow-sm;
26
+ bottom: -$spacing*0.5;
27
+ transform: translateY(100%);
28
+ left: $spacing*0.5;
29
+ }
30
+
31
+ &__icon {
32
+ margin-left: 0.125em;
33
+ transform: translateY(-0.125em);
34
+ height: 0.7em;
35
+ width: 0.7em;
36
+ }
37
+
38
+ @include hover {
39
+
40
+ .tooltip__content {
41
+ opacity: 1;
42
+ }
43
+ }
44
+ }
45
+
46
+ // —————————————————————————————————————————————————————————————————
47
+ // bold
48
+ // —————————————————————————————————————————————————————————————————
49
+
50
+ .tooltip--bold {
51
+ font-weight: $font-bold;
52
+
53
+ .tooltip__content {
54
+ font-weight: $font-regular;
55
+ }
56
+ }
57
+
58
+ // —————————————————————————————————————————————————————————————————
59
+ // dense
60
+ // —————————————————————————————————————————————————————————————————
61
+
62
+ .tooltip__content--dense {
63
+ @extend %overline;
64
+ padding: $spacing*0.25 $spacing;
65
+ }
@@ -0,0 +1,8 @@
1
+ $fonts-path: '~/public/fonts/';
2
+ $icons-path: '~/public/icons/';
3
+
4
+ @import '~/node_modules/pallote-css/dist/pallote.scss';
5
+
6
+ .snippet__wrapper {
7
+ width: 100%;
8
+ }
@@ -0,0 +1,109 @@
1
+ // —————————————————————————————————————————————————————————————————
2
+ // mixins
3
+ // elements
4
+ // fill
5
+ // stroke
6
+ // wrapper
7
+ // —————————————————————————————————————————————————————————————————
8
+
9
+ // —————————————————————————————————————————————————————————————————
10
+ // mixins
11
+ // —————————————————————————————————————————————————————————————————
12
+
13
+ @mixin fill($colors...) {
14
+ @each $i in $colors {
15
+ .fill--#{nth($i, 1)} {
16
+ color: nth($i, 4);
17
+ background-color: nth($i, 2);
18
+
19
+ &.layer--hover:not(.layer--disabled) {
20
+
21
+ @include hover {
22
+ background-color: mix(black, nth($i, 2), 20%);
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ @mixin stroke($colors...) {
30
+ @each $i in $colors {
31
+ .stroke--#{nth($i, 1)} {
32
+ border: 1px solid nth($i, 2);
33
+ }
34
+ }
35
+ }
36
+
37
+ // —————————————————————————————————————————————————————————————————
38
+ // elements
39
+ // —————————————————————————————————————————————————————————————————
40
+
41
+ .layer {
42
+ box-sizing: border-box;
43
+ }
44
+
45
+ // —————————————————————————————————————————————————————————————————
46
+ // fill
47
+ // —————————————————————————————————————————————————————————————————
48
+
49
+ @include fill(
50
+ // class $background $hover $text
51
+ "black" $black $grey-60 $text,
52
+ "white" $white $paper $text-contrast,
53
+ "background" $background $paper $text,
54
+ "paper" $paper $grey-80 $text,
55
+ "grey-90" $grey-90 $grey-50 $text,
56
+ "grey-80" $grey-80 $grey-50 $text,
57
+ "grey-70" $grey-70 $grey-50 $text,
58
+ "grey-60" $grey-60 $grey-50 $text,
59
+ "grey-50" $grey-50 $grey-50 $text-contrast,
60
+ "grey-40" $grey-40 $grey-50 $text-contrast,
61
+ "grey-30" $grey-30 $grey-50 $text-contrast,
62
+ "grey-20" $grey-20 $grey-50 $text-contrast,
63
+ "grey-10" $grey-10 $grey-50 $text-contrast,
64
+ "grey-5" $grey-5 $grey-50 $text-contrast,
65
+ "primary" $primary $primary-dark $primary-text-contrast,
66
+ "secondary" $secondary $secondary-dark $secondary-text-contrast,
67
+ "highlight" $highlight $highlight-dark $highlight-text-contrast,
68
+ "success" $success $success-dark $success-text-contrast,
69
+ "info" $info $info-dark $info-text-contrast,
70
+ "warning" $warning $warning-dark $warning-text-contrast,
71
+ "error" $error $error-dark $error-text-contrast
72
+ );
73
+
74
+ // —————————————————————————————————————————————————————————————————
75
+ // stroke
76
+ // —————————————————————————————————————————————————————————————————
77
+
78
+ @include stroke(
79
+ // classe border
80
+ "black" $black,
81
+ "white" $white,
82
+ "background" $background,
83
+ "paper" $paper,
84
+ "grey-90" $grey-90,
85
+ "grey-80" $grey-80,
86
+ "grey-70" $grey-70,
87
+ "grey-60" $grey-60,
88
+ "grey-50" $grey-50,
89
+ "grey-40" $grey-40,
90
+ "grey-30" $grey-30,
91
+ "grey-20" $grey-20,
92
+ "grey-10" $grey-10,
93
+ "grey-5" $grey-5,
94
+ "primary" $primary,
95
+ "secondary" $secondary,
96
+ "highlight" $highlight,
97
+ "success" $success,
98
+ "info" $info,
99
+ "warning" $warning,
100
+ "error" $error
101
+ );
102
+
103
+ // —————————————————————————————————————————————————————————————————
104
+ // wrapper
105
+ // —————————————————————————————————————————————————————————————————
106
+
107
+ .layer--fullWidth {
108
+ width: 100%;
109
+ }
@@ -0,0 +1,150 @@
1
+ // —————————————————————————————————————————————————————————————————
2
+ // reset
3
+ // mixins
4
+ // elements
5
+ // variant
6
+ // align
7
+ // weight
8
+ // transform
9
+ // misc
10
+ // color
11
+ // gutter
12
+ // —————————————————————————————————————————————————————————————————
13
+
14
+ // —————————————————————————————————————————————————————————————————
15
+ // reset
16
+ // —————————————————————————————————————————————————————————————————
17
+
18
+ html, body,
19
+ h1, h2, h3, h4, h5, h6, p,
20
+ input, select, textarea {
21
+ font-family: $font;
22
+ }
23
+
24
+ html, body,
25
+ input, select, textarea {
26
+ font-size: $spacing*2;
27
+ font-weight: $font-regular;
28
+ line-height: 1.5;
29
+ }
30
+
31
+ h1, h2, h3, h4, h5, h6, p,
32
+ input, select, textarea {
33
+ padding: 0;
34
+ margin: 0;
35
+ color: inherit;
36
+ }
37
+
38
+ // —————————————————————————————————————————————————————————————————
39
+ // mixins
40
+ // —————————————————————————————————————————————————————————————————
41
+
42
+ @mixin font-size($fontSize: 1, $fontWeight: 500, $lineHeight: 1.5) {
43
+ font-size: $fontSize * $spacing*2;
44
+ font-weight: $fontWeight;
45
+ letter-spacing: calc(#{$fontSize * $spacing*2} * 0.01);
46
+ line-height: $lineHeight;
47
+
48
+ & + & {
49
+ margin-top: 0.75em;
50
+ }
51
+ }
52
+
53
+ // —————————————————————————————————————————————————————————————————
54
+ // elements
55
+ // —————————————————————————————————————————————————————————————————
56
+
57
+ .paragraph .text + .text {
58
+ margin-top: 0.75em;
59
+ }
60
+
61
+ // —————————————————————————————————————————————————————————————————
62
+ // variant
63
+ // —————————————————————————————————————————————————————————————————
64
+
65
+ .h1, %h1 { @include font-size(3.5, bold, 1.25); }
66
+ .h2, %h2 { @include font-size(2.5, bold, 1.25); }
67
+ .h3, %h3 { @include font-size(2, bold, 1.25); }
68
+ .h4, %h4 { @include font-size(1.75, bold, 1.25); }
69
+ .h5, %h5 { @include font-size(1.5, bold, 1.25); }
70
+ .h6, %h6 { @include font-size(1.25, bold, 1.25); }
71
+
72
+ .subtitle, %subtitle { @include font-size(1.125); letter-spacing: 0; }
73
+ .body, %body { @include font-size(); letter-spacing: 0; }
74
+ .caption, %caption { @include font-size(0.875); letter-spacing: 0; }
75
+ .overline, %overline { @include font-size(0.75); letter-spacing: 0; }
76
+
77
+ // —————————————————————————————————————————————————————————————————
78
+ // align
79
+ // —————————————————————————————————————————————————————————————————
80
+
81
+ .text--left { text-align: left; }
82
+ .text--center { text-align: center; }
83
+ .text--right { text-align: right; }
84
+ .text--justify { text-align: justify; }
85
+
86
+ // —————————————————————————————————————————————————————————————————
87
+ // weight
88
+ // —————————————————————————————————————————————————————————————————
89
+
90
+ .text--light { font-weight: 300; }
91
+ .text--regular { font-weight: 500; }
92
+ .text--bold { font-weight: 700; }
93
+
94
+ // —————————————————————————————————————————————————————————————————
95
+ // transform
96
+ // —————————————————————————————————————————————————————————————————
97
+
98
+ .text--none { text-transform: none; }
99
+ .text--capitalize { text-transform: capitalize; }
100
+ .text--uppercase { text-transform: uppercase; }
101
+ .text--lowercase { text-transform: lowercase; }
102
+ .text--initial { text-transform: initial; }
103
+ .text--inherit { text-transform: inherit; }
104
+
105
+ // —————————————————————————————————————————————————————————————————
106
+ // misc
107
+ // —————————————————————————————————————————————————————————————————
108
+
109
+ .text--underline { text-decoration: underline; }
110
+ .text--italic { font-style: italic; }
111
+ .text--code {
112
+ font-family: "Roboto Mono", Courier, monospace;
113
+ font-weight: $font-regular;
114
+ background-color: $overlay;
115
+ border-radius: 0.25em;
116
+ padding-right: 0.3em;
117
+ padding-left: 0.3em;
118
+ }
119
+
120
+ // —————————————————————————————————————————————————————————————————
121
+ // color
122
+ // —————————————————————————————————————————————————————————————————
123
+
124
+ .text {
125
+
126
+ &--default { color: $text; }
127
+ &--alt { color: $text-alt; }
128
+ &--disabled { color: $text-disabled; }
129
+
130
+ &--contrast { color: $text-contrast; }
131
+ &--contrast-alt { color: $text-contrast-alt; }
132
+ &--contrast-disabled { color: $text-contrast-disabled; }
133
+
134
+ &--primary { color: $primary; }
135
+ &--secondary { color: $secondary; }
136
+ &--highlight { color: $highlight; }
137
+
138
+ &--success { color: $success; }
139
+ &--info { color: $info; }
140
+ &--warning { color: $warning; }
141
+ &--error { color: $error; }
142
+ }
143
+
144
+ // —————————————————————————————————————————————————————————————————
145
+ // gutter
146
+ // —————————————————————————————————————————————————————————————————
147
+
148
+ .text--gutter {
149
+ margin-bottom: 0.75em;
150
+ }