vue 中改變 element-ui 的主題色

前提:項目安裝過 scss,並能夠使用scss 安裝並使用 scss 的方法css 一、新建一個 .scss 文件,並在裏面設置想要的主題色web /* 改變主題色變量 */ $--color-primary: #4A7CCD; // 想要的顏色 /* 改變 icon 字體路徑變量,必需 */ $--font-path: '~element-ui/lib/theme-chalk/fonts';
相關文章
相關標籤/搜索