GithubHelp home page GithubHelp logo

ghosh / uigradients Goto Github PK

View Code? Open in Web Editor NEW
5.9K 123.0 1.4K 5.7 MB

๐Ÿ”ด Beautiful colour gradients for design and code

Home Page: http://uigradients.com/

License: MIT License

JavaScript 35.91% CSS 19.41% HTML 2.61% Vue 42.07%
gradients css design vue javascript

uigradients's People

Contributors

aentan avatar allanfloury avatar anaid23 avatar baishusama avatar brian-guerrero avatar ccmxy avatar deepansh946 avatar dependabot-support avatar dependabot[bot] avatar dxnia avatar fuechter avatar gandhishepard avatar ghosh avatar gowri-sankar avatar gregsonar avatar gureks avatar i-break-codes avatar ir3ne avatar maitreyav avatar naveenda avatar nicolasverlhiac avatar raank avatar sathishu37 avatar sim3001 avatar subramanya4shenoy avatar teded32 avatar thisizvijay avatar vramazing avatar zache-davis avatar zeusdeux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uigradients's Issues

Gradient Angle - Up and Down Arrow Keys

The up and down arrow keys could be utilized to modify the angle of which the gradient is angled at. (up arrow increases the deg value, while down naturally does the opposite).

I created a uiGradients iOS viewer application and published it to the app store!

device_mockup
ui_gradients_viewer

Greetings:

As an iOS Developer, I am always looking for new opportunities for cool projects. After using your web app, I decided to implement a gradient view swiper in swift. Additionally, I have published it to the app store for everyone to use. If you find the project neat, it would be great to add it to your list of resources under "built with uiGradients".

https://github.com/thexande/uiGradients-Viewer-iOS

Give the app a download, and check it out! Thanks for the inspiration.

License?

Hi.

I've made iOS library for uiGradients but noticed that its license is not described.
I'd appreciate if you specify the license.

Thank you.

Recently added Gradient Doesn't Work.

Recently added gradient "Chitty Chitty Bang Bang" doesn't seem to work properly. Thumbnail is wrong and only a white blank page is rendered across several browsers.

Safari
screen shot 2017-03-09 at 10 21 20 pm

Chrome
screen shot 2017-03-09 at 10 20 52 pm

Firefox
screen shot 2017-03-09 at 10 20 39 pm

Drawing

[
{
โ€ฆ
},
{
"name": "Drawing",
"colors": ["#fce80a", "#ffc000"]
}
]

Webkit vendor prefix value is invalid

