2.5.0 ā€¢ Published 1 year ago

@captaincss/captaincss v2.5.0

Weekly downloads
45
License
MIT
Repository
github
Last release
1 year ago

An extensible, scalable set of CSS objects and utilities that harness Tailwind and ITCSS to provide structure to teams and large or long-lasting projects

Captain does not provide you with UI or design out of the box, but instead provides solid architectural layout objects and utilities, upon which anything can be built.

Talk the same language as other developers, and share a set of common objects across all of your website and app builds. All fully configurable using the native Tailwind config.

šŸ  Homepage

Install

yarn add -D @captaincss/captaincss # or npm install -D @captaincss/captaincss

Usage

  1. Install and setup Tailwind in your project: https://tailwindcss.com/docs/installation

  2. Add CaptainCSS as a plugin in your tailwind.config.js:

// tailwind.config.js
module.exports = {
  theme: {},
  plugins: [
    require('@captaincss/captaincss'),
  ],
}
  1. Configure Captain's theme settings and variants in your tailwind config, exactly like Tailwind. Check defaultConfig.js for Captain's default configuration.
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      frame: {
        ratio: {
          '4:3': '4:3',
        }
      }
    }
  },
  plugins: [
    require('@captaincss/captaincss'),
  ],
}

Author

šŸ‘¤ Jamie Warburton

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Please read our Contributing Guidelines first!

Show your support

Please give a ā­ļø if this project helped you!

2.5.0

1 year ago

2.4.0

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.4

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.4.0

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago