Skip to content

Theming colors guide #229

Closed
Closed
@mxstbr

Description

@mxstbr

For my theme, hyperterm-spacegray, I've figured out the background and foreground color like so:

exports.decorateConfig = function (config) {
  return Object.assign({}, config, {
    backgroundColor,
    foregroundColor,
    css: `
      ${config.css || ''}
      .tab_tab {
        color: ${foregroundColor} !important;
        background-color: ${backgroundColor} !important;
      }
    `
  });
};

Now I know that I should pass in an array in colors but I'm really unsure what each of those colors is used for. Is there any guide for that?

/cc @hharnisc who created the default theme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions