Skip to content

Commit a348f9b

Browse files
committed
Update installation guide and references to use the latest plugin version; adjust font weights for consistency
1 parent 0abccab commit a348f9b

28 files changed

Lines changed: 53 additions & 68 deletions

File tree

site/app/[locale]/guide/code-linting/components/Footer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Typical setup for Visual Studio Code users.
1111
Install the [ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) in the Visual Studio Marketplace.
1212
</StepL>
1313
<StepR>
14-
<a className="app-object app-object-interactive flex:col px:25 h:48 font:14 font:semibold r:4 leading:1 flex:row!" href="vscode:extension/dbaeumer.vscode-eslint">
14+
<a className="app-object app-object-interactive flex:col px:25 h:48 font:14 font:medium r:4 leading:1 flex:row!" href="vscode:extension/dbaeumer.vscode-eslint">
1515
<VSCodeSvg className="ml:-4 mr:10" width="20" height="20" />
1616
<span>Install to Visual Studio Code</span>
1717
</a>

site/app/[locale]/guide/code-linting/vscode/content.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import VSCodeSvg from '~/site/public/icons/visualstudiocode.svg'
77
Install the [VSCode ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) in the Visual Studio Marketplace if you haven't already.
88
</StepL>
99
<StepR>
10-
<a className="app-object app-object-interactive flex:col px:25 h:48 font:14 font:semibold r:4 leading:1 flex:row!" href="vscode:extension/dbaeumer.vscode-eslint">
10+
<a className="app-object app-object-interactive flex:col px:25 h:48 font:14 font:medium r:4 leading:1 flex:row!" href="vscode:extension/dbaeumer.vscode-eslint">
1111
<VSCodeSvg className="ml:-4 mr:10" width="20" height="20" />
1212
<span>Install to Visual Studio Code</span>
1313
</a>

site/app/[locale]/guide/conditional-queries/components/StartingStyleExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default () => <>
44
<Demo>
55
<button className='btn btn-md yellow touch-yellow' popoverTarget="my-popover">Open Popover</button>
66
<div id="my-popover" popover="auto" className="~transform|.3s b:1|frame-light p:8x r:3x bg:surface max-w:90vw bg:black/.3::backdrop scale(0)@starting-style">
7-
<div className='text:20 font:semibold text:center'>@starting-style</div>
7+
<div className='text:20 font:medium text:center'>@starting-style</div>
88
<div className='text:14 mt:4x'>Hello! I&apos;m a popover with zoom-in effect ✨</div>
99
<button className='btn btn-md yellow mt:6x w:full touch-yellow' popoverTarget="my-popover" popoverTargetAction="hide">Close</button>
1010
</div>

