Skip to content

Commit 13d5f94

Browse files
login page css
1 parent 180e87a commit 13d5f94

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

custom-css.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
background: var(--bg-auth-normal);
1414
background-repeat: no-repeat;
1515
background-position: center;
16-
background-size: 100%;
16+
background-size: 105% auto;
1717
background-image: url('./img/login/banner/1.jpg');
1818
}
1919
}

src/scss/default.scss

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
--bg-auth-normal: rgb(196, 196, 196);
55
--bg-auth-gradient: linear-gradient(
66
0deg,
7-
rgb(31 31 31) 0%,
8-
rgb(255 255 255) 35%,
9-
rgb(167 167 167) 100%
7+
rgb(56, 92, 128) 0%,
8+
rgb(89, 203, 218) 35%,
9+
rgb(255, 255, 255) 100%
1010
);
1111

1212
/* background color | --bg-[background type]: value */
@@ -398,8 +398,13 @@
398398
}
399399

400400
@mixin dark-mode() {
401-
--bg-auth-normal: rgb(2, 0, 36);
402-
--bg-auth-gradient: linear-gradient(0deg, rgb(2, 0, 36) 0%, rgb(32 32 32) 35%, rgb(0 0 0) 100%);
401+
--bg-auth-normal: rgb(36 58 80) 0%;
402+
--bg-auth-gradient: linear-gradient(
403+
0deg,
404+
rgb(36 58 80) 0%,
405+
rgb(23 28 32) 35%,
406+
rgb(30 30 30) 100%
407+
);
403408

404409
/* background color | --bg-[background type]: value */
405410

0 commit comments

Comments
 (0)