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

[FR]: Parsing colors into several separate classes. #481

Open
2 tasks done
filippkos opened this issue Mar 11, 2024 · 1 comment
Open
2 tasks done

[FR]: Parsing colors into several separate classes. #481

filippkos opened this issue Mar 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@filippkos
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

I want to create a color structure more complex than one class with many fields inside. At least, I would like to be able to parse one or more xml files into several classes. It is possible to specify only one output class name. I didn't find such an option in the documentation.

# podspec.yaml
  colors:
    enabled: true
    outputs:
      class_name: CustomColors
    inputs:
      - assets/custom_colors.xml
      - assets/other_custom_colors.xml

Describe the solution

You can do it, for example, so that each xml file is parsed into a separate class.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@filippkos filippkos added the enhancement New feature or request label Mar 11, 2024
@AlexV525
Copy link
Member

Could you also add the example of your files and expected color classes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants