From 7efe1011e25435e86c47eac99606b9171e126a2b Mon Sep 17 00:00:00 2001 From: 1aron Date: Sat, 3 Feb 2024 11:02:23 +0800 Subject: [PATCH] Update CSS class names for background stripes --- .../[locale]/(root)/docs/columns/content.mdx | 34 +++++++++---------- .../(root)/docs/cursor/components/Basic.tsx | 2 +- .../[locale]/(root)/docs/display/content.mdx | 2 +- .../[locale]/(root)/docs/inset/content.mdx | 2 +- .../[locale]/(root)/docs/position/content.mdx | 4 +-- .../docs/text-align/components/Basic.tsx | 2 +- .../(root)/docs/text-transform/content.mdx | 16 ++++----- website/components/DemoDark.tsx | 2 +- website/components/DemoLight.tsx | 2 +- 9 files changed, 33 insertions(+), 33 deletions(-) diff --git a/website/app/[locale]/(root)/docs/columns/content.mdx b/website/app/[locale]/(root)/docs/columns/content.mdx index ddfe7f50d..ade4d5c4f 100644 --- a/website/app/[locale]/(root)/docs/columns/content.mdx +++ b/website/app/[locale]/(root)/docs/columns/content.mdx @@ -6,31 +6,31 @@ Use `mcss cols:value` to set the number of columns when creating a multi-column layout. The column width will automatically adjust to the column count.
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
@@ -47,28 +47,28 @@ Use `mcss cols:value` to set the number of columns when creating a multi-column Use `mcss cols:count|width` to set the minimum width of each column to `width` and the maximum number of columns to `count` columns when creating a flexible multi-column layout.
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
-
+
mountain
diff --git a/website/app/[locale]/(root)/docs/cursor/components/Basic.tsx b/website/app/[locale]/(root)/docs/cursor/components/Basic.tsx index d9f22cc52..a16fba939 100644 --- a/website/app/[locale]/(root)/docs/cursor/components/Basic.tsx +++ b/website/app/[locale]/(root)/docs/cursor/components/Basic.tsx @@ -7,7 +7,7 @@ export default ({ className }: any) => { return ( <> - + {`
Hover Me
diff --git a/website/app/[locale]/(root)/docs/display/content.mdx b/website/app/[locale]/(root)/docs/display/content.mdx index 2d9eea1db..bf7d6de89 100644 --- a/website/app/[locale]/(root)/docs/display/content.mdx +++ b/website/app/[locale]/(root)/docs/display/content.mdx @@ -247,7 +247,7 @@ Use `contents` to make the element’s children like direct children of the Use `flow-root` to create a block-level element that establishes a new block formatting context. {
-
+
Float Image

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

diff --git a/website/app/[locale]/(root)/docs/inset/content.mdx b/website/app/[locale]/(root)/docs/inset/content.mdx index 46e94bb66..a0e10640e 100644 --- a/website/app/[locale]/(root)/docs/inset/content.mdx +++ b/website/app/[locale]/(root)/docs/inset/content.mdx @@ -5,7 +5,7 @@ ### Inset Use `inset:offset` to set the distance between the element and its parent element. -
+
`inset:20`
diff --git a/website/app/[locale]/(root)/docs/position/content.mdx b/website/app/[locale]/(root)/docs/position/content.mdx index 1b1f29b27..91ed6be4e 100644 --- a/website/app/[locale]/(root)/docs/position/content.mdx +++ b/website/app/[locale]/(root)/docs/position/content.mdx @@ -22,7 +22,7 @@ Use `static`to position an element according to the normal flow of the document. ### Positioning elements as relative Use `rel`to position an element according to the normal flow of the document, and then offset relative to itself based on the values of top, right, bottom, and left. -
+
relative parent
@@ -37,7 +37,7 @@ Use `rel`to position an element according to the normal flow of the document, an ### Positioning elements as absolute Use `abs`to remove an element from the normal flow of the document, and the element positioned relative to its closest positioned ancestor. - +
relative parent
abs child
diff --git a/website/app/[locale]/(root)/docs/text-align/components/Basic.tsx b/website/app/[locale]/(root)/docs/text-align/components/Basic.tsx index 83be3efb2..e109e3720 100644 --- a/website/app/[locale]/(root)/docs/text-align/components/Basic.tsx +++ b/website/app/[locale]/(root)/docs/text-align/components/Basic.tsx @@ -9,7 +9,7 @@ export default ({ className }: any) => <>

- + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et elit dictum, tempor augue quis, rhoncus enim. Nunc lacinia, velit vel convallis tincidunt, ante nisi maximus nunc, at aliquam nisi lectus in mauris.

diff --git a/website/app/[locale]/(root)/docs/text-transform/content.mdx b/website/app/[locale]/(root)/docs/text-transform/content.mdx index 75e8d689d..318cdcf95 100644 --- a/website/app/[locale]/(root)/docs/text-transform/content.mdx +++ b/website/app/[locale]/(root)/docs/text-transform/content.mdx @@ -5,19 +5,19 @@
capitalize - Heavy Boxes Perform Quick Waltzes And Jigs. + Heavy Boxes Perform Quick Waltzes And Jigs.
lowercase - heavy boxes perform quick waltzes and jigs. + heavy boxes perform quick waltzes and jigs.
uppercase - HEAVY BOXES PERFORM QUICK WALTZES AND JIGS. + HEAVY BOXES PERFORM QUICK WALTZES AND JIGS.
uppercase::first-letter - Heavy boxes perform quick waltzes and jigs. + Heavy boxes perform quick waltzes and jigs.
text-transform:none @@ -33,7 +33,7 @@ Convert the first letter of each word to uppercase. - Heavy Boxes Perform Quick Waltzes And Jigs. + Heavy Boxes Perform Quick Waltzes And Jigs. ```html @@ -44,7 +44,7 @@ Convert the first letter of each word to uppercase. Convert all characters to lowercase. - heavy boxes perform quick waltzes and jigs. + heavy boxes perform quick waltzes and jigs. ```html @@ -55,7 +55,7 @@ Convert all characters to lowercase. Convert all characters to uppercase. - HEAVY BOXES PERFORM QUICK WALTZES AND JIGS. + HEAVY BOXES PERFORM QUICK WALTZES AND JIGS. ```html @@ -66,7 +66,7 @@ Convert all characters to uppercase. Capitalize the first letter of a sentence. - Heavy boxes perform quick waltzes and jigs. + Heavy boxes perform quick waltzes and jigs. ```html diff --git a/website/components/DemoDark.tsx b/website/components/DemoDark.tsx index 97a545f88..47ae37c1b 100644 --- a/website/components/DemoDark.tsx +++ b/website/components/DemoDark.tsx @@ -2,7 +2,7 @@ import { IconMoon } from '@tabler/icons-react' export default (props: any) =>
-
+
{props.children} diff --git a/website/components/DemoLight.tsx b/website/components/DemoLight.tsx index 64f807e82..c3812f8e9 100644 --- a/website/components/DemoLight.tsx +++ b/website/components/DemoLight.tsx @@ -2,7 +2,7 @@ import { IconSun } from '@tabler/icons-react' export default (props: any) =>
-
+
{props.children}