@mmb-digital/design-system-web 0.1.65 → 0.1.66

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.
package/dist/index.cjs.js CHANGED
@@ -204,21 +204,22 @@
204
204
  align-items: center;
205
205
  justify-content: center;
206
206
  width: ${({$fullWidth:e,$type:t})=>!0===e?"100%":t===exports.ButtonType.ANCHOR?"fit-content":"initial"};
207
- text-decoration: none;
207
+ font-family: Inter, sans-serif;
208
+ text-decoration: none !important;
208
209
  cursor: pointer;
209
210
 
210
211
  &:hover {
211
- text-decoration: none;
212
+ text-decoration: none !important;
212
213
  }
213
214
 
214
215
  /* type specific styles */
215
216
  ${({$buttonStyle:e,$chooseColor:n})=>{switch(e){case exports.ButtonStyle.PRIMARY:return t.css`
216
- color: ${({theme:e})=>n(e.colors.fg.neutral.white)};
217
+ color: ${({theme:e})=>n(e.colors.fg.neutral.white)} !important;
217
218
  background-color: ${({theme:e})=>n(e.colors.bg.brand.bold)};
218
219
  border: 1px solid ${({theme:e})=>n(e.colors.border.brand.bold)};
219
220
 
220
221
  &:hover {
221
- color: ${({theme:e})=>n(e.colors.fg.neutral.white)};
222
+ color: ${({theme:e})=>n(e.colors.fg.neutral.white)} !important;
222
223
  background-color: ${({theme:e})=>n(e.colors.bg.brand.bold.hover)};
223
224
  }
224
225
 
@@ -231,12 +232,12 @@
231
232
  }
232
233
 
233
234
  &:disabled {
234
- color: ${({theme:e})=>n(e.colors.fg.disabled)};
235
+ color: ${({theme:e})=>n(e.colors.fg.disabled)} !important;
235
236
  background-color: ${({theme:e})=>n(e.colors.bg.disabled)};
236
237
  border: 1px solid ${({theme:e})=>n(e.colors.bg.disabled)};
237
238
  }
238
239
  `;case exports.ButtonStyle.SECONDARY:return t.css`
239
- color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)};
240
+ color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)} !important;
240
241
  background-color: transparent;
241
242
  border: 1px solid ${({theme:e})=>n(e.colors.border.neutral.subtle)};
242
243
 
@@ -250,11 +251,11 @@
250
251
  }
251
252
 
252
253
  &:hover {
253
- color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)};
254
+ color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)} !important;
254
255
  }
255
256
 
256
257
  &:disabled {
257
- color: ${({theme:e})=>n(e.colors.fg.disabled)};
258
+ color: ${({theme:e})=>n(e.colors.fg.disabled)} !important;
258
259
  background-color: ${({theme:e})=>n(e.colors.bg.disabled)};
259
260
  border: 1px solid ${({theme:e})=>n(e.colors.bg.disabled)};
260
261
  }
@@ -265,12 +266,12 @@
265
266
  border: 2px solid ${({theme:e})=>n(e.colors.border.brand.subtle)};
266
267
  }
267
268
  `;case exports.ButtonStyle.TERTIARY:return t.css`
268
- color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)};
269
+ color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)} !important;
269
270
  background-color: transparent;
270
271
  border: none;
271
272
 
272
273
  &:hover {
273
- color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)};
274
+ color: ${({theme:e})=>n(e.colors.fg.neutral.subtle)} !important;
274
275
  background-color: ${({theme:e})=>n(e.colors.bg.brand.default)};
275
276
  }
276
277
 
@@ -283,7 +284,7 @@
283
284
  }
284
285
 
285
286
  &:disabled {
286
- color: ${({theme:e})=>n(e.colors.fg.disabled)};
287
+ color: ${({theme:e})=>n(e.colors.fg.disabled)} !important;
287
288
  background-color: ${({theme:e})=>n(e.colors.bg.disabled)};
288
289
  }
289
290
  `;default:return""}}}