diff --git a/CONFIG.md b/CONFIG.md
index 5a597cb..ddbabad 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -40,20 +40,20 @@ common:
darkHCModeSuffix: '_darkHC'
# [optional]
variablesColors:
- # [optional] Identifier of the file containing primitives color components
- primitivesFileId: KfF6DnJTWHGZzC912345
- # [optional] Name of the column containing color variables in the primitive table. If a value is not specified, the default values will be taken
- primitivesCollectionName: Collection_1
- # [required] Identifier of the file containing tokens color components
+ # [required] Identifier of the file containing variables
tokensFileId: shPilWnVdJfo10YF12345
+ # [required] Variables collection name
+ tokensCollectionName: Base collection
# [required] Name of the column containing light color variables in the tokens table
- tokensLightCollectionName: Light
+ lightModeName: Light
# [optional] Name of the column containing dark color variables in the tokens table
- tokensDarkCollectionName: Dark
+ darkModeName: Dark
# [optional] Name of the column containing light high contrast color variables in the tokens table
- tokensLightHCCollectionName: Contast Light
+ lightHCModeName: Contast Light
# [optional] Name of the column containing dark high contrast color variables in the tokens table
- tokensDarkHCCollectionName: Contast Dark
+ darkHCModeName: Contast Dark
+ # [optional] Name of the column containing color variables in the primitive table. If a value is not specified, the default values will be taken
+ primitivesModeName: Collection_1
# [optional] RegExp pattern for color name validation before exporting. If a name contains "/" symbol it will be replaced by "_" before executing the RegExp
nameValidateRegexp: '^([a-zA-Z_]+)$'
# [optional] RegExp pattern for replacing. Supports only $n
diff --git a/README.md b/README.md
index 397fcb5..0216b21 100644
--- a/README.md
+++ b/README.md
@@ -504,26 +504,26 @@ For `figma-export colors`
**Important, in [CONFIG.md](CONFIG.md) use either colors or variablesColors.**
-With the introduction of color variables in Figma, you can use color variables instead of color styles. To do this in Figma, you need to create color variables and use them in color styles. Color variables can be used in figma-export, for this in [CONFIG.md](CONFIG.md) you need to use the `variablesColors` variable instead of `colors`.
+With the introduction of color variables in Figma, you can use color variables instead of color styles. Color variables can be used in figma-export, for this in [CONFIG.md](CONFIG.md) you need to use the `variablesColors` variable instead of `colors`.
-The value of variables can be either the final color value or another variable. For example, the `Primary` variable can contain the value `#FFFFFF`, and the `Secondary` variable can contain the value `Pand/90`.
-
-A collection of variables can contain color variables located in one file, as well as color variables located in different files through links. This is done to limit visibility and show only color tokens when designers are working together.
+The value of variables can be either the final color value or another variable. For example, the `Primary` variable can contain the value `#FFFFFF`, and the `Secondary` variable can contain the value `Pand/90`. Figma-export can work with any depth of variable nesting. You can specify the `primitivesModeName` parameter to indicate the mode for the final table with your primitives, if the parameter is not specified, the default value will be used.
Example:
-1. tokensLightCollectionName - the name of the color variable collection for the light theme
-2. tokensDarkCollectionName - the name of the color variable collection for the dark theme
-3. tokensLightHCCollectionName - the name of the color variable collection for the light theme with high contrast
-4. tokensDarkHCCollectionName - the name of the color variable collection for the dark theme with high contrast
-5. A variable that refers to another variable in a different file
+1. tokensCollectionName - the name of the variable collection
+2. lightModeName - the name of the color variable column for the light theme
+3. darkModeName - the name of the color variable column for the dark theme
+4. lightHCModeName - the name of the color variable column for the light theme with high contrast
+5. darkHCModeName - the name of the color variable column for the dark theme with high contrast
6. A variable that has a local value
+7. A variable that refers to another variable in a different file
-1. primitivesCollectionName - the name of the variable collection, if the value in [CONFIG.md](CONFIG.md) is not specified, the default value will be used
+1. primitivesModeName - the name of the variable column, if the value in [CONFIG.md](CONFIG.md) is not specified, the default value will be used
+2. A variable that has a local value
See [CONFIG.md](CONFIG.md) for more information in the variablesColors section.
diff --git a/images/figma_colors_primitives.png b/images/figma_colors_primitives.png
index a0e7029..7e24fb1 100644
Binary files a/images/figma_colors_primitives.png and b/images/figma_colors_primitives.png differ
diff --git a/images/figma_colors_tokens.png b/images/figma_colors_tokens.png
index dbe2ce4..bb2ab80 100644
Binary files a/images/figma_colors_tokens.png and b/images/figma_colors_tokens.png differ