Can we create theme specific slug?

In default Config.toml file, I had defined

~~~ post = “/:year/:month/:day/:filename/” ~~~

When I run Hugo -t theme1, it follows the slug, however when I run Hugo -t theme2, it also follows the slug even when theme2’s config.toml file in its directory has different slug parameters defined.

I tried removing slug parameter in the default Config.toml and assigning different slug in the config files of both the themes but that isn’t working at all.

What should I do to make different themes have different slugs?