diff --git a/src/components/Avatar/Avatar.css b/src/components/Avatar/Avatar.css index b44c4e24b6..322df3d6c4 100644 --- a/src/components/Avatar/Avatar.css +++ b/src/components/Avatar/Avatar.css @@ -9,11 +9,3 @@ display: block; max-width: 100%; } - -.Avatar--ios { - font-family: map(fontFamilies, ios) - } - -.Avatar--android { - font-family: map(fontFamilies, android) - } diff --git a/src/helpers/fonts.js b/src/helpers/fonts.js deleted file mode 100644 index 90143d4013..0000000000 --- a/src/helpers/fonts.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - families: { - ios: "-apple-system, 'Helvetica Neue', Helvetica, sans-serif", - android: "Roboto, Droid, 'Open Sans', sans-serif" - } -}; diff --git a/src/index.js b/src/index.js index 50d9272d5e..4b00a1d9a1 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,6 @@ import './lib/polyfills'; import './styles/common.css'; import { values as colors } from './helpers/colors'; -import { families as fontFamilies } from './helpers/fonts'; /** * Layout @@ -81,6 +80,5 @@ export { default as getClassName } from './helpers/getClassName'; export { default as requestAnimationFrame } from './lib/requestAnimationFrame'; export { isWebView } from './lib/webview'; export { colors }; -export { fontFamilies }; export const v = process.env.VKUI_VERSION; diff --git a/webpack.config.js b/webpack.config.js index 45808d247f..c8daf5d022 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,6 @@ const cssImport = require('postcss-import'); const cssMaps = require('postcss-map'); const autoprefixer = require('autoprefixer'); const colorsMaps = require('./src/helpers/colors'); -const fontMaps = require('./src/helpers/fonts'); const cssTransformOptions = [ { @@ -25,7 +24,7 @@ const cssTransformOptions = [ cssImport(), cssCustomProperties(), cssMaps({ - maps: [{ colors: colorsMaps.values, fontFamilies: fontMaps.families }] + maps: [{ colors: colorsMaps.values }] }), autoprefixer() ];