background-image: -webkit-linear-gradient(to right, #fff, #000);

This is not valid CSS, webkit doesn't know what to right means. It should be left in that case.

You can learn more here.

Copying colors not working correctly

I was using https://uigradients.com/#Margo to generate gradient CSS code.

copy

When I click copy, I get the following CSS.

background: #FFEFBA;  /* fallback for old browsers */
background: -webkit-linear-gradient(to top, #FFFFFF, #FFEFBA);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to top, #FFFFFF, #FFEFBA); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

The gradient order is reversed.

New features

I've got some ideas for (small) features:

1 - More available angles to rotate gradients;
- Basically, a dropdown with additional diagonal angles (15 and/or 45 degrees) options

2 - Color amount filter:
- Buttons to select only gradients with the specified amount of colors (2, 3, 4, 5...)

3 - The # remove button.
- In some cases we don't need the # on the Hexa value. And could be an option remove that character from there.

I could implement these improvements, if would be approved
๐Ÿ˜ƒ

All in one feature

First off thanks a million for your awesome tool.
I'd like to suggest a feature. It would be more awesome to add support for all-in-one export of gradients either in a downloadable zip containing all .jpg s or in Photoshop .grd format.

Peace

Travis CI for automatic JSON linting

If you want, I'll submit a PR which would enable automatic linting for every color PR and would point out errors or inconsistencies (if any).

Rotate gradients?

I am kind of a newbie when it comes to CSS Gradients, is it possible to rotate the gradients so that they go top to bottom instead of left to right?

Neeraj

[
{
โ€ฆ
},
{
"name": "Neeraj",
"colors": ["#8b0042", "#d8058e", "#0142c1"]
}
]

Add text-shadow to .infobox and/or footer

metallic_toad

When an uploaded gradient has a light/white Colour 2, the .infobox text can't be read, and so are the text in the footer. Had to use โŒ˜+A to highlight all the text on the page to see the values.

Would you consider adding text-shadow property?

Banding-ish issue

It looks as though the gradients โ€” especially the grey to grey ones โ€” have slightly colored bands as if there were dithering applied only horizontally. However, these bands are blurred across several pixels as if the gradient were rendered at a low resolution and then upscaled with a filter.

Either way, here's a screenshot of the issue (note that the bands can only be seen when the image is viewed 1:1 with the monitor):
screenshot from 2016-05-15 20 15 00
And here is a progressing of colors from left to right that I found demonstrating that dithering in one direction already occurs:

5e0302

5d0302

5e0402

Smarter JSON spec

First of all, thanks for this great repo.


In my opinion the JSON format should be changed. I propose the following:

[
  {
    "name":   "Emerald Water",
    "colors": ["#348F50", "#56B4D3"]
  }
]

This uses the American spelling for the word "color", which is used by CSS. For the colors themselves, an array should be used instead of enumerated keys ("colourN"). This also allows for more than two colors per gradient.

I'd happily submit a PR for master and site. Let me hear, what you think.

Missing Semicolon

Maybe I'm wrong...should we end the sentence with semicolon on the first background property also ?

screen shot 2015-11-18 at 13 13 14

Copying colors is not working

I'm using Firefox 57 on GNU/Linux, and when I click on a color code to copy it, my the content of my clipboard doesn't change.

User Account Feature in UI Gradient

What do all think about adding a user account feature in UI Gradient?
The user would be able to login to the UI gradient and add their own gradient schemes and mark the favourite one on the site as well.

This will help them to access the best gradients very quickly and time-saving.

Get rgba code

Any chance that you can add a rgba option?? to set the opacity of the colors, so you can copy the code with hex code or with rgba

API for getting an random gradient from uiGradients?

This would help if you were lazy to get an background/ want your users to have different backgrounds every time.
Perhaps set up an API where developers can send XMLHttpRequests to receive an random CSS gradient in JSON form?

New Feature: Searching closest gradient palette in range

Hi,

I love this beautiful tool. The only issue is sometimes I want a specific gradient palette of a range between two Hex color values, for example, a gradient from red to blue (a very simple example). In this case, I'd suggest a "search" functionality, when given two color values, searching for the closest existing palette that satisfies the range.

Thank you!

Copy to clipboard not working on Firefox

I tried to use the option to copy to clipboard on Firefox and it didn't work, then tried again on Chrome and it worked. It may be my browser or an issue with the Firefox.

Show a grid of gradients

I love all the gradients that are on here but it's a bit of a pain trying to navigate between them. Maybe have a grid view, something like this?

Doesn't work on IE 11

Hi,

Does it support any IE version because it is not working inside IE 11.

Best Regards
Usama Ahmed

Sass support

I think it would be nice to have a Sass equivalent for the CSS code.

// needs latest Compass, add '@import "compass"' to your scss
background-color: #87e0fd; // Old browsers
@include filter-gradient(#87e0fd, #05abe0, vertical); // IE6-9
@include background-image(linear-gradient(top,  #87e0fd 0%,#05abe0 100%));

Source: Ultimate CSS Gradient Generator: http://www.colorzilla.com/gradient-editor/

I could write a merge request if you like this feature, it shouldn't be very hard to add :)

Using gradients.json to populate data in my app

I was wondering if using the json with gradients to populate the database for my app is ok. I wrote a little script in js that rips all gradients with two colors and writes them to my database. I put a notice on the page that most of the gradients were taken from uiGradients and also provided a link to the website, however i wanted to know if that is ok as i plan to use the script i wrote in admin panel for the app so i could at a later point fetch new gradients as they are added as well. If the creator of this repo doesn't give his permission for me to do this i will remove the feature from the app.
Note: gradient fetching is controlled, im not constantly scavenging the data on every pageload.
Other note: Sorry for my poor english! :D

Foreground / Text color

I would like to know your opinions regarding the font color in the following scenario:
I have a Windows application and you can change the background gradient by choosing from a drop-down the one you like. How would you decide if you display the text in black or white depending the gradient?

Moar colors plz

I'd love to see this with 3 or 4 colors as well. The JS used to make this could accept args.. and any amount of colors could be added.

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.