- add some font files to local path Close #9448
This commit is contained in:
parent
579571ceb3
commit
7ca8c59580
@ -27,7 +27,8 @@ cssLoader.use.push({
|
||||
options: {
|
||||
modifyVars: {
|
||||
'$icon-font-path': '"../console-ui/public/icons/icon-font"',
|
||||
'$font-custom-path': '"../console-ui/public/fonts/"'
|
||||
'$font-custom-path': '"../console-ui/public/fonts/"',
|
||||
'$adv-icon-font-path': '"../console-ui/public/fonts/font_1533967_slipq25tezj"',
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -55,8 +55,6 @@ import reducers from './reducers';
|
||||
import { changeLanguage } from './reducers/locale';
|
||||
|
||||
import './index.scss';
|
||||
import '@alifd/theme-design-pro/variables.css';
|
||||
import '@alifd/theme-design-pro/dist/next.var.css';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
module.hot && module.hot.accept();
|
||||
|
@ -1258,3 +1258,15 @@ form.vertical-margin-lg .form-group {
|
||||
.row-bg-red {
|
||||
background-color: #ffece4;
|
||||
}
|
||||
|
||||
|
||||
// 引用主题变量
|
||||
@import "~@alifd/theme-design-pro/variables.scss";
|
||||
|
||||
$adv-icon-font-path: "http://at.alicdn.com/t/font_1533967_slipq25tezj.woff2" !default;
|
||||
$icon-font-path: $adv-icon-font-path;
|
||||
|
||||
// 引用基础主题
|
||||
@import "~@alifd/next/index.scss";
|
||||
|
||||
@import "~@alifd/theme-design-pro/icons.scss";
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -35,7 +35,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="console-ui/public/css/icon.css">
|
||||
<link rel="stylesheet" type="text/css" href="console-ui/public/css/font-awesome.css">
|
||||
<!-- 第三方css结束 -->
|
||||
<link href="./css/main.css?a8bd622b4e7c17b2a122" rel="stylesheet"></head>
|
||||
<link href="./css/main.css?e6cfdf2bcbe588ff572f" rel="stylesheet"></head>
|
||||
|
||||
<body>
|
||||
<div id="root" style="overflow:hidden"></div>
|
||||
@ -56,6 +56,6 @@
|
||||
<script src="console-ui/public/js/merge.js"></script>
|
||||
<script src="console-ui/public/js/loader.js"></script>
|
||||
<!-- 第三方js结束 -->
|
||||
<script type="text/javascript" src="./js/main.js?a8bd622b4e7c17b2a122"></script></body>
|
||||
<script type="text/javascript" src="./js/main.js?e6cfdf2bcbe588ff572f"></script></body>
|
||||
|
||||
</html>
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user