1.0.3 • Published 9 months ago

nuxt-simple-css v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Nuxt Simple CSS

Add Simple CSS by Kev Quirk to your Nuxt 3 project.

Why?

If you are building lots of projects, it's handy to have some simple CSS rules that will make your project look nice and clean, without you having do add any CSS.

Quick Setup

  1. Add nuxt-simple-css dependency to your project
pnpm add -D nuxt-simple-css
yarn add --dev nuxt-simple-css
npm install --save-dev nuxt-simple-css
  1. Add nuxt-simple-css to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-simple-css'],
})

That's it! You can now use Nuxt Simple CSS in your Nuxt app ✨

Options

export default defineNuxtConfig({
  nuxtSimpleCSS: {
    // ...options
  },
})
PropTypeDefault
accentstring#0d47a1
bgstring#fff
accent-bgstring#f5f7ff
text-lightstring#585858
textstring#898EA4
borderstring#898EA4
codestring#d81b60
preformattedstring#444
markedstring#ffdd33
disabledstring#efefef

Live examples

1.0.3

9 months ago

1.0.1

9 months ago