Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Rethink how we're theming Notes #175

Closed

Description

@katydecorah

In at least two separate repos, we have components for:

  • download-note.js
  • legacy-note.js
  • warning-note.js
  • note.js

I'm wondering if we should audit the types of notes and create themes that automatically include the SVG icon. For example:

Before After
<Note theme="warning" imageComponent={<WarningImage color="orange" />}>This is a legacy product...</Note> <Note theme="legacy">This is a legacy product...</Note>

Activity

  1. colleenmcginnis commented on Sep 16, 2019

    @colleenmcginnis
    Contributor

    Yes @katydecorah! Reducing the number of decisions we have to make at the Markdown file level would be great (with the flexibility to use the generic note layout with any image/color in rare cases).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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