Skip to content

Commit

Permalink
fix: add ignore stylelint command
Browse files Browse the repository at this point in the history
  • Loading branch information
Orcus2021 committed May 29, 2024
1 parent 459ac57 commit 596e46f
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/core/src/styles/Avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
width: 2.2rem;
height: 2.2rem;
overflow: hidden;
/* stylelint-disable-next-line number-leading-zero */
margin: 0.2rem 0.45rem 0.2rem 0.25rem;
background-color: $c-gray;
flex-shrink: 0;
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@

.#{$prefix}-button--tinted {
.#{$prefix}-icon {
/* stylelint-disable-next-line number-leading-zero */
opacity: 0.5;
}
}
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/styles/List.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ $component: #{$prefix}-list;
}

&__top-area {
margin: rem($list-top-area-margin-top) rem($section-horizontal-padding)
margin:
rem($list-top-area-margin-top)
rem($section-horizontal-padding)
rem($list-top-area-margin-bottom);
}

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ $component: #{$prefix}-modal;
margin: 0 auto;
position: relative;
overflow: hidden;
/* stylelint-disable-next-line number-leading-zero */
animation: anim-slide-down 0.4s forwards;
}
}
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/Overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@

// Active animation
opacity: 0;
/* stylelint-disable-next-line number-leading-zero */
animation: anim-fade-in 0.3s forwards;
}
3 changes: 3 additions & 0 deletions packages/core/src/styles/Popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ $component: #{$prefix}-popup;
box-shadow: $popup-box-shadow;
position: relative;
overflow: hidden;
/* stylelint-disable-next-line number-leading-zero */
transition: width 0.15s;
display: flex;
flex-direction: column;

// Active animation
/* stylelint-disable-next-line number-leading-zero */
animation: anim-bounce-in 0.6s forwards;

.#{$component}--large & {
Expand Down Expand Up @@ -74,6 +76,7 @@ $component: #{$prefix}-popup;
&__message-desc--with-title {
font-size: rem(14px);
line-height: rem(20px);
/* stylelint-disable-next-line number-leading-zero */
color: rgba(0, 0, 0, 0.7);
margin-top: rem(8px);
}
Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/styles/RowComp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@
opacity: 1 !important;

.#{$prefix}-text__basic {
/* stylelint-disable-next-line number-leading-zero */
opacity: 0.3 !important;
}

.#{$prefix}-icon {
/* stylelint-disable-next-line number-leading-zero */
opacity: 0.3 !important;
}

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/Section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ $component-name: #{$prefix}-section;
&:before {
content: '\25a0';
display: inline-block;
/* stylelint-disable-next-line number-leading-zero */
margin-right: 0.25em;
}
}
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/SwitchIcon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
background-color: $c-switch-knob;
border-radius: 50%;
display: block;
/* stylelint-disable-next-line number-leading-zero */
box-shadow: 0 rem(3px) rem(9px) rgba(0, 0, 0, 0.3);
will-change: transform;
transition: transform 300ms $ease-out-cubic;
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/TextInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
}

&__postfix {
/* stylelint-disable-next-line number-leading-zero */
margin-left: 0.5rem;
justify-content: flex-end;
align-self: flex-end;
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/_animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// Ref: https://github.com/FortAwesome/Font-Awesome/blob/master/scss/_animated.scss
// (MIT License)
// -------------------------------------
/* stylelint-disable number-leading-zero */

@keyframes anim-spin {
0% {
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/_color_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
$ss: $s * $v;
$ll: (2 - $s) * $v;

/* stylelint-disable block-closing-brace-newline-after, at-rule-empty-line-before */
@if ($ll == 2 or $ll == 0) {
$ss: 0;
} @else if $ll <= 1 {
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,5 @@ $c-modal-border: $c-popup-button-border;
$c-popover-background: $c-white;

// Modal colors
/* stylelint-disable-next-line number-leading-zero */
$c-backdrop: rgba($c-black, 0.6);
2 changes: 2 additions & 0 deletions packages/core/src/styles/_states.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
}

.#{$prefix-state}-disabled {
/* stylelint-disable-next-line number-leading-zero */
opacity: 0.3 !important;
pointer-events: none !important;
}

.#{$prefix-state}-muted {
/* stylelint-disable-next-line number-leading-zero */
opacity: 0.3 !important;
}

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/styles/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable number-leading-zero */
@import './colors';

$prefix: 'gyp';
Expand Down
1 change: 1 addition & 0 deletions packages/form/src/styles/SelectRow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $componenet-name: gyp-form-select;

.#{$componenet-name} {
&__placeholder {
/* stylelint-disable-next-line number-leading-zero */
color: rgba(0, 0, 0, 0.5);
}

Expand Down
1 change: 1 addition & 0 deletions packages/form/src/styles/TextInputRow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ $font-weight-bold: 700;

.#{$component-name} {
::placeholder {
/* stylelint-disable-next-line number-leading-zero */
color: rgba(0, 0, 0, 0.5);
}

Expand Down
1 change: 1 addition & 0 deletions packages/imageeditor/src/styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import '~@ichef/gypcrete/src/styles/mixins';

/* stylelint-disable number-leading-zero */
$component-name: '#{$prefix}-image-editor';
$placeholder-icon-color: rgba(0, 0, 0, 0.3);
$placeholder-border-color: rgba(0, 0, 0, 0.1);
Expand Down

0 comments on commit 596e46f

Please sign in to comment.