https://github.com/niklaspor/px-rem-converter
A simple VS Code extension for converting pixel values to rem.
https://github.com/niklaspor/px-rem-converter
Last synced: 25 days ago
JSON representation
A simple VS Code extension for converting pixel values to rem.
- Host: GitHub
- URL: https://github.com/niklaspor/px-rem-converter
- Owner: NiklasPor
- Created: 2019-11-19T21:16:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T09:35:18.000Z (about 2 years ago)
- Last Synced: 2025-02-14T06:49:36.258Z (3 months ago)
- Language: TypeScript
- Size: 111 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# PX REM Converter
This extensions converts `px` values to `rem` values. As simple as it gets.
## Commands
| Command | Description |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `Convert: PX to REM` | Converts all pixel values in the selected text to `rem`. If no text is selected the line in which the cursor is placed is taken instead. |## Settings
| Option | Default | Description |
| ------------------------- | ------- | ---------------------------------------------- |
| `pxRemConverter.pxPerRem` | 16 | The amount of pixels which fit into one `rem`. |