![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@shuriken-ui/tailwind
Advanced tools
Readme
Shuriken UI is a free and open-source Tailwind CSS UI Kit. It is a collection of components and templates that you can use to build your next Tailwind CSS project.
This package contains the Tailwind CSS preset, components, and shared utils like custom colors used in Shuriken UI.
pnpm install -D @shuriken-ui/tailwind
The simplest way to register Shuriken UI is to use withShurikenUI
helper function.
// tailwind.config.ts
import { withShurikenUI } from '@shuriken-ui/tailwind'
export default withShurikenUI({
// your tailwind config
content: [],
})
You can also direcly import the preset and use it in your config.
// tailwind.config.ts
import type { Config } from 'tailwindcss'
import preset from '@shuriken-ui/tailwind/preset'
export default {
// your tailwind config, with the preset
content: [],
presets: [preset],
} satisfies Config
Also, you can import only the components and utils you needs.
// tailwind.config.ts
import type { Config } from 'tailwindcss'
import { fontFamily } from 'tailwindcss/defaultTheme'
import colors from 'tailwindcss/colors'
import { input, button } from '@shuriken-ui/tailwind/plugins'
export default {
// your tailwind config, with only the components you need
plugins: [input, button],
theme: {
fontFamily: {
sans: fontFamily.sans,
heading: fontFamily.sans,
alt: fontFamily.sans,
mono: fontFamily.mono,
},
extend: {
colors: {
primary: colors.violet,
'primary-invert': colors.white,
muted: colors.slate,
info: colors.sky,
success: colors.teal,
warning: colors.amber,
danger: colors.rose,
},
},
},
} satisfies Config
Shuriken UI is fully customizable. You can override components by using the theme
option.
export default withShurikenUI({
theme: {
extend: {
nui: {
// your customizations
},
},
},
})
note: Documentation is coming soon!
FAQs
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/shuriken-ui/.github/assets/86636408/278e3026-1997-4e01-9457-20772adbce31"> <source media="(prefers-color-scheme: light)" srcset="https://github.
The npm package @shuriken-ui/tailwind receives a total of 850 weekly downloads. As such, @shuriken-ui/tailwind popularity was classified as not popular.
We found that @shuriken-ui/tailwind demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.