Browse Source

refactor: New dark red color for all but christmas and station theme

Owen Diffey 3 years ago
parent
commit
89bc17f003

+ 11 - 10
frontend/src/App.vue

@@ -303,6 +303,7 @@ export default {
 	--dark-orange: rgb(250, 50, 0);
 	--green: rgb(68, 189, 50);
 	--red: rgb(231, 77, 60);
+	--dark-red: rgb(235, 41, 19);
 	--white: rgb(255, 255, 255);
 	--black: rgb(0, 0, 0);
 	--light-grey: rgb(245, 245, 245);
@@ -502,7 +503,7 @@ export default {
 
 code {
 	background-color: var(--light-grey) !important;
-	color: var(--red) !important;
+	color: var(--dark-red) !important;
 }
 
 body.night-mode {
@@ -783,7 +784,7 @@ img {
 .alert {
 	padding: 20px;
 	color: var(--white);
-	background-color: var(--red);
+	background-color: var(--dark-red);
 	position: fixed;
 	top: 50px;
 	right: 50px;
@@ -888,7 +889,7 @@ img {
 }
 
 .tippy-box[data-theme~="confirm"] {
-	background-color: var(--red);
+	background-color: var(--dark-red);
 	border: 0;
 
 	.tippy-content {
@@ -956,7 +957,7 @@ img {
 
 	.stop-icon,
 	.delete-icon {
-		color: var(--red);
+		color: var(--dark-red);
 	}
 
 	.report-icon {
@@ -972,7 +973,7 @@ img {
 		}
 	}
 	&[data-theme~="confirm"] > .tippy-arrow::before {
-		border-top-color: var(--red);
+		border-top-color: var(--dark-red);
 	}
 }
 
@@ -985,7 +986,7 @@ img {
 		}
 	}
 	&[data-theme~="confirm"] > .tippy-arrow::before {
-		border-bottom-color: var(--red);
+		border-bottom-color: var(--dark-red);
 	}
 }
 
@@ -997,7 +998,7 @@ img {
 		}
 	}
 	&[data-theme~="confirm"] > .tippy-arrow::before {
-		border-left-color: var(--red);
+		border-left-color: var(--dark-red);
 	}
 }
 
@@ -1009,7 +1010,7 @@ img {
 		}
 	}
 	&[data-theme~="confirm"] > .tippy-arrow::before {
-		border-right-color: var(--red);
+		border-right-color: var(--dark-red);
 	}
 }
 
@@ -1269,7 +1270,7 @@ button.delete:focus {
 	}
 
 	&.is-danger {
-		background-color: var(--red) !important;
+		background-color: var(--dark-red) !important;
 		border-width: 0;
 		color: var(--white);
 	}
@@ -1548,7 +1549,7 @@ h4.section-title {
 
 		.stop-icon,
 		.delete-icon {
-			color: var(--red);
+			color: var(--dark-red);
 		}
 
 		.report-icon {

+ 1 - 1
frontend/src/components/ActivityItem.vue

@@ -219,7 +219,7 @@ export default {
 		margin-left: 0px;
 
 		&.red {
-			background-color: var(--red);
+			background-color: var(--dark-red);
 		}
 
 		&.green {

+ 1 - 1
frontend/src/components/modals/EditSong/Tabs/Reports.vue

@@ -444,7 +444,7 @@ export default {
 		}
 
 		.unresolve-icon {
-			color: var(--red);
+			color: var(--dark-red);
 			cursor: pointer;
 		}
 	}

+ 1 - 1
frontend/src/components/modals/EditSong/index.vue

@@ -1845,7 +1845,7 @@ export default {
 		}
 
 		.duration-fill-button {
-			background-color: var(--red);
+			background-color: var(--dark-red);
 			color: var(--white);
 			width: 32px;
 			text-align: center;

+ 1 - 1
frontend/src/components/modals/ManageStation/Tabs/Playlists.vue

@@ -1151,7 +1151,7 @@ export default {
 }
 
 .excluded-icon {
-	color: var(--red);
+	color: var(--dark-red);
 }
 
 .included-icon {

+ 2 - 2
frontend/src/components/modals/ManageStation/Tabs/Settings.vue

@@ -588,7 +588,7 @@ export default {
 			text-transform: capitalize;
 
 			&.red {
-				background-color: var(--red);
+				background-color: var(--dark-red);
 			}
 
 			&.green {
@@ -616,7 +616,7 @@ export default {
 			}
 
 			&.red {
-				background-color: var(--red);
+				background-color: var(--dark-red);
 			}
 
 			i {

+ 1 - 1
frontend/src/components/modals/ManageStation/index.vue

@@ -790,7 +790,7 @@ export default {
 						margin-left: auto;
 					}
 					&.skip-station {
-						color: var(--red);
+						color: var(--dark-red);
 					}
 					&.resume-station,
 					&.pause-station {

+ 1 - 1
frontend/src/components/modals/ViewReport.vue

@@ -333,7 +333,7 @@ export default {
 	}
 
 	.unresolve-icon {
-		color: var(--red);
+		color: var(--dark-red);
 		cursor: pointer;
 	}
 }

+ 1 - 1
frontend/src/pages/Admin/tabs/VerifiedSongs.vue

@@ -673,7 +673,7 @@ export default {
 		color: var(--green) !important;
 	}
 	.thumbDislike {
-		color: var(--red) !important;
+		color: var(--dark-red) !important;
 	}
 }
 

+ 1 - 1
frontend/src/pages/Profile/index.vue

@@ -303,7 +303,7 @@ export default {
 		margin-left: 12px;
 
 		&.admin {
-			background-color: var(--red);
+			background-color: var(--dark-red);
 		}
 	}
 

+ 1 - 1
frontend/src/pages/ResetPassword.vue

@@ -534,7 +534,7 @@ p {
 		}
 
 		.error-icon {
-			color: var(--red);
+			color: var(--dark-red);
 		}
 
 		.success-icon,

+ 2 - 2
frontend/src/pages/Station/index.vue

@@ -2861,8 +2861,8 @@ export default {
 		-45deg,
 		var(--white),
 		var(--white) 1rem,
-		var(--red) 1rem,
-		var(--red) 2rem
+		var(--dark-red) 1rem,
+		var(--dark-red) 2rem
 	);
 
 	background-size: 150% 200%;