Files
talk/src/core/client/admin/components/NotAvailable.tsx
T
Nick Funk 5c863f1307 [CORL-1155] Fix theming for rebranded stream/admin (#3012)
* Repair theming and CSS variables for the rebrand

This separates the CSS variables into three sections
for admin, stream, as well as a shared set between
them.

This also adds injection of the raw colours from the
design team into post css variables.

Lastly, this re-maps the existing theme variables to
a new consolidated set with fallbacks for compatibility.

Since this is a singular commit from various WIP commits,
I am crediting @cvle as well as myself for this work.

Thank you all who helped make this rebrand with theming
possible!

CORL-1155

Co-authored-by: Chi Vinh Le <vinh@vinh.tech>

* Convert old css variables in CallOut

* Rename postive/negative => success/error

CORL-1155

* Change some CSS Variable names

* fix TextField/PasswordField colors

Co-authored-by: Chi Vinh Le <vinh@vinh.tech>
2020-07-15 18:20:25 +00:00

15 lines
423 B
TypeScript

import { Localized } from "@fluent/react/compat";
import React, { FunctionComponent } from "react";
import styles from "./NotAvailable.css";
// TODO: (cvle) remove color styles from here. Color should be applied externally.
const NotAvailable: FunctionComponent = (props) => (
<Localized id="general-notAvailable">
<span className={styles.root}>Not available</span>
</Localized>
);
export default NotAvailable;