GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - johnmurphy01/css-inline: Convert JSX/TSX CSS Inline styles to regular CSS notation

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
example
example
 
 
images
images
 
 
src
src
 
 
.DS_Store
.DS_Store
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
README.md
README.md
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
webpack.config.js
webpack.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

css-inline

CSS Inline is meant to make it easier to create JSX/TSX inline CSS styles and convert it to regular CSS styling

Features

CSS Inline Example

CSS Inline currently provides 3 selection options:

  1. Select a single inline style:
backgroundColor: 'red'

The result will be copied to the clipboard. Pasting the clipboard will result in:

background-color: red;
  1. Select multiple inline styles:
backgroundColor: 'red', fontSize: '1rem'

The result will be copied to the clipboard. Pasting the clipboard will result in:

background-color: red;
font-size: 1rem;
  1. Select entire JSX/TSX that contains a style prop:
<div style={{backgroundColor: 'red', fontSize: '1rem'}}>Content</div>

The result will be copied to the clipboard. Pasting the clipboard will result in:

background-color: red;
font-size: 1rem;

Known Issues

This extension is currently in development, so any issues or feedback would be appreciated to make it a better and more robust tool.

Release Notes

1.0.0

  • Initial release of CSS Inline

1.0.1

  • Added messaging for failure and success
  • Include example GIF

1.0.2

  • Add Marketplace icon

1.0.3

  • Add new Marketplace categories and tags

1.0.4

  • Use Webpack to bundle extension

1.0.5

  • Fixed issue with parsing CSS values with commas
  • Added unit tests
  • Create Github action to compile and run tests

1.0.6

  • Fixed issue with parsing CSS values with combination of strings and numbers
  • Added unit test to verify the fix

1.0.7

  • Fixed issue with parseing CSS values with rgba values followed by another property
  • Added unit test to verify the fix

About

Convert JSX/TSX CSS Inline styles to regular CSS notation

Topics

cssjsxtsxvscode-extension

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.