Skip to content

Commit

Permalink
fix: load spacing definition (dnb-spacing) after theme ui to actually…
Browse files Browse the repository at this point in the history
… apply the spacings
  • Loading branch information
tujoworker committed Feb 2, 2019
1 parent f7103ee commit 47d8f0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/dnb-ui-lib/src/style/themes/dnb-theme-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
$fonts-path: '../../../assets/fonts/' !default;

// define the default ui theme
@import './anchor.scss';
@import './dnb-spacing.scss';
@import './core/anchor.scss';

small {
font-size: var(--font-size-small); // 14px
Expand Down Expand Up @@ -259,6 +258,9 @@ pre,
text-shadow: none;
}

// make sure we load the spacings after we have defined the defaults of the elements
@import './core/spacing.scss';

/**
ATTENTION: This file is auto generated by using "styleFactory".
Do not change the content above!
Expand Down

0 comments on commit 47d8f0f

Please sign in to comment.