Skip to content

Commit 82d5d50

Browse files
committed
custom-css
1 parent e0df8a2 commit 82d5d50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/smartui-custom-css.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The file path method is recommended for larger stylesheets and team collaboratio
8282

8383
2. Add your CSS rules to the file:
8484

85-
```css title="visual-test-styles.css"
85+
```css
8686
/* General samples: pick what suits your use case */
8787

8888
/* 1) Normalize fonts for consistent rendering */
@@ -97,7 +97,7 @@ body { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
9797

9898
3. Reference the file path in your SmartUI configuration:
9999

100-
```json title="smartui-web.json"
100+
```json
101101
{
102102
"web": {
103103
"browsers": ["chrome"],
@@ -118,7 +118,7 @@ The embedded string method is useful for quick edits and single-use CSS rules. P
118118
- Escape quotes properly (`'` or `\"`)
119119
- Use `\n` for newlines if needed (though single-line is preferred)
120120

121-
```json title="smartui-web.json"
121+
```json
122122
{
123123
"web": {
124124
"browsers": ["chrome"],
@@ -267,7 +267,7 @@ header, footer, nav { background: rgba(0,0,0,.45) !important; box-shadow: none !
267267

268268
### File Path Template
269269

270-
```json title="smartui-web.json"
270+
```json
271271
{
272272
"web": {
273273
"browsers": ["chrome"],
@@ -279,7 +279,7 @@ header, footer, nav { background: rgba(0,0,0,.45) !important; box-shadow: none !
279279

280280
### Embedded String Template
281281

282-
```json title="smartui-web.json"
282+
```json
283283
{
284284
"web": {
285285
"browsers": ["chrome"],

0 commit comments

Comments
 (0)