Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Remove option value character limit #3899

Open
adictonator opened this issue May 16, 2024 · 0 comments
Open

[Feature]: Remove option value character limit #3899

adictonator opened this issue May 16, 2024 · 0 comments
Labels
Area: @shopify/theme @shopify/theme package issues Type: Enhancement New feature or request

Comments

@adictonator
Copy link

What area(s) will this request affect?

Theme

What type of change do you want to see?

Substantial change to existing feature

Overview

The current character limit of 50 for option values in Shopify CLI poses a hindrance, particularly for utilizing utility classes, such as those in Tailwind CSS. This restriction complicates direct usage of utility classes as values, leading to code verbosity and decreased readability. Removing this limit would enhance flexibility, streamline development, and maintain code cleanliness.

Motivation

Tailwind CSS promotes efficient development by leveraging utility classes. However, the Shopify CLI's 50-character limit on option values obstructs seamless integration of these classes, necessitating workarounds like switch-case statements. By eliminating this limitation, developers can harness Tailwind CSS more effectively, fostering cleaner codebases and improved maintainability.

@adictonator adictonator added the Type: Enhancement New feature or request label May 16, 2024
@adictonator adictonator changed the title [Feature]: Remove option value character length [Feature]: Remove option value character limit May 16, 2024
@gonzaloriestra gonzaloriestra added the Area: @shopify/theme @shopify/theme package issues label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: @shopify/theme @shopify/theme package issues Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants