Skip to content

Commit

Permalink
fix: styleline
Browse files Browse the repository at this point in the history
  • Loading branch information
tymon42 committed Jun 21, 2023
1 parent 23e923e commit cf89055
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 275 deletions.
9 changes: 2 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
"prettier.enable": false,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": true,
"source.organizeImports": false
},
"stylelint.enable": true,
"stylelint.validate": [
"css",
"vue",
"html"
]
}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Features
- [Tailwind CSS](https://tailwindcss.com/)
- [Nuxtlab-UI](ui.nuxtlabs.com)
- [color-mode](color-mode.nuxtjs.org)
- [Tailwind CSS](https://tailwindcss.com/)
- Auto-Dark Mode powered by [color-mode](color-mode.nuxtjs.org) imported by Nuxtlab-UI

You can easily add more modules to project by using the Nuxt DevTools.
Expand Down
3 changes: 3 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
14 changes: 11 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: {
enabled: true
enabled: true,
},
modules: ["@nuxthq/ui"]
})
modules: ['@nuxthq/ui', '@nuxtjs/color-mode'],
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},

})
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
"@commitlint/config-conventional": "^17.6.3",
"@nuxt/devtools": "^0.5.5",
"@nuxthq/ui": "^2.2.0",
"@nuxtjs/color-mode": "^3.2.0",
"@types/node": "^18",
"autoprefixer": "^10.4.14",
"commitizen": "^4.3.0",
"cz-git": "^1.6.1",
"eslint": "^8.41.0",
"lint-staged": "^13.2.2",
"nuxt": "^3.5.1",
"postcss": "^8.4.24",
"postcss-custom-properties": "^13.2.0",
"postcss-html": "^1.5.0",
"stylelint": "^15.6.2",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.0.0",
"stylelint-config-standard": "^33.0.0",
"tailwindcss": "^3.3.2",
"typescript": "^5.0.4"
},
"lint-staged": {
Expand Down
29 changes: 0 additions & 29 deletions style.config.ts

This file was deleted.

17 changes: 17 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}',
'./app.vue',
],
theme: {
extend: {},
},
plugins: [],
darkMode: 'class',
exposeConfig: true,
}
Loading

0 comments on commit cf89055

Please sign in to comment.