delphi.market/tailwind.config.js
ekzyis 845157c954 Add market form + page
* market form with question, description and end date
* markets cost 1k sats
* a goroutine polls pending invoices from the db and checks LND for their status
* markets are listed on front page (after paid)
* market page contains buttons to bet yes or no
* users have names now

TODO:
* show correct market percentage
* show how percentage changed over time in chart
* validate end date
* implement betting / order form
2024-08-24 02:35:15 -05:00

30 lines
565 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./server/router/pages/**/*.templ"],
theme: {
container: {
center: true,
padding: '1rem'
},
extend: {
colors: {
'background': '191d21',
'muted': '#6c757d',
},
},
},
plugins: [
function ({ addComponents }) {
addComponents({
'.container': {
'@screen lg': {
maxWidth: '768px',
},
'@screen xl': {
maxWidth: '768px',
},
}
})
}
],
}