Element UI - Class customisation.
Can you please show an example on how I can modify the Element-plus's sass variables? I've tried so many ways. I'm using
You can override all sass variables in a separate sass file.
Create new sass file and include variables which you want to override and ~element-ui/packages/theme-chalk/src/index style import then include this file in main.ts or App.vue.
/* theme color */
/* icon font path, required */
If you will use a separate file to override variables do not forget to remove our default element-ui style import from App.vue.
Please check Element UI official doc for more info.