Skip to content

Commit

Permalink
♻️ refactor: editor prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Jan 16, 2024
1 parent 5e518f0 commit 24f74ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Layout/style.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { createStyles } from '../theme';

export const useStyle = createStyles(({ css, token, cx, prefixCls }, { themeType }) => {
const STUDIO_UI_PREFIX = `${prefixCls}-${token?.editorPrefix}`;
const prefix = `${STUDIO_UI_PREFIX}-layout`;
const EDITOR_PREFIX = `${prefixCls}-${token?.editorPrefix}`;
const prefix = `${EDITOR_PREFIX}-layout`;

const typeStylish = css`
background-color: ${themeType === 'block'
Expand Down Expand Up @@ -39,7 +39,7 @@ export const useStyle = createStyles(({ css, token, cx, prefixCls }, { themeType
border-radius: ${token.borderRadius}px;
font-size: ${token.fontSizeSM}px;
.${STUDIO_UI_PREFIX}-draggable-panel {
.${EDITOR_PREFIX}-draggable-panel {
border: none;
}
`,
Expand Down

0 comments on commit 24f74ec

Please sign in to comment.