change accent color
This commit is contained in:
parent
e955feb12d
commit
38549ecf4c
3 changed files with 5 additions and 5 deletions
|
@ -72,7 +72,7 @@ limitations under the License.
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $accent-color;
|
color: $accent-color;
|
||||||
background: rgba(#03b381, 0.06);
|
background: rgba($accent-color, 0.06);
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background-color: $accent-color;
|
background-color: $accent-color;
|
||||||
|
|
|
@ -14,7 +14,7 @@ $monospace-font-family: Inconsolata, Twemoji, 'Apple Color Emoji', 'Segoe UI Emo
|
||||||
|
|
||||||
// unified palette
|
// unified palette
|
||||||
// try to use these colors when possible
|
// try to use these colors when possible
|
||||||
$accent-color: #03b381;
|
$accent-color: #0DBD8B;
|
||||||
$accent-bg-color: rgba(3, 179, 129, 0.16);
|
$accent-bg-color: rgba(3, 179, 129, 0.16);
|
||||||
$notice-primary-color: #ff4b55;
|
$notice-primary-color: #ff4b55;
|
||||||
$notice-primary-bg-color: rgba(255, 75, 85, 0.16);
|
$notice-primary-bg-color: rgba(255, 75, 85, 0.16);
|
||||||
|
@ -35,7 +35,7 @@ $focus-bg-color: #dddddd;
|
||||||
|
|
||||||
// button UI (white-on-green in light skin)
|
// button UI (white-on-green in light skin)
|
||||||
$accent-fg-color: #ffffff;
|
$accent-fg-color: #ffffff;
|
||||||
$accent-color-50pct: rgba(3, 179, 129, 0.5); //#03b381 in rgb
|
$accent-color-50pct: rgba($accent-color, 0.5);
|
||||||
$accent-color-darker: #92caad;
|
$accent-color-darker: #92caad;
|
||||||
$accent-color-alt: #238CF5;
|
$accent-color-alt: #238CF5;
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ $roomtile-focused-bg-color: #fff;
|
||||||
|
|
||||||
$username-variant1-color: #368bd6;
|
$username-variant1-color: #368bd6;
|
||||||
$username-variant2-color: #ac3ba8;
|
$username-variant2-color: #ac3ba8;
|
||||||
$username-variant3-color: #03b381;
|
$username-variant3-color: #0DBD8B;
|
||||||
$username-variant4-color: #e64f7a;
|
$username-variant4-color: #e64f7a;
|
||||||
$username-variant5-color: #ff812d;
|
$username-variant5-color: #ff812d;
|
||||||
$username-variant6-color: #2dc2c5;
|
$username-variant6-color: #2dc2c5;
|
||||||
|
|
|
@ -82,7 +82,7 @@ function urlForColor(color) {
|
||||||
const colorToDataURLCache = new Map();
|
const colorToDataURLCache = new Map();
|
||||||
|
|
||||||
export function defaultAvatarUrlForString(s) {
|
export function defaultAvatarUrlForString(s) {
|
||||||
const defaultColors = ['#03b381', '#368bd6', '#ac3ba8'];
|
const defaultColors = ['#0DBD8B', '#368bd6', '#ac3ba8'];
|
||||||
let total = 0;
|
let total = 0;
|
||||||
for (let i = 0; i < s.length; ++i) {
|
for (let i = 0; i < s.length; ++i) {
|
||||||
total += s.charCodeAt(i);
|
total += s.charCodeAt(i);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue