Skip to content

Commit

Permalink
fix: other style links
Browse files Browse the repository at this point in the history
  • Loading branch information
amars29 committed Oct 9, 2023
1 parent 89555bc commit 76ba28c
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1673,7 +1673,7 @@ function App(){
ActionsheetItem,
ActionsheetItemText,
VStack,
HStack,https://style.gluestack.io/style
HStack,
Icon,
Box,
FormControl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ Contains all indicators related layout style props and actions. It inherits all

#### CheckboxIcon

Contains all Icon related layout style props and actions. It inherits all the properties of gluestack Style's [AsForwarder](https://style.gluestack.io/styleer) component.
Contains all Icon related layout style props and actions. It inherits all the properties of gluestack Style's [AsForwarder](/style/docs/api/as-forwarder) component.
#### CheckboxLabel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ It inherits all the properties of React Native's [View](https://reactnative.dev/
#### FormControlErrorIcon
It inherits all the properties of gluestack Style's [AsForwarder](https://style.gluestack.io/styleer) component.
It inherits all the properties of gluestack Style's [AsForwarder](/style/docs/api/as-forwarder) component.
#### FormControlErrorText
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You can change the child elements according to the states of Pressable component
showArgsController={false}
metaData={{
code: `
<Pressable p="$16" bg="$primary500" sx={{':hover':{ bg:"$primary400"}}}>https://style.gluestack.io/style
<Pressable p="$16" bg="$primary500" sx={{':hover':{ bg:"$primary400"}}}>
{({ pressed }) => (
<Text color={pressed ? 'pink' : 'yellow'}>PRESSABLE</Text>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ Contains all Indicator related layout style props and actions. It inherits all t
#### RadioIcon
Contains all Icon related layout style props and actions. It inherits all the properties of gluestack Style's [AsForwarder](https://style.gluestack.io/styleer) component.
Contains all Icon related layout style props and actions. It inherits all the properties of gluestack Style's [AsForwarder](/style/docs/api/as-forwarder) component.
#### RadioLabel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ All the components in `gluestack-ui` are unstyled by default. To customize your
### Customizing the Box
For customizing the Box, you have to map styled view to Box. You can refer [gluestack.io/style](/style) for more information on how to use styled components.
https://style.gluestack.io/style
#### Usage
Default styling of the component can be found in the `components/box` file. For reference, you can view the [source code](https://github.com/gluestack/gluestack-ui/blob/main/packages/themed/src/components/Box) of the styled `Box` component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ After :
/>
</AppProvider>

> gluestack-ui provides a set of pre created icons that can be used directly in our app and can also integrate third party icons using [AsForwarder](https://style.gluestack.io/styleer) from [gluestack-style](/style)https://style.gluestack.io/style
> gluestack-ui provides a set of pre created icons that can be used directly in our app and can also integrate third party icons using [AsForwarder](/style/docs/api/as-forwarder) from [gluestack-style](/style)
## Unstyled

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const Image = createImage({
Root: StyledImage
});

// you can also https://style.gluestack.io/styled/styled to style the component
// you can also /style/docs/getting-started/styled to style the component

export default () => <Image />;
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ It inherits all the properties of React Native's [Text](https://reactnative.dev/

#### FabIcon

Contains all Icon related layout style props and actions. It inherits all the properties of Gluestack Style's [AsForwarder](https://style.gluestack.io/styleer) component.
Contains all Icon related layout style props and actions. It inherits all the properties of Gluestack Style's [AsForwarder](/style/docs/api/as-forwarder) component.

### Features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ import {
CloseButton,
Header,
Footer,
Body,https://style.gluestack.io/style
Body,
Backdrop,
} from '../components/core/alert-dialog/styled-components';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ import {
CloseButton,
Header,
Footer,
Body,https://style.gluestack.io/style
Body,
Backdrop,
} from '../components/core/modal/styled-components';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ All the components in `gluestack-ui` are unstyled by default. To customize your

We provide in-depth information on how to customize and extend the component's functionality to meet your needs. Below, we describe how to modify the component to suit your requirements.

### Customizing the Popoverhttps://style.gluestack.io/style
### Customizing the Popover

We have a function called `createPopover` which can be used to create a custom popover component. This function takes in a configuration object which contains the styled components that you want to use for the Popover You can refer [gluestack.io/style](/style) for more information on how to use styled components.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ We have a function called `createProvider` which can be used to create provider

#### Usage

https://style.gluestack.io/style
You can import the config For reference, you can view the [source code](https://github.com/gluestack/gluestack-ui/tree/main/example/storybook/src/ui-components/Provider).

```jsx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ However, you can make these components look the way you want by adding your own

Let's try creating an unstyled Button component

We utilize a function named `createButton` for the creation of a customized button component. This function accepts a configuration object that contains the styled components you wish to apply to the button. For guidance on the usage of styled components, you can refer [gluestack.io/style](https://style.gluestack.io/style` function expects an object containing the styled components that can be tailored to meet your specifications. These styled components can be generated using the `styled` function, which is exported by `@gluestack-style/react`. Here is a basic example provided below.
We utilize a function named `createButton` for the creation of a customized button component. This function accepts a configuration object that contains the styled components you wish to apply to the button. For guidance on the usage of styled components, you can refer [gluestack.io/style](/style) function expects an object containing the styled components that can be tailored to meet your specifications. These styled components can be generated using the `styled` function, which is exported by `@gluestack-style/react`. Here is a basic example provided below.

<AppProvider>
<CodePreview
Expand Down
2 changes: 1 addition & 1 deletion example/storybook/src/styling/overview/index.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs';

# Styling Overview

All the components of [**`@gluestack-ui/themed`**](https://github.com/gluestack/gluestack-ui/blob/main/packages/themed) by default are unstyled. Styling is provided by our styling engine [**`@gluestack-style/react`**](https://style.gluestack.io/docs/overview/introduction) by passing [`config`](https://github.com/gluestack/gluestack-ui/blob/main/packages/config/src/gluestack-ui.config.ts) file from [**`@gluestack-ui/config`**](https://github.com/gluestack/gluestack-ui/blob/main/packages/config). Config file exports an object which is passed inside the `GluetackUIProvider`(a Wrapper component that applies the theme to all the children).
All the components of [**`@gluestack-ui/themed`**](https://github.com/gluestack/gluestack-ui/blob/main/packages/themed) by default are unstyled. Styling is provided by our styling engine [**`@gluestack-style/react`**](/style/docs/overview/introduction) by passing [`config`](https://github.com/gluestack/gluestack-ui/blob/main/packages/config/src/gluestack-ui.config.ts) file from [**`@gluestack-ui/config`**](https://github.com/gluestack/gluestack-ui/blob/main/packages/config). Config file exports an object which is passed inside the `GluetackUIProvider`(a Wrapper component that applies the theme to all the children).

```jsx
import { config } from '@gluestack-ui/config';
Expand Down
2 changes: 1 addition & 1 deletion example/storybook/src/styling/state/index.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {

# States

Styling of gluestack-ui components is achieved through the utilization of [**`@gluestack-style/react`**](https://style.gluestack.io/), a resource that provides a range of capabilities for effectively controlling states like **hover**, **active**, **focused**, and others. You can pass [`config`](https://github.com/gluestack/gluestack-ui/blob/main/packages/config/src/gluestack-ui.config.ts) file from [**`@gluestack-ui/config`**](https://github.com/gluestack/gluestack-ui/blob/main/packages/config) for default state styling. Config file exports an object which is passed inside the `GluetackUIProvider`. In this context, we will delve into how gluestack-style simplifies the management of these states and their associated styles.
Styling of gluestack-ui components is achieved through the utilization of [**`@gluestack-style/react`**](/style), a resource that provides a range of capabilities for effectively controlling states like **hover**, **active**, **focused**, and others. You can pass [`config`](https://github.com/gluestack/gluestack-ui/blob/main/packages/config/src/gluestack-ui.config.ts) file from [**`@gluestack-ui/config`**](https://github.com/gluestack/gluestack-ui/blob/main/packages/config) for default state styling. Config file exports an object which is passed inside the `GluetackUIProvider`. In this context, we will delve into how gluestack-style simplifies the management of these states and their associated styles.

Easiest way to change styling of states would be using `sx` prop which enables state management.

Expand Down

0 comments on commit 76ba28c

Please sign in to comment.