libreoffice-online/browser/css/color-palette-dark.css
Pedro Pinto Silva f09f743636 Dark mode: Canvas, get directly the css var property value
- Get directly the particular css var that we want instead of on relying on a container
  - This makes things easier to maintain in the future
- Use a new --color-canvas instead of relying on --color-main-background
  - color-main-background is used in many other places which means
  that if we want to have some particular UI brighter or darker it
  would affect the canvas. Better to use a different/new css var for that

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3d7d3ba188e96080d9f6f814a5c46f85ea378142
2023-06-05 12:13:47 +02:00

42 lines
1.5 KiB
CSS

[data-theme='dark'] {
/*LibreOffice Colors: https://wiki.documentfoundation.org/Marketing/Branding#Colors
----------------------------------[to do]*/
--blue1-txt-primary-color: 3, 105, 163;
--green0-txt-primary-color: 16, 104, 2; /*green1 lacks contrast against white*/
--orange1-txt-primary-color: 163, 62, 3;
--yellow0-txt-primary-color: 135, 105, 0; /*yellow1 lacks contrast against white*/
--color-main-text: #e8e8e8;
--color-text-dark: #e8e8e8; /* select */
--color-text-darker: #c0bfbc; /* hover */
--color-text-lighter: #fff; /* secondard text, disabled */
--color-canvas: #121212;
--color-main-background: #121212;
--color-background-dark: #1E1E1E; /* select */
--color-background-darker: #000; /* todo: apply to pressed (active), li:hover(top menu on classic mode)*/
--color-background-lighter: #262626; /* hover, toolbar, dialog, disabled */
--color-overlay: #1c5fa814;
--color-primary: #0b87e7; /* border-color */
--color-primary-text: #fff; /* text color when primary-lighter is background */
--color-primary-dark: #0063b1;
--color-primary-darker: #004b86;
--color-primary-lighter: #83beec; /* background-color */
--color-border: #121212;
--color-border-dark: #1E1E1E; /* select */
--color-border-darker: #000; /* hover */
--color-border-lighter: #303030; /* disabled */
--color-btn-border: #b6b6b6;
--color-btn-border-dis: #c0bfbc;
--color-error: #e9322d;
--color-warning: #eca700;
--color-success: #46ba61;
--color-cursor-blink-background: #fff;
--color-box-shadow: rgba(0, 0, 0, 0.5);
}