@ornikar/kitt-universal 1.1.0 → 2.0.0

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.
@@ -681,7 +681,7 @@ var getColorFromState = function (state) {
681
681
  return 'danger';
682
682
 
683
683
  default:
684
- return 'grey';
684
+ return 'black-light';
685
685
  }
686
686
  };
687
687
 
@@ -2171,7 +2171,9 @@ var lateOceanColorPalette = {
2171
2171
  englishVermillon: '#D44148',
2172
2172
  goldCrayola: '#F8C583',
2173
2173
  aero: '#89BDDD',
2174
- transparent: 'transparent'
2174
+ transparent: 'transparent',
2175
+ moonPurple: '#DBD6F9',
2176
+ moonPurpleLight1: '#EDEBFC'
2175
2177
  };
2176
2178
 
2177
2179
  var avatarLateOceanTheme = {
@@ -2249,6 +2251,7 @@ var cardLateOceanTheme = {
2249
2251
 
2250
2252
  var colorsLateOceanTheme = {
2251
2253
  primary: lateOceanColorPalette.lateOcean,
2254
+ primaryLight: lateOceanColorPalette.lateOceanLight1,
2252
2255
  accent: lateOceanColorPalette.warmEmbrace,
2253
2256
  accentLight: lateOceanColorPalette.warmEmbraceLight1,
2254
2257
  success: lateOceanColorPalette.viride,
@@ -2404,9 +2407,7 @@ var tagLateOceanTheme = {
2404
2407
  borderRadius: '10px',
2405
2408
  padding: '2px 12px',
2406
2409
  primary: {
2407
- // eslint-disable-next-line unicorn/expiring-todo-comments
2408
- // TODO: validate Moon shadow color with design team
2409
- backgroundColor: '#EDEBFC'
2410
+ backgroundColor: lateOceanColorPalette.moonPurpleLight1
2410
2411
  },
2411
2412
  "default": {
2412
2413
  backgroundColor: lateOceanColorPalette.black50
@@ -2437,8 +2438,6 @@ var typographyLateOceanTheme = {
2437
2438
  colors: {
2438
2439
  black: lateOceanColorPalette.black1000,
2439
2440
  'black-light': lateOceanColorPalette.black555,
2440
- grey: lateOceanColorPalette.black555,
2441
- 'grey-light': lateOceanColorPalette.black200,
2442
2441
  white: lateOceanColorPalette.white,
2443
2442
  'white-light': lateOceanColorPalette.white,
2444
2443
  primary: lateOceanColorPalette.lateOcean,
@@ -2451,8 +2450,7 @@ var typographyLateOceanTheme = {
2451
2450
  headers: {
2452
2451
  fontFamily: {
2453
2452
  regular: 'Moderat',
2454
- bold: 'Moderat',
2455
- italic: 'Moderat'
2453
+ bold: 'Moderat'
2456
2454
  },
2457
2455
  fontWeight: 400,
2458
2456
  fontStyle: 'normal',
@@ -2472,18 +2470,15 @@ var typographyLateOceanTheme = {
2472
2470
  bodies: {
2473
2471
  fontFamily: {
2474
2472
  regular: 'Noto Sans',
2475
- bold: 'Noto Sans',
2476
- italic: 'Noto Sans'
2473
+ bold: 'Noto Sans'
2477
2474
  },
2478
2475
  fontWeight: {
2479
2476
  regular: 400,
2480
- bold: 700,
2481
- italic: 400
2477
+ bold: 700
2482
2478
  },
2483
2479
  fontStyle: {
2484
2480
  regular: 'normal',
2485
- bold: 'normal',
2486
- italic: 'italic'
2481
+ bold: 'normal'
2487
2482
  },
2488
2483
  configs: {
2489
2484
  'body-large': createTypographyTypeConfig(1.6, 18, 24),
@@ -2519,7 +2514,9 @@ var breakpoints = {
2519
2514
  largeBreakpoint: 'max-width: 1023px',
2520
2515
  wideBreakpoint: 'max-width: 1279px'
2521
2516
  }
2522
- };
2517
+ }; // eslint-disable-next-line unicorn/expiring-todo-comments
2518
+ // TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156
2519
+
2523
2520
  var theme = {
2524
2521
  spacing: 4,
2525
2522
  colors: colorsLateOceanTheme,