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.
3,231 questions
{count} vote

Accepted answer
  1. Christophe Humbert 101 Reputation points
    2021-03-19T19:29:28.903+00:00

    After talking with the Fluent UI Northstar team, it appears that full intellisense is not yet available. I'll need to open an enhancement request on github.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mamatha-MSFT 161 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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.