mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04: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:
parent
91c8b6ecbf
commit
f1daff2437
30 changed files with 324 additions and 382 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue