-
Notifications
You must be signed in to change notification settings - Fork 243
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
Replace deprecated darken with color.adjust for Sass compliance #634
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- don't write so much in the pull request alone, what you said should be in the commit message,
- rewrite your commit message and force push, see our guidance for a checklist,
- add the problem to the commit message, as the GitHub issue will be lost and the commit message kept,
- add the solution to the commit message, as the GitHub pull request will be lost and the commit message kept,
- do not make changes unrelated to your stated intent, be more careful, use interactive add of git if necessary to avoid any changes made by your software tools,
Please fix these things in your existing branch, squash your commits, and then force push to update the pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generated files should not be committed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generated files should not be committed.
|
||
.ion-sticky { | ||
top: 50%; | ||
transform: translateY(-50%); | ||
-webkit-transform: translateY(-50%); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexplained change.
@@ -72,10 +65,6 @@ $medium-background-hover: darken($medium-background, $darken-percent); | |||
display: block; | |||
clear: both; | |||
transition: padding 0.1s ease-out; | |||
-webkit-transition: padding 0.1s ease-out; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexplained change.
@@ -106,7 +95,7 @@ $medium-background-hover: darken($medium-background, $darken-percent); | |||
background: $github-background; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary change to whitespace.
&instagram { | ||
// Instagram uses background color |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected removal of comment.
@@ -288,8 +276,8 @@ $medium-background-hover: darken($medium-background, $darken-percent); | |||
&medium { | |||
color: $medium-color; | |||
font-size: 3rem; | |||
height: 3rem; | |||
width: 3rem; | |||
height: 3rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected change.
@@ -299,4 +287,4 @@ $medium-background-hover: darken($medium-background, $darken-percent); | |||
} | |||
} | |||
} | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removal of newline at end of file.
Summary
darken
being used, causing warning #633 the warning of depreciated darken function in the terminal andChanges/explanation
sass /css/ion_icon_customization.scss /css/ion_icon_customization.css
to generate the compiled css file, which was necessary for "@use keyword" in @use "sass:color" which was used to use color thing to replaced darken the main thing.Testing