我们有自己的自定义主题基础值。为什么在值util目录中搜索vaadin我们的自定义字体?
404 GET /VAADIN/themes/valo/util/bourbon/css3/fonts/our-font-name.eot
这是什么原因?
outcustomtheme.scss:
'../../../../assets/sass/core/...
他们是我们的自定义sass样式
@import '../valo/valo';
@import '../../../../assets/sass/core/base/base';
@import '../../../../assets/sass/core/variables';
....
@import '../../../../assets/sass/core/system/system-notification';
@import 'fonts/neg/css/animation';
@import 'fonts/neg/css/neg-embedded';
@import 'fonts/neg/css/neg-ie7';
$v-included-components: window,
tabsheet,
csslayout;
// $v-included-components: tabsheet;
@mixin ourthemename {
@include valo; // Spinner change//
@include base;
....
}
@font-face {
font-family: 'Roboto Condensed';
font-weight: 400;
font-style: normal;
src: url('fonts/rc/rc.eot'); // IE9 Compat Modes */
src: local('Roboto Condensed'), local('RobotoCondensed-Regular'), url('fonts/rc/rc.eot?#iefix') format('embedded-opentype'), // IE6-IE8 */
url('fonts/rc/rc.woff2') format('woff2'), // Super Modern Browsers */
url('fonts/rc/rc.woff') format('woff'), // Modern Browsers */
url('fonts/rc/rc.ttf') format('truetype'), // Safari, Android, iOS */
url('fonts/rc/rc.svg#RobotoCondensed') format('svg'); // Legacy iOS */
}