mercury static method

Theme mercury()

mercury theme.

Implementation

static Theme mercury() {
  const primary = AdaptiveColor(
    dark: BasicColor('#8da4f5'),
    light: BasicColor('#5266eb'),
  );
  const secondary = AdaptiveColor(
    dark: BasicColor('#a7b6f8'),
    light: BasicColor('#465bd1'),
  );
  const accent = BasicColor('#8da4f5');
  const error = AdaptiveColor(
    dark: BasicColor('#fc92b4'),
    light: BasicColor('#b0175f'),
  );
  const warning = AdaptiveColor(
    dark: BasicColor('#fc9b6f'),
    light: BasicColor('#a44200'),
  );
  const success = AdaptiveColor(
    dark: BasicColor('#77c599'),
    light: BasicColor('#036e43'),
  );
  const info = AdaptiveColor(
    dark: BasicColor('#77becf'),
    light: BasicColor('#007f95'),
  );
  const text = AdaptiveColor(
    dark: BasicColor('#dddde5'),
    light: BasicColor('#363644'),
  );
  const textMuted = AdaptiveColor(
    dark: BasicColor('#9d9da8'),
    light: BasicColor('#70707d'),
  );
  const background = AdaptiveColor(
    dark: BasicColor('#171721'),
    light: BasicColor('#ffffff'),
  );
  const backgroundPanel = AdaptiveColor(
    dark: BasicColor('#10101a'),
    light: BasicColor('#fbfcfd'),
  );
  const backgroundElement = AdaptiveColor(
    dark: BasicColor('#272735'),
    light: BasicColor('#f4f5f9'),
  );
  const border = AdaptiveColor(
    dark: BasicColor('#b4b7c8'),
    light: BasicColor('#707393'),
  );
  const borderActive = AdaptiveColor(
    dark: BasicColor('#8da4f5'),
    light: BasicColor('#5266eb'),
  );
  const borderSubtle = AdaptiveColor(
    dark: BasicColor('#b4b7c8'),
    light: BasicColor('#707393'),
  );

  return _withEditorThemeOverrides(
    _buildTheme(
      primary: primary,
      secondary: secondary,
      accent: accent,
      error: error,
      warning: warning,
      success: success,
      info: info,
      text: text,
      textMuted: textMuted,
      background: background,
      backgroundPanel: backgroundPanel,
      backgroundElement: backgroundElement,
      border: border,
      borderActive: borderActive,
      borderSubtle: borderSubtle,
    ),
    inactiveShellBorderColor: textMuted,
    inactiveBodyBorderColor: backgroundElement,
    utilityBackground: backgroundElement,
    inactiveMetaForeground: textMuted,
    blurredPromptForeground: textMuted,
    blurredTextForeground: textMuted,
    blurredPlaceholderForeground: textMuted,
    focusedLineNumberForeground: text,
    blurredLineNumberForeground: textMuted,
    blurredCursorLineNumberForeground: textMuted,
  );
}