Added TailwindCSS
This commit is contained in:
1 parent
b6058c32ec
commit
58744133d1
4 files changed
+235
-81
No files matched your search
+44
-1
@@ -5,7 +5,50 @@ module.exports = {
|
||||
"./public/**/*.{html,js}"
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
extend: {
|
||||
colors: {
|
||||
// Main brand colors from the CSS
|
||||
primary: '#38315f', // Purple color used for text and accents
|
||||
'primary-dark': '#2d274a', // Darker version for hover states
|
||||
'navbar-bg': '#e5fa70', // Navbar background
|
||||
'navbar-border': '#cddb60', // Navbar border
|
||||
'bg-light': '#f8f9fa', // Light background
|
||||
'bg-footer': '#e9ecef', // Footer background
|
||||
'text-default': '#343a40', // Default text color
|
||||
'text-muted': '#6c757d', // Muted/secondary text
|
||||
'text-title': '#212529', // Post title color
|
||||
'link-hover': '#ff6600', // Orange hover color for upvote arrows
|
||||
'rules-bg': '#eef6f6', // Rules box background
|
||||
'border-light': '#dee2e6', // Light borders
|
||||
},
|
||||
fontFamily: {
|
||||
sans: [
|
||||
'-apple-system',
|
||||
'BlinkMacSystemFont',
|
||||
'"Segoe UI"',
|
||||
'Roboto',
|
||||
'Helvetica',
|
||||
'Arial',
|
||||
'sans-serif',
|
||||
'"Apple Color Emoji"',
|
||||
'"Segoe UI Emoji"',
|
||||
'"Segoe UI Symbol"'
|
||||
],
|
||||
},
|
||||
fontSize: {
|
||||
'xs': '0.75rem', // Very small text (like "reply")
|
||||
'sm': '0.8rem', // Small text (like meta info)
|
||||
'md': '0.9rem', // Medium-small text (like rules box)
|
||||
'base': '1rem', // Base text size (like post titles)
|
||||
'lg': '1.2rem', // Section headers
|
||||
},
|
||||
spacing: {
|
||||
'navbar-height': '3.25rem', // Height of the navbar
|
||||
},
|
||||
boxShadow: {
|
||||
'card': '0 15px 30px rgba(0, 0, 0, 0.08)',
|
||||
}
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
Reference in new issue
Block a user