@primer/primitives 8.0.0-rc.5b958f65 → 8.0.0-rc.94b10db1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "8.0.0-rc.5b958f65",
3
+ "version": "8.0.0-rc.94b10db1",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -4,9 +4,9 @@ import type {LineFormatting} from 'style-dictionary/types/FormatHelpers'
4
4
  const {fileHeader, formattedVariables} = StyleDictionary.formatHelpers
5
5
 
6
6
  /**
7
- * @description Converts `StyleDictionary.dictionary.tokens` to csssection
7
+ * @description Converts `StyleDictionary.dictionary.tokens` to css with prefers dark and light section
8
8
  * @param arguments [FormatterArguments](https://github.com/amzn/style-dictionary/blob/main/types/Format.d.ts)
9
- * @param arguments.options outputReferences `boolean`, selector `string`
9
+ * @param arguments.options outputReferences `boolean`, selector `string`, selectorLight `string`, selectorDark `string`
10
10
  * @returns formatted `string`
11
11
  */
12
12
  export const cssVariables: StyleDictionary.Formatter = ({dictionary, options = {}, file}: FormatterArguments) => {