Finished working

This commit is contained in:
MaxOvs19
2023-03-20 20:25:14 +03:00
parent 2d4d774931
commit c635e838c8
7 changed files with 31 additions and 29 deletions

View File

@ -4,6 +4,7 @@ import { newTheme } from './test';
const dropdown = new CGSelect({
selector: '.cg-dropdown_selector',
placeholder: 'Выберите авто',
label: 'HI',
items: [
'BMW',
{
@ -15,6 +16,7 @@ const dropdown = new CGSelect({
'MAN',
'Ferari',
],
searchMode: true,
multiselect: true,
multiselectTag: true,
theme: newTheme,

View File

@ -8,5 +8,22 @@ export const newTheme: CustomThemeJson = {
fontSize: '18px',
background: '#ff000066',
},
lable: {
color: 'black',
fontSize: '26px',
},
list: {
background: 'black',
color: 'red',
},
placeholder: {
color: 'green',
},
caret: {
borderTop: '6px solid #607ab1',
},
search: {
background: 'red',
},
},
};