Jordan Vidrine
3b334f54fc
FIX: adjust codeblock link styling ( #30036 )
2024-12-02 09:49:54 -06:00
Jordan Vidrine
44fbf1048c
UX: Multiple codeblocks fixes ( #29898 )
2024-11-22 13:52:23 -06:00
Penar Musaraj
a97ac905d1
Revert "UX: Codeblocks edits ( #29893 )" ( #29896 )
...
This reverts commit 667a09b159
.
2024-11-22 12:09:40 -05:00
Jordan Vidrine
667a09b159
UX: Codeblocks edits ( #29893 )
2024-11-22 09:05:48 -06:00
Jordan Vidrine
34e6c8f3dd
UX: Codeblocks experiment merge ( #29870 )
2024-11-20 17:24:41 -06:00
Kris
5a54aefd27
UX: highlight code in em
and strong
blocks ( #26435 )
2024-03-29 16:41:12 -04:00
David Taylor
683c038ec0
UX: Add some missing hljs classes
2023-12-11 18:11:27 +00:00
David Taylor
a48595ae7a
DEV: Remove unused hljs css selectors
...
In modern hljs, languages should be targetted with `lang-` prefixes. These selectors haven't worked in Discourse for a long time, so let's drop them to reduce confusion
2023-12-11 18:11:27 +00:00
Penar Musaraj
6837888b8b
UX: Update highlight.js styles ( #23999 )
2023-10-18 19:07:39 -04:00
Chapoi
96d656f450
UX: update hljs-builtin-name highlight ( #16859 )
...
* update hljs-builtin-name highlight
* Move dark-light function to better file
2022-05-18 15:55:40 +02:00
Sam
d4e4f32f35
Revert "UX: Inline code block edit ( #16394 )" ( #16404 )
...
This reverts commit 11abb50cf7
.
Styling change is still under discussion
2022-04-07 09:21:23 +10:00
Jordan Vidrine
11abb50cf7
UX: Inline code block edit ( #16394 )
2022-04-06 15:16:19 -05:00
Penar Musaraj
c937afc75e
FEATURE: automatic dark mode ( #10341 )
...
A first step to adding automatic dark mode color scheme switching. Adds a new SCSS file at `color_definitions.scss` that serves to output all SCSS color variables as CSS custom properties. And replaces all SCSS color variables with the new CSS custom properties throughout the stylesheets.
This is an alpha feature at this point, can only be enabled via console using the `default_dark_mode_color_scheme_id` site setting.
2020-08-03 22:57:10 -04:00
Penar Musaraj
25dcc577ae
DEV: More color transformation refactoring
2020-07-29 12:01:12 -04:00
Kris
b54b4d05c5
UX: improve code highlighting diffs for dark themes
2018-12-06 10:54:30 -05:00
Joffrey JAFFEUX
174d392e5a
DEV: adds prettier ( #5956 )
...
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`
It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Kris
13840942b9
UX: Fixing code highlighting color issue in dark themes
2017-12-04 10:28:32 -05:00
Philipp Wolfer
f2899b9437
Highlight.js: Adapt CSS to new CSS class reference
...
See http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
2016-03-09 08:58:53 +01:00
Kane York
e81f21d848
FIX: Github oneboxes in dark theme
2015-08-18 15:02:41 -07:00
Kane York
a4da72a83b
FIX: Dark theme fixes for admin, quotes, code
2015-08-18 12:23:06 -07:00
Jeff Atwood
737f81b3a9
remove default bgcolor from code highlight
2015-02-02 01:53:24 -08:00
Jeff Atwood
cef3cdff86
remove unnecessary pre/code base CSS
2014-09-24 10:46:45 -07:00
Kris Aubuchon
3f102a98da
initial move of common desktop/mobile styles to common/base
2014-04-19 14:04:22 -04:00