Skip to content

Commit

Permalink
trying shroom haze for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Scusemua committed Nov 8, 2024
1 parent 5dbc8d5 commit d8655de
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
12 changes: 9 additions & 3 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ body {
/*background: #0f0c29; !* fallback for old browsers *!*/
/*background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29); !* Chrome 10-25, Safari 5.1-6 *!*/
/*background: linear-gradient(to right, #24243e, #302b63, #0f0c29); !* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ *!*/
background: #343434; /* fallback for old browsers */
background: linear-gradient(90deg, #343434, #2F3061); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #343434, #2F3061); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

/* Original */
/*background: #343434; !* fallback for old browsers *!*/
/*background: linear-gradient(90deg, #343434, #2F3061); !* Chrome 10-25, Safari 5.1-6 *!*/
/*background: linear-gradient(to right, #343434, #2F3061); !* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ *!*/

background: #5C258D; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #4389A2, #5C258D); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #4389A2, #5C258D); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

min-height: 100vh; /* Ensure gradient covers the entire viewport height */
display: flex; /* Optional: For centering content */
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function RootLayout({
<CssBaseline/>
<ThemeProvider theme={theme}>
<main>
<div className="gradient_background" style={{width: "100%", height: "0px", zIndex: -1}}/>
{/*<div className="gradient_background" style={{width: "100%", height: "0px", zIndex: -1}}/>*/}
{children}
</main>
</ThemeProvider>
Expand Down
6 changes: 4 additions & 2 deletions src/app/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ const theme = createTheme({
cssVariables: true,
palette: {
primary: {
main: '#E22753',
main: '#C1292E' // To match Shroom Haze
// main: '#E22753', // Not original, but whatever I was using in the interum, with the red-blue
},
secondary: {
main: '#EFF6EE',
},
info: {
main: '#3f5efb',
// main: '#3f5efb', // Not original, but whatever I was using in the interum, with the red-blue
main: '#EEB868' // To match Shroom Haze
},
error: {
main: red.A400,
Expand Down
4 changes: 3 additions & 1 deletion src/components/Projects/ProjectDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ const openInNewTab = (url: string | URL | undefined) => {
if (newWindow) newWindow.opener = null
}

const badgeColors: string[] = ["#E22753", "#3f5efb"]
// To match the red/blue and sort of the original
// const badgeColors: string[] = ["#E22753", "#3f5efb"]
const badgeColors: string[] = ["#da353a", "#3f5efb"]

const ProjectDisplay: React.FunctionComponent<ProjectProps> = (props: ProjectProps) => {
const [expanded, setExpanded] = React.useState<boolean>(false);
Expand Down

0 comments on commit d8655de

Please sign in to comment.