mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-24 17:38:40 +08:00
postcss experiment
This commit is contained in:
parent
691fe611d6
commit
c1d4a0dd28
18
postcss.config.json
Normal file
18
postcss.config.json
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"use": [
|
||||||
|
"autoprefixer",
|
||||||
|
"postcss-import",
|
||||||
|
"postcss-simple-vars",
|
||||||
|
"postcss-extend",
|
||||||
|
"postcss-nested",
|
||||||
|
"postcss-mixins",
|
||||||
|
"postcss-strip-inline-comments"
|
||||||
|
],
|
||||||
|
"parser": "postcss-scss",
|
||||||
|
"input": "src/skins/vector/css/themes/[^_]*.scss",
|
||||||
|
"dir": "build",
|
||||||
|
"local-plugins": true,
|
||||||
|
"autoprefixer": {
|
||||||
|
"browsers": "> 5%"
|
||||||
|
}
|
||||||
|
}
|
69
src/skins/vector/css/themes/_dark.scss
Normal file
69
src/skins/vector/css/themes/_dark.scss
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
|
||||||
|
// typical text (dark-on-white in light skin)
|
||||||
|
$primary-fg-color: #dddddd;
|
||||||
|
$primary-bg-color: #2d2d2d;
|
||||||
|
|
||||||
|
// used for focusing form controls
|
||||||
|
$focus-bg-color: #101010;
|
||||||
|
|
||||||
|
// used for dialog box text
|
||||||
|
$light-fg-color: #747474;
|
||||||
|
|
||||||
|
// button UI (white-on-green in light skin)
|
||||||
|
$accent-fg-color: $primary-bg-color;
|
||||||
|
$accent-color: #76CFA6;
|
||||||
|
|
||||||
|
// red warning colour
|
||||||
|
$warning-color: #ff0064;
|
||||||
|
|
||||||
|
// left-panel style muted accent color
|
||||||
|
$secondary-accent-color: $primary-bg-color;
|
||||||
|
|
||||||
|
// used by AddressSelector
|
||||||
|
$selected-color: #eaf5f0;
|
||||||
|
|
||||||
|
// selected for hoverover & selected event tiles
|
||||||
|
$event-selected-color: #353535;
|
||||||
|
|
||||||
|
// used for the hairline dividers in RoomView
|
||||||
|
$primary-hairline-color: #474747;
|
||||||
|
|
||||||
|
// used for the border of input text fields
|
||||||
|
$input-border-color: #3a3a3a;
|
||||||
|
|
||||||
|
// apart from login forms, which have stronger border
|
||||||
|
$strong-input-border-color: #656565;
|
||||||
|
|
||||||
|
// context menus
|
||||||
|
$menu-border-color: rgba(187, 187, 187, 0.5);
|
||||||
|
$menu-bg-color: #373737;
|
||||||
|
|
||||||
|
$avatar-initial-color: #2d2d2d;
|
||||||
|
|
||||||
|
// ********************
|
||||||
|
|
||||||
|
$roomtile-name-color: rgba(186, 186, 186, 0.8);
|
||||||
|
$roomtile-selected-bg-color: rgba(0, 0, 0, 0.8);
|
||||||
|
|
||||||
|
$roomsublist-label-fg-color: $primary-fg-color;
|
||||||
|
$roomsublist-label-bg-color: #454545;
|
||||||
|
|
||||||
|
// ********************
|
||||||
|
|
||||||
|
// event tile lifecycle
|
||||||
|
$event-encrypting-color: #abddbc;
|
||||||
|
$event-sending-color: #ddd;
|
||||||
|
$event-notsent-color: #f44;
|
||||||
|
|
||||||
|
// event timestamp
|
||||||
|
$event-timestamp-color: #acacac;
|
||||||
|
|
||||||
|
// e2e
|
||||||
|
$e2e-verified-color: #76cfa5; // N.B. *NOT* the same as $accent-color
|
||||||
|
$e2e-unverified-color: #e8bf37;
|
||||||
|
$e2e-warning-color: #ba6363;
|
||||||
|
|
||||||
|
/*** ImageView ***/
|
||||||
|
$lightbox-bg-color: #454545;
|
||||||
|
$lightbox-fg-color: #ffffff;
|
||||||
|
$lightbox-border-color: #ffffff;
|
Loading…
Reference in New Issue
Block a user