0.1.22 • Published 10 months ago

kudu-ui-system v0.1.22

Weekly downloads
-
License
GNU GPL
Repository
github
Last release
10 months ago

Kudu UI System

Kudu UI Design System is a CSS library used across all products developed by Kudu.

Install package

Note:

In order to the kudu-ui-system package to work correctly, you need to have Tailwind and PostCSS configured in your project beforehand. You can learn how to configure Tailwind and PostCSS in your project by following this link.

After installing ppnpm, Tailwind and PostCSS, you can install kudu-ui-system with this command:

pnpm i kudu-ui-system

Usage

  1. Import and include the preset configuration from kudu-ui-system in your tailwind.config.js.
const { tailwindPreset } = require("kudu-ui-system/tailwindcss");

/** @type {import('tailwindcss').Config} */
export default {
  content: ["./src/**/*.{html,js,svelte,ts}"],
  presets: [tailwindPreset],
};
  1. Import and include the postcss configuration from kudu-ui-system in your postcss.config.js.
const { kuduuisystem } = require("kudu-ui-system/postcss");

export default {
  plugins: {
    ...kuduuisystem,
    ...
  }
};
  1. In your main CSS file, import kudu-ui-system at the beginning of the file
@import "kudu-ui-system/styles";
  1. Set the custom atrribute data-theme="kududesign" in your HTML file:
<!DOCTYPE html>
<html lang="en" dir="ltr" data-theme="kududesign">
  ...
</html>

Development

All this package is generated with Tailwind CSS and DaisyUI.

Tailwind CSS allows for more efficient CSS writing and maintains a structured approach. Daisy UI is a class library that provides styles for commonly used components.

For more details, you can refer to the documentation of Tailwind CSS and Daisy UI.

Changelog

If you want to know the different changes between versions of this package, look at the changelog here.

I have an issue, what should I do?

Please file the issue here.

Contributing

See the contributing docs.

License

By contributing to kudu-ui-system, you agree that your contributions will be licensed under the LICENSE of the project.

0.1.22

10 months ago

0.1.21

10 months ago

0.1.20

10 months ago

0.1.19

10 months ago

0.1.18

10 months ago

0.1.17

10 months ago

0.1.16

10 months ago

0.1.15

10 months ago

0.1.14

10 months ago

0.1.13

10 months ago

0.1.12

10 months ago

0.1.11

10 months ago

0.1.10

10 months ago

0.1.9

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago