Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit 809b0d8

Browse files
committed
Remove pink color references in UI
1 parent cb50a73 commit 809b0d8

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

src/css/themes/unison/light.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
--color-main-alert: var(--color-pink-1);
1919
--color-main-mark-fg: var(--color-blue-2);
2020
--color-main-mark-bg: var(--color-transparent);
21+
--color-main-error-fg: var(--color-pink-1);
22+
--color-main-error-subtle-fg: var(--color-pink-3);
2123

2224
--color-app-header-fg: var(--color-gray-lighten-100);
2325
--color-app-header-bg: var(--color-gray-darken-10);

src/css/ui/composites/codebase-tree.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
flex-direction: row;
2222
align-items: center;
2323
margin: 0.5rem 0;
24-
color: var(--color-pink-3);
24+
color: var(--color-main-error-subtle-fg);
2525
}
2626

2727
.codebase-tree .error .icon {
2828
font-size: 1rem;
2929
margin-right: 0.25rem;
30-
color: var(--color-pink-1);
30+
color: var(--color-main-error-fg);
3131
}
3232

3333
.codebase-tree .loading {
@@ -51,27 +51,27 @@
5151
text-decoration: none;
5252
}
5353

54-
.codebase-tree .namespace-tree .node > .icon {
54+
.codebase-tree .namespace-tree .node>.icon {
5555
font-size: 0.875rem;
5656
text-align: center;
5757
margin-right: 0.5rem;
5858
transition: transform 0.1s ease-out;
5959
flex-shrink: 0;
6060
}
6161

62-
.codebase-tree .namespace-tree .node > .icon.expanded {
62+
.codebase-tree .namespace-tree .node>.icon.expanded {
6363
transform: rotate(90deg);
6464
}
6565

66-
.codebase-tree .namespace-tree .node > .icon.caret-right {
66+
.codebase-tree .namespace-tree .node>.icon.caret-right {
6767
color: var(--color-sidebar-subtle-fg);
6868
}
6969

70-
.codebase-tree .namespace-tree .node:hover > .icon.caret-right {
70+
.codebase-tree .namespace-tree .node:hover>.icon.caret-right {
7171
color: var(--color-sidebar-focus-fg);
7272
}
7373

74-
.codebase-tree .namespace-tree .node > label {
74+
.codebase-tree .namespace-tree .node>label {
7575
color: var(--color-sidebar-fg);
7676
transition: all 0.2s;
7777
cursor: pointer;
@@ -80,14 +80,15 @@
8080
line-height: 1.875;
8181
}
8282

83-
.codebase-tree .namespace-tree .node > .tooltip-trigger {
83+
.codebase-tree .namespace-tree .node>.tooltip-trigger {
8484
margin-left: auto;
8585
opacity: 0;
8686
}
8787

88-
.codebase-tree .namespace-tree .node:hover > .tooltip-trigger {
88+
.codebase-tree .namespace-tree .node:hover>.tooltip-trigger {
8989
opacity: 1;
9090
}
91+
9192
.codebase-tree .namespace-tree .node:hover .tooltip {
9293
right: -0.3rem;
9394
min-width: calc(var(--main-sidebar-width) - 1.5rem);
@@ -111,4 +112,4 @@
111112

112113
.codebase-tree .namespace-tree .namespace-content {
113114
margin-left: 1rem;
114-
}
115+
}

src/css/ui/elements.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ p {
5353
display: inline-block;
5454
height: calc(var(--font-size-base) * 0.65);
5555
border-radius: calc(var(--font-size-base) / 2);
56-
background: var(--main-subtle-fg);
56+
background: var(--color-main-subtle-fg);
5757
min-width: calc(var(--font-size-base) * 3);
5858
}
5959

@@ -62,7 +62,7 @@ p {
6262
}
6363

6464
.error-message {
65-
color: var(--color-pink-1);
65+
color: var(--color-main-error-fg);
6666
}
6767

6868
.subtle {
@@ -134,9 +134,11 @@ p {
134134
flex-direction: row;
135135
/* gap: 0.25rem; */
136136
}
137+
137138
.keyboard-shortcut .key {
138139
margin-right: 0.25rem;
139140
}
141+
140142
.keyboard-shortcut:last-child .key {
141143
margin-right: 0;
142144
}
@@ -165,7 +167,7 @@ p {
165167
display: inline-flex;
166168
height: 1.5rem;
167169
font-size: 0.625rem;
168-
line-heigth: 1;
170+
line-height: 1;
169171
margin: 0 0.35rem;
170172
color: var(--color-keyboard-shortcut-then);
171173
align-items: center;
@@ -178,4 +180,4 @@ p {
178180
@import "./elements/fully-qualified-name.css";
179181
@import "./elements/card.css";
180182
@import "./elements/hashvatar.css";
181-
@import "./elements/toolbar.css";
183+
@import "./elements/toolbar.css";

0 commit comments

Comments
 (0)