Skip to content

Commit 43c9690

Browse files
committed
chore(deps): [docs] import @vvibe/vue-styled-components
1 parent aaea85f commit 43c9690

File tree

8 files changed

+24
-23
lines changed

8 files changed

+24
-23
lines changed

docs/guide/advances/theming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ the `ThemeProvider`'s scope can access this theme object.
1717

1818
```vue
1919
<script setup lang="ts">
20-
import { styled, ThemeProvider } from '@vue-styled-components/core'
20+
import { styled, ThemeProvider } from '@vvibe/vue-styled-components'
2121
2222
const StyledWrapper = styled.div`
2323
display: flex;
@@ -54,7 +54,7 @@ and see the updates reflected in your styled components.
5454

5555
```vue
5656
<script setup lang="ts">
57-
import { styled, ThemeProvider } from '@vue-styled-components/core'
57+
import { styled, ThemeProvider } from '@vvibe/vue-styled-components'
5858
import { ref } from 'vue'
5959
6060
const theme = ref<Record<string, string>>({ primary: 'blue' })
@@ -112,7 +112,7 @@ and use properties defined in the theme for their styles.
112112

113113
```vue
114114
<script setup lang="ts">
115-
import { ThemeProvider } from '@vue-styled-components/core'
115+
import { ThemeProvider } from '@vvibe/vue-styled-components'
116116
import { defineComponent, h, inject } from 'vue'
117117
118118
const Link = defineComponent(() => {

docs/guide/api/core.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It is a factory function.
2121

2222
```vue
2323
<script setup lang="ts">
24-
import { styled } from '@vue-styled-components/core'
24+
import { styled } from '@vvibe/vue-styled-components'
2525
2626
const StyledDiv = styled('div', { color: String })`
2727
width: 100%;
@@ -50,7 +50,7 @@ const StyledDiv = styled('div', { color: String })`
5050

5151
```vue
5252
<script setup lang="ts">
53-
import { styled } from '@vue-styled-components/core'
53+
import { styled } from '@vvibe/vue-styled-components'
5454
5555
const StyledDiv = styled.div`
5656
width: 40px;
@@ -79,7 +79,7 @@ It is used for passing attributes to styled component.
7979

8080
```vue
8181
<script setup lang="ts">
82-
import { styled } from '@vue-styled-components/core'
82+
import { styled } from '@vvibe/vue-styled-components'
8383
8484
const InputWithValue = styled.input.attrs({ value: "I'm input with default value. 🥺" })`
8585
width: 100%;

docs/guide/api/helper.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A function to create a `style component` that can be used to handle global style
2121
```vue
2222
2323
<script setup>
24-
import { createGlobalStyle } from '@vue-styled-components/core'
24+
import { createGlobalStyle } from '@vvibe/vue-styled-components'
2525
2626
const GlobalStyle = createGlobalStyle`
2727
body {
@@ -51,7 +51,7 @@ A function to generate keyframes. It takes a template literal as an argument and
5151
```vue
5252
5353
<script setup lang="ts">
54-
import { styled, keyframes } from '@vue-styled-components/core'
54+
import { styled, keyframes } from '@vvibe/vue-styled-components'
5555
5656
const animation = keyframes`
5757
from {
@@ -89,7 +89,7 @@ A function to generate CSS from a template literal with interpolations.
8989
```vue
9090
9191
<script setup lang="ts">
92-
import { styled, css } from '@vue-styled-components/core'
92+
import { styled, css } from '@vvibe/vue-styled-components'
9393
9494
const mixin = css`
9595
color: red;
@@ -123,7 +123,7 @@ A function to add attributes to a `ComponentInstance` or `HTMLElements`.
123123
```vue
124124
125125
<script setup lang="ts">
126-
import { withAttrs } from '@vue-styled-components/core'
126+
import { withAttrs } from '@vvibe/vue-styled-components'
127127
128128
const DivWithAttrs = withAttrs('div', {
129129
class: 'div-with-attrs'

docs/guide/basic/animations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a styled component.
88

99
```vue
1010
<script setup lang="ts">
11-
import { styled, keyframes } from '@vue-styled-components/core'
11+
import { styled, keyframes } from '@vvibe/vue-styled-components'
1212
1313
const rotate = keyframes`
1414
from {

docs/guide/basic/extending-styles.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ code reusability and maintainability.
1313

1414
```vue
1515
<script setup lang="ts">
16-
import { styled } from '@vue-styled-components/core'
16+
import { styled } from '@vvibe/vue-styled-components';
1717
1818
const BlueButton = styled.button`
1919
width: 120px;
@@ -24,11 +24,11 @@ const BlueButton = styled.button`
2424
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
2525
background-color: skyblue;
2626
font-weight: bold;
27-
`
27+
`;
2828
const RedButton = styled(BlueButton)`
2929
background-color: darkred;
3030
color: white;
31-
`
31+
`;
3232
</script>
3333
3434
<template>
@@ -52,7 +52,7 @@ For more advanced use cases, you can pass the `as` props to the styled component
5252

5353
```vue
5454
<script setup lang="ts">
55-
import { styled } from '@vue-styled-components/core'
55+
import { styled } from '@vvibe/vue-styled-components';
5656
5757
const BlueButton = styled.button`
5858
width: 120px;
@@ -63,15 +63,16 @@ const BlueButton = styled.button`
6363
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
6464
background-color: skyblue;
6565
font-weight: bold;
66-
`
66+
`;
6767
const RedButton = styled(BlueButton)`
6868
background-color: darkred;
6969
color: white;
70-
`
70+
`;
7171
const LinkButton = styled(BlueButton)`
7272
border: none;
73-
color: blue;
74-
`
73+
background-color: transparent;
74+
box-shadow: none;
75+
`;
7576
</script>
7677
7778
<template>

docs/guide/basic/passed-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ styled input.
1212
```vue
1313
<script setup lang="ts">
1414
import { ref } from 'vue'
15-
import { styled } from '@vue-styled-components/core'
15+
import { styled } from '@vvibe/vue-styled-components'
1616
1717
const borderColor = ref('darkred')
1818
const inputProps = { borderColor: String }

docs/guide/basic/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pnpm i vue-styled-components
3030

3131
```vue
3232
<script setup lang="ts">
33-
import { styled } from '@vue-styled-components/core'
33+
import { styled } from '@vvibe/vue-styled-components'
3434
3535
const StyledDiv = styled.div`
3636
display: flex;

docs/guide/basic/styling-any-component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Using the `styled` function to style the `Link` component, you can achieve a `da
2525

2626
```vue
2727
<script setup lang="ts">
28-
import { styled } from '@vue-styled-components/core'
28+
import { styled } from '@vvibe/vue-styled-components'
2929
import Link from '/demo/Link.vue'
3030
3131
const StyledLink = styled(Link)`
@@ -49,7 +49,7 @@ a `blue link`.
4949

5050
```vue
5151
<script setup lang="ts">
52-
import { styled } from '@vue-styled-components/core'
52+
import { styled } from '@vvibe/vue-styled-components'
5353
5454
const StyledLink = styled.a`
5555
color: darkred !important;

0 commit comments

Comments
 (0)