Code Monkey home page Code Monkey logo

Comments (1)

setaman avatar setaman commented on July 17, 2024 1

@DamianGlowala Hi, thanks for your suggestion and sorry for the late reply. I understand your point. I saw that Tailwind also has classes for SVG, so you could use that to control the colors as well. On one hand this case is quite framework specific, on the other hand it would give more flexibility.

Your issue made me think about how to give more freedom to the users. The classes would definitely be an easy way to do that. However, there are a some points that, in my opinion, could limit the flexibility:

  • I would have to add a prop like progressClass for all circles, progress, fill, empty... -> verbose props interface
  • styles specificity, custom classes have to override internally applied styles
  • scoped styles could be a problem in some case and the user have to wrap the component in another component to apply classes

The issue your described is definitely one thing I will like to see in my library. I already have some thoughts on it that I need to evaluate. If I find a satisfactory solution, it will be added in later v2.x version. You are welcome to think along and suggest a possible solution.

from vue-ellipse-progress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.