Skip to content

Commit

Permalink
prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroji-fusky committed Sep 10, 2023
1 parent 5bc0bd5 commit d20faa1
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
5 changes: 4 additions & 1 deletion apps/website/src/components/ui/Fieldset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export default function Fieldset({
description?: NonNullable<React.ReactElement> | string
}) {
return (
<section data-bui-fieldset="" className="p-6 rounded-lg border border-300 bg-200">
<section
data-bui-fieldset=""
className="p-6 rounded-lg border border-300 bg-200"
>
<div>
{heading ? <h2 className="mb-2 text-2xl">{heading}</h2> : null}
{description ? <span>{description}</span> : null}
Expand Down
11 changes: 10 additions & 1 deletion apps/website/src/components/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,13 @@ import Tabs from "./Tabs"
import SocialsRow from "./SocialsRow"
import Fieldset from "./Fieldset"

export { Modal, Notice, Overlay, Separator, Tabs, SocialsRow, Fieldset }
export {
Modal,
Notice,
Overlay,
Separator,
Separator as Hr,
Tabs,
SocialsRow,
Fieldset
}
1 change: 0 additions & 1 deletion apps/website/src/styles/partials/_index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@forward "mixins";
@forward "overrides";
@forward "themes";
2 changes: 1 addition & 1 deletion apps/website/src/styles/partials/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
@content;
}
}
}
}
2 changes: 1 addition & 1 deletion apps/website/src/styles/partials/_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

@include theme-variable-sets(dark) {
--bui-context-menu: theme("colors.200");
}
}
2 changes: 1 addition & 1 deletion apps/website/src/styles/partials/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
--bui-warning-highlight: 46, 100%, 15.2%;
--bui-info-highlight: 212, 100%, 15.2%;
--bui-success-highlight: 136, 100%, 15%;
}
}

0 comments on commit d20faa1

Please sign in to comment.