Commit b90a058
Themes (#580)
* theme's new model; new package: @courselit/page-primitives; a few widgets use primitives partially
* Deleted .yarn folder
* package rename: common-widgets to page-blocks; page blocks now use page primitives;
* Fixed hydration errors
* Page block's x/y padding based on theme now; Page switcher dropdown; Editor's left pane's header fixed; block hover overlay ui overhaul;
* The page blocks are fully ported to use page-primitives; page builder UI enhancements; Page switcher in page builder; page blocks picks the theme mostly (wip); the API returns default theme when no theme is set;
* lint fix
* working selection of fonts; typography with preview; interactives with previews (wip)
* theme > structure settings
* lint fix
* WIP: themes list
* Remove circular dependency between components-library and page-primitives
* Themes almost work (with a few bugs); New system themes; Cleaned up code;
* Fixed header navigation; Refactored default page template as per the classic theme; Email form removed from shared widget
* Github action fix
* Fixed Copilot warnings
* Upgrading pnpm version
* explicit typing
* Made the type generic
* Made the type generic
* added react import
* Added missing imports
* Fixed: redirection after login in app router based login page
* Better theme editing state management
* fixed border style not working in cards
* Merged section Y padding and vertical padding
* Re-designed neobrutalism theme; Fixed shadows
* buttonText property baked into the Theme model
* Theme are now based on ShadCN CSS variables; Removed CSS style props from page-blocks and page-primitives;
* Configurable Tailwind based shadows; Github Icon in header;
* Fixed theme save
* Refined themes; Better theme card click UX; Theme docs template; Renamed hover classes to custom classes in theme builder
* Docs for themes; Removed individual pages for page blocks
* Removed client side loading from public pages as much as possible
* Prettier fixes
* fixed font naming; padding migration; some safe side checks
* Prettier fixes
* Themes only apply to public pages, not pages inside dashboard.
* Updated the docs about themes application
* Prettier fix
* Prettier fix
* Fixed cards and text renderer styling
* Reverted to using div to set the min height
* Fixed: drawer not themed
* Fixed dark mode detection
* format fix
* Format fix
* CodeQL corrections
* Fixed blog styling
* Blog post is fetched on server side; Breadcrumb UI fix; featured image added back
* Communities page ported to use themes; Blog meta fixes; Promise.all usage;
* Fixed meta tags for page
* Fixed migration
* Applied border
* Added migrations instructions
---------
Co-authored-by: Rajat Saxena <hi@rajatsaxena.dev>1 parent 674e698 commit b90a058
575 files changed
Lines changed: 26279 additions & 16605 deletions
File tree
- .github/workflows
- .yarn
- cache
- versions
- apps
- docs
- public/assets/pages
- themes
- src
- pages/en
- pages
- website
- web
- .migrations
- app
- (with-contexts)
- (with-layout)
- blog
- [slug]/[id]
- checkout
- communities
- login
- products
- p/[id]
- dashboard
- (sidebar)
- my-content
- page/[id]
- verify-domain
- components
- admin/page-editor
- theme-editor
- community
- public
- __tests__
- base-layout
- template
- payments
- ui
- config
- graphql
- design
- pages
- settings
- themes
- hooks
- lib
- models
- pages
- blog/[slug]
- checkout
- p
- tag
- ui-config
- ui-lib
- ui-models
- docs
- packages
- common-models
- src
- state
- common-widgets
- src
- content
- faq
- featured
- grid/widget
- header/widget
- hero
- media
- pricing
- rich-text
- components-library
- src
- page-blocks
- __tests__
- src
- blocks
- banner
- admin-widget
- content
- email-form
- faq
- admin-widget
- featured
- grid
- admin-widget
- widget
- header
- admin-widget
- widget
- hero
- media
- pricing
- admin-widget
- rich-text
- components
- page-models
- src
- page-primitives
- src
- components/ui
- lib
- themes
- state-management
- src
- tailwind-config
- services
- app
- queue
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments