Skip to content

Commit

Permalink
Merge pull request #1828 from a504aa1/add-missing-css-custom-props
Browse files Browse the repository at this point in the history
fix(ffe-core): add missing css custom props to theme.less
  • Loading branch information
antidecaf authored Mar 8, 2024
2 parents a16b7e5 + fb9e78f commit 978d75c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/ffe-core/less/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,35 @@
--ffe-fontsize-form-dropdown: 1rem;
--ffe-fontsize-button: 1rem;

/** Breakpoints */
--breakpoint-sm: @breakpoint-sm;
--breakpoint-md: @breakpoint-md;
--breakpoint-lg: @breakpoint-lg;
--breakpoint-xl: @breakpoint-xl;

/** Dimensions */
--app-width: @app-width;
--app-width-min: @app-width-min;
--app-margin: @app-margin;

/** Motion */
--ffe-ease-in-out-back: @ffe-ease-in-out-back;
--ffe-ease: @ffe-ease;
--ffe-transition-duration: @ffe-transition-duration;

/** Spacing */
--ffe-spacing: @ffe-spacing;
--ffe-spacing-2xs: @ffe-spacing-2xs;
--ffe-spacing-xs: @ffe-spacing-xs;
--ffe-spacing-sm: @ffe-spacing-sm;
--ffe-spacing-md: @ffe-spacing-md;
--ffe-spacing-lg: @ffe-spacing-lg;
--ffe-spacing-xl: @ffe-spacing-xl;
--ffe-spacing-2xl: @ffe-spacing-2xl;
--ffe-spacing-3xl: @ffe-spacing-3xl;
--ffe-spacing-4xl: @ffe-spacing-4xl;
--ffe-spacing-5xl: @ffe-spacing-5xl;

@media (min-width: @breakpoint-sm) {
--ffe-fontsize-lead-paragraph: 1.5rem;
--ffe-fontsize-sub-lead-paragraph: 1.125rem;
Expand Down

0 comments on commit 978d75c

Please sign in to comment.