npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@caravancoop/ui-kit

v2.0.3

Published

UI kit made for Angular developers

Downloads

12

Readme

Caravan UI 2.0.3

npm license

🚀 UPDATES:

  • Fully integrated with Tailwind!
  • Dark Theme Now Supported! 🌃
  • Angular 17 Support Now Available! 🎉

📢 Important Note:

Please note that with the update to Angular 17, there might be some breaking changes or dependency conflicts from the previous versions. It is thus recommended to update your projects to Angular 17.

Installation

npm install @caravancoop/ui-kit

👉 Full documentation Getting started

Install peer dependencies

Caravan UI uses Tailwind CSS, please install Tailwind CSS by following the official setup.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init

Caravan UI uses the open source Feather icons. Please install angular-feather if any icon is needed in your project. Feel free to browse the FeatherIcons and check its repo for the usage.

npm install angular-feather

Theme configuration

  • After the tailwind.config.js file is generated, add the paths to all of your template files in the content array. Remember to add ./node_modules/@caravancoop/ui-kit/fesm2022/*.mjs as this will help Tailwind to find all the styles used in Caravan UI.
  • If you wish to use the same Caravan palettes, copy all the colors variables below to your config file. You can also define your own theme by providing hex codes from 100 to 900, but you will have to keep the exactly same formats and color attribute names such as car-primary.
  • Caravan UI comes with the dark mode, simply define darkMode as class in the config.
module.exports = {
  content: [
    './node_modules/@caravancoop/ui-kit/fesm2022/*.mjs',
    './src/app/*.html'
  ],
  darkMode: "class",
  theme: {
    fontFamily: {
      sans: ['Roboto', 'sans-serif']
    },
    colors: {
      'car-primary': {
        100: '#CAFDFA',
        300: '#62E9F5',
        500: '#00ACDE',
        700: '#00649F',
        900: '#00336A'
      },
      'car-secondary': {
        100: '#FFF8CC',
        300: '#FFE566',
        500: '#FFC900',
        700: '#B78800',
        900: '#936A00'
      },
      'car-success': {
        100: '#CAFCDB',
        300: '#60F1AE',
        500: '#00D199',
        700: '#00968B',
        900: '#005864'
      },
      'car-error': {
        100: '#FDCED4',
        300: '#F86E99',
        500: '#E8117F',
        700: '#A70879',
        900: '#6F0365'
      },
      'car-neutral': {
        50: '#F4F6F7',
        100: '#DAE1E7',
        300: '#B8C2CC',
        500: '#8795A1',
        700: '#606F7B',
        900: '#3D4852'
      },
      'car-dark': {
        100: '#22303C',
        200: '#192734',
        300: '#15202B'
      },
      'car-light': '#fff'
    },
    extend: {},
  },
  plugins: [],
}