Skip to content

Commit

Permalink
fix: palette doc value
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiQiangReal committed Jul 10, 2024
1 parent bc71078 commit 5e5d974
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/palette.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const palette = {
'--semi-blue-2': '152,205,253',
'--semi-blue-3': '101,178,252',
'--semi-blue-4': '50,149,251',
'--semi-blue-5': '0,119,250',
'--semi-blue-5': '0,100,250',
'--semi-blue-6': '0,98,214',
'--semi-blue-7': '0,79,179',
'--semi-blue-8': '0,61,143',
Expand Down Expand Up @@ -407,7 +407,7 @@ export const cssVars = {
'--semi-color-bg-4': `rgb(${palette.light['--semi-white']})`,
'--semi-color-text-0': `rgba(${palette.light['--semi-grey-9']}, 1)`,
'--semi-color-text-1': `rgba(${palette.light['--semi-grey-9']}, 0.8)`,
'--semi-color-text-2': `rgba(${palette.light['--semi-grey-9']}, 0.6)`,
'--semi-color-text-2': `rgba(${palette.light['--semi-grey-9']}, 0.62)`,
'--semi-color-text-3': `rgba(${palette.light['--semi-grey-9']}, 0.2)`,
// --semi-shadow-elevated": `0px 0px 1px rgba(0, 0, 0, 0.3), 0px 4px 14px rgba(0, 0, 0, 0.1)`,
},
Expand Down Expand Up @@ -464,9 +464,9 @@ export const cssVars = {

'--semi-shadow-elevated': 'inset 0px 0px 0 1px rgba(255, 255, 255, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.25)',
'--semi-overlay-bg': 'rgba(22, 22, 26, 0.6)',
'--semi-color-fill-0': `rgba(${palette.dark['--semi-white']}, 0.05)`,
'--semi-color-fill-1': `rgba(${palette.dark['--semi-white']}, 0.09)`,
'--semi-color-fill-2': `rgba(${palette.dark['--semi-white']}, 0.13)`,
'--semi-color-fill-0': `rgba(${palette.dark['--semi-white']}, 0.12)`,
'--semi-color-fill-1': `rgba(${palette.dark['--semi-white']}, 0.16)`,
'--semi-color-fill-2': `rgba(${palette.dark['--semi-white']}, 0.20)`,
'--semi-color-border': `rgba(${palette.dark['--semi-white']}, 0.08)`,
'--semi-color-shadow': 'rgba(0,0,0,.04)',
'--semi-color-bg-0': 'rgb(22, 22, 26)',
Expand Down

0 comments on commit 5e5d974

Please sign in to comment.