Skip to content

Commit 8d1a564

Browse files
committed
1 parent a26b8e5 commit 8d1a564

45 files changed

Lines changed: 178 additions & 176 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ui/src/components/advanced/InteractiveTerminal/InteractiveTerminal.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../../styles/constants.scss';
1+
@use '../../../styles/constants.scss';
22

33
.terminal-wrapper {
44
display: flex;
@@ -7,7 +7,7 @@
77
padding: 15px;
88
padding-left: 40px;
99
border-radius: 4px;
10-
background: $blue-dark;
10+
background: constants.$blue-dark;
1111

1212
&.fullscreen {
1313
position: fixed;

ui/src/components/basic/BaseLayout/BaseLayout.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../../styles/constants';
1+
@use '../../../styles/constants';
22

33
.header-layout {
44
display: flex;
@@ -7,11 +7,11 @@
77
align-items: center;
88
height: 100%;
99
width: 100%;
10-
background-color: $light-blue;
10+
background-color: constants.$light-blue;
1111
overflow-x: hidden;
1212

1313
& > .body {
14-
max-width: $max-width;
14+
max-width: constants.$max-width;
1515
width: 100%;
1616
min-height: calc(100% - 70px);
1717
}

ui/src/components/basic/Button/Button.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
@import '../../../styles/constants';
1+
@use '../../../styles/constants';
22

33
.button {
44
display: inline-flex;
55
align-items: center;
66
height: 32px;
77
font-size: 0;
88
padding: 0;
9-
background-color: $sky-blue;
9+
background-color: constants.$sky-blue;
1010
border-radius: 5px;
1111
transition: all 0.2s ease;
1212
cursor: pointer;
@@ -37,7 +37,7 @@
3737
justify-content: center;
3838
height: 32px;
3939
padding: 0 12px;
40-
font: $button-text;
40+
font: constants.$button-text;
4141
white-space: nowrap;
4242
color: white;
4343
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@import '../../../../styles/constants.scss';
1+
@use '../../../../styles/constants.scss';
22

33
.delete-text-button {
4-
background-color: $red-2;
4+
background-color: constants.$red-2;
55

66
&:hover {
77
filter: brightness(110%);
8-
background-color: $red-2 !important;
8+
background-color: constants.$red-2 !important;
99
}
1010
}

ui/src/components/basic/ButtonBase/ButtonBase.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../../styles/constants';
1+
@use '../../../styles/constants';
22

33
.button-base {
44
&.-loading {

ui/src/components/basic/CodeSnippet/AdvancedCodeLine/AdvancedCodeLine.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
@import '../../../../styles/constants.scss';
1+
@use '../../../../styles/constants.scss';
22

33
.advanced-code-line {
4-
font: $code;
4+
font: constants.$code;
55
color: #d3dae1;
66
position: relative;
77
margin: 1px 0;

ui/src/components/basic/CodeSnippet/CodeSnippet.module.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
@import '../../../styles/constants';
1+
@use '../../../styles/constants';
22

33
.code-snippet {
44
padding: 15px 40px 15px 30px;
55
position: relative;
6-
color: $dark-blue;
7-
background-color: $blue-dark;
8-
box-shadow: $shadow-button;
6+
color: constants.$dark-blue;
7+
background-color: constants.$blue-dark;
8+
box-shadow: constants.$shadow-button;
99
border-radius: 3px;
1010

1111
.tooltip-container {
@@ -25,8 +25,8 @@
2525
> .code {
2626
display: flex;
2727
flex-direction: column;
28-
color: $code-color;
29-
font: $code;
28+
color: constants.$code-color;
29+
font: constants.$code;
3030
height: 100%;
3131

3232
> div::-webkit-scrollbar {
@@ -68,7 +68,7 @@
6868
}
6969

7070
b {
71-
color: $primary-orange;
71+
color: constants.$primary-orange;
7272
}
7373
}
7474
}

ui/src/components/basic/CodeSnippet/SimpleCodeLine/SimpleCodeLine.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
@import '../../../../styles/constants.scss';
1+
@use '../../../../styles/constants.scss';
22

33
.simple-code-line {
4-
font: $code;
4+
font: constants.$code;
55
color: #8fa6b2;
66
word-break: break-all;
77
margin: 1px 0;

ui/src/components/basic/CustomDropDown/CustomDropDown.module.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../../styles/constants';
1+
@use '../../../styles/constants';
22

33
.custom-dropdown-wrapper {
44
display: inline-block;
@@ -10,8 +10,8 @@
1010
display: flex;
1111
align-items: center;
1212
background-color: white;
13-
box-shadow: $shadow-button;
14-
border-bottom: 1px solid $gray-2;
13+
box-shadow: constants.$shadow-button;
14+
border-bottom: 1px solid constants.$gray-2;
1515
border-top: 1px solid transparent;
1616

1717
&.dropdown-test {
@@ -21,8 +21,8 @@
2121

2222
> :global(.CustomDropDown_selected-value) {
2323
width: 100%;
24-
font: $button-text;
25-
color: $gray-4;
24+
font: constants.$button-text;
25+
color: constants.$gray-4;
2626
display: flex;
2727
align-items: center;
2828
justify-content: space-between;
@@ -51,15 +51,15 @@
5151
z-index: -999999;
5252
position: absolute;
5353
background-color: white;
54-
color: $dark-blue;
54+
color: constants.$dark-blue;
5555
width: unset;
5656
border-bottom-left-radius: 5px;
5757
border-bottom-right-radius: 5px;
5858
font-size: 16px;
5959
overflow: hidden;
6060
min-width: 100%;
6161
white-space: nowrap;
62-
box-shadow: $shadow-button;
62+
box-shadow: constants.$shadow-button;
6363
visibility: hidden;
6464
height: 0;
6565

@@ -70,8 +70,8 @@
7070
.option {
7171
width: 100%;
7272
padding: 10px 16px;
73-
font: $button-text;
74-
color: $gray-4;
73+
font: constants.$button-text;
74+
color: constants.$gray-4;
7575
position: relative;
7676
text-overflow: ellipsis;
7777
white-space: nowrap;;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@import '../../../styles/constants.scss';
1+
@use '../../../styles/constants.scss';
22

33
.error-component-wrapper {
44
margin-top: 20px;
5-
color: $red;
5+
color: constants.$red;
66
text-align: center;
77
font-size: 14px;
88
}

0 commit comments

Comments
 (0)