petal init
This commit is contained in:
parent
81a9f68a22
commit
978de52a09
11 changed files with 103 additions and 35 deletions
|
@ -1,4 +1,13 @@
|
|||
/* This file is for your main application CSS */
|
||||
/* Import tailwind - with postcss-import installed */
|
||||
@import "tailwindcss/base";
|
||||
@import "tailwindcss/components";
|
||||
@import "tailwindcss/utilities";
|
||||
|
||||
/* custom styles - put after base imports! */
|
||||
@import "./custom-styles.css";
|
||||
/* import custom components */
|
||||
@import "./components/buttons.css";
|
||||
/* default phoenix styles - eventually remove */
|
||||
@import "./phoenix.css";
|
||||
|
||||
/* Alerts and form errors used by phx.new */
|
||||
|
|
8
assets/css/components/buttons.css
Normal file
8
assets/css/components/buttons.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
@layer components {
|
||||
.btn-redish {
|
||||
@apply bg-red-300 hover:bg-red-600 text-blue-800 font-bold py-2 px-4 rounded;
|
||||
}
|
||||
.btn-greenish {
|
||||
@apply bg-green-300 hover:bg-green-600 text-blue-800 font-bold py-2 px-4 rounded;
|
||||
}
|
||||
}
|
0
assets/css/custom-styles.css
Normal file
0
assets/css/custom-styles.css
Normal file
Loading…
Add table
Add a link
Reference in a new issue