/**
 * Copyright IBM Corp. 2018, 2018
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { adjustLightness } from './tools';

import {
  // Blue
  blue30,
  blue40,
  blue50,
  blue60,
  blue80,

  // Gray
  gray10,
  gray30,
  gray50,
  gray60,
  gray70,
  gray80,
  gray90,
  gray100,

  // Support
  green40,
  green50,
  yellow,
  red40,
  red50,
  red60,
  red80,
  purple40,

  // Constants
  white,

  // Tools
  rgba,
} from '@carbon/colors';

export const interactive01 = blue60;
export const interactive02 = gray60;
export const interactive03 = white;
export const interactive04 = blue50;

export const uiBackground = gray100;

export const ui01 = gray90;
export const ui02 = gray80;
export const ui03 = gray80;
export const ui04 = gray60;
export const ui05 = gray10;

export const text01 = gray10;
export const text02 = gray30;
export const text03 = gray60;
export const text04 = white;
export const text05 = gray50;
export const textError = red40;

export const icon01 = gray10;
export const icon02 = gray30;
export const icon03 = white;

export const link01 = blue40;

export const inverseLink = blue60;

export const field01 = gray90;
export const field02 = gray80;

export const inverse01 = gray100;
export const inverse02 = gray10;

export const support01 = red50;
export const support02 = green40;
export const support03 = yellow;
export const support04 = blue50;

export const inverseSupport01 = red60;
export const inverseSupport02 = green50;
export const inverseSupport03 = yellow;
export const inverseSupport04 = blue60;

export const overlay01 = rgba(gray100, 0.7);

export const danger01 = red60;
export const danger02 = red50;

// Interaction states
export const focus = white;
export const inverseFocusUi = blue60;

export const hoverPrimary = '#0353e9';
export const activePrimary = blue80;

export const hoverPrimaryText = blue30;

export const hoverSecondary = '#606060';
export const activeSecondary = gray80;

export const hoverTertiary = gray10;
export const activeTertiary = gray30;

export const hoverUI = '#353535';
export const hoverLightUI = '#4c4c4c';
export const activeUI = gray70;
export const activeLightUI = gray60;
export const selectedUI = gray80;
export const selectedLightUI = gray70;
export const inverseHoverUI = '#e5e5e5';

export const hoverSelectedUI = '#4c4c4c';

export const hoverDanger = adjustLightness(danger01, -8);
export const activeDanger = red80;

export const hoverRow = '#353535';

export const visitedLink = purple40;

export const disabled01 = gray90;
export const disabled02 = gray70;
export const disabled03 = gray50;

export const highlight = blue80;

export const decorative01 = gray70;

export const buttonSeparator = '#161616';

export const skeleton01 = '#353535';
export const skeleton02 = gray80;

export {
  // Type
  caption01,
  label01,
  helperText01,
  bodyShort01,
  bodyLong01,
  bodyShort02,
  bodyLong02,
  code01,
  code02,
  heading01,
  productiveHeading01,
  heading02,
  productiveHeading02,
  productiveHeading03,
  productiveHeading04,
  productiveHeading05,
  productiveHeading06,
  productiveHeading07,
  expressiveHeading01,
  expressiveHeading02,
  expressiveHeading03,
  expressiveHeading04,
  expressiveHeading05,
  expressiveHeading06,
  expressiveParagraph01,
  quotation01,
  quotation02,
  display01,
  display02,
  display03,
  display04,
  // Layout
  // Spacing
  spacing01,
  spacing02,
  spacing03,
  spacing04,
  spacing05,
  spacing06,
  spacing07,
  spacing08,
  spacing09,
  spacing10,
  spacing11,
  spacing12,
  // Fluid spacing
  fluidSpacing01,
  fluidSpacing02,
  fluidSpacing03,
  fluidSpacing04,
  // Layout
  layout01,
  layout02,
  layout03,
  layout04,
  layout05,
  layout06,
  layout07,
  // Containers
  container01,
  container02,
  container03,
  container04,
  container05,
  // Icon sizes
  iconSize01,
  iconSize02,
} from './white';

// Deprecated ☠️
export const brand01 = interactive01;
export const brand02 = interactive02;
export const brand03 = interactive03;
export const active01 = activeUI;
export const hoverField = hoverUI;
export const danger = danger01;

@@ -2849,33 +2849,33 @@
 keleton02 = gray
-8
+7
 0;%0A%0Aexport %7B%0A  /

update skeleton-02 value in g100 theme (#7699)