Skip to content

update the css class names for your discord theme, simplified.

Notifications You must be signed in to change notification settings

Metro420yt/class-update

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inputs

Add a step like this to your workflow:

- uses: metro420yt/class-update@v1-rc
  with:
    # folder that has your theme files
    # Default: themes
    folder: 'src'

    # file extension to target
    # Default: css
    ext: scss

    # url or relative path to a file containing an old&new pair of class names
    # Default: https://raw.githubusercontent.com/SyndiShanX/Update-Classes/main/Changes.txt
    diff: './changes.txt'

Outputs

The action provides these outputs:

  • totalChanges: the total number of classes that were replaced

For more info on how to use outputs, see "Context and expression syntax".


Credits