feat: add tailwind
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2fe5b49728
commit
74ed1bbbc2
|
@ -1,6 +1,4 @@
|
||||||
.idea/
|
.idea/
|
||||||
node_modules/
|
node_modules/
|
||||||
static/styles/main.css
|
static/css/*.css
|
||||||
static/styles/main*.css
|
|
||||||
static/styles/main.css.map
|
|
||||||
dist/
|
dist/
|
||||||
|
|
|
@ -54,9 +54,9 @@
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
|
||||||
{{ $siteBaseURL := .Site.BaseURL }}
|
{{ $siteBaseURL := .Site.BaseURL }}
|
||||||
{{ $styleFolder := "./themes/vikunja/static/styles" }}
|
{{ $styleFolder := "./themes/vikunja/static/css" }}
|
||||||
{{ range readDir $styleFolder }}
|
{{ range readDir $styleFolder }}
|
||||||
<link rel="stylesheet" href="{{ $siteBaseURL }}styles/{{ .Name }}">
|
<link rel="stylesheet" href="{{ $siteBaseURL }}css/{{ .Name }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">
|
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">
|
||||||
|
|
22
package.json
22
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "vikunja-theme",
|
"name": "vikunja-theme",
|
||||||
"version": "0.2.0",
|
"version": "1.0.0",
|
||||||
"description": "A Hugo theme that gets used within all of our websites.",
|
"description": "A Hugo theme that gets used within all of our websites.",
|
||||||
"license": "LGPL-3.0-or-later",
|
"license": "LGPL-3.0-or-later",
|
||||||
"author": {
|
"author": {
|
||||||
|
@ -8,23 +8,11 @@
|
||||||
"email": "team@vikunja.io"
|
"email": "team@vikunja.io"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "gulp clean",
|
"prod": "tailwindcss -i src/style.css -o static/css/styles.css",
|
||||||
"build": "gulp prod",
|
"watch": "tailwindcss -i src/style.css -o static/css/styles.css --watch"
|
||||||
"release": "gulp release",
|
|
||||||
"watch": "gulp watch"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"bulma": "^0.7.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "^3.9.1",
|
"postcss": "^8.4.5",
|
||||||
"gulp-clean": "^0.3.2",
|
"tailwindcss": "^3.0.17"
|
||||||
"gulp-clean-css": "^4.2.0",
|
|
||||||
"gulp-gzip": "^1.4.0",
|
|
||||||
"gulp-hash-filename": "^2.0.1",
|
|
||||||
"gulp-replace": "^1.0.0",
|
|
||||||
"gulp-sass": "^3.1.0",
|
|
||||||
"gulp-sourcemaps": "^1.9.1",
|
|
||||||
"gulp-tar-path": "^1.0.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
|
@ -0,0 +1,10 @@
|
||||||
|
module.exports = {
|
||||||
|
content: [
|
||||||
|
'./src/*.css',
|
||||||
|
'./layouts/**/*.html'
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
Loading…
Reference in New Issue