Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 13 additions & 27 deletions src/styles/background.css
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
/* Added a light theme gradient background with an animation for smooth transitions between colors. */
/* :root[data-theme="light"] body {
/* Light Theme Background */
:root[data-theme="light"] body {
width: 100%;
height: 100%;
background-color: #fff4e6;
background: linear-gradient(270deg, #fff9f4, #f5feff);
background: linear-gradient(270deg, #fff4e6, #fff9e4, #f5feff);
background-size: 800% 800%;
animation: gradient 10s ease infinite;
height: 100vh;
} */
}

/* Created a dark theme gradient background, with subtle transitions to enhance visual appeal. */
/* :root[data-theme="dark"] body {
/* Dark Theme Background */
:root[data-theme="dark"] body {
width: 100%;
height: 100%;
background: linear-gradient(270deg, #29211b, #161d21);
background-size: 800% 800%;
animation: gradient 10s ease infinite;
background-color: #2c2118;
background: linear-gradient(270deg, #2c2118, #222e31);
background-size: 800% 800%;
animation: gradient 10s ease infinite;
height: 100vh;
} */
}

/* @keyframes gradient {
0% {
background-position: 0% 50%;
}

50% {
background-position: 100% 50%;
}

100% {
background-position: 0% 50%;
}
} */
/* Gradient Animation */
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}