Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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
The npm package @talend/bootstrap-theme receives a total of 1,200 weekly downloads. As such, @talend/bootstrap-theme popularity was classified as popular.
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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.