Skip to content

Commit c0dd251

Browse files
authored
chore: update website style (#260)
1 parent 0d24667 commit c0dd251

32 files changed

+1249
-50
lines changed

cspell.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
'shim',
1515
'packages/vscode-extension/out',
1616
'packages/rslint-test-tools/tests',
17+
'packages/rslint/pkg/mod',
1718
],
1819
dictionaries: ['dictionary'],
1920
dictionaryDefinitions: [

pnpm-lock.yaml

Lines changed: 660 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/dictionary.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,7 @@ untest
109109
unwinded
110110
variabledeclaration
111111
visitchildren
112-
GOEXE
112+
GOEXE
113+
stub
114+
llms
115+
unstub

website/docs/_nav.json renamed to website/docs/en/_nav.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
[
2+
{
3+
"text": "Rules",
4+
"link": "/rules/",
5+
"activeMatch": "/rules/"
6+
},
27
{
38
"text": "Guide",
49
"link": "/guide/",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

website/docs/rules/rule-manifest.tsx renamed to website/docs/en/rules/rule-manifest.tsx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -158,31 +158,7 @@ export default function RuleManifestTable() {
158158

159159
return (
160160
<>
161-
<style>
162-
{`
163-
.rule-status-title {
164-
font-size: 1rem;
165-
font-weight: 700;
166-
color: #1f2937;
167-
margin: 0 0 1.5rem 0;
168-
padding: 0;
169-
line-height: 1.2;
170-
letter-spacing: -0.025em;
171-
border-bottom: 3px solid #3b82f6;
172-
padding-bottom: 0.75rem;
173-
display: inline-block;
174-
}
175-
176-
.rule-status-title:hover {
177-
color: #1e40af;
178-
border-bottom-color: #1e40af;
179-
transition: all 0.2s ease-in-out;
180-
}
181-
`}
182-
</style>
183161
<div style={{ padding: '24px' }}>
184-
<h1 className="rule-status-title">Rule Implementation Status</h1>
185-
186162
{/* Summary Statistics */}
187163
<div
188164
style={{

website/env.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
declare module '*.mdx' {
2+
let MDXComponent: () => JSX.Element;
3+
export default MDXComponent;
4+
}
5+
6+
declare module '*.module.scss' {
7+
const classes: { readonly [key: string]: string };
8+
export default classes;
9+
}

0 commit comments

Comments
 (0)