diff --git a/projects/addon-commerce/components/input-CVC/input-CVC.style.less b/projects/addon-commerce/components/input-CVC/input-CVC.style.less index f74a778849cc..96755b4355e7 100644 --- a/projects/addon-commerce/components/input-CVC/input-CVC.style.less +++ b/projects/addon-commerce/components/input-CVC/input-CVC.style.less @@ -1,24 +1,7 @@ -@import 'taiga-ui-local'; - -@font-face { - font-family: 'cvc'; - src: url('font/cvc.woff2') format('woff2'), url('font/cvc.woff') format('woff'); - font-weight: 400; - font-style: normal; -} - :host { display: block; max-width: 176px; border-radius: var(--tui-radius); - - // @bad TODO: Think of something better - // Hide input with dot font so proper screen keyboard and autocomplete work - /* stylelint-disable */ - ::ng-deep input.input { - font-family: cvc, sans-serif; - } - /* stylelint-enable */ } .input { diff --git a/projects/addon-commerce/components/input-CVC/package.json b/projects/addon-commerce/components/input-CVC/package.json index 0d3c1580d83f..026899ee050c 100644 --- a/projects/addon-commerce/components/input-CVC/package.json +++ b/projects/addon-commerce/components/input-CVC/package.json @@ -1,7 +1,6 @@ { "ngPackage": { "lib": { - "cssUrl": "inline", "entryFile": "index.ts", "styleIncludePaths": [ "../../../core/styles" diff --git a/projects/addon-commerce/ng-package.json b/projects/addon-commerce/ng-package.json index 70ce0c5c5a6b..e2e588deef5d 100644 --- a/projects/addon-commerce/ng-package.json +++ b/projects/addon-commerce/ng-package.json @@ -3,7 +3,6 @@ "dest": "../../dist/addon-commerce", "lib": { "entryFile": "index.ts", - "cssUrl": "inline", "styleIncludePaths": ["../core/styles"] } } diff --git a/projects/core/styles/taiga-ui-theme.less b/projects/core/styles/taiga-ui-theme.less index 10646f672840..3f32e7beae95 100644 --- a/projects/core/styles/taiga-ui-theme.less +++ b/projects/core/styles/taiga-ui-theme.less @@ -1,3 +1,4 @@ @import './theme/fonts.css'; +@import './taiga-ui-local'; @import './theme/variables'; @import './theme/wrapper';