Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

How to get Theme selected in Youtrack #4

@Kassan424kh

Description

@Kassan424kh

Hello JetBrains,

Can anyone help me, i try to change theme of my widget after use selected theme in youtrack, but i can not find any way to do this

const App = () => {
    return (
        <div>
            <ThemeContext.Provider value={Theme.DARK}>
                <Header/>
                <ReportsList/>
                <ReportsList/>
                <ReportsList/>
            </ThemeContext.Provider>
        </div>
    );
};
const DashboardAddons = require('hub-dashboard-addons');
DashboardAddons.registerWidget(async (dashboardApi, registerWidgetApi) => {
        return render(<App/>, document.getElementById('app'));
    }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions