Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap-talend-theme

Package Overview
Dependencies
Maintainers
6
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-talend-theme

Bootstrap theme based on Talend styleguide

  • 0.111.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
51
increased by54.55%
Maintainers
6
Weekly downloads
 
Created
Source

Talend Bootstrap Theme

npm version Build Status dependencies Status

Base theme following Talend Style Guidelines.

Note: The example has been taken from the excellent project Bootstwatch.

Docs & Help

How to use

Install dependency

npm install --save bootstrap-talend-theme

or

yarn add --dev bootstrap-talend-theme

Configure your project

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 '~bootstrap-talend-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!sass!bootstrap-talend-theme/src/theme/theme.scss';

sassLoader data is a sassLib params which inject the content on every @import directive.

You can now add Bootstrap markup!

How to contribute

yarn && yarn start

Open http://localhost:1337/ to see your changes.

Keywords

FAQs

Package last updated on 18 Sep 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc