-
Notifications
You must be signed in to change notification settings - Fork 18
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
Create extended colorstop/colorlist type for enhanced styling #48
Comments
Or make it, just as commented on the colorstop:
colors:
- value: 0 # The stop
styles: # Styles / Classes
any: # Any part
fill: '#A8E05F'
stroke: '#A8E05E'
- stop: 51
classes:
any:
myClass: true #'#FDD74B'
- stop: 101
styles:
any:
fill: '#FE9B57'
- stop: 151
styles:
Any:
fill: '#FE6A69'
- stop: 201
styles:
any:
fill: '#A97ABC'
- stop: 301
styles:
any:
fill: '#A87383' The question then arises if one should use animations or colorstops:
So: other usage. They should coexist ! Note: |
The Problem To Be Solved
SAK uses a very compact colorstop/colorlist definition. That definition is inherited from the Flexible Horse Shoe custom card.
Other cards use a more verbose implementation.
The SAK implementation (coming from FH):
This is very compact and easy to understand!
Additional background:
The initial idea was to change this definition, but that is a big breaking change and requires changing all the existing views and examples.
Additionally: it hinders the quick release of the public release candidate.
(Optional): Suggested Solution
So, the suggested solution is one that is listed below and used for the
lines
tool (see issue #55 ), but instead of changing the currentcolorstop
andcolorlist
types, these extended definitions are implemented in thecolorstopex
andcolorlistex
types!Meaning:
The text was updated successfully, but these errors were encountered: