How to use the @dhis2/ui-core.colors.grey800 function in @dhis2/ui-core

To help you get started, we’ve selected a few @dhis2/ui-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dhis2 / dashboards-app / src / components / Item / MessagesItem / Item.js View on Github external
const style = {
    list: {
        listStyleType: 'none',
        paddingLeft: '0px',
    },
    seeAll: {
        textAlign: 'center',
        fontSize: '13px',
        marginBottom: '5px',
    },
    sender: {
        fontSize: '13px',
        lineHeight: '15px',
        margin: 0,
        color: colors.grey800,
    },
    snippet: {
        color: colors.grey800,
        fontSize: '13px',
        lineHeight: '15px',
        maxHeight: '30px',
        overflow: 'hidden',
    },
};

class MessagesItem extends Component {
    state = {
        uiLocale: '',
    };

    async componentDidMount() {
github dhis2 / dashboards-app / src / icons / Clear.js View on Github external
const ClearIcon = ({ className }) => (
    <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="{colors.grey800}">
        <path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path>
        <path fill="none" d="M0 0h24v24H0z"></path>
    </svg>
);
github dhis2 / dashboards-app / src / components / TitleBar / TitleBar.js View on Github external
import EditTitleBar from './EditTitleBar';
import ViewTitleBar from './ViewTitleBar';

import './TitleBar.css';

const style = {
    title: {
        position: 'relative',
        fontSize: 21,
        fontWeight: 500,
        color: colors.black,
        minWidth: 50,
    },
    description: {
        fontSize: 14,
        color: colors.grey800,
    },
};

const TitleBar = ({ edit }) =&gt; {
    return (
        <div style="{{">
            {edit ? (
                
            ) : (
                
            )}</div>
github dhis2 / dashboards-app / src / components / Item / MessagesItem / Item.js View on Github external
listStyleType: 'none',
        paddingLeft: '0px',
    },
    seeAll: {
        textAlign: 'center',
        fontSize: '13px',
        marginBottom: '5px',
    },
    sender: {
        fontSize: '13px',
        lineHeight: '15px',
        margin: 0,
        color: colors.grey800,
    },
    snippet: {
        color: colors.grey800,
        fontSize: '13px',
        lineHeight: '15px',
        maxHeight: '30px',
        overflow: 'hidden',
    },
};

class MessagesItem extends Component {
    state = {
        uiLocale: '',
    };

    async componentDidMount() {
        const uiLocale = await this.context.d2.currentUser.userSettings.get(
            'keyUiLocale'
        );