mirror of
https://github.com/wassname/talk.git
synced 2026-06-27 16:32:15 +08:00
5c863f1307
* 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>
15 lines
423 B
TypeScript
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;
|