This issue is for color completion having inconsistent behaviour when it comes to suggesting variable names from other files.
#166201, #166195, and this issue are probably all afflicted by the handling of non-hex variables.

File A autocompletion sometimes suggests variables from File B (the list can be reset, described in #166201)
File B autocompletion never suggests variables from File A.
Example code is here https://github.com/allan2/vs-code-css-color-issue