Skip to content

Commit

Permalink
fix: active menuitem font
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jun 17, 2020
1 parent 9312dfb commit df938b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/core/test/randomize.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const faker = require('faker/locale/en_US');
import { ControlTypes, ComponentControl } from '../src';
import { ControlTypes, ComponentControl, ComponentControls } from '../src';
import { randomizeData } from '@component-controls/core/src/randomizeData';

describe('Options utility functions', () => {
Expand Down Expand Up @@ -38,7 +38,7 @@ describe('Options utility functions', () => {
male,
},
};
const controls: ComponentControl = {
const controls: ComponentControls = {
name,
lastName,
age,
Expand Down
2 changes: 2 additions & 0 deletions ui/components/src/ThemeContext/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ export const theme: Theme = {
a: {
'&.active': {
borderLeft: (t: Theme) => `4px solid ${t?.colors?.accent}`,
fontWeight: 'bold',
},
':hover': {
backgroundColor: 'shadow',
Expand Down Expand Up @@ -542,6 +543,7 @@ export const theme: Theme = {
nav: { display: 'flex', flexDirection: 'column' },
navlink: {
pl: 2,
fontWeight: 'body',
},
toggle: {
position: 'fixed',
Expand Down

0 comments on commit df938b3

Please sign in to comment.