Skip to content

Commit 04a1d73

Browse files
ikun97zhongxiao-myshell
authored andcommitted
Dev color (#367)
1 parent 726f574 commit 04a1d73

File tree

7 files changed

+20
-24
lines changed

7 files changed

+20
-24
lines changed
7.03 KB
Loading
-185 Bytes
Loading

web/apps/web/src/components/layouts/side-content.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const ItemContent = ({
2828
className={cn(
2929
'flex gap-3 p-2 cursor-pointer rounded-md text-subtler',
3030
isActive(item.href)
31-
? '!text-default bg-neutral-on-surface-active'
31+
? '!text-default bg-brand-default'
3232
: 'hover:bg-neutral-on-surface-hover hover:text-default',
3333
)}>
3434
{item.icon

web/apps/web/src/stores/app/schema/intro-config.ts

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export const introConfigSchema: ISchema = {
1111
'x-title-size': 'h4',
1212
description:
1313
'The intro message is crucial for user experience. Keep it within one iOS screen (text, image, and buttons) to ensure a smooth, engaging start.',
14-
'x-show-bottom-border': true,
15-
'x-wrapper-class': 'px-3',
1614
properties: {
1715
render: {
1816
type: 'object',

web/packages/flow-engine/src/components/flow-drag/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ const FlowDag = forwardRef<FlowRef, IFlowDagProps>(
167167
<Background
168168
gap={24}
169169
size={3}
170-
color="#E1DCD7"
170+
color="var(--background-neutral-primary-hover)"
171171
variant={BackgroundVariant.Dots}
172172
style={{
173-
backgroundColor: '#F7F4F0',
173+
backgroundColor: 'var(--background-neutral-primary-default)',
174174
}}
175175
/>
176176
</ReactFlow>

web/packages/form-engine/src/components/block/index.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ const Block: React.FC<IBlockProps> = props => {
183183
size="sm"
184184
lineClamp={6}
185185
color="subtlest"
186-
className={cn('mt-1.5', {
187-
'pb-3 border-b-[0.3px] border-default px-3': xShowBorder, //todo: 需要优化
188-
})}>
186+
className="mt-1.5 pb-3 border-b-[0.3px] border-default mx-3">
189187
{description}
190188
</Paragraph>
191189
) : null}

web/packages/tailwind-config/tailwind.config.ts

+16-16
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,18 @@ const config: Omit<Config, 'content' | 'plugins'> = {
124124
'--pure-mauve-99': '#f9f7fc',
125125
'--pure-mauve-100': '#ffffff',
126126
'--neutral-0': '#000000',
127-
'--neutral-5': '#12110e',
128-
'--neutral-10': '#24201d',
129-
'--neutral-20': '#37322d',
130-
'--neutral-30': '#3d3934',
131-
'--neutral-40': '#44403c',
132-
'--neutral-50': '#55504b',
133-
'--neutral-60': '#6e6964',
134-
'--neutral-70': '#78736e',
135-
'--neutral-80': '#8c8782',
136-
'--neutral-90': '#c8c3be',
137-
'--neutral-95': '#e1dcd7',
138-
'--neutral-98': '#f7f4f0',
127+
'--neutral-5': '#121110',
128+
'--neutral-10': '#242220',
129+
'--neutral-20': '#373430',
130+
'--neutral-30': '#3d3a36',
131+
'--neutral-40': '#44413f',
132+
'--neutral-50': '#55524e',
133+
'--neutral-60': '#6e6b67',
134+
'--neutral-70': '#787572',
135+
'--neutral-80': '#8c8986',
136+
'--neutral-90': '#c8c5c2',
137+
'--neutral-95': '#e1dfdc',
138+
'--neutral-98': '#f5f4f2',
139139
'--neutral-99': '#fcfbfa',
140140
'--neutral-100': '#ffffff',
141141
'--neutral-variant-0': '#000000',
@@ -273,10 +273,10 @@ const config: Omit<Config, 'content' | 'plugins'> = {
273273
'--lake-blue-98': '#f8f9ff',
274274
'--lake-blue-99': '#fdfcff',
275275
'--lake-blue-100': '#ffffff',
276-
'--opacity-on-surface-10': '#dbd3ca29',
277-
'--opacity-on-surface-20': '#b8b0a933',
278-
'--opacity-on-surface-30': '#a3999033',
279-
'--opacity-on-surface-40': '#8c7f7333',
276+
'--opacity-on-surface-10': '#dbd9d729',
277+
'--opacity-on-surface-20': '#cccbca33',
278+
'--opacity-on-surface-30': '#bab8b633',
279+
'--opacity-on-surface-40': '#94928f33',
280280
'--opacity-white-1': '#ffffff03',
281281
'--opacity-white-3': '#ffffff08',
282282
'--opacity-white-5': '#ffffff0d',

0 commit comments

Comments
 (0)