Home > database >  Is it possible to change font or color of my react app name?
Is it possible to change font or color of my react app name?

Time:10-04

This is my first react app and am wondering if it is possible to change the color and the font of the React app name in the manifest.json?

See attached photo, i want to change font of the text: My React App

enter image description here

This is my manifest.json

{
  "short_name": "React App",
  "name": "My React App",
  "icons": [
    {
      "src": "favicon.ico",
      "sizes": "64x64 32x32 24x24 16x16",
      "type": "image/x-icon"
    },
    {
      "src": "logo192.png",
      "type": "image/png",
      "sizes": "192x192"
    },
    {
      "src": "logo512.png",
      "type": "image/png",
      "sizes": "512x512"
    }
  ],
  "start_url": ".",
  "display": "standalone",
  "theme_color": "#000000",
  "background_color": "#ffffff"
}

CodePudding user response:

If you've created your project using create-react-app you can edit the app.css or index.css and put some code.

For instance: h1 { color: red }

CodePudding user response:

You can change the color css style for the element holding the "My React App" text.

https://www.w3schools.com/css/css_text.asp

  • Related