=== Keitai Emoji ===
Contributors: kbsrco
Tags: emoji, shortcode, retro, pixel art, svg
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.4.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

148 hand-made 12x12 pixel-art emoji as inline SVG shortcodes, in the style of
Japanese feature phones around the year 2000.

== Description ==

Keitai Emoji adds 148 pixel-art emoji drawn on a 12x12 dot grid, the size and
style of the emoji built into Japanese "keitai" feature phones of the i-mode
era. Each emoji is output as a small inline SVG that inherits the surrounding
text color (currentColor), so it blends into any color scheme, light or dark.

Write a shortcode anywhere in your content:

`[keitai hare]` renders a sun, `[keitai heart]` a heart, `[keitai new]` a NEW badge.

The plugin was built as a companion to the "Keitai" theme, but it works with
any theme. A minimal one-line style is added for vertical alignment; there is
no other front-end footprint, and no JavaScript is loaded on the front end.

= Editor palette =

* Classic editor (Visual): a toolbar button opens a searchable palette of all
  148 emoji; clicking one inserts the shortcode at the cursor.
* Classic editor (Text): an Quicktags button opens the same palette.
* Block editor: a meta box below the editor shows the palette; clicking an
  emoji copies its shortcode to the clipboard for pasting.

= Emoji list =

* `[keitai hare]` — 晴れ
* `[keitai kumori]` — 曇り
* `[keitai ame]` — 雨
* `[keitai yuki]` — 雪
* `[keitai kaminari]` — 雷
* `[keitai taifu]` — 台風
* `[keitai kiri]` — 霧
* `[keitai kosame]` — 小雨
* `[keitai tsuki]` — 月
* `[keitai hoshi]` — 星
* `[keitai egao]` — 笑顔
* `[keitai niko]` — にこにこ
* `[keitai wink]` — ウインク
* `[keitai naki]` — 泣き顔
* `[keitai shun]` — しょんぼり
* `[keitai ikari]` — 怒り顔
* `[keitai ase]` — 冷や汗
* `[keitai odoroki]` — 驚き
* `[keitai love]` — 目がハート
* `[keitai fura]` — ふらふら
* `[keitai heart]` — ハート
* `[keitai wareta]` — 割れハート
* `[keitai hearts]` — ハート2つ
* `[keitai onpu]` — 音符
* `[keitai kirakira]` — キラキラ
* `[keitai ikari2]` — いかりマーク
* `[keitai ase2]` — 汗マーク
* `[keitai shizuku]` — たらーっ
* `[keitai zzz]` — 眠い
* `[keitai denkyu]` — 電球
* `[keitai bikkuri]` — ビックリ
* `[keitai hatena]` — ハテナ
* `[keitai bikkuri2]` — ビックリハテナ
* `[keitai ok]` — OK
* `[keitai ng]` — NG
* `[keitai id]` — ID
* `[keitai up]` — UP
* `[keitai new]` — NEW
* `[keitai free]` — FREE
* `[keitai maruhi]` — マル秘
* `[keitai iwai]` — 祝
* `[keitai yuryo]` — 有料
* `[keitai muryo]` — 無料
* `[keitai wari]` — 割引
* `[keitai kin]` — 禁止
* `[keitai man]` — 満室
* `[keitai aki]` — 空室
* `[keitai sa]` — サービス
* `[keitai toku]` — お得
* `[keitai kuruma]` — 車
* `[keitai basu]` — バス
* `[keitai densha]` — 電車
* `[keitai shinkansen]` — 新幹線
* `[keitai hikoki]` — 飛行機
* `[keitai fune]` — 船
* `[keitai jitensha]` — 自転車
* `[keitai ie]` — 家
* `[keitai biru]` — ビル
* `[keitai yubin]` — 郵便
* `[keitai byoin]` — 病院
* `[keitai hoteru]` — ホテル
* `[keitai parking]` — 駐車場
* `[keitai gasorin]` — ガソリンスタンド
* `[keitai shingo]` — 信号
* `[keitai toire]` — トイレ
* `[keitai shokuji]` — 食事
* `[keitai kohi]` — 喫茶
* `[keitai beer]` — ビール
* `[keitai onigiri]` — おにぎり
* `[keitai keki]` — ケーキ
* `[keitai ramen]` — ラーメン
* `[keitai baga]` — ハンバーガー
* `[keitai sakka]` — サッカー
* `[keitai yakyu]` — 野球
* `[keitai tenisu]` — テニス
* `[keitai gorufu]` — ゴルフ
* `[keitai suki]` — スキー
* `[keitai basuke]` — バスケットボール
* `[keitai checker]` — チェッカーフラッグ
* `[keitai denwa]` — 電話
* `[keitai keitai]` — 携帯電話
* `[keitai pokeberu]` — ポケベル
* `[keitai mail]` — メール
* `[keitai camera]` — カメラ
* `[keitai terebi]` — テレビ
* `[keitai cd]` — CD
* `[keitai kagi]` — 鍵
* `[keitai tokei]` — 時計
* `[keitai okane]` — お金
* `[keitai present]` — プレゼント
* `[keitai tabako]` — タバコ
* `[keitai megane]` — 眼鏡
* `[keitai hon]` — 本
* `[keitai enpitsu]` — 鉛筆
* `[keitai hasami]` — ハサミ
* `[keitai inu]` — 犬
* `[keitai neko]` — 猫
* `[keitai uma]` — 馬
* `[keitai buta]` — 豚
* `[keitai hiyoko]` — ひよこ
* `[keitai sakana]` — 魚
* `[keitai pengin]` — ペンギン
* `[keitai usagi]` — うさぎ
* `[keitai sakura]` — 桜
* `[keitai churippu]` — チューリップ
* `[keitai kuroba]` — 四つ葉
* `[keitai momiji]` — もみじ
* `[keitai icho]` — いちょう
* `[keitai migi]` — 右矢印
* `[keitai hidari]` — 左矢印
* `[keitai ue]` — 上矢印
* `[keitai shita]` — 下矢印
* `[keitai migiue]` — 右上矢印
* `[keitai migishita]` — 右下矢印
* `[keitai hidariue]` — 左上矢印
* `[keitai hidarishita]` — 左下矢印
* `[keitai maru]` — マル
* `[keitai batsu]` — バツ
* `[keitai onsen]` — 温泉
* `[keitai otoko]` — 男
* `[keitai onna]` — 女
* `[keitai sharp]` — シャープ
* `[keitai tsuri]` — クリスマスツリー
* `[keitai tanjobi]` — 誕生日ケーキ
* `[keitai oukan]` — 王冠
* `[keitai torofi]` — トロフィー
* `[keitai hata]` — 旗
* `[keitai hono]` — 炎
* `[keitai bakudan]` — 爆弾
* `[keitai yubiwa]` — 指輪
* `[keitai maiku]` — マイク
* `[keitai gemu]` — ゲーム
* `[keitai saikoro]` — サイコロ
* `[keitai kachinko]` — カチンコ
* `[keitai beru]` — ベル
* `[keitai gu]` — グー
* `[keitai choki]` — チョキ
* `[keitai pa]` — パー
* `[keitai num0]` — （0）
* `[keitai num1]` — （1）
* `[keitai num2]` — （2）
* `[keitai num3]` — （3）
* `[keitai num4]` — （4）
* `[keitai num5]` — （5）
* `[keitai num6]` — （6）
* `[keitai num7]` — （7）
* `[keitai num8]` — （8）
* `[keitai num9]` — （9）

