fortitude-sass 0.6.5 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +12 -0
  3. data/.gitignore +3 -1
  4. data/.ruby-version +1 -1
  5. data/Gruntfile.js +73 -38
  6. data/app/assets/javascripts/fortitude/blocks/dropdown.js +44 -0
  7. data/app/assets/javascripts/fortitude/blocks/flashbar.js +24 -0
  8. data/app/assets/javascripts/fortitude/blocks/modal.js +50 -0
  9. data/app/assets/javascripts/fortitude/blocks/navigationbar.js +11 -0
  10. data/app/assets/javascripts/fortitude/blocks/select-input.js +38 -0
  11. data/app/assets/javascripts/fortitude/blocks/shade.js +28 -0
  12. data/app/assets/javascripts/fortitude/blocks/tabs.js +50 -0
  13. data/app/assets/javascripts/fortitude/generic/get-target.js +13 -0
  14. data/app/assets/javascripts/fortitude/generic/measure-scrollbar.js +21 -0
  15. data/app/assets/javascripts/fortitude/{jquery/generic → generic}/screen-lock.js +6 -2
  16. data/app/assets/javascripts/fortitude/generic/transition-with.js +57 -0
  17. data/app/assets/javascripts/fortitude/generic/viewport.js +21 -0
  18. data/app/assets/javascripts/fortitude/generic/wait-for-animation.js +27 -0
  19. data/app/assets/javascripts/fortitude.js +1 -0
  20. data/app/assets/stylesheets/fortitude/api/blocks/_badge.scss +1 -1
  21. data/app/assets/stylesheets/fortitude/api/blocks/_block-list.scss +2 -2
  22. data/app/assets/stylesheets/fortitude/api/blocks/_button.scss +1 -1
  23. data/app/assets/stylesheets/fortitude/api/blocks/_dropdown.scss +45 -0
  24. data/app/assets/stylesheets/fortitude/api/blocks/_flag.scss +2 -2
  25. data/app/assets/stylesheets/fortitude/api/blocks/_flashbar.scss +11 -1
  26. data/app/assets/stylesheets/fortitude/api/blocks/_input.scss +5 -2
  27. data/app/assets/stylesheets/fortitude/api/blocks/_layout.scss +2 -2
  28. data/app/assets/stylesheets/fortitude/api/blocks/_media.scss +2 -2
  29. data/app/assets/stylesheets/fortitude/api/blocks/_modal.scss +28 -0
  30. data/app/assets/stylesheets/fortitude/api/blocks/_navigationbar.scss +1 -0
  31. data/app/assets/stylesheets/fortitude/api/blocks/_shade.scss +11 -1
  32. data/app/assets/stylesheets/fortitude/api/blocks/_table.scss +5 -0
  33. data/app/assets/stylesheets/fortitude/api/blocks/_tabs-navigation.scss +3 -0
  34. data/app/assets/stylesheets/fortitude/api/blocks/_text.scss +3 -0
  35. data/app/assets/stylesheets/fortitude/api/blocks/_ui-list.scss +2 -2
  36. data/app/assets/stylesheets/fortitude/base/_hr.scss +2 -2
  37. data/app/assets/stylesheets/fortitude/base/_page.scss +0 -2
  38. data/app/assets/stylesheets/fortitude/blocks/_badge.scss +2 -0
  39. data/app/assets/stylesheets/fortitude/blocks/_bare-list.scss +2 -0
  40. data/app/assets/stylesheets/fortitude/blocks/_block-list.scss +2 -0
  41. data/app/assets/stylesheets/fortitude/blocks/_box.scss +2 -0
  42. data/app/assets/stylesheets/fortitude/blocks/_button.scss +2 -0
  43. data/app/assets/stylesheets/fortitude/blocks/_container.scss +2 -0
  44. data/app/assets/stylesheets/fortitude/blocks/_dropdown.scss +15 -0
  45. data/app/assets/stylesheets/fortitude/blocks/_flag.scss +2 -0
  46. data/app/assets/stylesheets/fortitude/blocks/_flashbar.scss +6 -0
  47. data/app/assets/stylesheets/fortitude/blocks/_fluid-container.scss +2 -0
  48. data/app/assets/stylesheets/fortitude/blocks/_inline-list.scss +2 -0
  49. data/app/assets/stylesheets/fortitude/blocks/_input.scss +2 -0
  50. data/app/assets/stylesheets/fortitude/blocks/_layout.scss +2 -0
  51. data/app/assets/stylesheets/fortitude/blocks/_list-navigation.scss +2 -0
  52. data/app/assets/stylesheets/fortitude/blocks/_media.scss +2 -0
  53. data/app/assets/stylesheets/fortitude/blocks/_modal.scss +8 -16
  54. data/app/assets/stylesheets/fortitude/blocks/_navigationbar.scss +5 -2
  55. data/app/assets/stylesheets/fortitude/blocks/_shade.scss +7 -0
  56. data/app/assets/stylesheets/fortitude/blocks/_table.scss +1 -6
  57. data/app/assets/stylesheets/fortitude/blocks/_tabs-navigation.scss +6 -0
  58. data/app/assets/stylesheets/fortitude/blocks/_tabs.scss +2 -0
  59. data/app/assets/stylesheets/fortitude/blocks/_text.scss +1 -3
  60. data/app/assets/stylesheets/fortitude/blocks/_tooltip.scss +2 -0
  61. data/app/assets/stylesheets/fortitude/blocks/_ui-list.scss +2 -0
  62. data/app/assets/stylesheets/fortitude/blocks/_wings.scss +3 -1
  63. data/app/assets/stylesheets/fortitude/generic/_normalize.scss +52 -15
  64. data/app/assets/stylesheets/fortitude/settings/_defaults.scss +1 -0
  65. data/app/assets/stylesheets/fortitude/theme/base/_page.scss +21 -0
  66. data/app/assets/stylesheets/fortitude/theme/extensions/_badge.scss +11 -0
  67. data/app/assets/stylesheets/fortitude/theme/extensions/_box.scss +11 -0
  68. data/app/assets/stylesheets/fortitude/theme/extensions/_button.scss +25 -0
  69. data/app/assets/stylesheets/fortitude/theme/extensions/_flashbar.scss +15 -0
  70. data/app/assets/stylesheets/fortitude/theme/extensions/_navigationbar.scss +51 -0
  71. data/app/assets/stylesheets/fortitude/theme/extensions/_wings.scss +15 -0
  72. data/app/assets/stylesheets/fortitude/theme/settings/_colors.scss +309 -0
  73. data/app/assets/stylesheets/fortitude/theme.scss +9 -0
  74. data/app/assets/stylesheets/fortitude/tools/_functions.scss +22 -13
  75. data/app/assets/stylesheets/fortitude/tools/_mixins.scss +10 -3
  76. data/app/assets/stylesheets/fortitude/trumps/_responsive-column.scss +1 -1
  77. data/app/assets/stylesheets/fortitude/trumps/_responsive-line-height.scss +1 -1
  78. data/app/assets/stylesheets/fortitude/trumps/_responsive-margin.scss +3 -3
  79. data/app/assets/stylesheets/fortitude/trumps/_responsive-padding.scss +1 -1
  80. data/app/assets/stylesheets/fortitude.scss +2 -0
  81. data/bower.json +1 -1
  82. data/jasmine/fixtures/animations.css +85 -0
  83. data/jasmine/fixtures/dropdownFixture.html +91 -0
  84. data/jasmine/fixtures/flashbarFixture.html +6 -0
  85. data/jasmine/fixtures/getTargetFixture.html +11 -0
  86. data/jasmine/fixtures/measureScrollBarFixture.html +1 -0
  87. data/jasmine/fixtures/modalFixture.html +20 -0
  88. data/jasmine/fixtures/navigationbarFixture.html +20 -0
  89. data/jasmine/fixtures/selectInputFixture.html +13 -0
  90. data/jasmine/fixtures/shadeFixture.html +2 -0
  91. data/jasmine/fixtures/tabsFixture.html +22 -0
  92. data/jasmine/fixtures/transitionWithFixture.html +6 -0
  93. data/jasmine/fixtures/viewportFixture.html +2 -0
  94. data/jasmine/fixtures/waitForAnimationFixture.html +1 -0
  95. data/jasmine/helpers/fixtureHelper.js +4 -0
  96. data/jasmine/helpers/multiCallbackHelper.js +24 -0
  97. data/jasmine/specs/blocks/dropdownSpec.js +106 -0
  98. data/jasmine/specs/blocks/flashbarSpec.js +22 -0
  99. data/jasmine/specs/blocks/modalSpec.js +66 -0
  100. data/jasmine/specs/blocks/navigationbarSpec.js +34 -0
  101. data/jasmine/specs/blocks/selectInputSpec.js +31 -0
  102. data/jasmine/specs/blocks/shadeSpec.js +38 -0
  103. data/jasmine/specs/blocks/tabsSpec.js +63 -0
  104. data/jasmine/specs/generic/getTargetSpec.js +28 -0
  105. data/jasmine/specs/generic/measureScrollbarSpec.js +19 -0
  106. data/jasmine/specs/generic/screenLockSpec.js +32 -0
  107. data/jasmine/specs/generic/transitionWithSpec.js +82 -0
  108. data/jasmine/specs/generic/viewportSpec.js +32 -0
  109. data/jasmine/specs/generic/waitForAnimationSpec.js +35 -0
  110. data/jasmine/template.tmpl +2 -0
  111. data/lib/fortitude-sass/version.rb +1 -1
  112. data/package.json +8 -2
  113. data/sass_specs/blocks/_shade_spec.scss +11 -0
  114. data/sass_specs/tests.scss +1 -0
  115. data/sass_specs/tools/_functions_spec.scss +42 -12
  116. metadata +59 -16
  117. data/app/assets/javascripts/fortitude/jquery/blocks/flashbar.js +0 -13
  118. data/app/assets/javascripts/fortitude/jquery/blocks/select-input.js +0 -26
  119. data/app/assets/javascripts/fortitude/jquery/blocks/shade.js +0 -36
  120. data/app/assets/javascripts/fortitude/jquery/generic/measure-scrollbar.js +0 -13
  121. data/app/assets/javascripts/fortitude/jquery/generic/viewport.js +0 -9
  122. data/app/assets/javascripts/fortitude/jquery/generic/wait-for-animation.js +0 -103
  123. data/app/assets/javascripts/fortitude/jquery/index.js +0 -3
  124. data/app/assets/javascripts/fortitude.jquery.js +0 -45
  125. data/dist/fortitude-theme.css +0 -9236
  126. data/dist/fortitude.css +0 -8976
  127. data/dist/fortitude.jquery.js +0 -1
  128. data/dist/fortitude.min.js +0 -1
