Skip to content

Commit

Permalink
feat(projects): 新增组件页面:按钮、卡片示例
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Nov 28, 2021
1 parent 0b10b50 commit bdc39af
Show file tree
Hide file tree
Showing 5 changed files with 620 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/plugins/iconify.ts
Expand Up @@ -6,5 +6,5 @@ export default [
Components({
resolvers: [IconsResolver({ componentPrefix: 'icon' })]
}),
Icons()
Icons({ scale: 1, defaultClass: 'inline-block' })
];
2 changes: 2 additions & 0 deletions src/styles/scss/global.scss
@@ -1,3 +1,5 @@
@import './naive.scss';

@mixin scrollbar($size:8px, $color:#d9d9d9) {
&::-webkit-scrollbar-thumb {
background-color: $color;
Expand Down
6 changes: 6 additions & 0 deletions src/styles/scss/naive.scss
@@ -0,0 +1,6 @@
.n-icon-slot {
width: auto !important;
height: auto !important;
justify-content: center;
align-items: center;
}

1 comment on commit bdc39af

@vercel
Copy link

@vercel vercel bot commented on bdc39af Nov 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.