yml files have different icons

any reason why? does the file name matter?
does the file name matter?
Yes, it does. The icon you're seeing for mkdocs.yml is being used to represent MkDocs-related files. The reason you're not seeing it for the mkdocs-prod.yml file is because that filename hasn't been registered. Are there any other filenames that should be receiving the MkDocs icon?
Well in theory everything with mkdocs in the name then, there is no special rule on what you can or can't have in the file name which makes this a bit more complicated I guess
Does VSCode allow something patterns like mkdocs-*.yml?
Does VSCode allow something patterns like
mkdocs-*.yml?
No, it doesn't. And it's a major pain-in-the-arse.