Files
react/packages/react-devtools-shared/src/devtools/views/UnsupportedBridgeProtocolDialog.css
Brian Vaughn 8e2bb3e89c DevTools: Add Bridge protocol version backend/frontend (#21331)
Add an explicit Bridge protocol version to the frontend and backend components as well as a check during initialization to ensure that both are compatible. If not, the frontend will display either upgrade or downgrade instructions.

Note that only the `react-devtools-core` (React Native) and `react-devtools-inline` (Code Sandbox) packages implement this check. Browser extensions inject their own backend and so the check is unnecessary. (Arguably the `react-devtools-inline` check is also unlikely to be necessary _but_ has been added as an extra guard for use cases such as Replay.io.)
2021-04-27 17:26:07 -04:00

37 lines
689 B
CSS

.Column {
display: flex;
flex-direction: column;
}
.Title {
font-size: var(--font-size-sans-large);
margin-bottom: 0.5rem;
}
.ReleaseNotesLink {
color: var(--color-button-active);
}
.Version {
color: var(--color-bridge-version-number);
font-weight: bold;
}
.NpmCommand {
display: flex;
justify-content: space-between;
padding: 0.25rem 0.25rem 0.25rem 0.5rem;
background-color: var(--color-bridge-version-npm-background);
color: var(--color-bridge-version-npm-text);
margin: 0;
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace-large);
}
.Paragraph {
margin: 0.5rem 0;
}
.Link {
color: var(--color-link);
}