Skip to content

Commit

Permalink
@0.5.3 tailwind config streamlining, improved SpaceBlock, etc
Browse files Browse the repository at this point in the history
tailwind/tailwind.config.base now lives HERE and gets imported
  import { config } from '@luxdefi/ui/tailwind' --> goes in config.presets[]

tailwind/spacing.tailwind.js: (new) fills in missing values
 in tw config.spacing through 40rem

BulletCardBlockComp: card layout improvements
ScreenfulBlockComp: shifted from lit units to tw units for header calcs
  (breaking: requires the expanded config.spacing values)
SpaceBlock: major improvement and new prefered usage:
 sizes?: { xs: 4, sm: 6, etc...} (tw units) w useful default
  • Loading branch information
artemis-prime committed Feb 14, 2024
1 parent 971c8f0 commit 2c68508
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgs/luxdefi-ui/next/root-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const viewport = {
re body: overflow-y-hidden overflow-x-hidden, h-full
We cannot have these on body tag for scroll-snap to work on iOS!
*/
// flex flex-col min-h-full
const bodyClasses = 'bg-background text-foreground flex flex-col min-h-full ' + getAppRouterBodyFontClasses()

const RootLayout: React.FC<PropsWithChildren & {
Expand Down

0 comments on commit 2c68508

Please sign in to comment.