Skip to content

Commit

Permalink
fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey committed Oct 28, 2024
1 parent e0eeb31 commit 01811a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
21 changes: 12 additions & 9 deletions dashboard-ui/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
import kubetailUIPlugin from '@kubetail/ui/plugin';
import fancyAnsiPlugin from 'fancy-ansi/plugin';

/** @type {import('tailwindcss').Config} */
module.exports = {
export default {
content: [
'./src/**/*.{ts,tsx}',
'./node_modules/@kubetail/ui/**/*.js',
],
],
plugins: [
require('@kubetail/ui/plugin'),
require('fancy-ansi/plugin')
kubetailUIPlugin,
fancyAnsiPlugin,
],
theme: {
extend: {
keyframes: {
'flash-bg-green': {
'0%': { backgroundColor: '#bbf7d0' }, // green
'100%': { backgroundColor: 'transparent' }, // transparent
}
},
},
animation: {
'flash-bg-green': 'flash-bg-green 1s ease-in-out',
}
}
}
}
},
},
},
};
3 changes: 2 additions & 1 deletion dashboard-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
]
},
"include": [
"src"
"src",
"tailwind.config.ts"
],
"references": [{ "path": "./tsconfig.node.json" }]
}

0 comments on commit 01811a0

Please sign in to comment.