Daniël van der Winden
e3b99a77da
Updated font weights for Inter
2024-10-23 09:23:13 +04:00
Daniël van der Winden
73aceeabeb
Updated font weights for Fira Sans and Poppins
2024-10-23 09:23:13 +04:00
Aileen Booker
2d36fab089
Fixed linting error and removed done todos
2024-10-23 09:23:13 +04:00
Sodbileg Gansukh
50760765db
Updated post content heading selector
2024-10-23 09:23:13 +04:00
Aileen Booker
60a9c00663
Added tests for ghost_head to verify custom fonts CSS output
2024-10-23 09:23:12 +04:00
Fabien O'Carroll
d0afa2d0a1
Put the new custom font settings behind a feature flag
2024-10-23 09:23:12 +04:00
Fabien O'Carroll
bf738e2ea5
Added new BehindFeatureFlag component
...
This can be used to hide UI based on feature flags
2024-10-23 09:23:12 +04:00
Fabien O'Carroll
0b3b59fb1e
Fixed types for custom fonts
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
08b3d872f7
Removed important rule from the injected css
2024-10-23 09:23:12 +04:00
Fabien O'Carroll
4c8d193912
Put custom font css injection behind labs flag
2024-10-23 09:23:12 +04:00
Fabien O'Carroll
7d893aa8f7
Added customFonts
labs flag
2024-10-23 09:23:12 +04:00
Aileen Booker
0c4aaecf73
Fixed broken types and tests for custom-fonts
2024-10-23 09:23:12 +04:00
Sanne de Vries
4fa3589e06
Updated custom font list
2024-10-23 09:23:12 +04:00
Peter Zimon
9c9cffdd10
Updated theme icon in sidebar
2024-10-23 09:23:12 +04:00
Sanne de Vries
a0923a6531
Fixed merge conflict
2024-10-23 09:23:12 +04:00
Aileen Booker
f966e91451
Added unit tests to custom-fonts module
2024-10-23 09:23:12 +04:00
Aileen Booker
e1d0c286aa
Added jsdoc types to ghost_head for custom fonts
2024-10-23 09:23:12 +04:00
Sanne de Vries
7725d78670
Regrouped design setting tabs
...
REF DES-831
- Changed tabs from `Brand`, `Site wide`, `Homepage` and `Post` to `Global` and `Theme settings`.
- Added `Site wide`, `Homepage` and `Post` grouping inside the `Theme settings` tab.
2024-10-23 09:23:12 +04:00
Aileen Booker
4bf7b86ef4
Updated types so we only have to set 'Theme default' in one place
2024-10-23 09:23:12 +04:00
Aileen Booker
57c02bd6b2
Fixed CSS not being injected after save
2024-10-23 09:23:12 +04:00
Aileen Booker
52554ac7ca
Added missing heading fonts to body fonts
2024-10-23 09:23:12 +04:00
Aileen Booker
17a2fbc7e4
Added types and and validations to separate body and heading fonts
2024-10-23 09:23:12 +04:00
Aileen Booker
ecc5b4c475
Ensure to use previewed fonts to inject CSS in ghost_head
instead of settingsCache
2024-10-23 09:23:12 +04:00
Sanne de Vries
e7f57ddbb5
Added active theme info to theme settings
...
REF DES-829
2024-10-23 09:23:12 +04:00
Sanne de Vries
8a32af8ea8
Added image to top-level design settings
...
REF DES-829
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
35cc134523
Refactored generateCustomFontCss() function
...
- the function now accepts an object parameter that contains heading and body properties
- when heading and body fonts are same, they are only imported once
2024-10-23 09:23:12 +04:00
Aileen Booker
6a7b99e212
First pass towards including custom fonts in theme preview
2024-10-23 09:23:12 +04:00
Peter Zimon
41579cea1a
Updated design settings design
2024-10-23 09:23:12 +04:00
Peter Zimon
8b7f40fb70
Added DEFAULT_FONT
2024-10-23 09:23:12 +04:00
Peter Zimon
e09e17f4e6
Updated design settings order
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
103c734aec
Updated heading and body selector
2024-10-23 09:23:12 +04:00
Aileen Booker
bbcab4696c
Properly unset custom font and offer theme defaults as default
2024-10-23 09:23:12 +04:00
Peter Zimon
9e552da8d8
Removed change theme from brand for real
2024-10-23 09:23:12 +04:00
Aileen Booker
09471153ef
First pass on unsetting custom fonts
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
c190ba8d31
Added heading font selector
...
- the importStrings are now objects, so we can introduce default values for things like size, length, and height
- generateCustomFontCss function now accepts addition parameter called element, which has a type of heading | body
2024-10-23 09:23:12 +04:00
Peter Zimon
598c27c7cb
Moved themes out of design settings
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
0a1d5fe4b7
Added missing semicolon
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
5e36dfe4ab
Updated the list of fonts in the custom fonts module
2024-10-23 09:23:12 +04:00
Aileen Booker
39b56ec2ef
Provided esm and commonjs modules for @tryghost/custom-fonts
2024-10-23 09:23:12 +04:00
Sodbileg Gansukh
2e35cf624c
Added heading font option
...
- added new heading font setting
- renamed paragraph font to body font
- updated the list of fonts
- added theme default option to the font selector
2024-10-23 09:23:12 +04:00
Aileen Booker
f79b230690
Added @tryghost/custom-fonts module
2024-10-23 09:23:12 +04:00
Fabien O'Carroll
737cf35e71
wip
2024-10-23 09:23:12 +04:00
Ronald Langeveld
1e8bb253bf
Added Best Comment to top of API output ( #21374 )
...
ref PLG-220
- Added the ability to move the Best comment to the first entry when
order=best is passed as params.
2024-10-23 09:48:16 +09:00
Michael Barrett
1b468f333b
Added buttons to show more data on profile in admin-x-activitypub ( #21373 )
...
no refs
2024-10-22 21:29:46 +01:00
Djordje Vlaisavljevic
26133095ea
Added excerpt to Ghost posts
...
ref https://linear.app/ghost/issue/AP-124/view-full-article
2024-10-22 21:02:42 +01:00
Djordje Vlaisavljevic
773ce016b0
Made Following
button disabled
...
ref https://linear.app/ghost/issue/AP-501/updated-suggested-users
2024-10-22 21:02:42 +01:00
Djordje Vlaisavljevic
36d15a4b40
Updated suggested users list
...
ref https://linear.app/ghost/issue/AP-501/updated-suggested-users
2024-10-22 21:02:42 +01:00
Michael Barrett
63afb15356
Added button to show more followers on profile in admin-x-activitypub ( #21371 )
...
no refs
2024-10-22 20:56:14 +01:00
Michael Barrett
e9914d8fe5
Fixed followers list on profile in admin-x-activitypub app ( #21370 )
...
refs
[AP-489](https://linear.app/ghost/issue/AP-489/followers-showing-unknown-on-user-profile )
Fixed the followers list on profile in admin-x-activitypub app by
utilising a custom endpoint to fetch a list of expanded followers
seeming though the followers endpoint only returns follower id's
2024-10-22 20:21:12 +01:00
Michael Barrett
b9768f99e9
Added posts to the user profile in admin-x-activitypub ( #21369 )
...
refs
[AP-484](https://linear.app/ghost/issue/AP-484/render-posts-on-user-profile )
Added posts to the user profile in admin-x-activitypub
2024-10-22 19:54:05 +01:00