feat: 样式调整
This commit is contained in:
parent
959a2e9a33
commit
72e2702f76
5
next.config.js
Normal file
5
next.config.js
Normal file
@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
|
||||
return config;
|
||||
},
|
||||
};
|
@ -95,6 +95,9 @@
|
||||
@apply bg-green-800 bg-opacity-20 text-green-400;
|
||||
}
|
||||
}
|
||||
code:global(.hljs) {
|
||||
@apply text-sm;
|
||||
}
|
||||
|
||||
:global {
|
||||
:not(:global(.dark)) & {
|
||||
|
@ -6,20 +6,20 @@
|
||||
.item {
|
||||
@apply my-2 mx-4 px-4 overflow-hidden;
|
||||
@apply rounded-md shadow-sm hover:shadow;
|
||||
@apply bg-gray-50 hover:bg-white;
|
||||
@apply bg-gray-50 hover:bg-white cursor-pointer;
|
||||
|
||||
:global(.dark) & {
|
||||
@apply bg-gray-800;
|
||||
}
|
||||
|
||||
|
||||
.title {
|
||||
@apply text-lg my-4;
|
||||
@apply text-xl my-4;
|
||||
}
|
||||
.description {
|
||||
@apply text-sm text-gray-600 leading-6 my-4;
|
||||
@apply text-base text-gray-600 leading-6 my-4 font-light;
|
||||
|
||||
:global(.dark) & {
|
||||
@apply text-gray-400;
|
||||
}
|
||||
:global(.dark) & {
|
||||
@apply text-gray-400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user