mirror of
https://github.com/pockethost/pockethost.git
synced 2025-09-13 04:00:11 +00:00

* Refactor blog posts and enhance UI components - Removed titles from md blog posts and show them as title - Updated the layout of the documentation sidebar to include a blurred background. - Improved the styling of the login and registration forms for better user experience. - Enhanced the pricing page layout and card designs for clarity and visual appeal. - Added a blurred background component to several pages for a modern aesthetic. - Updated the Navbar and footer with new links and improved styling. - Introduced new color themes in Tailwind configuration for better branding. - Added new images for the PocketHost logo and promotional materials. * refactor(Splash): remove redundant sections and improve layout * fix(login): center InstanceGeneratorWidget within the container * Latest update * fix(blog): Improve visibility * fix(NavbarMenu): Adjust dropdown z-index for better visibility * fix(Creator): Update cancel button link to redirect to dashboard instead of Splash * feat(InstanceList): add search, filter and sorting * fix(Main): z index and styling issues * fix(InstanceList): power on should be first when sorting * enh(InstanceList): display cname if defined, and allow search by cname * style(404): update UI to match other pages * style(LoggingInner): update styles to match color palette * style(Paywall): missing top padding * style(versionPage): change width to match other pages * fix(InstancesLayout): fix logs UI overflow * style(docsSideBar): Separate scroll between sidebar and content, also stick sidebar to top * style(docsSidebar): fix weird pad in menu-title * clean(blog): remove some comment code * enh(blog): add article name to title in head * feat(footer): add link to / from footer * style(promoBanner): fix padding on mobile * style(dashboard): make mobile friendly * enh(instances): close sideBar on a link click * fix(InstanceList): fix performance issues on mobile (lag) * feat(InstanceList): add asc and desc sorting * fix(InstanceList): add tabIndex to sortDirection * style(prose): fix margin on terms and privacy policy * style(InstanceList): fix pad * style(InstancePages): fix content overflow on multiple pages * style(docs); make sidebar mobile friendly * fix(sideBar): bug with svelte * fix(InstanceList): make asc sort default * fix(NavBar): remove dashboard link on > md * style(AlertBar): improve styles * style(splash): simple landing page * fix(mobile): fix small bugs in mobile * fix(InstanceList): asc and desc icon mixed * style(Logs): add mono font to logs * fix(Splash): add more decimal points to uptime * style(Logs): add mono font to fullscreen logs * fix(Splash): cta retriggers the animation on hover * fix(InstanceList): cards had toomuch gap when search * style(Instance Sidebar): match px with head * style(footer): move elements closer on md * style(blogFooter): update colors to match design * fix(Splash): swap gh with shields due to rate limit --------- Co-authored-by: Ben Allfree <ben@benallfree.com>
64 lines
1.4 KiB
JavaScript
64 lines
1.4 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: ['./src/**/*.{svelte,js,ts,md}'],
|
|
safelist: [
|
|
'lg:pl-72',
|
|
{
|
|
pattern: /(toggle|text|bg)-(error|success|warning|red-500)/,
|
|
variants: ['responsive', 'hover'],
|
|
},
|
|
{
|
|
pattern: /size-.*/,
|
|
},
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
primary: '#3532b9',
|
|
secondary: '#92a3ff',
|
|
light:'#3a37ca'
|
|
},
|
|
animation: {
|
|
text: 'text 5s ease infinite',
|
|
},
|
|
keyframes: {
|
|
text: {
|
|
'0%, 100%': {
|
|
'background-size': '200% 200%',
|
|
'background-position': 'left center',
|
|
},
|
|
'50%': {
|
|
'background-size': '200% 200%',
|
|
'background-position': 'right center',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
daisyui: {
|
|
themes: [
|
|
'light',
|
|
'dark',
|
|
{
|
|
// Custom theme definitions
|
|
dark: {
|
|
...require('daisyui/src/theming/themes')['dark'],
|
|
primary: '#1eb854',
|
|
secondary: '#1db990',
|
|
'base-content': '#ffffff',
|
|
},
|
|
},
|
|
{
|
|
// Custom theme definitions
|
|
light: {
|
|
...require('daisyui/src/theming/themes')['light'],
|
|
primary: '#1eb854',
|
|
secondary: '#1db990',
|
|
'base-content': '#222',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
plugins: [require('@tailwindcss/typography'), require('daisyui')],
|
|
}
|