MTXstudio / simple-app

https://simple-app-green.vercel.app
0 stars 0 forks source link

@pai update background color to blue #178

Open elliossios opened 9 months ago

elliossios commented 9 months ago

update the background color to blue

wanna-piece-of-pai[bot] commented 8 months ago

Retrieving context...

wanna-piece-of-pai[bot] commented 8 months ago

To update the background color to blue, you would need to modify the CSS variables for the background colors in the :root and @media (prefers-color-scheme: dark) selectors to the desired shade of blue. Here's how you can do it:

:root {
  --background-start-rgb: 0, 0, 255; /* blue */
  --background-end-rgb: 0, 0, 255; /* blue */
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-start-rgb: 0, 0, 255; /* blue */
    --background-end-rgb: 0, 0, 255; /* blue */
  }
}

This will change the background to blue for both light and dark color schemes. If you want different shades of blue for light and dark modes, you can set different RGB values for --background-start-rgb and --background-end-rgb within the respective selectors.

Please note that if you are working within a build system or framework that uses CSS-in-JS or a similar setup, you may need to update the code in the appropriate location where the styles are defined.

wanna-piece-of-pai[bot] commented 8 months ago

Let's get coding!