Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Apr 14, 2023
1 parent 6bda995 commit ea8e9af
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 100 deletions.
19 changes: 17 additions & 2 deletions .playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,30 @@ import colors from 'tailwindcss/colors.js'

export default defineNuxtConfig({
extends: '..',
modules: ['unplugin-fonts/nuxt'],
unfonts: {
google: {
families: ['Roboto Flex', 'Inter', 'Karla'],
},
},
tailwindcss: {
config: {
content: [],
theme: {
fontFamily: {
// inverted from default
sans: ['Inter', 'sans-serif'],
heading: ['Roboto Flex', 'sans-serif'],
sans: ['Inter', 'sans-serif'],
alt: ['Karla', 'sans-serif'],
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
},
extend: {
colors: {
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pnpm install -D @shuriken-ui/nuxt
> - [@nuxtjs/tailwindcss](https://github.com/nuxt-modules/tailwindcss)
> - [@nuxtjs/color-mode](https://github.com/nuxt-modules/color-mode)
> - [@vueuse/nuxt](https://github.com/vueuse/vueuse/tree/main/packages/nuxt)
> - [nuxt-icon](https://github.com/nuxt-modules/icon)
## Usage

Expand Down Expand Up @@ -94,7 +95,7 @@ import colors from 'tailwindcss/colors'
export default withShurikenUI({
content: [],
theme: {
// Custom fonts
// Custom fonts (you must load them yourself, ex: with unplugin-fonts)
fontFamily: {
sans: ['Roboto Flex', 'sans-serif'],
heading: ['Inter', 'sans-serif'],
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"nuxt.schema.ts"
],
"scripts": {
"dev": "stale-dep && nuxt dev .playground --open",
"dev": "nuxt dev .playground --open",
"lint": "run-s lint:eslint:fix lint:prettier:fix",
"lint:prettier": "prettier --check \"./**/*.(ts|vue|css|scss|md)\"",
"lint:prettier:fix": "prettier --write \"./**/*.(ts|vue|css|scss|md)\"",
Expand All @@ -43,14 +43,14 @@
"release": "run-s test release:*",
"release:standard-version": "standard-version",
"release:publish": "git push --follow-tags origin main && npm publish",
"prepare": "simple-git-hooks && stale-dep -u && nuxt prepare .playground"
"prepare": "simple-git-hooks && nuxt prepare .playground"
},
"dependencies": {
"@headlessui/vue": "^1.7.13",
"@iconify/vue": "^4.1.1",
"@nuxtjs/color-mode": "^3.2.0",
"@nuxtjs/tailwindcss": "^6.6.6",
"@shuriken-ui/tailwind": "^0.0.2",
"@shuriken-ui/tailwind": "^0.0.3",
"@vueuse/nuxt": "^10.0.2",
"autoprefixer": "^10.4.14",
"nuxt-icon": "^0.3.3"
Expand All @@ -71,9 +71,9 @@
"npm-run-all": "^4.1.5",
"nuxt": "^3.4.1",
"simple-git-hooks": "^2.8.1",
"stale-dep": "^0.6.0",
"standard-version": "^9.5.0",
"typescript": "^5.0.4",
"unplugin-fonts": "^1.0.2",
"vue-tsc": "^1.2.0"
},
"simple-git-hooks": {
Expand Down
123 changes: 30 additions & 93 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea8e9af

Please sign in to comment.