Open benjaminrancourt opened 7 months ago
In fact, using the following configuration, I think there would be 15 CSS classes to fix if I'm not mistaken.
{
"config": {
"card_assets": {
"exclude": [
"callout"
]
}
}
}
Checking theme compatibility...
Your theme has 15 warnings!
--------
Warnings
--------
- Warning: The .kg-callout-card-emoji CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-text CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-grey CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-white CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-blue CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-green CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-yellow CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-red CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-pink CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-purple CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-callout-card-background-accent CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-nft-logo CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-video-thumbnail CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-video-thumbnail.placeholder CSS class is required to appear styled in your theme
Affected Files: styles
- Warning: The .kg-video-title CSS class is required to appear styled in your theme
Affected Files: styles
References:
In my Ghost theme, I disabled the generation of
callout
cards as I made my own CSS implementation for this component.However, by doing this,
gscan
gives me several warnings despite the fact that I am using exactly the same classes as the current implementation ofkg-callout-card
.Is it possible that we should update the CSS classes in the v4.js file to match the current implementation? If so, let me know, I can probably do this fix if you want.