Releases: master-co/css
Releases · master-co/css
v2.0.0-rc.6
v2.0.0-rc.5
v2.0.0-rc.4
v2.0.0-rc.3
v2.0.0-rc.2
v2.0.0-rc.1
New Features
@master/css.vue
, includingCSSProvider
dac0ffd- Ambiguous shorthand support for
config.values
7157d3b - Class Variant #191 3dd94ff
- Integrate Master CSS Static Extraction in Vite way f461c83
- Integrate Master CSS Static Extraction in Webpack way 761b902
- Master CSS ESLint Plugin dfb66ee
- Master CSS ESLint Plugin Config 91bce44
- Master CSS Nuxt baf1e50
- Master CSS Runtime, performs a single responsibility dac3834
- Master CSS Server 970928b
- Master CSS Server Nitro 72061c4
- Master CSS static extractor for various raw text 2f51401
- Master CSS Variables, resolved #283 c97de2f
- Multiplier unit
x
andconfig.baseUnit
#316 51bf4a2 - Nested configuration for
classes
/mediaQueries
cbd27ad - Pre-renders Master CSS class syntax in HTML 85d82a7
- Smart conversion of units for factors in calc 6b7c08b
- Theme Service 4e6ae25
- Validator for Master CSS class syntax 73bfec1
Class Variant
Compiler
- Option
.additions
for files scanned at startup 2364f92 - Option
.additions
for files scanned at startup 3fac285
CSS
config.extends
multiple configurations #180 5b080aeconfig.keyframes
generated on demand #181 ffcdef7config.precedence
for how to insert<style id="master">
into the DOM tree or HTML 357811fconfig.themeDriver
#177 797da10gradient-text
semantic +gradient()
shorthand #167 fb92b98mcss render .next/**/*.html
command for things like Next.js #205 6e95826vw
vh
max-vw
max-vh
min-vw
min-vh
semantics #124 ad024c4- Config
colors
supportrgba()
function #105 d6af6bf - Fallback invalid at-rules
@.*
to be themes #214 836e702 - Fonts Configuration API, resolved #275 824d0ed
- Independent theme API f14182e
- Master CSS CLI 977daf5
- Master CSS Variables bb3b660
- Semantic
fit
=width:fit
+height:fit
#257 a199e34 - Support BEM's double underscore naming #218 8c8586d
- Support for converting unit-valued parameters in CSS functions 6cd038d
- Support making all declarations important with
config.important
#131 ccbff2e - Support scoping all CSS rules with
config.scope
#133 c41baea #132 - Support semantics and rules with animation keyframes #222 f2f8b87
React
CSSLazyProvider
for lazy loading JIT engine fa97d0cCSSProvider
,useCSS
45dccb1cve
supports Boolean properties #247 c7b6c07ThemeProvider
Pass theme context, state, andswitch()
8fbb553- Integrate Class Variant using React elements #191 277ee1d
Svelte
CSSProvider
andLazyCSSProvider
standardly register Master CSS in Svelte 6864e11LazyCSSProvider
for Progressive Rendering b5577b4
Syntax
- A new shorthand
max:WxH
formax-width
andmax-height
a2396d0 - A new shorthand
min:WxH
formin-width
andmin-height
25c2398 - A new shorthand
WxH
forwidth
andheight
1bb9e90
Vue
Performance Upgrades
- Create
CSSStyleRule
based on different themes, resolved #303 #301 820705e - Improve rule parsing and transformation [04aa0e6](https://github.com/master-co/css/...
v2.0.0-beta.215
v2.0.0-beta.214
Improvements
- Refactor default media queries to use screen sizes tokens dd9dbbb @1aron
- Remove unused variables
size
and simplify code 5619e66 @1aron - Rename variables
box-size
toscreen
a798d99 @1aronApply the screen variables: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 } } }
- max-w:md + max-w:screen-md
- Use
size:W|H
,max:W|H
,min:W|H
instead ofWxH
,max:WxH
,min:WxH
da8331e @1aron- 16x16 + size:16 = size:4x
- max:16x32 + max:16|32 = max:4x|8x
The- min:16x16 + min:16 = min:4x
x
separator in16x32
collides with the latest unit multiplierx
, like16xx32x
, and it is unintuitive.
Documentation
- New documentation Screen Sizes ddc8631 @1aron
- Add code to cancel maximum width for media #318 d3835a5 @1aron
- Update Box Decoration Break demos f1a9d2f @1aron