Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
import { cva } from 'class-variance-authority'
|
||||
import { cva } from "class-variance-authority"
|
||||
|
||||
import {
|
||||
config as typographyConfig,
|
||||
withTypography,
|
||||
} from '../Typography/variants'
|
||||
} from "../Typography/variants"
|
||||
|
||||
import { deepmerge } from 'deepmerge-ts'
|
||||
import styles from './textLink.module.css'
|
||||
import { deepmerge } from "deepmerge-ts"
|
||||
import styles from "./textLink.module.css"
|
||||
|
||||
export const config = {
|
||||
variants: {
|
||||
theme: {
|
||||
Primary: styles['theme-primary'],
|
||||
Inverted: styles['theme-inverted'],
|
||||
InteractiveDefault: styles['theme-interactive-default'],
|
||||
Primary: styles["theme-primary"],
|
||||
Inverted: styles["theme-inverted"],
|
||||
InteractiveDefault: styles["theme-interactive-default"],
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
theme: 'Primary',
|
||||
theme: "Primary",
|
||||
},
|
||||
} as const
|
||||
|
||||
@@ -28,7 +28,7 @@ const textLinkConfig = {
|
||||
},
|
||||
defaultVariants: {
|
||||
...config.defaultVariants,
|
||||
typography: 'Link/md',
|
||||
typography: "Link/md",
|
||||
},
|
||||
} as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user