Skip to content

Commit e24bfee

Browse files
committed
docs: fix core concepts documentation
- Fix Hash conversion to Sequential number assignment in N/M base documentation
1 parent 229fb93 commit e24bfee

File tree

1 file changed

+2
-2
lines changed
  • apps/landing/src/app/(detail)/docs/core-concepts/nm-base

1 file changed

+2
-2
lines changed

apps/landing/src/app/(detail)/docs/core-concepts/nm-base/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Class name generation follows these steps:
4040

4141
1. **Style signature creation**: Combines property, level, value, selector, and style order to create a unique key
4242
2. **File identifier addition**: Converts filename to number for per-file CSS splitting
43-
3. **Hash conversion**: Converts the generated key to a number using a hash function
44-
4. **N/M base conversion**: Converts the hashed number to an alphabetic class name using the N/M base system
43+
3. **Sequential number assignment**: Assigns a sequential number based on the order of unique styles in the GLOBAL_CLASS_MAP
44+
4. **N/M base conversion**: Converts the sequential number to an alphabetic class name using the N/M base system
4545
5. **Final combination**: Combines file identifier and class number to create the final class name when file identifier exists
4646

4747
## Examples

0 commit comments

Comments
 (0)