What do you expect {styles.name} to resolve to on render? This is part of CSS modules to scope CSS, add unique identifiers, to avoid clashing with other CSS the in the application. You could always just use className="theClassYouWant" instead of CSS modules.
If you stop it, it will no longer work.. So I wouldn't try to do that. It looks like you're using CSS modules. In order for them to work as intended, they need to have a unique name so they do not interfere with other modules.
The only way you can do what you want to do is importing your stylesheet inside _app.js to have it globally scoped and avoid using css-modules. At this point you can use your classes inside regular classNames without getting the unique hash on inspected elements
{styles.name}to resolve to on render? This is part of CSS modules to scope CSS, add unique identifiers, to avoid clashing with other CSS the in the application. You could always just useclassName="theClassYouWant"instead of CSS modules.