Fluent UI Northstar theme intellisense in VS Code

Christophe Humbert 101 Reputation points
2021-02-22T21:57:29.413+00:00

For a Teams app, I am trying to use theme color schemes described here:
https://fluentsite.z22.web.core.windows.net/0.51.4/color-schemes

When I type theme.siteVariables in VS Code, I don't get any intellisense for colors:
70797-image.png

What am I missing here? Do I need to install additional modules, beyond @fluentui/react-northstar? Could you point me to instructions or examples on how to get intellisense for Fluent UI Northstar?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,846 questions
{count} vote

1 additional answer

Sort by: Most helpful
  1. Mamatha-MSFT 156 Reputation points
    2021-03-15T18:42:19.487+00:00

    Hi @Christophe Humbert , I am unable to repro the issue. It is working fine for me. 77858-image.png.
    Please again try installing npm i @fluentui/react-northstar and let us know if the issue still persists.

    1 person found this answer helpful.