mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
feat: Update theme creation workflow to handle color themes
This commit is contained in:
parent
3669071b8f
commit
06d5b7f04f
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ def main():
|
||||||
parser.add_argument('--homepage', type=str, help='The homepage of the theme.')
|
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('--author', type=str, help='The author of the theme.')
|
||||||
parser.add_argument('--image', type=str, help='The image 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()
|
args = parser.parse_args()
|
||||||
|
|
||||||
name = args.name
|
name = args.name
|
||||||
|
@ -138,7 +138,7 @@ def main():
|
||||||
homepage = args.homepage
|
homepage = args.homepage
|
||||||
author = args.author
|
author = args.author
|
||||||
image = args.image
|
image = args.image
|
||||||
is_color_theme = args.is_color_theme == True
|
is_color_theme = args.is_color_theme == "true"
|
||||||
|
|
||||||
validate_name(name)
|
validate_name(name)
|
||||||
validate_description(description)
|
validate_description(description)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue