mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
feat: dark theme
This commit is contained in:
committed by
Rainer Killinger
parent
23bd5a431c
commit
e75a46633c
39
src/theme/color-processing.scss
Normal file
39
src/theme/color-processing.scss
Normal file
@@ -0,0 +1,39 @@
|
||||
/*!
|
||||
* Copyright (C) 2023 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Setting this to false significantly reduces the amount of variables
|
||||
// being generated, but omits colors with -dark and -light suffixes, making
|
||||
// it impossible to access dark theme colors while in light theme and vice versa
|
||||
$include-theme-independent-colors: true;
|
||||
|
||||
$tint-amount: 10%;
|
||||
$shade-amount: 12%;
|
||||
$placeholder-fade-amount: 20%;
|
||||
$box-shadow-fade-amount: 10%;
|
||||
$item-border-color-fade-amount: 15%;
|
||||
|
||||
// The color chosen as contrast to another color
|
||||
$contrast-threshold: 128;
|
||||
$contrast-light-color: #fff;
|
||||
$contrast-dark-color: #000;
|
||||
|
||||
$fade-threshold: 50%;
|
||||
|
||||
// https://ionicframework.com/docs/theming/themes#stepped-colors
|
||||
$steps-start: 50;
|
||||
$steps-end: 950;
|
||||
$steps-step: 50;
|
||||
$steps-range-start: 0;
|
||||
$steps-range-end: 1000;
|
||||
Reference in New Issue
Block a user