![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.
@adapt-design-system/core
Advanced tools
React components that implement ADAPT Design System.
yarn add @adapt-design-system/core @emotion/react
<AdaptThemeProvider />
with a theme file and set the global fonts.import { Global, css, useTheme } from '@emotion/react';
import { AdaptThemeProvider, Button } from '@adapt-design-system/core';
const theme = useTheme();
const App = () => (
<AdaptThemeProvider>
<>
<Global
styles={css`
body {
font-family: ${theme.fonts.default};
color: ${theme.colors.text};
}
@font-face {
font-family: 'Graphik';
src: url('/Graphik-Regular-Web.woff2') format('woff2');
font-style: normal;
font-weight: 400;
font-display: fallback;
}
@font-face {
font-family: 'Graphik';
src: url('/Graphik-Semibold-Web.woff2') format('woff2');
font-style: normal;
font-weight: 600;
font-display: fallback;
}
`}
/>
<Button>Hi!</Button>
</>
</AdaptThemeProvider>
);
/packages/adapt-design-system-core
folder).yarn install
yarn run build:watch
The build will re-run every time you save changes. Alternatively you can run yarn run build
each time you wish to build.
To test out your changes to the DS locally, run npm link
in this repo directory to link it locally. Then, in your new consumer project (Gatsby, for example*) run yarn add @adapt-design-system/core
(if it's never been installed), then run npm link @adapt-design-system/core
to link it to the local version. If you're running the design system the build:watch
mode, your project should reload every time you save a change to the DS.
To publish a new version run yarn publish-package
. If you introduce a breaking change, bump the major version (2.0.3 -> 3.0.0). If you add new (non-breaking) functionality bump the minor version (2.0.3 -> 2.1.0). Otherwise bump patch when adding new icons (2.0.3 -> 2.0.4). You will be asked for a new version.
Don't forget to upgrade the consuming packages, in this case /docs
, to make use of the new version. Like so:
yarn upgrade @adapt-design-system/core@^2.0.4
FAQs
ADAPT Design System for React
The npm package @adapt-design-system/core receives a total of 0 weekly downloads. As such, @adapt-design-system/core popularity was classified as not popular.
We found that @adapt-design-system/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
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.