Tweak gradient

This commit is contained in:
Eric Bailey
2024-09-25 17:07:19 -05:00
parent b4e4ce0f07
commit 10ca29a067
3 changed files with 11 additions and 1 deletions
+8
View File
@@ -60,6 +60,14 @@ export const fontWeight = {
} as const
export const gradients = {
primary: {
values: [
[0, '#0A6CFF'],
[0.6, '#1085FE'],
[1, '#59B9FF'],
],
hover_value: '#1085FE',
},
sky: {
values: [
[0, '#0A7AFF'],
+2
View File
@@ -24,6 +24,7 @@ export type ButtonColor =
| 'secondary'
| 'secondary_inverted'
| 'negative'
| 'gradient_primary'
| 'gradient_sky'
| 'gradient_midnight'
| 'gradient_sunrise'
@@ -412,6 +413,7 @@ export const Button = React.forwardRef<View, ButtonProps>(
secondary: tokens.gradients.sky,
secondary_inverted: tokens.gradients.sky,
negative: tokens.gradients.sky,
gradient_primary: tokens.gradients.primary,
gradient_sky: tokens.gradients.sky,
gradient_midnight: tokens.gradients.midnight,
gradient_sunrise: tokens.gradients.sunrise,
+1 -1
View File
@@ -302,7 +302,7 @@ function ComposeBtn() {
onPress={onPressCompose}
size="large"
variant="gradient"
color="gradient_sky"
color="gradient_primary"
style={[a.rounded_full]}>
<ButtonIcon icon={EditBig} position="left" />
<ButtonText>