Frontend: Deleted tailwind dependency.
This commit is contained in:
parent
7ffca953c6
commit
28fac9c157
7 changed files with 16 additions and 1015 deletions
980
frontend/package-lock.json
generated
980
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "curriculum-vitae",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -12,13 +12,7 @@
|
||||||
"@sveltejs/kit": "^1.20.4",
|
"@sveltejs/kit": "^1.20.4",
|
||||||
"svelte": "^4.0.5",
|
"svelte": "^4.0.5",
|
||||||
"vite": "^4.4.2",
|
"vite": "^4.4.2",
|
||||||
"postcss": "8.4.31",
|
"autoprefixer": "10.4.16"
|
||||||
"autoprefixer": "10.4.16",
|
|
||||||
"tailwindcss": "3.3.5",
|
|
||||||
"@skeletonlabs/skeleton": "2.5.0",
|
|
||||||
"@skeletonlabs/tw-plugin": "0.2.4",
|
|
||||||
"vite-plugin-tailwind-purgecss": "0.1.3",
|
|
||||||
"@tailwindcss/forms": "0.5.7"
|
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
|
@ -1,6 +0,0 @@
|
||||||
module.exports = {
|
|
||||||
plugins: {
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
}
|
|
6
frontend/src/lib/cv.css
Normal file
6
frontend/src/lib/cv.css
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
body, html {
|
||||||
|
height: 100%;
|
||||||
|
background: white;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { processData } from '$lib/processdata.js';
|
import { processData } from '$lib/processdata.js';
|
||||||
|
import '$lib/cv.css';
|
||||||
export let data;
|
export let data;
|
||||||
let cv = processData(data);
|
let cv = processData(data);
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
import { join } from 'path'
|
|
||||||
|
|
||||||
import forms from '@tailwindcss/forms';
|
|
||||||
import { skeleton } from '@skeletonlabs/tw-plugin'
|
|
||||||
|
|
||||||
export default {
|
|
||||||
darkMode: 'class',
|
|
||||||
content: ['./src/**/*.{html,js,svelte,ts}', join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')],
|
|
||||||
theme: {
|
|
||||||
extend: {},
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
forms,
|
|
||||||
skeleton({
|
|
||||||
themes: {
|
|
||||||
preset: [
|
|
||||||
{
|
|
||||||
name: 'crimson',
|
|
||||||
enhancements: true,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
};
|
|
|
@ -1,7 +1,6 @@
|
||||||
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
|
||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [sveltekit(), purgeCss()]
|
plugins: [sveltekit()]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue