mirror of
https://github.com/flarum/core.git
synced 2025-08-12 19:34:18 +02:00
feat: vanilla CSS color scheme changes (#3996)
* feat: vanilla CSS color scheme changes * chore: scheme mixin * chore: remove darkmode & colored header less variables * feat: high contrast schemes
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
[data-theme^=light] {
|
||||
.light-contents-vars(@color: @body-bg-light; @control-color: @body-bg-light; @name: 'flagged-post');
|
||||
}
|
||||
|
||||
[data-theme^=dark] {
|
||||
.light-contents-vars(@color: @body-bg-dark; @control-color: @body-bg-dark; @name: 'flagged-post');
|
||||
}
|
||||
|
||||
.Post--flagged {
|
||||
--border-width: 2px;
|
||||
padding-top: 0 !important;
|
||||
@@ -16,7 +24,7 @@
|
||||
padding: 10px;
|
||||
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
||||
overflow: hidden;
|
||||
.light-contents(@color: @body-bg; @control-color: @body-bg);
|
||||
.light-contents(@name: 'flagged-post');
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
Reference in New Issue
Block a user