Skip to content

Commit

Permalink
update tailwind config, deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Austionian committed Mar 25, 2024
1 parent 70b32fb commit 28db57b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 39 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
h1 {
font-size: 2rem;
font-weight: bolder;
margin-bottom: 2rem;
}

@media screen and (min-width: 640px) {
Expand Down
34 changes: 0 additions & 34 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,5 @@
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
const colors = require("tailwindcss/colors");

module.exports = {
content: ["./templates/**/*.{html,js}"],
theme: {
extend: {
colors: {
primary: colors.slate,
secondary: {
200: "#93BEFF",
300: "#93BEFF",
400: "#2D7EF9",
500: "#0f6fff",
600: "#0f6fff",
},
},
textShadow: {
sm: "0 1px 2px var(--tw-shadow-color)",
DEFAULT: "0 2px 4px var(--tw-shadow-color)",
lg: "0 8px 16px var(--tw-shadow-color)",
},
},
},
plugins: [
require("@tailwindcss/typography"),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-shadow": (value) => ({
textShadow: value,
}),
},
{ values: theme("textShadow") },
);
}),
],
};
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %} {% block body %}
<div>
<div class="flex align-middle justify-center w-screen mt-32">
<h1>Welcome to {{ title }}!</h1>
</div>
{% endblock %}

0 comments on commit 28db57b

Please sign in to comment.