== Frequently Asked Questions ==

= Does it work with the block editor? =

Yes. Shortcodes render on the front end regardless of the editor. The
toolbar palette is available in the classic editor (and inside Classic
blocks); in the block editor a meta box provides the palette in
copy-to-clipboard form.

= Why do the emoji change color? =

They are inline SVGs filled with currentColor, so they follow the text color
of their surroundings - links, headings, bands, dark schemes and all.

= Can I use them in theme templates? =

Yes. Call `keitai_emoji_svg( 'hare' )` (returns an empty string for unknown
slugs), or `do_shortcode( '[keitai hare]' )`.

== Changelog ==

= 0.4.0 =
* The shortcode is now `[keitai slug]`; the previous `[k slug]` was too generic
  a name for a public plugin. Existing content must be updated.
* Register the inline style through wp_enqueue_scripts instead of printing a
  style tag in wp_head.

= 0.3.1 =
* Escape palette output with wp_kses (Plugin Check).

= 0.3.0 =
* Editor palette: TinyMCE toolbar button and Quicktags button with a
  searchable floating palette; block-editor meta box with copy-to-clipboard.

= 0.2.0 =
* Palette meta box on the post edit screen.
* 10 circled-number emoji (num0-num9) added; 148 emoji total.

= 0.1.0 =
* Initial release with 138 emoji and the [k] shortcode.
