1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/web_src/less
Yarden Shoham e828564445
Add color previews in markdown (#21474)
* Resolves #3047

Every time a color code will be in \`backticks`, a cute little color
preview will pop up


[Inspiration](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#supported-color-models)

#### Before

![image](https://user-images.githubusercontent.com/20454870/196631524-298afbbf-d2c8-4018-92a5-0393a693d850.png)

#### After

![image](https://user-images.githubusercontent.com/20454870/196631397-36c561e4-08f5-465a-a36e-76084e30b08a.png)

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-10-21 20:00:53 +08:00
..
chroma Improve arc-green code theme (#21039) 2022-09-03 23:24:18 +08:00
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
codemirror Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
console Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
features Fix doc and heatmap for the Vue3 refactoring (#21312) 2022-10-02 10:13:44 +08:00
markup Disallow selecting the text of buttons (#19330) 2022-04-14 16:57:19 +08:00
modules Use separate class for tippy targets (#20742) 2022-08-10 22:47:28 +08:00
shared Make branch icon stand out more (#20726) 2022-08-10 15:23:11 -04:00
standalone Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
themes Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
_admin.less Changed scroll to auto for some UI elements. (#20294) 2022-07-10 20:58:26 +08:00
_base.less Add color previews in markdown (#21474) 2022-10-21 20:00:53 +08:00
_dashboard.less Add code highlighting in issue titles (#21432) 2022-10-16 02:24:41 +08:00
_editor.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2021-12-13 00:04:18 +01:00
_form.less Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
_organization.less Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
_package.less Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
_repository.less Diff file tree tweaks (#21446) 2022-10-14 17:43:25 +08:00
_review.less Add new CSS variables --color-accent and --color-small-accent (#21305) 2022-10-07 17:48:03 +08:00
_svg.less Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
_tribute.less Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
_user.less Add badge capabilities to users (#20607) 2022-08-18 02:25:25 +03:00
animations.less Consolidate more CSS colors into variables (#21402) 2022-10-12 12:26:27 -04:00
helpers.less Use native inputs in whitespace dropdown (#20980) 2022-09-25 22:01:05 +08:00
index.less Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00