I have a personal project with Next.js and Tailwind CSS, however in the globals.css file I have the following piece of code:
// styles/globals.css
@import url('https://use.typekit.net/...'); // I need to encapsulate this url in an environment variable
@tailwind base;
@tailwind components;
@tailwind utilities;
//...
Do you know if it is possible? Since so far I have understood the facility to use environment variables in JavaScript, but not in a separate file like a .css
global.cssin_app.js? You should have access to your environment variables there.