Skip to content

Commit 6a82fda

Browse files
committed
frontend: rename openmina.scss to mina-rust.scss
- Rename frontend/src/assets/styles/openmina.scss to mina-rust.scss - Update @use import statements from 'openmina' to 'mina-rust' - Update all namespace references from openmina.$ to mina-rust.$
1 parent 12a9a5d commit 6a82fda

File tree

74 files changed

+516
-516
lines changed

Some content is hidden

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

74 files changed

+516
-516
lines changed

frontend/src/app/app.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
mat-sidenav {
44
width: 160px;
55
border-right: none;
6-
background-color: openmina.$base-background;
6+
background-color: mina-rust.$base-background;
77
transition: 200ms ease-out !important;
88
visibility: visible !important;
99
display: block !important;
@@ -56,14 +56,14 @@ mat-sidenav-content {
5656
mat-sidenav-container,
5757
mat-sidenav-content {
5858
color: inherit;
59-
background-color: openmina.$base-background;
59+
background-color: mina-rust.$base-background;
6060
}
6161

6262
#mina-content {
6363
$toolbar: 40px;
6464
height: calc(100% - #{$toolbar});
6565
border-top-left-radius: 6px;
66-
background-color: openmina.$base-surface;
66+
background-color: mina-rust.$base-surface;
6767

6868
&.no-toolbar {
6969
height: 100%;
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
.status {
44
padding: 2px 5px;
55
border-radius: 4px;
66

77
&.sending {
8-
background-color: openmina.$base-container;
9-
color: openmina.$base-primary;
8+
background-color: mina-rust.$base-container;
9+
color: mina-rust.$base-primary;
1010
}
1111

1212
&.included {
13-
background-color: openmina.$success-container;
14-
color: openmina.$success-primary;
13+
background-color: mina-rust.$success-container;
14+
color: mina-rust.$success-primary;
1515
}
1616

1717
&.generated {
18-
background-color: openmina.$special-selected-alt-2-container;
19-
color: openmina.$special-selected-alt-2-primary;
18+
background-color: mina-rust.$special-selected-alt-2-container;
19+
color: mina-rust.$special-selected-alt-2-primary;
2020
}
2121

2222
&.error,
2323
&.rejected {
24-
background-color: openmina.$warn-container;
25-
color: openmina.$warn-primary;
24+
background-color: mina-rust.$warn-container;
25+
color: mina-rust.$warn-primary;
2626
}
2727
}

frontend/src/app/features/benchmarks/wallets/benchmarks-wallets-toolbar/benchmarks-wallets-toolbar.component.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
.live-button {
44
width: 110px;
@@ -38,35 +38,35 @@
3838
display: grid;
3939
height: 24px;
4040
grid-template-columns: 18px 1fr 125px;
41-
color: openmina.$base-tertiary;
41+
color: mina-rust.$base-tertiary;
4242
box-sizing: border-box;
4343

4444
span:nth-child(2),
4545
span:nth-child(4):hover {
46-
color: openmina.$base-primary;
46+
color: mina-rust.$base-primary;
4747
}
4848

4949
&:hover:not(.active) {
50-
background-color: openmina.$base-container;
50+
background-color: mina-rust.$base-container;
5151
}
5252

5353
&.active {
54-
background-color: openmina.$selected-container;
54+
background-color: mina-rust.$selected-container;
5555

5656
span:nth-child(1),
5757
span:nth-child(2),
5858
span:nth-child(4):hover {
59-
color: openmina.$selected-primary;
59+
color: mina-rust.$selected-primary;
6060
}
6161

6262
span:nth-child(3),
6363
span:nth-child(4) {
64-
color: openmina.$selected-secondary;
64+
color: mina-rust.$selected-secondary;
6565
}
6666
}
6767

6868
&:not(.active) .mina-icon {
69-
color: openmina.$base-divider;
69+
color: mina-rust.$base-divider;
7070
}
7171

7272
&:last-child {

frontend/src/app/features/benchmarks/wallets/benchmarks-wallets-zkapp-toolbar/benchmarks-wallets-zkapp-toolbar.component.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
.live-button {
44
width: 110px;
@@ -34,35 +34,35 @@
3434
display: grid;
3535
height: 24px;
3636
grid-template-columns: 18px 1fr 125px;
37-
color: openmina.$base-tertiary;
37+
color: mina-rust.$base-tertiary;
3838
box-sizing: border-box;
3939

4040
span:nth-child(2),
4141
span:nth-child(4):hover {
42-
color: openmina.$base-primary;
42+
color: mina-rust.$base-primary;
4343
}
4444

4545
&:hover:not(.active) {
46-
background-color: openmina.$base-container;
46+
background-color: mina-rust.$base-container;
4747
}
4848

4949
&.active {
50-
background-color: openmina.$selected-container;
50+
background-color: mina-rust.$selected-container;
5151

5252
span:nth-child(1),
5353
span:nth-child(2),
5454
span:nth-child(4):hover {
55-
color: openmina.$selected-primary;
55+
color: mina-rust.$selected-primary;
5656
}
5757

5858
span:nth-child(3),
5959
span:nth-child(4) {
60-
color: openmina.$selected-secondary;
60+
color: mina-rust.$selected-secondary;
6161
}
6262
}
6363

6464
&:not(.active) .mina-icon {
65-
color: openmina.$base-divider;
65+
color: mina-rust.$base-divider;
6666
}
6767

6868
&:last-child {
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
:host {
44
height: 100px;
55
}
66

77
.epoch {
8-
border-left: 1px dashed openmina.$base-tertiary;
8+
border-left: 1px dashed mina-rust.$base-tertiary;
99
padding-left: 5px;
1010
padding-right: 4px;
1111
height: 100px;
@@ -17,19 +17,19 @@
1717

1818
div {
1919
width: calc((100% - 15px) / 15);
20-
background-color: openmina.$success-tertiary;
20+
background-color: mina-rust.$success-tertiary;
2121
margin-right: 1px;
2222
transition: height 200ms ease-in;
2323

2424
&:hover {
25-
background-color: openmina.$success-primary;
25+
background-color: mina-rust.$success-primary;
2626
}
2727

2828
&.future {
29-
background-color: openmina.$base-tertiary;
29+
background-color: mina-rust.$base-tertiary;
3030

3131
&:hover {
32-
background-color: openmina.$base-primary;
32+
background-color: mina-rust.$base-primary;
3333
}
3434
}
3535
}
@@ -47,19 +47,19 @@
4747
transition: height 200ms ease-in;
4848

4949
&:first-child {
50-
background-color: openmina.$special-selected-alt-1-tertiary;
50+
background-color: mina-rust.$special-selected-alt-1-tertiary;
5151

5252
&:hover {
53-
background-color: openmina.$special-selected-alt-1-primary;
53+
background-color: mina-rust.$special-selected-alt-1-primary;
5454
}
5555
}
5656

5757
&:last-child {
5858
margin-top: 1px;
59-
background-color: openmina.$warn-tertiary;
59+
background-color: mina-rust.$warn-tertiary;
6060

6161
&:hover {
62-
background-color: openmina.$warn-primary;
62+
background-color: mina-rust.$warn-primary;
6363
}
6464
}
6565
}
@@ -70,32 +70,32 @@
7070
top: 0;
7171
left: 0;
7272
z-index: -1;
73-
border-right: 2px solid openmina.$base-primary;
73+
border-right: 2px solid mina-rust.$base-primary;
7474
}
7575

7676
&:hover .overlay:not(.bg-selected-container) {
77-
background-color: openmina.$base-container;
77+
background-color: mina-rust.$base-container;
7878
}
7979

8080
&.active-epoch {
8181
.title {
82-
color: openmina.$selected-primary !important;
82+
color: mina-rust.$selected-primary !important;
8383
}
8484

8585
.positive div:not(.future) {
86-
background-color: openmina.$success-primary;
86+
background-color: mina-rust.$success-primary;
8787
}
8888

8989
.negative .bar div:first-child {
90-
background-color: openmina.$special-selected-alt-1-primary;
90+
background-color: mina-rust.$special-selected-alt-1-primary;
9191
}
9292

9393
.negative .bar div:last-child {
94-
background-color: openmina.$warn-primary;
94+
background-color: mina-rust.$warn-primary;
9595
}
9696

9797
.overlay {
98-
border-right: 2px solid openmina.$selected-primary;
98+
border-right: 2px solid mina-rust.$selected-primary;
9999
}
100100
}
101101
}

frontend/src/app/features/block-production/overview/side-panel/block-production-overview-side-panel.component.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
.side-panel-stepper {
44
.step {
@@ -29,25 +29,25 @@
2929
}
3030

3131
.tab-group {
32-
@include openmina.flexRowVertCenter();
32+
@include mina-rust.flexRowVertCenter();
3333

3434
.tab {
3535
min-width: 90px;
3636
max-width: 200px;
3737
width: 50%;
3838
text-align: center;
3939
border-radius: 6px;
40-
color: openmina.$base-secondary;
40+
color: mina-rust.$base-secondary;
4141
transition: 0.2s;
4242
background-color: transparent;
4343

4444
&.selected {
45-
background-color: openmina.$selected-container;
46-
color: openmina.$selected-primary;
45+
background-color: mina-rust.$selected-container;
46+
color: mina-rust.$selected-primary;
4747
}
4848

4949
&:hover:not(.selected) {
50-
background-color: openmina.$base-container;
50+
background-color: mina-rust.$base-container;
5151
}
5252
}
5353
}
@@ -58,19 +58,19 @@
5858
}
5959

6060
div:nth-child(1) {
61-
background-color: openmina.$success-primary;
61+
background-color: mina-rust.$success-primary;
6262
}
6363

6464
div:nth-child(2) {
65-
background-color: openmina.$special-selected-alt-1-primary;
65+
background-color: mina-rust.$special-selected-alt-1-primary;
6666
}
6767

6868
div:nth-child(3) {
69-
background-color: openmina.$warn-primary;
69+
background-color: mina-rust.$warn-primary;
7070
}
7171

7272
div:nth-child(4) {
73-
background-color: openmina.$base-tertiary;
73+
background-color: mina-rust.$base-tertiary;
7474
}
7575
}
7676

frontend/src/app/features/block-production/overview/slots/block-production-overview-slots.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
:host {
44
min-height: 0;

frontend/src/app/features/block-production/won-slots/side-panel/block-production-won-slots-side-panel.component.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use 'openmina';
1+
@use 'mina-rust';
22

33
$blue: #57d7ff;
44
$pink: #fda2ff;
@@ -32,9 +32,9 @@ $orange: #ff833d;
3232
left: -50px;
3333
width: 50px;
3434
background: radial-gradient(
35-
openmina.$success-primary,
36-
openmina.$success-primary,
37-
openmina.$success-primary,
35+
mina-rust.$success-primary,
36+
mina-rust.$success-primary,
37+
mina-rust.$success-primary,
3838
transparent,
3939
transparent
4040
);
@@ -44,7 +44,7 @@ $orange: #ff833d;
4444

4545
.progress {
4646
height: 2px;
47-
background-color: openmina.$success-primary;
47+
background-color: mina-rust.$success-primary;
4848
top: 2px;
4949
left: 0;
5050
}
@@ -72,7 +72,7 @@ $orange: #ff833d;
7272
'GRAD' 0,
7373
'opsz' 20 !important;
7474
transition: none;
75-
color: openmina.$base-divider;
75+
color: mina-rust.$base-divider;
7676

7777
&.success-primary {
7878
transition: 0.3s;
@@ -81,15 +81,15 @@ $orange: #ff833d;
8181

8282
.step {
8383
.mina-icon {
84-
color: openmina.$success-primary;
84+
color: mina-rust.$success-primary;
8585
transition: 0.3s;
8686
}
8787

8888
&.incomplete {
89-
color: openmina.$base-tertiary;
89+
color: mina-rust.$base-tertiary;
9090

9191
.mina-icon {
92-
color: openmina.$base-divider;
92+
color: mina-rust.$base-divider;
9393
transition: none;
9494
}
9595
}
@@ -98,7 +98,7 @@ $orange: #ff833d;
9898
.bg-container {
9999
&:hover {
100100
.step > .mina-icon {
101-
color: openmina.$base-primary !important;
101+
color: mina-rust.$base-primary !important;
102102
}
103103
}
104104

0 commit comments

Comments
 (0)