Skip to content

Commit

Permalink
fix tw config
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Dec 30, 2024
1 parent b782c04 commit 15c4b88
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 92 deletions.
36 changes: 0 additions & 36 deletions packages/ui/build-config.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/ui/src/components/image-zoom.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@
background-color: transparent;
}

[data-rmiz-modal-overlay='visible'] {
@apply bg-fd-background;
}

[data-rmiz-modal-content] {
width: 100%;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/image-zoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function ImageZoom({
children,
rmiz,
...props
}: ImageZoomProps): React.ReactElement {
}: ImageZoomProps) {
return (
<Zoom
zoomMargin={20}
Expand Down
6 changes: 5 additions & 1 deletion packages/ui/src/tailwind-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface DocsUIOptions
/**
* Prefix to the variable name of colors
*
* @defaultValue ''
* @defaultValue 'fd'
*/
cssPrefix?: string;

Expand Down Expand Up @@ -144,6 +144,10 @@ export const docsUi = plugin.withOptions<DocsUIOptions>(
'*': {
'border-color': `theme('colors.fd-border')`,
},

"[data-rmiz-modal-overlay='visible']": {
'background-color': `theme('colors.fd-background')`,
},
body: {
'background-color': `theme('colors.fd-background')`,
color: `theme('colors.fd-foreground')`,
Expand Down
50 changes: 0 additions & 50 deletions packages/ui/tsup.config.ts

This file was deleted.

0 comments on commit 15c4b88

Please sign in to comment.