@@ -17,6 +17,7 @@ $fortitude-base-line-height: 2rem !default;
17
17
  $fortitude-base-color: #333 !default;
18
18
  $fortitude-base-background-color: #fff !default;
19
19
  $fortitude-class-breakpoints: (xs: null, sm: 768px, md: 992px, lg: 1200px) !default;
20
+ $fortitude-enable-vendor-optimizations: false !default;
20
21
 
21
22
  /* [1] */
22
23
  $fortitude-breakpoints: (xs: (max-width: 767px), sm: (min-width: 768px, max-width: 991px), md: (min-width: 992px, max-width: 1199px), lg: (min-width: 1200px)) !default;
@@ -0,0 +1,21 @@
1
+ .text-extra-light { font-weight: 200; }
2
+ .text-light { font-weight: 300; }
3
+ .text-normal { font-weight: 400; }
4
+
5
+ html,
6
+ h1,
7
+ h2,
8
+ h3,
9
+ h4,
10
+ h5,
11
+ h6 {
12
+ @extend .text-extra-light;
13
+ }
14
+
15
+ strong {
16
+ @extend .text-normal;
17
+ }
18
+
19
+ .link {
20
+ color: map-get(map-get($fortitude-button-intents, primary), background-color);
21
+ }
@@ -0,0 +1,11 @@
1
+ $fortitude-enable-badge: false !default;
2
+
3
+ @if $fortitude-enable-badge {
4
+ @each $intent, $rules in $fortitude-badge-intents {
5
+ .badge--#{$intent} {
6
+ @each $property, $value in $rules {
7
+ #{$property}: $value;
8
+ }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ $fortitude-enable-box: false !default;
2
+
3
+ @if $fortitude-enable-box {
4
+ @each $intent, $rules in $fortitude-box-intents {
5
+ .box--#{$intent} {
6
+ @each $property, $value in $rules {
7
+ #{$property}: $value;
8
+ }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,25 @@
1
+ $fortitude-enable-button: false !default;
2
+
3
+ @if $fortitude-enable-button {
4
+ @each $intent, $state in $fortitude-button-intents {
5
+ .button--#{$intent} {
6
+ @each $name, $rules in $state {
7
+ $selector: null;
8
+
9
+ @if $name == "initial" {
10
+ $selector: "&";
11
+ } @else if $name == "disabled" {
12
+ $selector: "&[#{$name}]";
13
+ } @else {
14
+ $selector: "&:#{$name}";
15
+ }
16
+
17
+ #{$selector} {
18
+ @each $property, $value in $rules {
19
+ #{$property}: $value;
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,15 @@
1
+ $fortitude-enable-flashbar: false !default;
2
+
3
+ @if $fortitude-enable-flashbar {
4
+ @each $intent, $rules in $fortitude-flashbar-intents {
5
+ .flashbar--#{$intent} {
6
+ @each $property, $value in $rules {
7
+ #{$property}: $value;
8
+ }
9
+
10
+ > .flashbar__close {
11
+ color: map-get($rules, color);
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,51 @@
1
+ $fortitude-enable-navigationbar: false !default;
2
+
3
+ @if $fortitude-enable-navigationbar {
4
+ .navigationbar--default {
5
+ $navigationbar__toggle__icon-width: 2.2rem;
6
+ $navigationbar__toggle__icon-height: 2.2rem;
7
+
8
+ background-color: $gray-lightest-color;
9
+ border-bottom: 0.1rem solid $gray-light-color;
10
+ text-transform: uppercase;
11
+
12
+ .navigationbar__header__logo {
13
+ font-size: 1.8rem;
14
+ color: $gray-darkest-color;
15
+ text-decoration: none;
16
+ }
17
+
18
+ .navigationbar__toggle {
19
+ > .icon {
20
+ width: $navigationbar__toggle__icon-width;
21
+ height: $navigationbar__toggle__icon-height;
22
+ margin: fortitude-halve($fortitude-navigationbar-height - $navigationbar__toggle__icon-height) fortitude-halve($fortitude-navigationbar-height - $navigationbar__toggle__icon-height);
23
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIdJREFUeNpiYBgFtAaMbm5uCkD6PBALUMnMD0BsyAQ1UICKjgWbxwhiAV1dQE0X79q1a8IQjDxoUCQAKQUqmfkAGBQLQKnCAJoqqAnAqeIDFDNQMbl9gAWFApWD4sHQzNKgjDEfiAOoZOYGIE4ERZ4BFQ1lgJplAIu89VTO0oGj5TvtAUCAAQCVmCDkKRdAyQAAAABJRU5ErkJggg==');
24
+ // Retina
25
+ @media
26
+ (-webkit-min-device-pixel-ratio: 2),
27
+ (min-resolution: 192dpi) {
28
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQRJREFUeNrsl7ENwjAQRU1oKDNCUBaADVK5zgi0VMAEjADZgBEokSuYgCwQYTpKj8CdZEdHSZWz9J9kn919nc73fcYAAACYklk6WGtPFPZKdZ6dc4dRMIldUXgqT+6aRPdFvJQZVAMn1STBIQPBPW9z3oZh+NR1/aZjQ2uhTCgnc0vlcEPLAQD8Z80thWNq0Iq40+qorV2lNVcUXsqTuyTRPjldlUE1NNKac8BLa/ZkzZXC+k1cqBy6n0cnvpnafm6Bv5XojwAosGZuazuFre0R25qX1lxGa9Y6jIZozaEQE6nmyZm1tVlacyFGaM1uMuqTj47TvtFozfHRBQMAAGByvgIMAOBPRPy+NdlpAAAAAElFTkSuQmCC');
29
+ background-size: $navigationbar__toggle__icon-height $navigationbar__toggle__icon-width;
30
+ }
31
+ }
32
+ }
33
+
34
+ .navigationbar__toggle__helper {
35
+ width: $navigationbar__toggle__icon-width + ($fortitude-navigationbar-height - $navigationbar__toggle__icon-height);
36
+ height: $navigationbar__toggle__icon-height + ($fortitude-navigationbar-height - $navigationbar__toggle__icon-height);
37
+ margin-right: (-($navigationbar__toggle__icon-width + ($fortitude-navigationbar-height - $navigationbar__toggle__icon-height)));
38
+ }
39
+
40
+ .navigationbar__link {
41
+ color: $gray-darkest-color;
42
+ text-decoration: none;
43
+ font-size: 1.4rem;
44
+
45
+ &::before {
46
+ content: '';
47
+ color: $info-color;
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,15 @@
1
+ $fortitude-enable-wings: false !default;
2
+
3
+ @if $fortitude-enable-wings {
4
+ @each $intent, $rules in $fortitude-wings-intents {
5
+ .wings--#{$intent} {
6
+ .wings__wing {
7
+ &::before {
8
+ @each $property, $value in $rules {
9
+ #{$property}: $value;
10
+ }
11
+ }
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,309 @@
1
+ $gray-darkest-color : #373942 !default;
2
+ $gray-darker-color : #54565E !default;
3
+ $gray-dark-color : #87898E !default;
4
+ $gray-color : #CFCFD1 !default;
5
+ $gray-light-color : #E7E7E8 !default;
6
+ $gray-lighter-color : #FCFCFC !default;
7
+ $gray-lightest-color: #FFFFFF !default;
8
+
9
+ $primary-color: #1CAFC9 !default;
10
+ $success-color: #18D985 !default;
11
+ $info-color : #4DDBC4 !default;
12
+ $warning-color: #E9CB0A !default;
13
+ $danger-color : #DE1843 !default;
14
+ $inverse-color: $gray-darkest-color !default;
15
+
16
+ $fortitude-badge-intents: (
17
+ "default": (
18
+ "background-color": $gray-lightest-color,
19
+ "border-color": $gray-lightest-color,
20
+ "color": $gray-darkest-color
21
+ ),
22
+ "primary": (
23
+ "background-color": $primary-color,
24
+ "border-color": $primary-color,
25
+ "color": $gray-lightest-color
26
+ ),
27
+ "success": (
28
+ "background-color": $success-color,
29
+ "border-color": $success-color,
30
+ "color": $gray-lightest-color
31
+ ),
32
+ "info": (
33
+ "background-color": $info-color,
34
+ "border-color": $info-color,
35
+ "color": $gray-lightest-color
36
+ ),
37
+ "warning": (
38
+ "background-color": $warning-color,
39
+ "border-color": $warning-color,
40
+ "color": $gray-lightest-color
41
+ ),
42
+ "danger": (
43
+ "background-color": $danger-color,
44
+ "border-color": $danger-color,
45
+ "color": $gray-lightest-color
46
+ ),
47
+ "inverse": (
48
+ "background-color": $gray-darkest-color,
49
+ "border-color": $gray-darker-color,
50
+ "color": $gray-lightest-color
51
+ )
52
+ ) !default;
53
+
54
+ $fortitude-box-intents: (
55
+ "default": (
56
+ "background-color": $gray-lightest-color,
57
+ "border-color": $gray-lightest-color,
58
+ "color": $gray-darkest-color
59
+ ),
60
+ "primary": (
61
+ "background-color": $primary-color,
62
+ "border-color": $primary-color,
63
+ "color": $gray-lightest-color
64
+ ),
65
+ "success": (
66
+ "background-color": $success-color,
67
+ "border-color": $success-color,
68
+ "color": $gray-lightest-color
69
+ ),
70
+ "info": (
71
+ "background-color": $info-color,
72
+ "border-color": $info-color,
73
+ "color": $gray-lightest-color
74
+ ),
75
+ "warning": (
76
+ "background-color": $warning-color,
77
+ "border-color": $warning-color,
78
+ "color": $gray-lightest-color
79
+ ),
80
+ "danger": (
81
+ "background-color": $danger-color,
82
+ "border-color": $danger-color,
83
+ "color": $gray-lightest-color
84
+ ),
85
+ "inverse": (
86
+ "background-color": $gray-darkest-color,
87
+ "border-color": $gray-darker-color,
88
+ "color": $gray-lightest-color
89
+ )
90
+ ) !default;
91
+
92
+ $fortitude-button-intents: (
93
+ "default": (
94
+ "initial": (
95
+ "background-color": $gray-lightest-color,
96
+ "border-color": $gray-lightest-color,
97
+ "color": $gray-darkest-color
98
+ ),
99
+ "hover": (
100
+ "background-color": fortitude-tint($gray-lightest-color, 20%),
101
+ "border-color": fortitude-tint($gray-lightest-color, 20%),
102
+ "color": $gray-darkest-color
103
+ ),
104
+ "active": (
105
+ "background-color": fortitude-shade($gray-lightest-color, 20%),
106
+ "border-color": fortitude-shade($gray-lightest-color, 20%),
107
+ "color": $gray-darkest-color
108
+ ),
109
+ "disabled": (
110
+ "background-color": $gray-lightest-color,
111
+ "border-color": $gray-darkest-color,
112
+ "color": $gray-darkest-color
113
+ )
114
+ ),
115
+ "primary": (
116
+ "initial": (
117
+ "background-color": $primary-color,
118
+ "border-color": $primary-color,
119
+ "color": $gray-lightest-color
120
+ ),
121
+ "hover": (
122
+ "background-color": fortitude-tint($primary-color, 20%),
123
+ "border-color": fortitude-tint($primary-color, 20%),
124
+ "color": $gray-lightest-color
125
+ ),
126
+ "active": (
127
+ "background-color": fortitude-shade($primary-color, 20%),
128
+ "border-color": fortitude-shade($primary-color, 20%),
129
+ "color": $gray-lightest-color
130
+ ),
131
+ "disabled": (
132
+ "background-color": $gray-lightest-color,
133
+ "border-color": $primary-color,
134
+ "color": $primary-color,
135
+ )
136
+ ),
137
+ "success": (
138
+ "initial": (
139
+ "background-color": $success-color,
140
+ "border-color": $success-color,
141
+ "color": $gray-lightest-color
142
+ ),
143
+ "hover": (
144
+ "background-color": fortitude-tint($success-color, 20%),
145
+ "border-color": fortitude-tint($success-color, 20%),
146
+ "color": $gray-lightest-color
147
+ ),
148
+ "active": (
149
+ "background-color": fortitude-shade($success-color, 20%),
150
+ "border-color": fortitude-shade($success-color, 20%),
151
+ "color": $gray-lightest-color
152
+ ),
153
+ "disabled": (
154
+ "background-color": $gray-lightest-color,
155
+ "border-color": $success-color,
156
+ "color": $success-color,
157
+ )
158
+ ),
159
+ "info": (
160
+ "initial": (
161
+ "background-color": $info-color,
162
+ "border-color": $info-color,
163
+ "color": $gray-lightest-color
164
+ ),
165
+ "hover": (
166
+ "background-color": fortitude-tint($info-color, 20%),
167
+ "border-color": fortitude-tint($info-color, 20%),
168
+ "color": $gray-lightest-color
169
+ ),
170
+ "active": (
171
+ "background-color": fortitude-shade($info-color, 20%),
172
+ "border-color": fortitude-shade($info-color, 20%),
173
+ "color": $gray-lightest-color
174
+ ),
175
+ "disabled": (
176
+ "background-color": $gray-lightest-color,
177
+ "border-color": $info-color,
178
+ "color": $info-color,
179
+ )
180
+ ),
181
+ "warning": (
182
+ "initial": (
183
+ "background-color": $warning-color,
184
+ "border-color": $warning-color,
185
+ "color": $gray-lightest-color
186
+ ),
187
+ "hover": (
188
+ "background-color": fortitude-tint($warning-color, 20%),
189
+ "border-color": fortitude-tint($warning-color, 20%),
190
+ "color": $gray-lightest-color
191
+ ),
192
+ "active": (
193
+ "background-color": fortitude-shade($warning-color, 20%),
194
+ "border-color": fortitude-shade($warning-color, 20%),
195
+ "color": $gray-lightest-color
196
+ ),
197
+ "disabled": (
198
+ "background-color": $gray-lightest-color,
199
+ "border-color": $warning-color,
200
+ "color": $warning-color,
201
+ )
202
+ ),
203
+ "danger": (
204
+ "initial": (
205
+ "background-color": $danger-color,
206
+ "border-color": $danger-color,
207
+ "color": $gray-lightest-color
208
+ ),
209
+ "hover": (
210
+ "background-color": fortitude-tint($danger-color, 20%),
211
+ "border-color": fortitude-tint($danger-color, 20%),
212
+ "color": $gray-lightest-color
213
+ ),
214
+ "active": (
215
+ "background-color": fortitude-shade($danger-color, 20%),
216
+ "border-color": fortitude-shade($danger-color, 20%),
217
+ "color": $gray-lightest-color
218
+ ),
219
+ "disabled": (
220
+ "background-color": $gray-lightest-color,
221
+ "border-color": $danger-color,
222
+ "color": $danger-color,
223
+ )
224
+ ),
225
+ "inverse": (
226
+ "initial": (
227
+ "background-color": $inverse-color,
228
+ "border-color": $inverse-color,
229
+ "color": $gray-lightest-color
230
+ ),
231
+ "hover": (
232
+ "background-color": fortitude-tint($inverse-color, 20%),
233
+ "border-color": fortitude-tint($inverse-color, 20%),
234
+ "color": $gray-lightest-color
235
+ ),
236
+ "active": (
237
+ "background-color": fortitude-shade($inverse-color, 20%),
238
+ "border-color": fortitude-shade($inverse-color, 20%),
239
+ "color": $gray-lightest-color
240
+ ),
241
+ "disabled": (
242
+ "background-color": $gray-lightest-color,
243
+ "border-color": $inverse-color,
244
+ "color": $inverse-color,
245
+ )
246
+ )
247
+ ) !default;
248
+
249
+ $fortitude-flashbar-intents: (
250
+ "default": (
251
+ "background-color": $gray-lightest-color,
252
+ "border-color": $gray-lightest-color,
253
+ "color": $gray-darkest-color
254
+ ),
255
+ "primary": (
256
+ "background-color": $primary-color,
257
+ "border-color": $primary-color,
258
+ "color": $gray-lightest-color
259
+ ),
260
+ "success": (
261
+ "background-color": $success-color,
262
+ "border-color": $success-color,
263
+ "color": $gray-lightest-color
264
+ ),
265
+ "info": (
266
+ "background-color": $info-color,
267
+ "border-color": $info-color,
268
+ "color": $gray-lightest-color
269
+ ),
270
+ "warning": (
271
+ "background-color": $warning-color,
272
+ "border-color": $warning-color,
273
+ "color": $gray-lightest-color
274
+ ),
275
+ "danger": (
276
+ "background-color": $danger-color,
277
+ "border-color": $danger-color,
278
+ "color": $gray-lightest-color
279
+ ),
280
+ "inverse": (
281
+ "background-color": $gray-darkest-color,
282
+ "border-color": $gray-darker-color,
283
+ "color": $gray-lightest-color
284
+ )
285
+ ) !default;
286
+
287
+ $fortitude-wings-intents: (
288
+ "default": (
289
+ "background-color": $gray-lightest-color
290
+ ),
291
+ "primary": (
292
+ "background-color": $primary-color
293
+ ),
294
+ "success": (
295
+ "background-color": $success-color
296
+ ),
297
+ "info": (
298
+ "background-color": $info-color
299
+ ),
300
+ "warning": (
301
+ "background-color": $warning-color
302
+ ),
303
+ "danger": (
304
+ "background-color": $danger-color
305
+ ),
306
+ "inverse": (
307
+ "background-color": $gray-darkest-color
308
+ )
309
+ ) !default;