Skip to content

Commit

Permalink
chore: add Tailwind CSS configuration and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Armoghan-ul-Mohmin committed Oct 23, 2024
1 parent 92fa42b commit b393df3
Show file tree
Hide file tree
Showing 9 changed files with 1,970 additions and 73 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -446,3 +446,4 @@ $RECYCLE.BIN/

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

styles.css
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ package-lock.json
.prettierrc.cjs
.prettierignore
eslint.config.mjs
.flake8
.flake8
tailwind.config.js
postcss.config.js
3 changes: 3 additions & 0 deletions app/static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
2 changes: 1 addition & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
{% block head %}{% endblock %}
</head>
<body>
Expand Down
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export default [
"**/.eslintignore",
"**/.prettierrc.cjs",
"**/migrations/**",
"**/tailwind.config.js",
"**/postcss.config.js",
"**/tests/**",
],
},
Expand Down
Loading

0 comments on commit b393df3

Please sign in to comment.