Skip to content

Commit

Permalink
nice
Browse files Browse the repository at this point in the history
  • Loading branch information
bjosttveit committed Jul 4, 2023
1 parent ecf9fe5 commit b974f82
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 59 deletions.
30 changes: 9 additions & 21 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,24 @@
text-align: left;
color: var(--semantic-text-neutral-default);
}
/* Override design system default font */
* {
--font_family-default: 'Inter', sans-serif;
--font_family-heading: 'Inter', sans-serif;
--font_family-ingress: 'Inter', sans-serif;
--font_family-body: 'Inter', sans-serif;
--font_family-label: 'Inter', sans-serif;
--typography-default-font-family: 'Inter', sans-serif;

--component-panel-font_size-header-breakpoint_sm: 1.25rem;
--component-panel-font_size-header-breakpoint_md: 1.5rem;
--component-panel-font_size-header-breakpoint_lg: 1.75rem;
--component-panel-font_size-body-breakpoint_md: 1rem;
}
@supports (font-variation-settings: normal) {
:root {
font-family: 'Inter var', sans-serif;
}
/* Override design system default font */
* {
font-feature-settings: 'cv05';
--font_family-default: 'Inter var', sans-serif;
--font_family-heading: 'Inter var', sans-serif;
--font_family-ingress: 'Inter var', sans-serif;
--font_family-body: 'Inter var', sans-serif;
--font_family-label: 'Inter var', sans-serif;
--typography-default-font-family: 'Inter var', sans-serif;
}
}

/* Override design system variables */
* {
--component-panel-font_size-header-breakpoint_sm: 1.4rem;
--component-panel-font_size-header-breakpoint_md: 1.6rem;
--component-panel-font_size-header-breakpoint_lg: 1.75rem;
--component-panel-font_size-body-breakpoint_md: 1rem;
--component-panel-font_weight-heading: 500;
}

/* Global variables */
:root {
--table-input-margin: 15px; /* From design-system, move to figma-tokens? */
Expand Down
38 changes: 0 additions & 38 deletions src/styles/tjenester3.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b974f82

Please sign in to comment.