
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@sb1/ffe-cards
Advanced tools
npm install --save @sb1/ffe-core @sb1/ffe-cards
Full documentation on card usage is available at https://design.sparebank1.no/komponenter/kort/.
Import styling for all card types:
@import 'path/to/node_modules/@sb1/ffe-cards/less/cards';
Or pick just the ones you need from these:
@import 'path/to/node_modules/@sb1/ffe-cards/less/text-card';
@import 'path/to/node_modules/@sb1/ffe-cards/less/icon-card';
@import 'path/to/node_modules/@sb1/ffe-cards/less/image-card';
If your project does not use Less, you can import the compiled styling:
@import '~@sb1/ffe-cards/css/cards.css';
See also @sb1/ffe-cards-react
.
In order to support theming of components, this package contains styling that depends on a set of custom properties, defined in less/theme.less
. These properties in turn depend on a base theme defined in ffe-core
.
If your project uses the ffe-core
, you're probably good to go. If not, make sure to import the core properties in theme.less
:
@import '~@sb1/ffe-core/less/theme';
To start a local development server, run the following from the designsystem root folder:
npm install
npm run build
npm start
A local instance of component-overview
with live reloading will run at http://localhost:1234/.
Example implementations using the latest versions of all components are also available at https://sparebank1.github.io/designsystem.
FAQs
Kort for bruk i oversikter
The npm package @sb1/ffe-cards receives a total of 907 weekly downloads. As such, @sb1/ffe-cards popularity was classified as not popular.
We found that @sb1/ffe-cards demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.