feat(blog): port from CRA to vite + react
This commit is contained in:
parent
8243d38270
commit
e48b65b14c
109 changed files with 1493 additions and 10360 deletions
28
apps/blog/src/styles/global.scss
Normal file
28
apps/blog/src/styles/global.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
html,
|
||||
body,
|
||||
#root {
|
||||
/* style */
|
||||
|
||||
@apply flex flex-col;
|
||||
|
||||
/* spacing */
|
||||
|
||||
@apply m-0 min-h-screen;
|
||||
|
||||
/* text */
|
||||
|
||||
@apply font-noto-sans text-base font-normal leading-8 antialiased;
|
||||
|
||||
/* color */
|
||||
|
||||
@apply bg-light-ui-bg fill-light-text-default text-light-text-default dark:bg-dark-ui-bg dark:fill-dark-text-default dark:text-dark-text-default;
|
||||
}
|
||||
|
||||
* {
|
||||
/* transitions */
|
||||
transition: background-color 0.1s, transform 0.1s;
|
||||
|
||||
/* scrolling */
|
||||
|
||||
@apply scroll-m-16 scroll-smooth;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue