Skip to content

Commit f469cf0

Browse files
author
ling
committed
fix background
1 parent 8335877 commit f469cf0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default {
6666
position: absolute;
6767
width: 100%;
6868
height: 100%;
69-
background: linear-gradient(to bottom, #5C6BC0 65%, #FCE4EC 35%);
69+
background: linear-gradient(to bottom, #5C6BC0 65%, $background_color 35%);
7070
z-index: -100;
7171
}
7272
}

src/assets/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import './variables.scss';
12
* {
23
font-family: Roboto,Lato,sans-serif;
34
}
@@ -8,6 +9,10 @@ html, body {
89
border: 0;
910
}
1011

12+
body {
13+
background-color: $background_color;
14+
}
15+
1116
.markdown-body img{
1217
width: auto!important;
1318
max-width: 90%;

src/assets/variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ $secondary_color: rgb(233, 30, 99);
33
$primary_text_color: rgba(0,0,0,.87);
44
$secondary_text_color: rgba(0,0,0,.54);
55
$disabled_text_color: rgba(0,0,0,.38);
6+
$background_color: #FCE4EC;

0 commit comments

Comments
 (0)