css
css copied to clipboard
The CSS Language and Framework
### Description  I am using MasterCSS in Nuxt 4, and although it works, I keep seeing this warning even though there is a Master CSS file. I am just...
### Description Valid ```html ``` Invalid ```html ``` ### Reproduction _No response_ ### System Informations _No response_
### Description You can paste the following code in Figma’s Console to obtain Master CSS variables with different modes. ```js collections = {}; localCollections = await figma.variables.getLocalVariableCollectionsAsync(); async function getEqualValue(obj)...
### Description With the VS Code MCSS extension active, when you attempt to comment out code, it sometimes doesn't work at all, or does work but with broken syntax highlighting....
### Context _No response_ ### Current ```js export default { variables: { primary: { '@light': '$(yellow-40)', '@dark': '$(yellow-50)' } } } ``` ### Expected ```js export default { variables: {...
### Description > 🚧 Under internal discussion 開發 Master UI 第一個 Button 元件後我意識到沒有透過 CSS Layers 管理優先級會導致未預期的樣式覆蓋並使 `config.styles` 無法支援選取器及媒體查詢。 假設 master.css.js: ```js export default { styles: { btn: 'inline-flex p:4x bg:white:focus...
### Description If specified normally, an empty style is generated. ```html ... ``` ```css .font-size\:clamp\(1\.5rem\,2vw\+1rem\,2\.25rem\) {} ``` When I wrap it with the calc() function, it works fine. ```html ......
### Description Hello guys, how to determine master css through traces in page sources. Are there any unique traces?
### Description ```ts export default { variables: { line: { neutral: { '@light': '$(slate-60)', '@dark': '$(gray-30)' }, light: '$(line-neutral)/.2', lighter: '$(line-neutral)/.15', lightest: '$(line-neutral)/.1' } } } ```
### Description ```js import type { Config } from '@master/css' export default { styles: { btn: { '': 'center-content inline-flex font:medium', // size xs: 'font:12 h:6x px:2x r:2x', sm: 'font:12...