This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
castlecss-notifications with all
npm packages installed. Try it out:
castlecss-notifications lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Quickly add notifications or alerts with this module
Since castlecss-notifications v1.0 the castlecss-core is automatically installed into your node_modules too.
Even easier: Download the CastleCSS Boilerplate. All Packages are included + examples and project setup
npm install castlecss-icons
CastleCSS is built so it's easy to update, you can just download make it your own as long as you don't ovewrite the core files.
npm update castlecss-notifications
You can find the documentation and examples at http://www.castlecss.com and castlecss-docs
Your project should have a setup similair to this (included in the CastleCSS Boilerplate): With this you make sure your own variables overwrite the castle-core variables and your setup is still updatable.
| Your project/ | |-- scss/ | |-- /* Custom project specific scss files here */ | |-- Main.scss | | |-- node_modules/ | | | | /* CastleCSS files included automatically here */ | | castlecss-core/ | | castlecss-notifications/ | | castlecss-etc ;)/
Your main.scss should have a setup similair to this (included in the CastleCSS Boilerplate):
/* core variable files */ @import "path/to/castlecss-core/sass/variables"; /* Your own variables so they overwrite the core */ @import "variables"; /* rest of core files */ @import "node_modules/castlecss-core/sass/main"; @import "node_modules/castlecss-notifications/sass/main"; /* Include your own files below this line -------------------------------------- */
We're currently working hard on making the CastleCSS expansions and improvements. CastleCSS is made to serve as lightweight basis for tailor made software but we do want to give you the option to install a few modules to make your life easier.
Please see the ROADMAP.MD from the CastleCSS Meta Package for our current plans for the future.
Want to contribute? We'd love your help, please take a look at the roadmap or submit new suggestions.