Skip to content

Doesn't play well with other plugins that add/edit CSS. #11

@lmunozdiaz

Description

@lmunozdiaz
 return Object.assign({}, config, {
    padding: config.padding || "12px 30px 30px 30px",
    backgroundColor: palette.base,
    foregroundColor: palette.text,
    cursorColor: palette.highlightHigh,
    cursorAccentColor: palette.text,
    selectionColor: palette.highlightMed,
    borderColor: "#0000",
    css: `
		.tab_text { color: ${palette.subtle} }
		.tab_textActive { color: ${palette.text} }
    `,
    colors,
  });

The above code is missing

${config.css || ''}

before

.tab_text { }

so, any CSS from other plugins isn't merging with those from this one.

Solution:

css: `
    ${config.css || ''}
    .tab_text { color: ${palette.subtle} }
    .tab_textActive { color: ${palette.text} }
`

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