Добавил псевдоним для папки src/
, Избавился от относительных путей в app.css, Сделал класс фона общим
This commit is contained in:
parent
0cf4e73755
commit
b78c917ddf
3 changed files with 9 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@plugin "@tailwindcss/typography";
|
@plugin "@tailwindcss/typography";
|
||||||
@config "../tailwind.config.ts";
|
@config "$src/../tailwind.config.ts";
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Lineyka';
|
font-family: 'Lineyka';
|
||||||
|
@ -30,3 +30,7 @@
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-background {
|
||||||
|
@apply bg-[url('/common/background-day.webp')] dark:bg-[url('/common/background-night.webp')] bg-cover bg-fixed;
|
||||||
|
}
|
|
@ -138,13 +138,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import "tailwindcss";
|
@import "$src/app.css";
|
||||||
@plugin "@tailwindcss/typography";
|
|
||||||
@config "../../tailwind.config.ts";
|
|
||||||
|
|
||||||
.hero-background {
|
|
||||||
@apply bg-[url('/common/background-day.webp')] dark:bg-[url('/common/background-night.webp')] bg-cover bg-fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
section > h1 {
|
section > h1 {
|
||||||
@apply font-disket mb-4 text-2xl font-bold sm:text-4xl;
|
@apply font-disket mb-4 text-2xl font-bold sm:text-4xl;
|
||||||
|
|
|
@ -26,6 +26,9 @@ const config = {
|
||||||
handleMissingId: ({ event, resolve }) => {
|
handleMissingId: ({ event, resolve }) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
alias: {
|
||||||
|
$src: "src/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
extensions: ['.svelte', '.md'],
|
extensions: ['.svelte', '.md'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue