parent
5cb0953df7
commit
06f40733ba
@ -0,0 +1,4 @@
|
|||||||
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||||
|
import type { Rect } from "./Rect";
|
||||||
|
|
||||||
|
export interface Config { initialPlanWindowPosition: Rect, hideOnUnfocus: boolean, toggleOverlay: string, prev: string, next: string, planBg: string, backdropBg: string, noteDefaultFg: string, poeClientLogPath: string | null, }
|
@ -0,0 +1,3 @@
|
|||||||
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||||
|
|
||||||
|
export interface Rect { x: number, y: number, width: number, height: number, }
|
@ -0,0 +1,86 @@
|
|||||||
|
@use "sass:map";
|
||||||
|
|
||||||
|
//Used in light themes
|
||||||
|
$dark-primary-text: rgba(#000939, 0.87);
|
||||||
|
$dark-secondary-text: rgba(#000939, 0.54);
|
||||||
|
$dark-disabled-text: rgba(#000939, 0.38);
|
||||||
|
$dark-dividers: rgba(#000939, 0.12);
|
||||||
|
$dark-focused: rgba(#000939, 0.12);
|
||||||
|
//Used in dark themes
|
||||||
|
$light-primary-text: white;
|
||||||
|
$light-secondary-text: rgba(white, 0.7);
|
||||||
|
$light-disabled-text: rgba(white, 0.5);
|
||||||
|
$light-dividers: rgba(white, 0.12);
|
||||||
|
$light-focused: rgba(white, 0.12);
|
||||||
|
|
||||||
|
$nothing-dark-map: (
|
||||||
|
50 : #acb7b7,
|
||||||
|
100 : #849393,
|
||||||
|
200 : #687777,
|
||||||
|
300 : #475151,
|
||||||
|
400 : #384040,
|
||||||
|
500 : #2a3030,
|
||||||
|
600 : #1c2020,
|
||||||
|
700 : #0d0f0f,
|
||||||
|
800 : #000000,
|
||||||
|
900 : #000000,
|
||||||
|
A100 : #8ecbcb,
|
||||||
|
A200 : #4da6a6,
|
||||||
|
A400 : #375656,
|
||||||
|
A700 : #334040,
|
||||||
|
contrast: (
|
||||||
|
50 : $dark-primary-text,
|
||||||
|
100 : $dark-primary-text,
|
||||||
|
200 : $light-primary-text,
|
||||||
|
300 : $light-primary-text,
|
||||||
|
400 : $light-primary-text,
|
||||||
|
500 : $light-primary-text,
|
||||||
|
600 : $light-primary-text,
|
||||||
|
700 : $light-primary-text,
|
||||||
|
800 : $light-primary-text,
|
||||||
|
900 : $light-primary-text,
|
||||||
|
A100 : $dark-primary-text,
|
||||||
|
A200 : $dark-primary-text,
|
||||||
|
A400 : $light-primary-text,
|
||||||
|
A700 : $light-primary-text,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$nothing-theme-background-palette: (
|
||||||
|
status-bar: #0b2844,
|
||||||
|
app-bar: map.get($nothing-dark-map, 900),
|
||||||
|
background: map.get($nothing-dark-map, 500),
|
||||||
|
hover: rgba(white, 0.04),
|
||||||
|
card: map.get($nothing-dark-map, 800),
|
||||||
|
dialog: map.get($nothing-dark-map, 800),
|
||||||
|
disabled-button: rgba(white, 0.12),
|
||||||
|
raised-button: map.get($nothing-dark-map, 800),
|
||||||
|
focused-button: $light-focused,
|
||||||
|
selected-button: map.get($nothing-dark-map, 900),
|
||||||
|
selected-disabled-button: map.get($nothing-dark-map, 800),
|
||||||
|
disabled-button-toggle: #243b53,
|
||||||
|
unselected-chip: map.get($nothing-dark-map, 700),
|
||||||
|
disabled-list-option: #243b53,
|
||||||
|
tooltip: map.get($nothing-dark-map, 700),
|
||||||
|
);
|
||||||
|
|
||||||
|
$nothing-theme-foreground-palette: (
|
||||||
|
base: white,
|
||||||
|
divider: $light-dividers,
|
||||||
|
dividers: $light-dividers,
|
||||||
|
disabled: $light-disabled-text,
|
||||||
|
disabled-button: rgba(white, 0.3),
|
||||||
|
disabled-text: $light-disabled-text,
|
||||||
|
elevation: black,
|
||||||
|
hint-text: $light-disabled-text,
|
||||||
|
secondary-text: $light-secondary-text,
|
||||||
|
icon: white,
|
||||||
|
icons: white,
|
||||||
|
text: white,
|
||||||
|
slider-min: white,
|
||||||
|
slider-off: rgba(white, 0.3),
|
||||||
|
slider-off-active: rgba(white, 0.3),
|
||||||
|
);
|
@ -0,0 +1,21 @@
|
|||||||
|
@use '@angular/material' as mat;
|
||||||
|
@use 'sass:map';
|
||||||
|
@use 'palette';
|
||||||
|
|
||||||
|
@function define-nothing-theme($config) {
|
||||||
|
$theme: mat.define-dark-theme($config);
|
||||||
|
$color: map.get($theme, color);
|
||||||
|
$color: map.merge(
|
||||||
|
$color,
|
||||||
|
(
|
||||||
|
background: palette.$nothing-theme-background-palette,
|
||||||
|
foreground: palette.$nothing-theme-foreground-palette,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
@return map.merge(
|
||||||
|
$theme,
|
||||||
|
(
|
||||||
|
color: $color,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in new issue