Skip to content

Commit dc830fc

Browse files
committed
customzie utility md added
1 parent efc307d commit dc830fc

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

src/lib/stories/Home.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import item from '../../../package.json?raw';
1111

1212
<h3 style={{ fontWeight: 400 }}>An open-source, opinionated UI framework for Svelte.</h3>
1313

14-
### [Github](https://github.com/flightlesslabs/dodo-ui) - [npm](https://www.npmjs.com/package/@flightlesslabs/dodo-ui)
14+
### [Github](https://github.com/flightlesslabs/dodo-ui) - [npm](https://www.npmjs.com/package/@flightlesslabs/dodo-ui) - [Customize](?path=/docs/developer-tools-customize-autocustomize--docs)
1515

1616
</main>
1717

@@ -68,4 +68,5 @@ import { Button } '@flightlesslabs/dodo-ui';
6868

6969
- [Dark Theme](?path=/docs/developer-tools-philosophy-themes--docs#dark-theme)
7070
- [Colors](?path=/docs/developer-tools-philosophy-colors--docs)
71+
- [Customize](?path=/docs/developer-tools-customize-autocustomize--docs)
7172
- [Adjust Color Opacity](?path=/docs/developer-tools-philosophy-colors--docs#adjusting-opacity)

src/lib/stories/developer tools/Intro.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ A set of components and tools used internally in dodo-ui.
44

55
## Explore More
66

7+
- [Customize](?path=/docs/developer-tools-customize-autocustomize--docs)
78
- [Utility Button](?path=/docs/developer-tools-components-utilitybutton--docs)
89
- [Colors](?path=/docs/developer-tools-philosophy-colors--docs)
910
- [Adjust Color Opacity](?path=/docs/developer-tools-philosophy-colors--docs#adjusting-opacity)

src/lib/stories/developer tools/customize/AutoCustomize/Tool/Config/Export.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@
8989
--dodo-ui-element-border-width: ${2 + borderWidth}px;`;
9090
}
9191
92+
if (useAutoCustomizeConfigStore.data.space) {
93+
const space = useAutoCustomizeConfigStore.data.space;
94+
95+
rawText += `
96+
97+
/* Space */
98+
--dodo-ui-space-small: ${6 + space}px;
99+
--dodo-ui-space: ${8 + space}px;
100+
--dodo-ui-space-large: ${10 + space}px;`;
101+
}
102+
92103
// end
93104
rawText += `
94105
}`;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Customize
2+
3+
Use our [Auto Customize](?path=/docs/developer-tools-customize-autocustomize--docs) to modify the look and feel of the components.
4+
5+
## Explore More
6+
7+
- [Tailwind CSS Color Generator](https://uicolors.app/generate/)
8+
- [Colors](?path=/docs/developer-tools-philosophy-colors--docs)

0 commit comments

Comments
 (0)