mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
18 lines
411 B
TypeScript
18 lines
411 B
TypeScript
import type { SystemStyleObject } from '@invoke-ai/ui-library';
|
|
import type { Opts as LinkifyOpts } from 'linkifyjs';
|
|
|
|
export const linkifySx: SystemStyleObject = {
|
|
a: {
|
|
fontWeight: 'semibold',
|
|
},
|
|
'a:hover': {
|
|
textDecoration: 'underline',
|
|
},
|
|
};
|
|
|
|
export const linkifyOptions: LinkifyOpts = {
|
|
target: '_blank',
|
|
rel: 'noopener noreferrer',
|
|
validate: (value) => /^https?:\/\//.test(value),
|
|
};
|