mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-14 13:00:09 +02:00
refactor: Rename appearance to theme (#3237)
* refactor: Rename appearance to theme * fix * update changelog * rename theme_dark to theme--dark * add about migration
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
@import "./variables.module.scss";
|
||||
|
||||
.excalidraw {
|
||||
--appearance-filter: none;
|
||||
--theme-filter: none;
|
||||
--button-destructive-bg-color: #{$oc-red-1};
|
||||
--button-destructive-color: #{$oc-red-9};
|
||||
--button-gray-1: #{$oc-gray-2};
|
||||
@@ -35,16 +35,16 @@
|
||||
--space-factor: 0.25rem;
|
||||
--text-primary-color: #{$oc-gray-8};
|
||||
|
||||
&.Appearance_dark {
|
||||
&.theme--dark {
|
||||
background: $oc-black;
|
||||
|
||||
&.Appearance_dark-background-none {
|
||||
&.theme--dark-background-none {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.Appearance_dark {
|
||||
--appearance-filter: #{$appearance-filter};
|
||||
&.theme--dark {
|
||||
--theme-filter: #{$theme-filter};
|
||||
--button-destructive-bg-color: #5a0000;
|
||||
--button-destructive-color: #{$oc-red-3};
|
||||
--button-gray-1: #363636;
|
||||
|
Reference in New Issue
Block a user