Skip to content

Commit

Permalink
feat: check normalize and temp disable it
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Apr 24, 2024
1 parent d2cdb3e commit a065091
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions src/components/core/styles/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
@use './mixins/a11y';
@use './mixins/scrollbar';
@use './mixins/typo';
@use './mixins/helpers';

@include helpers.box-sizing;

// Core variables, are always needed
:root {
Expand Down
3 changes: 2 additions & 1 deletion src/components/core/styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use './_index' as sbb;
@use './normalize';

// @use './normalize'; // TODO: enable again
@use './core';
@use './typography';
@use './a11y';
Expand Down
1 change: 1 addition & 0 deletions src/components/core/styles/mixins/typo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
@mixin legend {
@include text-xs--regular;

padding: 0;
color: var(--sbb-color-granite);
}

Expand Down
8 changes: 0 additions & 8 deletions src/components/core/styles/normalize.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
@use './mixins/helpers';

/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

@include helpers.box-sizing;

/**
1. Correct the line height in all browsers. ///// Commented out since we define own line-height /////
2. Prevent adjustments of font size after orientation changes in iOS.
Expand Down

0 comments on commit a065091

Please sign in to comment.