Skip to content

Commit

Permalink
feat: Update theme creation workflow to handle color themes
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Aug 21, 2024
1 parent 3669071 commit 06d5b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/submit-theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ def main():
parser.add_argument('--homepage', type=str, help='The homepage of the theme.')
parser.add_argument('--author', type=str, help='The author of the theme.')
parser.add_argument('--image', type=str, help='The image of the theme.')
parser.add_argument('--is-color-theme', action='store_true', help='Whether the theme is a color theme.')
parser.add_argument('--is-color-theme', type=str, help='Whether the theme is a color theme.')
args = parser.parse_args()

name = args.name
description = args.description
homepage = args.homepage
author = args.author
image = args.image
is_color_theme = args.is_color_theme == True
is_color_theme = args.is_color_theme == "true"

validate_name(name)
validate_description(description)
Expand Down

0 comments on commit 06d5b7f

Please sign in to comment.