
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@talend/bootstrap-theme
Advanced tools
Base theme following Talend Style Guidelines.
Note: The example has been taken from the excellent project Bootstwatch.
npm install --save @talend/bootstrap-heme
or
yarn add --dev @talend/bootstrap-theme
In every project, we use webpack with sass-loader + css modules.
Create your webpack file and fill it with your own configuration.
You should at least just change the $brand-primary
first to get your own colors;
const SASS_DATA = `
$brand-primary: #77828A;
@import '~@talend/bootstrap-theme/src/theme/guidelines';
`;
module.exports = {
plugins: [
// your custom plugins
],
module: {
loaders: [
{
test: /\.scss$/,
exclude: /bootstrap.scss/,
loaders: [
'style',
'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!sass',
],
},
],
},
sassLoader: {
data: SASS_DATA,
},
};
and in your app you can do the following
import '!style!css!@talend/bootstrap-theme/dist/bootstrap.css';
sassLoader data is a sassLib params which inject the content on every @import directive.
You can now add Bootstrap markup!
yarn && yarn start
Open http://localhost:1337/ to see your changes.
FAQs
Bootstrap theme based on Talend styleguide
We found that @talend/bootstrap-theme 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.