Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Blaze has moved to scoped packages under @blaze.
This makes it easier for you to install only what you need and allows us to name and organise our packages how we'd like.
Blaze is a framework-free open source UI toolkit. It provides great structure for building websites quickly with a scalable and maintainable foundation.
First of all install NVM.
When that is complete run:
$ nvm use
$ npm i
That's essentially it! Here are some useful commands:
npm run <command> | Description |
---|---|
test | Lints all the scss files and runs all the tests on the atoms |
dev | Runs the dev servers with live reloads for both scss and atoms |
commit | To commit any changes please use npm run commit , more info below |
When committing changes please follow the Conventional Commits format.
The best thing to do is simply run npm run commit
and it'll take you through a step-by-step wizard.
The easiest way to use the toolkit is via CDN.
<link rel="stylesheet" href="https://unpkg.com/@blaze/css@x.x.x/dist/blaze.css">
The x.x.x
is the specific version of the library, you should use specifc versions to prevent against breaking changes.
We've designed the toolkit not to interfere with others or your own styles, hence Blaze won't automatically do anything to your site.
The following won't change by simply linking to blaze.css like it would with others such as Bootstrap or Foundation:
<button type="button">Button</button>
You need to apply our button classes:
<button class="c-button" type="button">Button</button>
This means you have to add classes to each part of your site where you want Blaze to apply. Take a look at the documentation for our objects, components, typography etc. and you'll see how intuitive it is to use.
Link to it by adding the following to your <head></head>
.
<script src="https://unpkg.com/@blaze/atoms@x.x.x/dist/blaze-atoms.js"></script>
The x.x.x
is the specific version of the library, you should use specifc versions to prevent against breaking changes.
That's it! Start using the components in your HTML.
Blaze uses Stencil to compile our components into Web Components. And since they can be used within frameworks or in standard HTML websites the best resource to read is the Stencil documentation regarding framework integration.
FAQs
Open Source UI Toolkit
The npm package blaze receives a total of 290 weekly downloads. As such, blaze popularity was classified as not popular.
We found that blaze demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.