Comments (8)
I could give this a go if it hasn't been taken?
from github-readme-streak-stats.
@IvoLondon That would be great! If you have any questions, feel free to ask!
from github-readme-streak-stats.
Possible implementation: https://jscolor.com/ (uses input element)
from github-readme-streak-stats.
I need your thoughts on something I just found out - in order to add the opacity controller , the colour needs to be in a RGBA format. The queries in request const imageURL =
${window.location.origin}?${query};
are encoded and passed, but I suspect that a HEX is expected instead. Would you be able to amend this on the backend side or should I find a way to convert it before the request is being made? @DenverCoder1
from github-readme-streak-stats.
@IvoLondon Making the query be in 6-digit HEX for opaque colors and 8-digit HEX for transparent colors would be the best. Although I haven't tried it, it seems like https://jscolor.com/ makes the value automatically in HEX, but the "#" will need to be removed (and the "FF" if it is 8 digits and ends with "FF").
from github-readme-streak-stats.
Alright, I will sort this out and I will let you know. I've created a pull request, in case you want to see the changes - #58 (not sure if it was supposed to be done, when I'm fully ready?). Thanks!
from github-readme-streak-stats.
Looks good, instead of "rgba" in the presets, you can use "hexa" to make it automatically use HEX.
from github-readme-streak-stats.
If you can't find a way to easily make it 6 digits when there's no transparency, it's perfectly fine to keep it as 8-digit HEX for all colors.
It should be pretty simple to convert it in the update function while reducing the params
though.
from github-readme-streak-stats.
Related Issues (20)
- Streak Card not fetching in Readme file HOT 3
- Streak markdown is not shown on GitHub profile HOT 7
- "Error Fetching Resource" on camo.githubusercontent.com HOT 2
- Not showing the GitHub Streaks HOT 2
- Feature request: Docker image HOT 1
- using arabic HOT 4
- What type of contributions are counted? HOT 2
- Github Stats not displaying HOT 8
- New Travelers theme
- Failed to retrieve contributions HOT 13
- Language Changes Request
- Youtube Dark Theme
- [![GitHub Streak](https://streak-stats.demolab.com/?user=Lihrhenz)](https://git.io/streak-stats) HOT 1
- Already deployed on vercel but not working Streak-stats HOT 10
- Bug(Vercel): Fatal error: Uncaught Error: Call to undefined function curl_init() HOT 3
- Streak doesn't match with my contribute
- Wrong streak calculation HOT 1
- Vercel deployed version no longer working properly HOT 3
- Does Private Repos count in Streak? HOT 2
- Card is slightly higher than github-readme-stats cards.
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 github-readme-streak-stats.