vscode: theme default profile by default (#1015)
This commit is contained in:
parent
a55488c247
commit
d9df91c556
2 changed files with 2 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ in
|
|||
profileNames = lib.mkOption {
|
||||
description = "The VSCode profile names to apply styling on.";
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
default = [ "default" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -47,6 +47,6 @@ in
|
|||
|
||||
warnings =
|
||||
lib.optional (config.programs.vscode.enable && cfg.profileNames == [ ])
|
||||
''stylix: vscode: `config.stylix.targets.vscode.profileNames` is not set. Declare profile names with 'config.stylix.targets.vscode.profileNames = [ "<PROFILE_NAME>" ];'.'';
|
||||
''stylix: vscode: `config.stylix.targets.vscode.profileNames` is empty. No theming will be applied. Add a profile or disable this warning by setting `stylix.targets.vscode.enable = false`.'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,5 @@ in
|
|||
enable = true;
|
||||
inherit package;
|
||||
};
|
||||
|
||||
stylix.targets.vscode.profileNames = [ "default" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue