@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.
@@ -544,7 +544,7 @@ var getColorFromState = function (state) {
544
544
  return 'danger';
545
545
 
546
546
  default:
547
- return 'grey';
547
+ return 'black-light';
548
548
  }
549
549
  };
550
550
 
@@ -1930,7 +1930,9 @@ var lateOceanColorPalette = {
1930
1930
  englishVermillon: '#D44148',
1931
1931
  goldCrayola: '#F8C583',
1932
1932
  aero: '#89BDDD',
1933
- transparent: 'transparent'
1933
+ transparent: 'transparent',
1934
+ moonPurple: '#DBD6F9',
1935
+ moonPurpleLight1: '#EDEBFC'
1934
1936
  };
1935
1937
 
1936
1938
  var avatarLateOceanTheme = {
@@ -2008,6 +2010,7 @@ var cardLateOceanTheme = {
2008
2010
 
2009
2011
  var colorsLateOceanTheme = {
2010
2012
  primary: lateOceanColorPalette.lateOcean,
2013
+ primaryLight: lateOceanColorPalette.lateOceanLight1,
2011
2014
  accent: lateOceanColorPalette.warmEmbrace,
2012
2015
  accentLight: lateOceanColorPalette.warmEmbraceLight1,
2013
2016
  success: lateOceanColorPalette.viride,
@@ -2163,9 +2166,7 @@ var tagLateOceanTheme = {
2163
2166
  borderRadius: '10px',
2164
2167
  padding: '2px 12px',
2165
2168
  primary: {
2166
- // eslint-disable-next-line unicorn/expiring-todo-comments
2167
- // TODO: validate Moon shadow color with design team
2168
- backgroundColor: '#EDEBFC'
2169
+ backgroundColor: lateOceanColorPalette.moonPurpleLight1
2169
2170
  },
2170
2171
  "default": {
2171
2172
  backgroundColor: lateOceanColorPalette.black50
@@ -2196,8 +2197,6 @@ var typographyLateOceanTheme = {
2196
2197
  colors: {
2197
2198
  black: lateOceanColorPalette.black1000,
2198
2199
  'black-light': lateOceanColorPalette.black555,
2199
- grey: lateOceanColorPalette.black555,
2200
- 'grey-light': lateOceanColorPalette.black200,
2201
2200
  white: lateOceanColorPalette.white,
2202
2201
  'white-light': lateOceanColorPalette.white,
2203
2202
  primary: lateOceanColorPalette.lateOcean,
@@ -2210,8 +2209,7 @@ var typographyLateOceanTheme = {
2210
2209
  headers: {
2211
2210
  fontFamily: {
2212
2211
  regular: 'Moderat-Extended-Bold',
2213
- bold: 'Moderat-Extended-Bold',
2214
- italic: 'Moderat-Extended-Bold'
2212
+ bold: 'Moderat-Extended-Bold'
2215
2213
  },
2216
2214
  fontWeight: 400,
2217
2215
  fontStyle: 'normal',
@@ -2231,18 +2229,15 @@ var typographyLateOceanTheme = {
2231
2229
  bodies: {
2232
2230
  fontFamily: {
2233
2231
  regular: 'NotoSans',
2234
- bold: 'NotoSans-Bold',
2235
- italic: 'NotoSans-Italic'
2232
+ bold: 'NotoSans-Bold'
2236
2233
  },
2237
2234
  fontWeight: {
2238
2235
  regular: 400,
2239
- bold: 700,
2240
- italic: 400
2236
+ bold: 700
2241
2237
  },
2242
2238
  fontStyle: {
2243
2239
  regular: 'normal',
2244
- bold: 'normal',
2245
- italic: 'italic'
2240
+ bold: 'normal'
2246
2241
  },
2247
2242
  configs: {
2248
2243
  'body-large': createTypographyTypeConfig(1.6, 18, 24),
@@ -2278,7 +2273,9 @@ var breakpoints = {
2278
2273
  largeBreakpoint: 'max-width: 1023px',
2279
2274
  wideBreakpoint: 'max-width: 1279px'
2280
2275
  }
2281
- };
2276
+ }; // eslint-disable-next-line unicorn/expiring-todo-comments
2277
+ // TODO : seperate brand color usage definition from proper theme definition and add typings - https://ornikar.atlassian.net/browse/CME-156
2278
+
2282
2279
  var theme = {
2283
2280
  spacing: 4,
2284
2281
  colors: colorsLateOceanTheme,