Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/create theme preview section #222

Merged

Conversation

bityutskiyAO
Copy link
Contributor

No description provided.

}

const PreviewLayout = ({breadCrumbsItems, children, styles, id}: PreviewLayoutProps) => {
const [theme, setTheme] = useState<'light' | 'dark'>('dark');
Copy link
Contributor

@Arucard89 Arucard89 Jul 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

может быть, тут стоит использовать тип ThemeType из uikit?

upd: возможно, даже, Theme

import './PreviewTab.scss';
import {TablePreview} from './TablePreview/TablePreview';

export const b = block('themes-preview');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

возможно, стоит назвать блок themes-preview-layout поскольку далее по коду везде использование имени блока начинается со слова layout : b('layout.... мне кажется, так будет больше подходить под БЭМ?

@bityutskiyAO bityutskiyAO force-pushed the feat/create-theme-preview-section branch from 6b2e79e to 7c76fac Compare July 3, 2024 08:13
@bityutskiyAO bityutskiyAO merged commit acbe66d into feat/create-theme-page Jul 3, 2024
1 check passed
@bityutskiyAO bityutskiyAO deleted the feat/create-theme-preview-section branch July 3, 2024 09:32
dgaponov pushed a commit that referenced this pull request Aug 7, 2024
* feat: add theme export to Preview tab

* feat: add table and form preview

* feat: add card preview component

* feat: add dashboard preview

* fix: loader color

* fix issues

* fix typos
dgaponov pushed a commit that referenced this pull request Aug 7, 2024
* feat: add theme export to Preview tab

* feat: add table and form preview

* feat: add card preview component

* feat: add dashboard preview

* fix: loader color

* fix issues

* fix typos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants