
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@nimblehq/cx-theme
Advanced tools
The stylesheet and JS files for all UI components of CX.
Several options are available to install the package:
$ npm install @nimblehq/cx-theme
$ yarn add @nimblehq/cx-theme
// package.json
...
"dependencies": {
...
"@nimblehq/cx-theme": "git+https://<github-username>:<github-token>@github.com/nimblehq/cx-theme.git#develop"
},
...
// package.json
...
"dependencies": {
...
"@nimblehq/cx-theme": "file:../cx-theme"
},
...
Then import it in your application.scss, e.g,
/* app/assets/stylesheets/application.scss */
@import '@nimblehq/cx-theme/scss/cx-theme';
By making it more flexible you can import the _variables.scss and /components.
This method allows you to override theme variables.
// Theme Variables
@import '@nimblehq/cx-theme/scss/cx_theme/variables';
// Bootstrap
@import 'bootstrap/scss/bootstrap';
// Theme Overrided Components
@import '@nimblehq/cx-theme/scss/cx_theme/components';
Make sure to import Bootstrap's bootstrap.scss in between _variables.scss and /components!
This package also provides a solution for rendering some icons with SVG sproites. So we can just use inline SVG like this within out layout.
<!-- This example is Rails helper methods. -->
<div hiddden>
<%= inline_svg_tag 'cx-theme/dist/images/icon-sprite.svg' %>
</div>
$ nvm use
$ npm install
$ npm run asset:build
$ npm run pug:build
$ npm run serve
Visiting http://localhost:8080/build with a web browser will display the styleguide. ✨
This project is Copyright (c) 2014 and onwards Nimble. It is free software, and may be redistributed under the terms specified in the LICENSE file.

This project is maintained and funded by Nimble.
We love open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.
FAQs
The stylesheet and JS files for all UI components of CX.
We found that @nimblehq/cx-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.