Skip to content
Merged
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
5 changes: 5 additions & 0 deletions src/design-system/text/text.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ export const typography = recipe({
success: sx({ color: '$data_green' }),
error: sx({ color: '$data_pink' }),
warning: sx({ color: '$data_orange' }),
laceGradient: sx({
backgroundImage: '$text_gradient',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
}),
},
},
});
Expand Down
1 change: 1 addition & 0 deletions src/design-tokens/colors.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export const colors = {
$text_secondary: '',
$text_on_gradient: '',
$text_accent: '',
$text_gradient: '',

$metadata_secondary_label_color: '',

Expand Down
2 changes: 2 additions & 0 deletions src/design-tokens/sx.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ const colorProperties = defineProperties({
borderImageSource: vars.colors,
backgroundImage: vars.colors,
backgroundColor: vars.colors,
WebkitBackgroundClip: ['text'],
WebkitTextFillColor: ['transparent'],
},
});

Expand Down
1 change: 1 addition & 0 deletions src/design-tokens/theme/dark-theme.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ const colors: Colors = {
$text_secondary: darkColorScheme.$primary_light_grey,
$text_on_gradient: darkColorScheme.$primary_white,
$text_accent: darkColorScheme.$primary_accent_purple,
$text_gradient: laceGradient,

$metadata_secondary_label_color: darkColorScheme.$primary_light_grey,

Expand Down
1 change: 1 addition & 0 deletions src/design-tokens/theme/light-theme.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ const colors: Colors = {
$text_secondary: lightColorScheme.$primary_dark_grey,
$text_on_gradient: lightColorScheme.$primary_white,
$text_accent: lightColorScheme.$primary_accent_purple,
$text_gradient: laceGradient,

$metadata_secondary_label_color: lightColorScheme.$primary_dark_grey,

Expand Down
32 changes: 32 additions & 0 deletions src/icons/LockIconGradientComponent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import * as React from 'react';
import type { SVGProps } from 'react';
const SvgLockIconGradientcomponent = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={29}
height={32}
fill="none"
{...props}
>
<path
stroke="url(#lock-icon-gradient_component_svg__a)"
strokeLinecap="round"
strokeWidth={2}
d="M7.833 14.333V7.667a6.667 6.667 0 1 1 13.334 0M14.5 21v3.333M4.5 31h20a3.333 3.333 0 0 0 3.333-3.333v-10a3.333 3.333 0 0 0-3.333-3.334h-20a3.333 3.333 0 0 0-3.333 3.334v10A3.333 3.333 0 0 0 4.5 31Z"
/>
<defs>
<linearGradient
id="lock-icon-gradient_component_svg__a"
x1={-3.713}
x2={35.401}
y1={-4.489}
y2={-1.925}
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#FF92DE" />
<stop offset={1} stopColor="#FDC300" />
</linearGradient>
</defs>
</svg>
);
export default SvgLockIconGradientcomponent;
33 changes: 33 additions & 0 deletions src/icons/PlusIconGradientComponent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import * as React from 'react';
import type { SVGProps } from 'react';
const SvgPlusIconGradientcomponent = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={29}
height={30}
fill="none"
{...props}
>
<path
stroke="url(#plus-icon-gradient_component_svg__a)"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M14.5 1.667v26.666M27.833 15H1.167"
/>
<defs>
<linearGradient
id="plus-icon-gradient_component_svg__a"
x1={-3.713}
x2={35.357}
y1={-3.213}
y2={-0.331}
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#FF92DE" />
<stop offset={1} stopColor="#FDC300" />
</linearGradient>
</defs>
</svg>
);
export default SvgPlusIconGradientcomponent;
2 changes: 2 additions & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export { default as LightBulbGradientComponent } from './LightBulbGradientCompon
export { default as LoaderDarkGradientComponent } from './LoaderDarkGradientComponent';
export { default as LoaderLightGradientComponent } from './LoaderLightGradientComponent';
export { default as LoadingComponent } from './LoadingComponent';
export { default as LockIconGradientComponent } from './LockIconGradientComponent';
export { default as MnemonicComponent } from './MnemonicComponent';
export { default as NewspaperGradientComponent } from './NewspaperGradientComponent';
export { default as PaperwalletComponent } from './PaperwalletComponent';
Expand All @@ -49,6 +50,7 @@ export { default as PencilOutlineComponent } from './PencilOutlineComponent';
export { default as PlainCircleComponent } from './PlainCircleComponent';
export { default as PlusCircleGradientComponent } from './PlusCircleGradientComponent';
export { default as PlusCircleComponent } from './PlusCircleComponent';
export { default as PlusIconGradientComponent } from './PlusIconGradientComponent';
export { default as PlusSmallComponent } from './PlusSmallComponent';
export { default as PrinterComponent } from './PrinterComponent';
export { default as QrcodeComponent } from './QrcodeComponent';
Expand Down
9 changes: 9 additions & 0 deletions src/icons/raw/lock-icon-gradient.component.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/icons/raw/plus-icon-gradient.component.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.