Skip to content
Snippets Groups Projects
Commit 39d2794b authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-41: Updates to themes

parent 98242901
No related branches found
No related tags found
1 merge request!50GREG-41: Adding custom link
Pipeline #92817 passed
......@@ -6,7 +6,7 @@ import './App.css'
import { Button } from './components/button'
import { appTimezone, appVersion, appTheme } from './appConfig'
import { Link } from './components/link'
import Link from './components/link'
const App = () => {
const [apiHealth, setApiHealth] = useState('not yet')
......
......@@ -103,4 +103,4 @@ export default function Link(props: ILink) {
{children}
</StyledLink>
)
}
}
\ No newline at end of file
......@@ -7,5 +7,7 @@ declare module 'styled-components' {
main: string
secondary: string
}
linkExternalColor: string
linkInternalColor: string
}
}
......@@ -2,6 +2,7 @@ import { DefaultTheme } from 'styled-components/macro'
const white = '#FFFFFF'
const hotPink = '#FF69B4'
const blueish = '#2771bb'
const defaultTheme: DefaultTheme = {
borderRadius: '10px',
......@@ -9,6 +10,8 @@ const defaultTheme: DefaultTheme = {
main: hotPink,
secondary: white,
},
linkInternalColor: white,
linkExternalColor: blueish,
}
export default defaultTheme
......@@ -2,6 +2,7 @@ import { DefaultTheme } from 'styled-components'
const white = '#FFFFFF'
const hotPink = '#FF69B4'
const blueish = '#2771bb'
const uibTheme: DefaultTheme = {
borderRadius: '10px',
......@@ -9,6 +10,8 @@ const uibTheme: DefaultTheme = {
main: hotPink,
secondary: white,
},
linkInternalColor: white,
linkExternalColor: blueish,
}
export default uibTheme
......@@ -2,6 +2,7 @@ import { DefaultTheme } from 'styled-components/macro'
const white = '#FFFFFF'
const hotPink = '#FF69B4'
const blueish = '#2771bb'
const uioTheme: DefaultTheme = {
borderRadius: '10px',
......@@ -9,6 +10,8 @@ const uioTheme: DefaultTheme = {
main: hotPink,
secondary: white,
},
linkInternalColor: white,
linkExternalColor: blueish,
}
export default uioTheme
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment