public inbox for [email protected]  
help / color / mirror / Atom feed
From: Rahul Shirsat <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgaweb][patch] Update style guide WRT RM6754
Date: Fri, 15 Oct 2021 16:10:01 +0530
Message-ID: <CAKtn9dM9Wr0EJnxrxYuGjb14gryfuQOk__tA2b12SwBh=xetSw@mail.gmail.com> (raw)

Hi Hacker,

Please find the attached patch which adds a new activeline-light color for
standard themes, and minor updates regarding other themes.

Also added babel dependency in requirement.txt which was missing.

-- 
*Rahul Shirsat*
Senior Software Engineer | EnterpriseDB Corporation.


Attachments:

  [application/octet-stream] RM6754_styleguide_update.patch (3.5K, 3-RM6754_styleguide_update.patch)
  download | inline diff:
diff --git a/pgaweb/static/css/styleguide/dark_theme.scss b/pgaweb/static/css/styleguide/dark_theme.scss
index 7e398ea..d282167 100644
--- a/pgaweb/static/css/styleguide/dark_theme.scss
+++ b/pgaweb/static/css/styleguide/dark_theme.scss
@@ -74,7 +74,7 @@
 }
 
 .d-activeline {
-    background-color: #50B0F0;
+    background-color: #323E43;
 }
 
 .d-keyword{
diff --git a/pgaweb/static/css/styleguide/hc_theme.scss b/pgaweb/static/css/styleguide/hc_theme.scss
index 345027c..2e3f17b 100644
--- a/pgaweb/static/css/styleguide/hc_theme.scss
+++ b/pgaweb/static/css/styleguide/hc_theme.scss
@@ -74,7 +74,7 @@
 }
 
 .hc-activeline {
-    background-color: #50B0F0;
+    background-color: #063057;
 }
 
 .hc-keyword{
diff --git a/pgaweb/static/css/styleguide/sd_theme.scss b/pgaweb/static/css/styleguide/sd_theme.scss
index 5837c3d..5162b0a 100644
--- a/pgaweb/static/css/styleguide/sd_theme.scss
+++ b/pgaweb/static/css/styleguide/sd_theme.scss
@@ -113,6 +113,10 @@
     background-color: #50B0F0;
 }
 
+.activeline-light {
+    background-color: #EDF9FF;
+}
+
 .keyword{
     background-color: #990088;
 }
diff --git a/pgaweb/templates/pgaweb/styleguide/color_palettes/dark_color_palette.html b/pgaweb/templates/pgaweb/styleguide/color_palettes/dark_color_palette.html
index 530e1c9..a479b48 100644
--- a/pgaweb/templates/pgaweb/styleguide/color_palettes/dark_color_palette.html
+++ b/pgaweb/templates/pgaweb/styleguide/color_palettes/dark_color_palette.html
@@ -117,7 +117,7 @@
     <div class="color-container">
         <div class="color-block d-activeline"></div>
         <span class="color-name">activeline</span><br/>
-        <span class="color-code">#50B0F0</span>
+        <span class="color-code">#323E43</span>
     </div>
     <div class="color-container">
         <div class="color-block d-keyword"></div>
diff --git a/pgaweb/templates/pgaweb/styleguide/color_palettes/hc_color_palette.html b/pgaweb/templates/pgaweb/styleguide/color_palettes/hc_color_palette.html
index febf8c9..c6b4954 100644
--- a/pgaweb/templates/pgaweb/styleguide/color_palettes/hc_color_palette.html
+++ b/pgaweb/templates/pgaweb/styleguide/color_palettes/hc_color_palette.html
@@ -117,7 +117,7 @@
     <div class="color-container">
         <div class="color-block hc-activeline"></div>
         <span class="color-name">activeline</span><br/>
-        <span class="color-code">#50B0F0</span>
+        <span class="color-code">#063057</span>
     </div>
     <div class="color-container">
         <div class="color-block hc-keyword"></div>
diff --git a/pgaweb/templates/pgaweb/styleguide/color_palettes/sd_color_palette.html b/pgaweb/templates/pgaweb/styleguide/color_palettes/sd_color_palette.html
index 8c5d1e0..fa7f9da 100644
--- a/pgaweb/templates/pgaweb/styleguide/color_palettes/sd_color_palette.html
+++ b/pgaweb/templates/pgaweb/styleguide/color_palettes/sd_color_palette.html
@@ -144,6 +144,11 @@
         <span class="color-name">activeline</span><br/>
         <span class="color-code">#50B0F0</span>
     </div>
+    <div class="color-container">
+        <div class="color-block activeline-light"></div>
+        <span class="color-name">activeline-light</span><br/>
+        <span class="color-code">#EDF9FF</span>
+    </div>
     <div class="color-container">
         <div class="color-block keyword"></div>
         <span class="color-name">keyword</span><br/>
diff --git a/requirements.txt b/requirements.txt
index c3093f2..e5c0f19 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,4 @@
 Django==2.2.12
 psycopg2-binary==2.8.5
-beautifulsoup4>=4.7.1
\ No newline at end of file
+beautifulsoup4>=4.7.1
+Babel==2.9.1


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgaweb][patch] Update style guide WRT RM6754
  In-Reply-To: <CAKtn9dM9Wr0EJnxrxYuGjb14gryfuQOk__tA2b12SwBh=xetSw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox