Commit f9c04049 authored by Ciarán Ainsworth's avatar Ciarán Ainsworth
Browse files

Fix linting

parent f69cafc8
Pipeline #22936 passed with stages
in 2 minutes and 9 seconds
{
"extends": "stylelint-config-standard-scss"
}
......@@ -5,14 +5,15 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "yarn stylelint $(find src -name '*.scss')"
"lint": "yarn stylelint $(find src -name '*.css')"
},
"devDependencies": {
"autoprefixer": "^10.4.8",
"highlight.js": "^11.4.0",
"postcss": "^8.4.16",
"stylelint": "^14.3.0",
"stylelint-config-standard-scss": "^3.0.0",
"postcss-import": "^14.1.0",
"stylelint": "^14.10.0",
"stylelint-config-tailwindcss": "^0.0.6",
"tailwindcss": "^3.1.8",
"vite": "^2.7.13"
},
......
module.exports = {
plugins: {
'postcss-import': {},
tailwindcss: {},
autoprefixer: {},
}
......
@layer base {
body {
@apply font-["Lato",_sans-serif] text-[14px] bg-white;
}
}
\ No newline at end of file
body {
@apply font-["Lato",_sans-serif] text-[14px] bg-white;
}
}
@import "./links.css";
@import "./body.css";
@import "./font.css";
\ No newline at end of file
@import "./font.css";
......@@ -14,6 +14,7 @@
.secondary.button {
@apply funkwhale-button border-0 bg-gray-200 disabled:bg-gray-100 disabled:text-gray-800 hover:bg-gray-300 active:bg-gray-400;
}
/* Destructive buttons */
.dangerous.button {
......
/*Base card*/
/* Base card */
@layer components {
.base-card {
......@@ -14,7 +14,7 @@
}
}
/*Documentation card*/
/* Documentation card */
@layer components {
.documentation-card {
......@@ -22,7 +22,7 @@
}
}
/*Call to Action card*/
/* Call to Action card */
@layer components {
.cta-card {
......@@ -42,7 +42,7 @@
}
}
/*Benefit card*/
/* Benefit card */
@layer components {
.benefit-card {
......@@ -62,7 +62,7 @@
}
}
/*Link card*/
/* Link card */
@layer components {
.link-card {
......@@ -78,7 +78,7 @@
}
}
/*Category card*/
/* Category card */
@layer components {
.category-card {
......@@ -90,7 +90,7 @@
}
}
/*Audio card*/
/* Audio card */
@layer components {
.audio-card {
......@@ -142,7 +142,7 @@
}
}
/*Artist card*/
/* Artist card */
@layer components {
.artist-card {
......@@ -154,7 +154,7 @@
}
}
/*Album card*/
/* Album card */
@layer components {
.album-card {
......@@ -166,7 +166,7 @@
}
}
/*Podcast card*/
/* Podcast card */
@layer components {
.podcast-card {
......@@ -178,7 +178,7 @@
}
}
/*Playlist card*/
/* Playlist card */
@layer components {
.playlist-card {
......
@layer components {
.funkwhale-tag {
@apply items-center inline-flex justify-center leading-normal px-3 whitespace-nowrap bg-gray-200 w-auto font-normal text-gray-800 h-8 no-underline text-base rounded-full;
.funkwhale-tag {
@apply items-center inline-flex justify-center leading-normal px-3 whitespace-nowrap bg-gray-200 w-auto font-normal text-gray-800 h-8 no-underline text-base rounded-full;
}
a.funkwhale-tag {
@apply no-underline text-gray-800 hover:underline;
@apply no-underline text-gray-800 hover:underline;
}
}
@layer components {
.funkwhale-pill {
@apply funkwhale-tag align-middle
}
.funkwhale-pill {
@apply funkwhale-tag align-middle
.funkwhale-pill > img {
@apply rounded-full inline-block h-full -ml-3 mr-2
}
}
.funkwhale-pill > img {
@apply rounded-full inline-block h-full -ml-3 mr-2
}
}
......@@ -2,4 +2,4 @@
@import "./FunkwhalePagination.css";
@import "./FunkwhaleInput.css";
@import "./FunkwhaleButton.css";
@import "./FunkwhaleCard.css";
\ No newline at end of file
@import "./FunkwhaleCard.css";
@import "tailwindcss/base";
@import "../base/index.css";
@import "tailwindcss/utilities";
@import "../utilities/index.css";
@import "tailwindcss/components";
@import "../base/index.css";
@import "../utilities/index.css";
@import "../components/index.css";
@import "./background.css";
\ No newline at end of file
@import "./background.css";
module.exports = {
extends: ['stylelint-config-tailwindcss'],
rules: {
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'tailwind',
'apply',
'variants',
'responsive',
'screen',
'layer',
],
},
],
'declaration-block-trailing-semicolon': null,
'no-descending-specificity': null,
},
}
\ No newline at end of file
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment