ybbond-reason

My old site written in ReasonReact
Log | Files | Refs | README

commit 8e540341c50337b165c51e42a6675f31a6173060
parent 65d279d5b71a437a6654ffeeba2f3b270c50e4ec
Author: Yohanes Bandung <bandungpenting@gmail.com>
Date:   Sat, 24 Aug 2019 16:35:52 +0700

refactor(Stylings) => added global focus color

Diffstat:
Msrc/Styled.re | 3+++
Msrc/components/Spoiler.re | 1-

2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Styled.re b/src/Styled.re
@@ -63,6 +63,9 @@ body {
   |j};
 
   let miscStyle = {j|
+*:focus {
+  outline-color: #79d688;
+}
 ::selection {
   background-color: #79d688;
 }
diff --git a/src/components/Spoiler.re b/src/components/Spoiler.re
@@ -10,7 +10,6 @@ module Styles = {
       marginRight(`px(0)),
       flex(`num(1.0)),
       textAlign(`left),
-      outlineStyle(`none),
       cursor(`pointer),
       userSelect(`none),
     ]);