akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.05k stars 1.51k forks source link

Replacement for @nebular/theme/styles/global/bootstrap/hero-buttons in latest nebular update #938

Closed jjgriff93 closed 5 years ago

jjgriff93 commented 5 years ago

Issue description

Current behavior: I've recently updated to the latest version of nebular and read in the upgrade notes that bootstrap is integrated as part of @nebular/bootstrap now and needs a few modifications to the code to get it to work. I've followed these instructions around the brakpoints import, but I can't find what the replacement is for the hero buttons, and I'm getting the below build error:

ERROR in ./src/app/dashboard/learn/top-pop-card/front/front.component.scss
Module build failed (from ./node_modules/sass-loader/lib/loader.js):

@import '~@nebular/theme/styles/global/bootstrap/hero-buttons';
^
      File to import not found or unreadable: ~@nebular/theme/styles/global/bootstrap/hero-buttons.

I tried ~@nebular/theme/styles/global/hero-buttons but no such luck

Expected behavior: No build erros with hero button component

Steps to reproduce: ngx-admin template from older version of nebular, updating packages to latest nebular version with hero buttons within the applciation

Tibing commented 5 years ago

Hi @jjgriff93, you don't need bootstrap for hero-buttons anymore. Nebular buttons now support hero styling. Please, check the documentation