diff options
author | Lynx Kotoura <admin@sanin.link> | 2018-04-22 04:35:55 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-21 21:35:55 +0200 |
commit | a4a36d994b0949aff134a2c1ba4efc361b7fb358 (patch) | |
tree | 5d11e3a2b61c58c114a557a914f49e2c8226cd42 /app/javascript/styles/contrast | |
parent | d10447c3a82d771f8ab61837128b011254894694 (diff) |
Separate high contrast theme (#7213)
Diffstat (limited to 'app/javascript/styles/contrast')
-rw-r--r-- | app/javascript/styles/contrast/diff.scss | 14 | ||||
-rw-r--r-- | app/javascript/styles/contrast/variables.scss | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app/javascript/styles/contrast/diff.scss b/app/javascript/styles/contrast/diff.scss new file mode 100644 index 000000000..eee9ecc3e --- /dev/null +++ b/app/javascript/styles/contrast/diff.scss @@ -0,0 +1,14 @@ +// components.scss +.compose-form { + .compose-form__modifiers { + .compose-form__upload { + &-description { + input { + &::placeholder { + opacity: 1.0; + } + } + } + } + } +} diff --git a/app/javascript/styles/contrast/variables.scss b/app/javascript/styles/contrast/variables.scss new file mode 100644 index 000000000..35d11060e --- /dev/null +++ b/app/javascript/styles/contrast/variables.scss @@ -0,0 +1,22 @@ +// Dependent colors +$black: #000000; + +$classic-base-color: #282c37; +$classic-primary-color: #9baec8; +$classic-secondary-color: #d9e1e8; + +$ui-base-color: $classic-base-color !default; +$ui-primary-color: $classic-primary-color !default; +$ui-secondary-color: $classic-secondary-color !default; + +// Differences +$ui-highlight-color: #2b5fd9; + +$darker-text-color: lighten($ui-primary-color, 20%) !default; +$dark-text-color: lighten($ui-primary-color, 12%) !default; +$secondary-text-color: lighten($ui-secondary-color, 6%) !default; +$action-button-color: #8d9ac2; + +$inverted-text-color: $black !default; +$lighter-text-color: darken($ui-base-color,6%) !default; +$light-text-color: darken($ui-primary-color, 40%) !default; |