Skip to content

Commit

Permalink
🎨 [#454] Replace hardcoded design tokens with built theme
Browse files Browse the repository at this point in the history
TODO: update package.json when other PR is merged and published
  • Loading branch information
sergei-maertens committed Oct 23, 2023
1 parent 9d260fc commit a54c4fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion design-tokens
18 changes: 0 additions & 18 deletions src/scss/components/_editgrid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,6 @@
*/
@use 'microscope-sass/lib/bem';

// TODO: move design tokens into own repo
.openforms-theme {
--of-editgrid-line-height: 1.5;
--of-editgrid-gap: 12px;

--of-editgrid-item-gap: 12px;
--of-editgrid-item-border: solid 1px var(--of-color-border);
--of-editgrid-item-padding-block-end: 24px;
--of-editgrid-item-padding-block-start: 24px;
--of-editgrid-item-padding-inline-end: 24px;
--of-editgrid-item-padding-inline-start: 24px;

--of-editgrid-item-heading-font-family: var(--of-typography-sans-serif-font-family);
--of-editgrid-item-heading-font-size: 0.875rem;
--of-editgrid-item-heading-line-height: 1.2;
--of-editgrid-item-heading-margin-block-end: 24px;
}

.openforms-editgrid {
line-height: var(--of-editgrid-line-height, var(--utrecht-document-line-height));

Expand Down

0 comments on commit a54c4fe

Please sign in to comment.