I have added this to my App.scss which I import into App.tsx:
$border-radius: 2px;
$primary-palette-name: lightgreen;
$secondary-palette-name: indigo;
$theme-type: light;
$adjust-contrast: false;
$primary: #bed00c;
$secondary: #026299;
@import '~@progress/kendo-theme-material/scss/all';
Hello,
Could you please share the package.json of the application?
Sometimes, a different version of a package required a specific version of another package to be compatible.
Hi!
Sure! package.json attached. Had to rename it to package.txt to be able to upload it...
Thanks!
Hello,
Thank you for the packages. I tested this locally, but it was working on my end. I assume we are missing an important detail.
Could you please confirm that removing this like from the App.scss will resolve the issue:
@import '~@progress/kendo-theme-material/scss/all';
Hi.
Yes, removing this lets me compile the app.
I also checked in the node-packages and the file is available there and readable too.
I also created my own theme with your theme builder and added the .css file to the project now and that works of course. What is the .json file for, that gets generated by the theme builder? I haven't added that one, maybe that's the issue?
Adding to the weird behavior: Since a few days, this is how my color picker looks like (see attached). Here is the code:
import { ColorPicker, ColorPickerChangeEvent, } from '@progress/kendo-react-inputs'; import { hex2rgb, rgb2hex } from '../Helpers/DataHelpers'; function CustomColorPicker(fieldRenderProps: any) { const { value, onChange, ...others } = fieldRenderProps; const gradientSettings: { opacity: boolean } = { opacity: false, }; const onValueChange = (event: ColorPickerChangeEvent) => { onChange({ value: rgb2hex(event.value) }); }; return ( <> <div style={{ float: 'left', marginRight: 10, marginTop: 5 }}> <span style={{ fontSize: '16px', color: 'rgb(115, 115, 115)' }}> {' '} {others.label}:{' '} </span> </div> <ColorPicker defaultValue={ value ? hex2rgb(value, '1') : hex2rgb('#000000', '1') } gradientSettings={gradientSettings} view={'gradient'} onChange={onValueChange} /> </> ); } export default CustomColorPicker;
If I remember it correctly, this behavior started after I ran an