Skip to content

Commit

Permalink
Fixing stylelint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Nov 21, 2023
1 parent d06b532 commit e387841
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"extends": ["stylelint-config-standard"],
"plugins": ["@primer/stylelint-config/plugins/no-deprecated-colors"],
"ignoreFiles": ["app/**/*.css", "**/*.js", "**/*.ts"],
"rules": {
"media-feature-range-notation": null,
"import-notation": null,
"custom-property-pattern": null,
"selector-class-pattern": null,
"keyframes-name-pattern": null,
Expand Down
2 changes: 2 additions & 0 deletions app/components/primer/alpha/action_list.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@

@media screen and (prefers-reduced-motion: no-preference) {
animation: checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards;

@keyframes checkmarkIn {
from {
clip-path: inset(16px 0 0 0);
Expand Down Expand Up @@ -481,6 +482,7 @@

@media screen and (prefers-reduced-motion: no-preference) {
animation: checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards;

@keyframes checkmarkOut {
from {
clip-path: inset(0 0 0 0);
Expand Down
4 changes: 2 additions & 2 deletions app/components/primer/alpha/text_field.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@
-webkit-text-fill-color: var(--control-fgColor-disabled);
}

&:not(:focus)[invalid=true] {
&:not(:focus)[invalid="true"] {
border-color: var(--control-borderColor-danger);
}

&:not(:focus)[invalid=false] {
&:not(:focus)[invalid="false"] {
border-color: var(--control-borderColor-success);
}

Expand Down

0 comments on commit e387841

Please sign in to comment.