Comments (10)
@NateBaldwinDesign I have fixed it and raised a PR #104 for the same. Please review it.
from leonardo.
Hi @NateBaldwinDesign I would like to work on this. Please can you assign it to me.
from leonardo.
Hi @NateBaldwinDesign, Can you please assign this issue to me? I would like to work on it
from leonardo.
If I am not wrong this has already been fixed.
from leonardo.
Oops! thank you for the confirmation, @fedeci
from leonardo.
@fedeci It does not work for all the scenarios. Please find below the test cases for which it fails
-
Should return closest match (ascending)
list = [2, 2.9, 3.01, 3.03];
value = 3 -
Should return closest match (descending)
list = [12, 5, 3.3, 3.14, 3.13, 3.12, 3.1, 3.07, 3, 2, 1]
value = 3.09
from leonardo.
@bhavika24 You are right, I run tests a couple months ago only evaluating ascending order. My fault.
from leonardo.
@FazeelUsmani if you are still interested I can assign this to you. See @bhavika24 's example above. This still needs fixed
from leonardo.
@FazeelUsmani if you are still interested I can assign this to you. See @bhavika24 's example above. This still needs fixed
Yeah, I'm interested, @NateBaldwinDesign
from leonardo.
I see @bhavika24 has already fixed the issue. Do check and let me know if the issue still persists, @NateBaldwinDesign
from leonardo.
Related Issues (20)
- Background color cannot be changed HOT 8
- Theme URL error/won't load HOT 7
- Export json color tokens with color family objects
- "colorSpace" key does not work when written in camel-case HOT 2
- WCAG 3 APCA Lc contrast calculations HOT 1
- Missing API docs for APCA formula HOT 1
- Hue shift when adjusting saturation
- High severity vulnerabilities for ciebase > mout when installing with npm HOT 1
- Match a value to the brand to the key color. HOT 2
- Adaptive color theme "Copy theme URL" function results in a broken link HOT 5
- Help accessing color contrast page HOT 3
- Scrollability Issue with Touchpad Two-Finger Gesture HOT 1
- Package module import not working HOT 12
- Design Tokens W3 Community Format Update
- I cannot simply follow the guide and run the project HOT 4
- Cannot re run the project after the first time HOT 4
- leonardocolor.io website's JS API documentation's updateColor definition to be updated to reflect correct theme.js capabilities
- Scales - please let us import/export config
- Leonardo Color Scales interface not loading
- Links don't save information HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leonardo.