Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOX-241: Rename font, change method to include it #76

Merged
merged 1 commit into from
Oct 17, 2021
Merged

Conversation

Kater-auf-Dach
Copy link
Contributor

  • Replace "Hover" with "Hoves" in font name
  • Replace relative path to fonts with imports

Comment on lines +1 to +18
import BlackItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_Black_Italic.woff2';
import BlackWoff2 from '@box/shared/assets/fonts/TT_Hoves_Black.woff2';
import BoldItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_Bold_Italic.woff2';
import BoldWoff2 from '@box/shared/assets/fonts/TT_Hoves_Bold.woff2';
import DemiBoldItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_DemiBold_Italic.woff2';
import DemiBoldWoff2 from '@box/shared/assets/fonts/TT_Hoves_DemiBold.woff2';
import ExtraBoldItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_ExtraBold_Italic.woff2';
import ExtraBoldWoff2 from '@box/shared/assets/fonts/TT_Hoves_ExtraBold.woff2';
import ExtraLightItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_ExtraLight_Italic.woff2';
import ExtraLightWoff2 from '@box/shared/assets/fonts/TT_Hoves_ExtraLight.woff2';
import ItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_Italic.woff2';
import LightItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_Light_Italic.woff2';
import LightWoff2 from '@box/shared/assets/fonts/TT_Hoves_Light.woff2';
import MediumItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_Medium_Italic.woff2';
import MediumWoff2 from '@box/shared/assets/fonts/TT_Hoves_Medium.woff2';
import RegularWoff2 from '@box/shared/assets/fonts/TT_Hoves_Regular.woff2';
import ThinItalicWoff2 from '@box/shared/assets/fonts/TT_Hoves_Thin_Italic.woff2';
import ThinWoff2 from '@box/shared/assets/fonts/TT_Hoves_Thin.woff2';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выглядит жестко)))

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergeysova @dmi-ch А в стайледах точно так делается?

Copy link
Contributor Author

@Kater-auf-Dach Kater-auf-Dach Oct 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну по относительному пути не подтянулись, наверно, нужно сборку посмотреть. Собственно, в этом проблема и была. Так-то обычно в public/assets клали, но здесь ассетсы в сорцах...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Увы, по другому никак, пока что

Пусть так, потом разберемся и оптимизируем. Может на CDN закинем

@sergeysova sergeysova merged commit c534fbb into master Oct 17, 2021
@sergeysova sergeysova deleted the fix/BOX-241 branch October 17, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants