Skip to content

Commit 7d2ea3e

Browse files
committed
fix light theme
1 parent af4ee9d commit 7d2ea3e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/app/components/grid/grid.component.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ grid-container {
1515
height: 100%;
1616
text-align: center;
1717
padding: 1.5em;
18-
background: rgb(255, 255, 255, 0.1);
19-
color: white;
18+
background: var(--grid);
19+
color: var(--font-color);
2020
transition: 0.5s;
2121
cursor: pointer;
2222
}
2323

2424
.grid-item:hover {
2525
scale: 1.05;
26-
background: rgb(255, 255, 255, 0.25);
26+
background: var(--grid-hover);
2727
}
2828

2929
.image {

src/styles.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ body {
2222
--content: #303030;
2323
--editor: #1f1f1f;
2424
--highlight: rgba(255, 171, 242, 0.75);
25+
--grid: rgba(255, 255, 255, 0.1);
26+
--grid-hover: rgba(255, 255, 255, 0.25);
2527
}
2628

2729
.light-theme {
@@ -30,8 +32,10 @@ body {
3032
--font-color: black;
3133
--toolbar: #F5F5F5;
3234
--content: #FFFFFF;
33-
--editor: #ffffff;
35+
--editor: #dedede;
3436
--highlight: rgba(255, 171, 242, 0.75);
37+
--grid: rgba(0, 0, 0, 0.1);
38+
--grid-hover: rgba(0, 0, 0, 0.25);
3539
}
3640

3741
app-root {

0 commit comments

Comments
 (0)