Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const defineMuiInputBase = (
): Components['MuiInputBase'] => ({
styleOverrides: {
root: {
backgroundColor: Base.Default.Fill,
backgroundColor: Base.Default.Fill.Default,
// color the whole input base when accepting autofill suggestions in Chromium browsers
':has(input:autofill)': {
backgroundColor: 'light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4))',
Expand Down
34 changes: 19 additions & 15 deletions packages/curve-ui-kit/src/themes/design/0_primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,6 @@ export const Blues = {
'950': '#171e55',
} as const

export const Yellows = {
'50': '#fff9e6',
'100': '#fff9f0',
'200': '#fff1db',
'300': '#ffe6bd',
'400': '#ffd88b',
'500': '#ffc300',
'600': '#e0ab00',
'700': '#c19300',
'800': '#a37c0c',
'900': '#84671d',
'950': '#665223',
} as const

export const Oranges = {
'50': '#f0ddd1',
'100': '#f3cfb9',
Expand All @@ -82,6 +68,20 @@ export const Oranges = {
'950': '#4e2708',
} as const

export const Yellows = {
'50': '#fffbf5',
'100': '#fff9f0',
'200': '#fff1db',
'300': '#ffe6bd',
'400': '#ffd88b',
'500': '#ffc300',
'600': '#e0ab00',
'700': '#c19300',
'800': '#a37c0c',
'900': '#84671d',
'950': '#665223',
} as const

export const Violets = {
'50': '#efedfc',
'100': '#dbd9f7',
Expand All @@ -98,18 +98,22 @@ export const Violets = {

export const Spacing = {
'50': '0',
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder why not use 0 here

Suggested change
'50': '0',
'0': '0',

'75': '0.0625rem', // 1px
'100': '0.125rem', // 2px
'200': '0.25rem', // 4px
'300': '0.5rem', // 8px
'350': '0.875rem', // 14px
'400': '1rem', // 16px
'450': '1.25rem', // 20px
'500': '1.5rem', // 24px
'600': '2rem', // 32px
'700': '3rem', // 48px
'800': '4rem', // 64px
} as const

export const Sizing = {
'10': '0.0625rem', // 1px
'25': '0.125rem', // 2px
'50': '0.25rem', // 4px
'100': '0.5rem', // 8px
'125': '0.75rem', // 12px
Expand All @@ -119,7 +123,7 @@ export const Sizing = {
'300': '1.5rem', // 24px
'350': '1.75rem', // 28px
'400': '2rem', // 32px
'450': '2.25rem', // 36px
'450': '2.25rem',
'500': '2.5rem', // 40px
'600': '3rem', // 48px
'650': '3.5rem', // 56px
Expand Down
Loading
Loading