Skip to content
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

Color gradient #1645

Closed
rod-farias opened this issue Oct 15, 2020 · 3 comments
Closed

Color gradient #1645

rod-farias opened this issue Oct 15, 2020 · 3 comments
Milestone

Comments

@rod-farias
Copy link

This is just a feature suggestion for Metro4, it is not due to any issues.

Maybe you could include a color gradient facilitator. I'm not sure how to do it, maybe something like this:

<div data-role='gradient' data-from='red' data-to='lightRed' data-direction='vertical' />
<div data-role='gradient' data-color='red' data-mode='analog' />
<div data-role='gradient' data-color='red' data-to='darken' />
<div data-role='panel' data-bg-style='gradient' />

Thank you Olson for your work, Metro4 is really easy, stylish and complete.

Repository owner deleted a comment from xscode-auto-reply bot Oct 15, 2020
@olton olton added this to the 4.4.1 milestone Oct 17, 2020
@olton
Copy link
Owner

olton commented Oct 17, 2020

new in 4.4.1, added component gradient-box

Example: https://codepen.io/olton/pen/GRqZXvv

@olton olton closed this as completed Oct 19, 2020
@rod-farias
Copy link
Author

Wow! That was fast.
Thank you very much!!!

@olton
Copy link
Owner

olton commented Oct 22, 2020

Hi! In 4.4.2 gradient-box attributes will change, but all options will be described in docs after release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants