Skip to content

Commit

Permalink
use more global icons
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Oct 11, 2023
1 parent 6ed2801 commit c664218
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 78 deletions.
82 changes: 9 additions & 73 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,31 +93,25 @@ export default defineAppConfig({
height: '5rem'
}
},
aside: {
links: {
externalIcon: {
name: 'i-ph-arrow-up-right'
}
}
icons: {
dark: 'i-ph-moon-duotone',
light: 'i-ph-sun-duotone',
search: 'i-ph-magnifying-glass-duotone',
external: 'i-ph-arrow-up-right',
chevron: 'i-ph-caret-down',
hash: 'i-ph-hash-duotone'
},
header: {
wrapper: 'lg:mb-0 lg:border-0',
links: {
trailingIcon: {
name: 'i-ph-caret-down',
base: 'w-4 h-4'
},
externalIcon: {
name: 'i-ph-arrow-up-right'
}
},
popover: {
links: {
active: 'dark:bg-gray-950/50',
inactive: 'dark:hover:bg-gray-950/50',
externalIcon: {
name: 'i-ph-arrow-up-right'
}
inactive: 'dark:hover:bg-gray-950/50'
}
},
button: {
Expand All @@ -127,34 +121,16 @@ export default defineAppConfig({
}
}
},
footer: {
columns: {
externalIcon: {
name: 'i-ph-arrow-up-right'
}
},
links: {
externalIcon: {
name: 'i-ph-arrow-up-right'
}
}
},
navigation: {
accordion: {
button: {
trailingIcon: {
name: 'i-ph-caret-down',
base: 'w-4 h-4'
}
}
}
},
page: {
links: {
externalIcon: {
name: 'i-ph-arrow-up-right'
}
},
card: {
to: 'dark:hover:bg-gray-900/50'
}
Expand All @@ -163,71 +139,31 @@ export default defineAppConfig({
toc: {
button: {
trailingIcon: {
name: 'i-ph-caret-down',
base: 'w-4 h-4'
}
}
},
search: {
button: {
icon: 'i-ph-magnifying-glass-duotone'
}
},
surround: {
icon: {
prev: 'i-ph-arrow-left',
next: 'i-ph-arrow-right'
}
}
},
colorMode: {
button: {
icon: {
dark: 'i-ph-moon-duotone',
light: 'i-ph-sun-duotone'
}
}
},
content: {
callout: {
externalIcon: {
name: 'i-ph-arrow-up-right'
}
},
collapsible: {
button: {
icon: {
name: 'i-ph-caret-right',
base: 'w-3 h-3'
}
}
},
prose: {
h1: {
icon: {
name: 'i-ph-hash-duotone'
}
},
h2: {
icon: {
name: 'i-ph-hash-duotone'
}
},
h3: {
icon: {
name: 'i-ph-hash-duotone'
}
},
h4: {
icon: {
name: 'i-ph-hash-duotone'
}
},
code: {
button: {
icon: {
copy: 'i-ph-copy-duotone',
copied: 'i-ph-copy-duotone'
copied: 'i-ph-check-square-duotone'
}
},
icon: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@iconify-json/simple-icons": "^1.1.74",
"@iconify-json/uil": "^1.1.5",
"@nuxt/content": "^2.8.5",
"@nuxt/ui-pro": "npm:@nuxt/[email protected]28283961.d39f596",
"@nuxt/ui-pro": "npm:@nuxt/[email protected]28284064.fe9ef02",
"@nuxthq/studio": "^1.0.0",
"@nuxtjs/fontaine": "^0.4.1",
"@nuxtjs/google-fonts": "^3.0.2",
Expand Down
8 changes: 4 additions & 4 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 c664218

Please sign in to comment.