Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@bbc/gel-foundations-styled-components
Advanced tools
A collection of styled component implementations based on BBC GEL guidelines.
This package is a collection of styled component implementations based on BBC GEL guidelines which can be imported into your application.
npm install @bbc/gel-foundations-styled-components --save
import { GEL_BREVIER } from '@bbc/gel-foundations-styled-components/typography';
To allow the typography to be fully accessible and responsive, please note that you should apply a default font-size to the document root (e.g. html { font-size: 100% }
).
Our typography uses em
for font-size and rem
for line-height. em
allows modularity of components: you can change the component font-size by changing the font-size of its container. rem
is relative to the document root, so we use that for line-height and spacing for a consistent look-and-feel across the document. You can read our detailed analysis of "REMs vs EMs for spacing" for more information.
/typography
- GEL typography. These are based on the gel typography standard which can be found in the GEL guidelines.
Psammead is completely open source. We are grateful for any contributions, whether they be new components, bug fixes or general improvements. Please see our primary contributing guide which can be found at the root of the Psammead respository.
We welcome feedback and help on this work. By participating in this project, you agree to abide by the code of conduct. Please take a moment to read it.
Psammead is Apache 2.0 licensed.
FAQs
Deprecated in favour of @bbc/gel-foundations
The npm package @bbc/gel-foundations-styled-components receives a total of 9 weekly downloads. As such, @bbc/gel-foundations-styled-components popularity was classified as not popular.
We found that @bbc/gel-foundations-styled-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.