Skip to content
Snippets Groups Projects
Commit d948ffad authored by Jure's avatar Jure
Browse files

feat: improve theme

parent b38ffc13
No related branches found
No related tags found
No related merge requests found
...@@ -35,4 +35,9 @@ export default css` ...@@ -35,4 +35,9 @@ export default css`
font-weight: 500; font-weight: 500;
${props => !props.primary && secondary}; ${props => !props.primary && secondary};
border: none; border: none;
&:focus,
&:hover {
background-color: ${darken('colorPrimary', -0.2)};
}
` `
...@@ -43,4 +43,7 @@ text-decoration: none; ...@@ -43,4 +43,7 @@ text-decoration: none;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
a {
color: ${th('colorPrimary')};
}
` `
...@@ -17,7 +17,7 @@ const cokoTheme = { ...@@ -17,7 +17,7 @@ const cokoTheme = {
/* Colors */ /* Colors */
colorBackground: 'white', colorBackground: 'white',
colorSecondaryBackground: '#f9fafb', // custom colorSecondaryBackground: '#f9fafb', // custom
colorPrimary: '#0B65CB', colorPrimary: '#0D83DD',
colorSecondary: '#9e9e9e', colorSecondary: '#9e9e9e',
colorFurniture: '#E8E8E8', colorFurniture: '#E8E8E8',
colorBorder: '#AAA', colorBorder: '#AAA',
...@@ -74,7 +74,7 @@ const cokoTheme = { ...@@ -74,7 +74,7 @@ const cokoTheme = {
/* Shadow (for tooltip) */ /* Shadow (for tooltip) */
boxShadow: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)', boxShadow: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
boxShadow: '4px 4px 16px #cdcdcd', // boxShadow: '4px 4px 16px #cdcdcd',
/* Transition */ /* Transition */
transitionDuration: '0.2s', // TODO -- julien: not 0.05s transitionDuration: '0.2s', // TODO -- julien: not 0.05s
transitionTimingFunction: 'ease', transitionTimingFunction: 'ease',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment