Skip to content

Commit

Permalink
chore: 🤖 cleanup sass warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTomB committed Jan 16, 2025
1 parent 5d2411a commit f13a0cf
Showing 1 changed file with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'sass:color';

$primary: rgb(0 255 161);
$secondary: rgb(37 41 46);

Expand Down Expand Up @@ -118,7 +120,7 @@ button.et-query-devtools-open-btn {
}

.et-qd-sub-header {
background-color: darken($primary, 15%);
background-color: color.adjust($primary, $lightness: -15%);
padding: 12px;
display: flex;
gap: 12px;
Expand Down Expand Up @@ -147,15 +149,15 @@ button.et-query-devtools-open-btn {
border-radius: 10px;

&:hover {
background-color: darken($primary, 10%);
background-color: color.adjust($primary, $lightness: -10%);
}

&.et-qd-btn-secondary {
background-color: $secondary;
color: $primary;

&:hover {
background-color: lighten($secondary, 10%);
background-color: color.adjust($secondary, $lightness: 10%);
}
}
}
Expand All @@ -176,15 +178,15 @@ button.et-query-devtools-open-btn {
border-radius: 10px;

&:hover {
background-color: darken($primary, 10%);
background-color: color.adjust($primary, $lightness: -10%);
}

&.et-qd-chip-secondary {
background-color: $secondary;
color: $primary;

&:hover {
background-color: lighten($secondary, 10%);
background-color: color.adjust($secondary, $lightness: 10%);
}
}

Expand All @@ -198,7 +200,7 @@ button.et-query-devtools-open-btn {
}

.et-qd-client {
border-bottom: 1px solid lighten($secondary, 10%);
border-bottom: 1px solid color.adjust($secondary, $lightness: 10%);
padding: 12px;

&__title {
Expand Down Expand Up @@ -236,20 +238,20 @@ button.et-query-devtools-open-btn {

&__divider {
width: 1px;
background-color: lighten($secondary, 10%);
background-color: color.adjust($secondary, $lightness: 10%);
}

&__browser {
display: grid;
grid-template-columns: 1fr minmax(0, 3fr);
margin-left: -12px;
margin-right: -12px;
border-top: 1px solid lighten($secondary, 10%);
border-top: 1px solid color.adjust($secondary, $lightness: 10%);
margin-bottom: -12px;
}

&__browser-list {
border-right: 1px solid lighten($secondary, 10%);
border-right: 1px solid color.adjust($secondary, $lightness: 10%);
list-style: none;
padding: 0;
margin: 0;
Expand All @@ -268,7 +270,7 @@ button.et-query-devtools-open-btn {
box-sizing: border-box;
width: 100%;
border: none;
border-bottom: 1px solid lighten($secondary, 10%);
border-bottom: 1px solid color.adjust($secondary, $lightness: 10%);
background-color: $secondary;
color: white;
text-align: left;
Expand All @@ -292,11 +294,11 @@ button.et-query-devtools-open-btn {
}

&:hover {
background-color: lighten($secondary, 5%);
background-color: color.adjust($secondary, $lightness: 5%);
}

&.et-qd-query--active {
background-color: lighten($secondary, 5%);
background-color: color.adjust($secondary, $lightness: 5%);
}
}
}
Expand All @@ -317,7 +319,7 @@ button.et-query-devtools-open-btn {
}

.et-qd-auth-provider__viewer {
border-top: 1px solid lighten($secondary, 10%);
border-top: 1px solid color.adjust($secondary, $lightness: 10%);
margin-left: -12px;
margin-right: -12px;
margin-bottom: -12px;
Expand Down Expand Up @@ -352,7 +354,7 @@ button.et-query-devtools-open-btn {
pre {
margin: 0;
padding: 4px;
background-color: darken($secondary, 10%);
background-color: color.adjust($secondary, $lightness: -10%);
border-radius: 4px;
max-height: 450px;
overflow: auto;
Expand Down

0 comments on commit f13a0cf

Please sign in to comment.