Skip to content

Commit

Permalink
Merge pull request #416 from Headstorm/feature/export-style-functions
Browse files Browse the repository at this point in the history
fix(exports): add style-related util functions to exports
  • Loading branch information
aVileBroker authored Dec 13, 2022
2 parents d07788c + 6b154f3 commit 3a0a236
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Skeleton from './components/Skeleton';
import { FoundryProvider, FoundryContext, useTheme, withGlobalStyle } from './context';
import { useStateWithPrevious, useWindowSizeObserver, useScrollObserver } from './utils/hooks';
import { clamp } from './utils/math';
import { getShadowStyle, calculateElevationValues, getDropdownTagStyle } from './utils/styles';

import {
StyledBaseDiv,
Expand Down Expand Up @@ -84,6 +85,9 @@ export {
clamp,
getFontColorFromVariant,
getBackgroundColorFromVariant,
getShadowStyle,
calculateElevationValues,
getDropdownTagStyle,
disabledStyles,
useStateWithPrevious,
useWindowSizeObserver,
Expand Down

0 comments on commit 3a0a236

Please sign in to comment.