Skip to content

Commit 47951f7

Browse files
committed
docs(readme): adjust sample files
1 parent 1914ecd commit 47951f7

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -98,48 +98,48 @@ theme_name.lg:
9898
```css
9999
/* Generated CSS file */
100100
@custom-media --Themename-small-mediaQuery (only screen and (max-width: 47.9375rem));
101-
@custom-media --Themename-small-resolution (2x);
102-
@custom-media --Themename-small-maxWidth (47.9375rem);
101+
@custom-media --Themename-small-resolution (resolution: 2x);
102+
@custom-media --Themename-small-maxWidth (max-width: 47.9375rem);
103103
@custom-media --Themename-medium-mediaQuery (only screen and (min-width: 48rem) and (max-width: 63.9375rem));
104-
@custom-media --Themename-medium-resolution (2x);
105-
@custom-media --Themename-medium-minWidth (48rem);
106-
@custom-media --Themename-medium-maxWidth (63.9375rem);
104+
@custom-media --Themename-medium-resolution (resolution: 2x);
105+
@custom-media --Themename-medium-minWidth (min-width: 48rem);
106+
@custom-media --Themename-medium-maxWidth (max-width: 63.9375rem);
107107
@custom-media --Themename-large-mediaQuery (only screen and (min-width: 64rem) and (max-width: 89.9375rem));
108-
@custom-media --Themename-large-resolution (2x);
109-
@custom-media --Themename-large-minWidth (64rem);
110-
@custom-media --Themename-large-maxWidth (89.9375rem);
108+
@custom-media --Themename-large-resolution (resolution: 2x);
109+
@custom-media --Themename-large-minWidth (min-width: 64rem);
110+
@custom-media --Themename-large-maxWidth (max-width: 89.9375rem);
111111

112112
:root {
113113
--ThemeName-small-mediaQuery: "only screen and (max-width: 47.9375rem)";
114-
--ThemeName-small-resolution: "2x";
115-
--ThemeName-small-maxWidth: "47.9375rem";
114+
--ThemeName-small-resolution: "resolution: 2x";
115+
--ThemeName-small-maxWidth: "max-width: 47.9375rem";
116116
--ThemeName-medium-mediaQuery: "only screen and (min-width: 48rem) and (max-width: 63.9375rem)";
117-
--ThemeName-medium-resolution: "2x";
118-
--ThemeName-medium-minWidth: "48rem";
119-
--ThemeName-medium-maxWidth: "63.9375rem";
117+
--ThemeName-medium-resolution: "resolution: 2x";
118+
--ThemeName-medium-minWidth: "min-width: 48rem";
119+
--ThemeName-medium-maxWidth: "max-width: 63.9375rem";
120120
--ThemeName-Group-large-mediaQuery: "only screen and (min-width: 64rem) and (max-width: 89.9375rem)";
121-
--ThemeName-Group-large-resolution: "2x";
122-
--ThemeName-Group-large-minWidth: "64rem";
123-
--ThemeName-Group-large-maxWidth: "89.9375rem";
121+
--ThemeName-Group-large-resolution: "resolution: 2x";
122+
--ThemeName-Group-large-minWidth: "min-width: 64rem";
123+
--ThemeName-Group-large-maxWidth: "max-width: 89.9375rem";
124124
}
125125
```
126126

127127
```js
128128
// Generated JS file
129129
const BREAKPOINTS = {
130130
"ThemeName-small-mediaQuery": "only screen and (max-width: 47.9375rem)",
131-
"ThemeName-small-resolution": "2x",
132-
"ThemeName-small-maxWidth": "47.9375rem",
131+
"ThemeName-small-resolution": "resolution: 2x",
132+
"ThemeName-small-maxWidth": "max-width: 47.9375rem",
133133
"ThemeName-medium-mediaQuery":
134134
"only screen and (min-width: 48rem) and (max-width: 63.9375rem)",
135-
"ThemeName-medium-resolution": "2x",
136-
"ThemeName-medium-minWidth": "48rem",
137-
"ThemeName-medium-maxWidth": "63.9375rem",
135+
"ThemeName-medium-resolution": "resolution: 2x",
136+
"ThemeName-medium-minWidth": "min-width: 48rem",
137+
"ThemeName-medium-maxWidth": "max-width: 63.9375rem",
138138
"ThemeName-Group-large-mediaQuery":
139139
"only screen and (min-width: 64rem) and (max-width: 89.9375rem)",
140-
"ThemeName-Group-large-resolution": "2x",
141-
"ThemeName-Group-large-minWidth": "64rem",
142-
"ThemeName-Group-large-maxWidth": "89.9375rem",
140+
"ThemeName-Group-large-resolution": "resolution: 2x",
141+
"ThemeName-Group-large-minWidth": "min-width: 64rem",
142+
"ThemeName-Group-large-maxWidth": "max-width: 89.9375rem",
143143
};
144144
export default BREAKPOINTS;
145145
```

0 commit comments

Comments
 (0)