site/app/[locale]/guide/installation/(main)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default async function Layout(props: any) {
1010
const $ = createTranslation(locale)
1111
return (
1212
<DocLayout {...props} pageCategories={pageCategories} pageFileURL={import.meta.url} metadata={metadata}>
13-
<p className='italic'>Adopt runtime, zero-runtime, or hydration — it’s your call.</p>
13+
<p className='italic'>Runtime, zero-runtime, or hydration — it’s your call.</p>
1414
<Tabs className="mb:8x">
1515
<Tab href='/guide/installation'>{$('Quick Start')} <TabBadge>{$('Recommanded')}</TabBadge></Tab>
1616
<Tab href='/guide/installation/cli'>{$('Standalone CLI')}</Tab>

site/app/[locale]/guide/installation/astro/content.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Step $row>
1515
<StepL>
1616
### <StepNum />Install Master CSS
17-
Install `@master/css.astro` plugin into your project.
17+
Install [`@master/css.astro`](/reference/astro) plugin into your project.
1818
</StepL>
1919
<StepR>
2020
```bash action=install
@@ -44,14 +44,9 @@
4444
```js name=astro.config.js
4545
import { defineConfig } from 'astro/config'
4646
import masterCSS from '@master/css.astro' // [!code highlight]
47-
import sitemap from '@astrojs/sitemap'
4847

49-
// https://astro.build/config
5048
export default defineConfig({
51-
compressHTML: true,
52-
trailingSlash: 'never',
5349
integrations: [
54-
sitemap(),
5550
masterCSS() // [!code highlight]
5651
]
5752
})

site/app/[locale]/guide/installation/nuxtjs/content.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Step $row>
1515
<StepL>
1616
### <StepNum />Install Master CSS
17-
Install `@master/css.nuxt` plugin into your project.
17+
Install [`@master/css.nuxt`](/reference/nuxt) plugin into your project.
1818
</StepL>
1919
<StepR>
2020
```bash action=install
@@ -36,12 +36,12 @@
3636
<Step $row>
3737
<StepL>
3838
### <StepNum />Set up Master CSS
39-
Add a `@master/css.nuxt` module in `nuxt.config.ts`.
39+
Add a [`@master/css.nuxt`](/reference/nuxt) module in `nuxt.config.ts`.
4040

4141
- By default, `options.mode` is set to `progressive`.
4242
</StepL>
4343
<StepR>
44-
```js name=nuxt.config.ts
44+
```ts name=nuxt.config.ts
4545
export default defineNuxtConfig({
4646
modules: [
4747
'@master/css.nuxt' // [!code highlight]

site/app/[locale]/guide/installation/vite/content.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<Step $row>
1414
<StepL>
1515
### <StepNum />Install Master CSS
16-
Install `@master/css.vite` plugin into your project.
16+
Install [`@master/css.vite`](/reference/vite) plugin into your project.
1717
</StepL>
1818
<StepR>
1919
```bash action=install

site/app/[locale]/guide/introduction/components/PrematureAbstraction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const code3 = `
5252
<div class="flex translateY(-5):hover ~transform|.2s overflow:hidden bg:white r:10">
5353
<img class="object:cover w:140 aspect:16/9" … />
5454
<div class="p:25">
55-
<div class="font:semibold text:18">Mountain</div>
55+
<div class="font:medium text:18">Mountain</div>
5656
<div class="text:14 lines:2">A mountain is an elevated portion of the Earth's crust, generally with steep sides that show significant exposed bedrock.</div>
5757
</div>
5858
</div>
@@ -66,7 +66,7 @@ You always abstract your style, even when unsure about its reusability.
6666
<div className="flex translateY(-5):hover ~transform|.2s overflow:hidden bg:surface r:10 s:panel center-content">
6767
<Image className="object:cover aspect:1/1 flex:0|0|auto" src={mountainImage} placeholder="blur" width={140} height={140} priority={true} alt="Markup-driven CSS Overview" />
6868
<div className="p:25">
69-
<div className="fg:strong font:semibold text:18">Mountain</div>
69+
<div className="fg:strong font:medium text:18">Mountain</div>
7070
<div className="text:14 lines:2">A mountain is an elevated portion of the Earth's crust, generally with steep sides that show significant exposed bedrock.</div>
7171
</div>
7272
</div>

site/app/[locale]/guide/introduction/content.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export default {
268268
'': 'flex translateY(-5):hover ~transform|.2s overflow:hidden bg:white r:10',
269269
image: 'object:cover w:140 aspect:16/9',
270270
content: 'p:25',
271-
title: 'font:semibold text:18',
271+
title: 'font:medium text:18',
272272
text: 'text:14 lines:2'
273273
}
274274
}

site/app/[locale]/guide/language-service/components/Features.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ export default () => (
88
<Feature>
99
<IconEyeHeart className="app-icon-primary" />
1010
<div>
11-
<p className='text:18!'><b className="font:semibold">Syntax highlighting</b></p>
11+
<p className='text:18!'><b className="font:medium">Syntax highlighting</b></p>
1212
<p>Improve the readability and recognition of classes</p>
1313
</div>
1414
</Feature>
1515
<Feature>
1616
<IconZoomCode className="app-icon-primary" />
1717
<div>
18-
<p className='text:18!'><b className="font:semibold">Syntax inspection</b></p>
18+
<p className='text:18!'><b className="font:medium">Syntax inspection</b></p>
1919
<p>Preview generated CSS and references on hover or list</p>
2020
</div>
2121
</Feature>
2222
<Feature>
2323
<IconFocusAuto className="app-icon-primary" />
2424
<div>
25-
<p className='text:18!'><b className="font:semibold">Code completion</b></p>
25+
<p className='text:18!'><b className="font:medium">Code completion</b></p>
2626
<p>Hints and auto-completion of available syntax</p>
2727
</div>
2828
</Feature>
2929
<Feature>
3030
<IconWand className="app-icon-primary" />
3131
<div>
32-
<p className='text:18!'><b className="font:semibold">Color preview</b></p>
32+
<p className='text:18!'><b className="font:medium">Color preview</b></p>
3333
<p>Calculate and render syntax colors within a document</p>
3434
</div>
3535
</Feature>

0 commit comments

Comments
 (0)