Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/smartui-custom-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The file path method is recommended for larger stylesheets and team collaboratio

2. Add your CSS rules to the file:

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

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

3. Reference the file path in your SmartUI configuration:

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

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

### File Path Template

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

### Embedded String Template

```json title="smartui-web.json"
```json
{
"web": {
"browsers": ["chrome"],
Expand Down
Loading