adazzle / react-data-grid

Feature-rich and customizable data grid React component
https://adazzle.github.io/react-data-grid/
Other
6.93k stars 2.18k forks source link

Implement custom them in react #3332

Closed shorif2000 closed 1 year ago

shorif2000 commented 1 year ago

Describe the bug

When trying to follow https://reactdatagrid.io/docs/api-reference#props-theme it loads the table with no styling/themes

To Reproduce

I have done this in my theme file

` $DATAGRID_THEME_NAME: 'data-table-red'; $INOVUA_DATAGRID_ACCENT_COLOR: rgb(230, 0, 0);

@import '~@inovua/reactdatagrid-community/style/base.scss'; @import '~@inovua/reactdatagrid-community/style/theme/default-light/index.scss'; // @import '~@inovua/reactdatagrid-community/style/index.scss'

$DATAGRID_THEME_NAME: 'data-table-red'; $INOVUA_DATAGRID_ACCENT_COLOR: rgb(230, 0, 0); ` file is called data-table-red.scss

Link to code example:

Expected behavior

Environment

Additional context

abenhamdine commented 1 year ago

When trying to follow reactdatagrid.io/docs/api-reference#props-theme it loads the table with no styling/themes

You are in the wrong repo, https://reactdatagrid.io is not https://github.com/adazzle/react-data-grid