Skip to content

Commit dd4e1e8

Browse files
committed
feat: change color of icon and buttons
change color of close button and font color for the buttons in the result sidebar
1 parent 01ea507 commit dd4e1e8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ <h1 id="head">Code Magic</h1>
257257
<iconify-icon
258258
inline
259259
icon="lucide:sidebar-close"
260-
style="color: black; cursor: pointer"
260+
style="color: white; cursor: pointer"
261261
width="28"
262262
height="28"
263263
id="close-side-bar"

src/style.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
body {
3131
font-family: 'Exo 2', 'Courier New', Courier, monospace;
3232
color: var(--text-color);
33-
overflow-x: hidden;
33+
overflow: hidden;
3434
padding-bottom: var(--pseudo-footer-height);
3535
display: flex;
3636
}
@@ -51,7 +51,7 @@ nav {
5151
nav h1 {
5252
margin: 4rem 0;
5353
font-size: 1.5rem;
54-
background: linear-gradient(90deg, #ffffff, #aea3e9f8, #fff);
54+
background: linear-gradient(90deg, #ffffff, var(--secondary-color), #fff);
5555
-webkit-background-clip: text;
5656
-webkit-text-fill-color: transparent;
5757
background-clip: text;
@@ -262,6 +262,7 @@ textarea {
262262
align-items: center;
263263
justify-content: center;
264264
background-color: var(--primary-color);
265+
color: var(--text-color);
265266
cursor: pointer;
266267
margin-top: 2rem;
267268
border: none;
@@ -333,11 +334,11 @@ footer {
333334
font-size: 0.7rem;
334335
position: absolute;
335336
bottom: 2rem;
336-
color: #ffffff;
337+
color: var(--text-color);
337338
}
338339

339340
a {
340-
color: #0000ff;
341+
color: var(--tertiary-color);
341342
}
342343

343344
@keyframes moveColor {

0 commit comments

Comments
 (0)