Bot releases are visible (Hide)
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] 10 months ago
‼️ This release contains syntactically breaking changes.
size
and simplify code 5619e66 @1aron
box-size
to screen
a798d99 @1aron
export default {
variables: {
screen: {
'4xs': 360,
'3xs': 480,
'2xs': 600,
'xs': 768,
'sm': 834,
'md': 1024,
'lg': 1280,
'xl': 1440,
'2xl': 1600,
'3xl': 1920,
'4xl': 2560
}
}
}
Apply the screen variables:
- max-w:md
+ max-w:screen-md
size:W|H
, max:W|H
, min:W|H
instead of WxH
, max:WxH
, min:WxH
da8331e @1aron
- 16x16
+ size:16 = size:4x
- max:16x32
+ max:16|32 = max:4x|8x
- min:16x16
+ min:16 = min:4x
The x
separator in 16x32
collides with the latest unit multiplier x
, like 16xx32x
, and it is unintuitive.Published by github-actions[bot] 10 months ago
%
or indeterminate CSS variables from converting units 51f4118 @BenSeage
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] 10 months ago
This release helps you fix hydration errors caused by progressive rendering in Next.js, Nuxt.js, etc.
htmlparser2
instead of node-html-parser
to reliably parse HTML d213c8b @1aron
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
import { variables } from '@master/css'
/** @type {import('@master/css').Config} */
export default {
variables: {
- font: {
- family: {
- sans: ['Inter', ...variables.font.family.sans]
- }
- }
+ 'font-family': {
+ sans: ['Inter', ...variables['font-family'].sans]
+ }
}
}
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
foreground
variables to related rules 87fa6ba @1aron
@master/css-server
package a38f812 @1aron
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 12 months ago
class RuntimeCSS
d54ad61 @1aron
- import { MasterCSS } from '@master/css';
+ import { RuntimeCSS } from '@master/css';
- const css = new MasterCSS(config).observe(document)
+ const css = new RuntimeCSS(document, config).observe()
New APIs:
- window.masterCSS
+ window.runtimeCSS
- window.masterCSSs
+ window.runtimeCSSs
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
solid
to outline
and border
, resolved #302 2c889a0 @lesha1201 @1aron
CoreLayer
to Layer
5f3989e @1aron
rules
and variables
using kebab-case, resolved #305 b4582db @1aron
/** @type {import('@master/css').Config} */
export default {
variables: {
- fontFamily: {
- 'open-sans': 'Open Sans'
- }
+ font: {
+ family: {
+ 'open-sans': 'Open Sans'
+ }
+ }
}
}
override
doesn't work cab1bd0 @lesha1201
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago