use vibrant material scheme by default

This commit is contained in:
end-4
2024-03-19 19:20:25 +07:00
parent c696328a4c
commit eb894bcfbd
3 changed files with 6 additions and 6 deletions
@@ -65,9 +65,9 @@ const ColorSchemeSettingsRevealer = () => {
});
}
function calculateSchemeInitIndex(optionsArr, searchValue = 'tonalspot') {
function calculateSchemeInitIndex(optionsArr, searchValue = 'vibrant') {
if (searchValue == '')
searchValue = 'tonalspot';
searchValue = 'vibrant';
const flatArray = optionsArr.flatMap(subArray => subArray);
const result = flatArray.findIndex(element => element.value === searchValue);
const rowIndex = Math.floor(result / optionsArr[0].length);