@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.
@@ -558,7 +558,7 @@ var getColorFromState = function (state) {
558
558
  return 'danger';
559
559
 
560
560
  default:
561
- return 'grey';
561
+ return 'black-light';
562
562
  }
563
563
  };
564
564
 
@@ -2102,7 +2102,9 @@ var lateOceanColorPalette = {
2102
2102
  englishVermillon: '#D44148',
2103
2103
  goldCrayola: '#F8C583',
2104
2104
  aero: '#89BDDD',
2105
- transparent: 'transparent'
2105
+ transparent: 'transparent',
2106
+ moonPurple: '#DBD6F9',
2107
+ moonPurpleLight1: '#EDEBFC'
2106
2108
  };
2107
2109
 
2108
2110
  var avatarLateOceanTheme = {
@@ -2180,6 +2182,7 @@ var cardLateOceanTheme = {
2180
2182
 
2181
2183
  var colorsLateOceanTheme = {
2182
2184
  primary: lateOceanColorPalette.lateOcean,
2185
+ primaryLight: lateOceanColorPalette.lateOceanLight1,
2183
2186
  accent: lateOceanColorPalette.warmEmbrace,
2184
2187
  accentLight: lateOceanColorPalette.warmEmbraceLight1,
2185
2188
  success: lateOceanColorPalette.viride,
@@ -2335,9 +2338,7 @@ var tagLateOceanTheme = {
2335
2338
  borderRadius: '10px',
2336
2339
  padding: '2px 12px',
2337
2340
  primary: {
2338
- // eslint-disable-next-line unicorn/expiring-todo-comments
2339
- // TODO: validate Moon shadow color with design team
2340
- backgroundColor: '#EDEBFC'
2341
+ backgroundColor: lateOceanColorPalette.moonPurpleLight1
2341
2342
  },
2342
2343
  "default": {
2343
2344
  backgroundColor: lateOceanColorPalette.black50
@@ -2368,8 +2369,6 @@ var typographyLateOceanTheme = {
2368
2369
  colors: {
2369
2370
  black: lateOceanColorPalette.black1000,
2370
2371
  'black-light': lateOceanColorPalette.black555,
2371
- grey: lateOceanColorPalette.black555,
2372
- 'grey-light': lateOceanColorPalette.black200,
2373
2372
  white: lateOceanColorPalette.white,
2374
2373
  'white-light': lateOceanColorPalette.white,
2375
2374
  primary: lateOceanColorPalette.lateOcean,
@@ -2382,8 +2381,7 @@ var typographyLateOceanTheme = {
2382
2381
  headers: {
2383
2382
  fontFamily: {
2384
2383
  regular: Platform.OS === 'web' ? 'Moderat' : 'Moderat-Extended-Bold',
2385
- bold: Platform.OS === 'web' ? 'Moderat' : 'Moderat-Extended-Bold',
2386
- italic: Platform.OS === 'web' ? 'Moderat' : 'Moderat-Extended-Bold'
2384
+ bold: Platform.OS === 'web' ? 'Moderat' : 'Moderat-Extended-Bold'
2387
2385
  },
2388
2386
  fontWeight: 400,
2389
2387
  fontStyle: 'normal',
@@ -2403,18 +2401,15 @@ var typographyLateOceanTheme = {
2403
2401
  bodies: {
2404
2402
  fontFamily: {
2405
2403
  regular: Platform.OS === 'web' ? 'Noto Sans' : 'NotoSans',
2406
- bold: Platform.OS === 'web' ? 'Noto Sans' : 'NotoSans-Bold',
2407
- italic: Platform.OS === 'web' ? 'Noto Sans' : 'NotoSans-Italic'
2404
+ bold: Platform.OS === 'web' ? 'Noto Sans' : 'NotoSans-Bold'
2408
2405
  },
2409
2406
  fontWeight: {
2410
2407
  regular: 400,
2411
- bold: 700,
2412
- italic: 400
2408
+ bold: 700
2413
2409
  },
2414
2410
  fontStyle: {
2415
2411
  regular: 'normal',
2416
- bold: 'normal',
2417
- italic: 'italic'
2412
+ bold: 'normal'
2418
2413
  },
2419
2414
  configs: {
2420
2415
  'body-large': createTypographyTypeConfig(1.6, 18, 24),
@@ -2450,7 +2445,9 @@ var breakpoints = {
2450
2445
  largeBreakpoint: 'max-width: 1023px',
2451
2446
  wideBreakpoint: 'max-width: 1279px'
2452
2447
  }
2453
- };
2448
+ }; // eslint-disable-next-line unicorn/expiring-todo-comments
2449
+ // TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156
2450
+
2454
2451
  var theme = {
2455
2452
  spacing: 4,
2456
2453
  colors: colorsLateOceanTheme,