The project in this repository showcases how the ag-Grid built-in themes can be customized by overriding Sass variables. An up-to-date table with the variable default values and their function is available at: http://www.ag-grid.com/javascript-grid-styling/#customizing-sass-variables
- Clone the project
- Choose a project:
src/vanilla
: customising a theme in vanilla JavaScript, including an example of changing the icon font.src/vanilla-css-variables
: an example of setting color parameters from CSS variablessrc/vanilla-extending-base
: an example of a custom theme that directly extends the base themesrc/vanilla-svg-icons
: an example of using SVG images for iconssrc/angular
: Angular CLI examplesrc/react
: create-react-app examplesrc/vue
: Vue example- v22 compatibility layer examples
src/legacy/vanilla
: Vanilla JSsrc/legacy/angular
: Angular CLIsrc/legacy/v22-provided-themes
: Demonstration of how to rebuild the deprecated Fresh, Dark, Blue and Bootstrap themes as custom themes on top of ag-theme-base.
- In the project folder, run
npm install && npm start
- View the project in your browser at http://localhost:8080/.
- Open the
styles.scss
file to see how the theme has been customised.