Skip to content

Commit

Permalink
Release v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zaytri committed Sep 21, 2023
1 parent fbc8c0f commit d44c561
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slime2",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"homepage": ".",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions release/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- base theme -->
<!-- using slime2 version 0.2.0 -->
<!-- using slime2 version 0.2.1 -->

<!doctype html>
<html lang="en">
Expand All @@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!-- title and favicon -->
<title>slime2 v0.2.0</title>
<title>slime2 v0.2.1</title>
<link
rel="icon"
type="image/x-icon"
Expand All @@ -33,8 +33,8 @@
<link href="base.css" rel="stylesheet" />

<!-- slime2 JS/CSS -->
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/zaytri/[email protected].0/release/slime2.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zaytri/[email protected].0/release/slime2.css">
<script type="module" crossorigin src="https://cdn.jsdelivr.net/gh/zaytri/[email protected].1/release/slime2.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zaytri/[email protected].1/release/slime2.css">
</head>

<!-----------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions release/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ var slime2Chat = {
.css('--userColor', userColor)
.addClass(userColorBrightness === 'dark' ? 'user-dark' : 'user-light')

// set emote size
const emoteSize = calculateEmoteSize(parts)
messageClone.find('.content').addClass(`emote-${emoteSize}`)

Expand Down
Loading

0 comments on commit d44c561

Please sign in to comment.