Skip to content

Handle the case when a theme file already exists #9

Open

Description

@umaar

When a theme file already exists, you see this message:

A theme file already exists in ....src/themes/theme.ts. Will not overwrite.

But we do still generate the CSS modules. We should address this somehow, for example, print out the code in the terminal, and instruct the user to merge it with their existing theme file.

Activity

  1. agubler commented on Oct 26, 2018

    @agubler
    Member

    I think we should just exit if the theme already exists....

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions