![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
crema-react-ui
Advanced tools
The theme consists of all project specific units, colors, font-sizes, etc. that determine the visual properties of the UI.
Example theme definition:
const theme = {
platform: 'native', // web, native
color: {
primary: 'teal',
secondary: 'orange',
tertiary: 'slateGray',
highlight: 'limeGreen',
},
borderWidth: {
1: 1,
2: 3,
3: 6,
},
spacing: {
1: 2,
2: 4,
3: 8,
4: 12,
5: 16,
6: 20,
7: 24,
8: 28,
9: 32,
10: 36,
},
fontSize: {
1: 12,
2: 14,
3: 16,
4: 18,
5: 20,
6: 22,
},
fontWeight: {
1: 200,
2: 400,
3: 600,
},
}
Each component is built from theme aware primitives:
Box
is the base UI component. For the most part, it is a thin abstraction over the native View
or div
. This allows for a standard cross-platform API that ties directly into a standard theme structure while providing some conveniences (e.g. theme based spacing of child elements)
backgroundColor
[theme.color]borderColor
[theme.color]borderWidth
[theme.borderWidth]borderRadius
[theme.radius]margin
[theme.spacing]opacity
[theme.opacity]padding
[theme.spacing]spacing
[theme.spacing]childLayout
['col', 'row'] default 'col'childAlign
['start', 'end', 'center', 'stretch'] default 'stretch'childWrap
['wrap', 'nowrap'] default 'nowrap'childJustify
['start', 'end', 'center', 'space-between', 'space-around'] default 'start'Accepts all standard properties of View
https://facebook.github.io/react-native/docs/view.html
FAQs
## Theme
The npm package crema-react-ui receives a total of 0 weekly downloads. As such, crema-react-ui popularity was classified as not popular.
We found that crema-react-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.