From 9d4d06049ca5057ca5a86892dd11bf9ba77216c9 Mon Sep 17 00:00:00 2001 From: Lorenzo Vainigli Date: Mon, 26 Sep 2022 20:45:46 +0200 Subject: [PATCH 1/4] Created icons for dark theme --- doc/source/_static/index_api_dark.svg | 97 +++++++++++++++++++ doc/source/_static/index_contribute_dark.svg | 76 +++++++++++++++ .../_static/index_getting_started_dark.svg | 66 +++++++++++++ doc/source/_static/index_user_guide_dark.svg | 67 +++++++++++++ doc/source/_static/logo_sas_white.svg | 9 ++ doc/source/_static/logo_sql_white.svg | 73 ++++++++++++++ doc/source/getting_started/index.rst | 9 ++ doc/source/index.rst.template | 16 +++ 8 files changed, 413 insertions(+) create mode 100644 doc/source/_static/index_api_dark.svg create mode 100644 doc/source/_static/index_contribute_dark.svg create mode 100644 doc/source/_static/index_getting_started_dark.svg create mode 100644 doc/source/_static/index_user_guide_dark.svg create mode 100644 doc/source/_static/logo_sas_white.svg create mode 100644 doc/source/_static/logo_sql_white.svg diff --git a/doc/source/_static/index_api_dark.svg b/doc/source/_static/index_api_dark.svg new file mode 100644 index 0000000000000..9623c937b725c --- /dev/null +++ b/doc/source/_static/index_api_dark.svg @@ -0,0 +1,97 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/doc/source/_static/index_contribute_dark.svg b/doc/source/_static/index_contribute_dark.svg new file mode 100644 index 0000000000000..229df2d95f857 --- /dev/null +++ b/doc/source/_static/index_contribute_dark.svg @@ -0,0 +1,76 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/doc/source/_static/index_getting_started_dark.svg b/doc/source/_static/index_getting_started_dark.svg new file mode 100644 index 0000000000000..338b6fd295671 --- /dev/null +++ b/doc/source/_static/index_getting_started_dark.svg @@ -0,0 +1,66 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/doc/source/_static/index_user_guide_dark.svg b/doc/source/_static/index_user_guide_dark.svg new file mode 100644 index 0000000000000..f6cc6cdf280dd --- /dev/null +++ b/doc/source/_static/index_user_guide_dark.svg @@ -0,0 +1,67 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/doc/source/_static/logo_sas_white.svg b/doc/source/_static/logo_sas_white.svg new file mode 100644 index 0000000000000..8f023fa831b6b --- /dev/null +++ b/doc/source/_static/logo_sas_white.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/doc/source/_static/logo_sql_white.svg b/doc/source/_static/logo_sql_white.svg new file mode 100644 index 0000000000000..c778358e3ac87 --- /dev/null +++ b/doc/source/_static/logo_sql_white.svg @@ -0,0 +1,73 @@ + + + + + + + + image/svg+xml + + + + + + + + + SQL + diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index 4792d26d021d6..585eecc5203bf 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -560,6 +560,11 @@ the pandas-equivalent operations compared to software you already know: --- :card: + comparison-card-sql :img-top: ../_static/logo_sql.svg + :class: only-light + + :img-top: ../_static/logo_sql_white.svg + :class: only-dark + Already familiar to ``SELECT``, ``GROUP BY``, ``JOIN``, etc.? Most of these SQL manipulations do have equivalents in pandas. @@ -607,6 +612,10 @@ the pandas-equivalent operations compared to software you already know: --- :card: + comparison-card-sas :img-top: ../_static/logo_sas.svg + :class: only-light + + .. image:: ../_static/logo_sas_white.svg + :class: only-dark The `SAS `__ statistical software suite also provides the ``data set`` corresponding to the pandas ``DataFrame``. diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template index 59280536536db..cb2011b2cc561 100644 --- a/doc/source/index.rst.template +++ b/doc/source/index.rst.template @@ -33,6 +33,10 @@ programming language. --- :img-top: _static/index_getting_started.svg + :class: only-light + + :img-top: _static/index_getting_started_dark.svg + :class: only-dark Getting started ^^^^^^^^^^^^^^^ @@ -49,6 +53,10 @@ programming language. --- :img-top: _static/index_user_guide.svg + :class: only-light + + :img-top: _static/index_user_guide_dark.svg + :class: only-dark User guide ^^^^^^^^^^ @@ -65,6 +73,10 @@ programming language. --- :img-top: _static/index_api.svg + :class: only-light + + :img-top: _static/index_api_dark.svg + :class: only-dark API reference ^^^^^^^^^^^^^ @@ -82,6 +94,10 @@ programming language. --- :img-top: _static/index_contribute.svg + :class: only-light + + :img-top: _static/index_contribute_dark.svg + :class: only-dark Developer guide ^^^^^^^^^^^^^^^ From 2872ed7c059c5e8a290ea4473eb521edf41e7e5c Mon Sep 17 00:00:00 2001 From: Lorenzo Vainigli Date: Mon, 26 Sep 2022 21:05:36 +0200 Subject: [PATCH 2/4] Fix typo --- doc/source/getting_started/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index 585eecc5203bf..b589a0065c3f2 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -614,7 +614,7 @@ the pandas-equivalent operations compared to software you already know: :img-top: ../_static/logo_sas.svg :class: only-light - .. image:: ../_static/logo_sas_white.svg + :img-top: ../_static/logo_sas_white.svg :class: only-dark The `SAS `__ statistical software suite From 95e200122a77a3a64fc98e4f241212e549f4c341 Mon Sep 17 00:00:00 2001 From: Lorenzo Vainigli Date: Mon, 26 Sep 2022 23:00:34 +0200 Subject: [PATCH 3/4] Removed trailing whitespace --- doc/source/getting_started/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index b589a0065c3f2..7b5d23d240d24 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -564,7 +564,6 @@ the pandas-equivalent operations compared to software you already know: :img-top: ../_static/logo_sql_white.svg :class: only-dark - Already familiar to ``SELECT``, ``GROUP BY``, ``JOIN``, etc.? Most of these SQL manipulations do have equivalents in pandas. From 203f6853d3617dfc59cd68819b3f96ca4f70ee5d Mon Sep 17 00:00:00 2001 From: Lorenzo Vainigli Date: Thu, 29 Sep 2022 18:06:30 +0200 Subject: [PATCH 4/4] Removed old icons, greyed out SQL logo --- doc/source/_static/index_api.svg | 10 +- doc/source/_static/index_api_dark.svg | 97 ------------------- doc/source/_static/index_contribute.svg | 4 +- doc/source/_static/index_contribute_dark.svg | 76 --------------- doc/source/_static/index_getting_started.svg | 2 +- .../_static/index_getting_started_dark.svg | 66 ------------- doc/source/_static/index_user_guide.svg | 2 +- doc/source/_static/index_user_guide_dark.svg | 67 ------------- doc/source/_static/logo_sql.svg | 4 +- doc/source/_static/logo_sql_white.svg | 73 -------------- doc/source/getting_started/index.rst | 4 - doc/source/index.rst.template | 16 --- 12 files changed, 11 insertions(+), 410 deletions(-) delete mode 100644 doc/source/_static/index_api_dark.svg delete mode 100644 doc/source/_static/index_contribute_dark.svg delete mode 100644 doc/source/_static/index_getting_started_dark.svg delete mode 100644 doc/source/_static/index_user_guide_dark.svg delete mode 100644 doc/source/_static/logo_sql_white.svg diff --git a/doc/source/_static/index_api.svg b/doc/source/_static/index_api.svg index 70bf0d3504b1a..69f7ba1d2d114 100644 --- a/doc/source/_static/index_api.svg +++ b/doc/source/_static/index_api.svg @@ -64,29 +64,29 @@ inkscape:connector-curvature="0" id="path899" d="M 324.96812,187.09499 H 303.0455 v 72.1639 h 22.67969" - style="fill:none;stroke:#150458;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:none;stroke:#459DB9;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:none;stroke:#459DB9;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/doc/source/_static/index_contribute.svg b/doc/source/_static/index_contribute.svg index e86c3e9fd0b3e..de3d902379383 100644 --- a/doc/source/_static/index_contribute.svg +++ b/doc/source/_static/index_contribute.svg @@ -65,12 +65,12 @@ inkscape:connector-curvature="0" id="path869" d="m -97.139881,161.26069 47.247024,40.25446 -47.247024,40.25446" - style="fill:none;stroke:#150458;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:none;stroke:#459DB9;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:none;stroke:#459DB9;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> diff --git a/doc/source/_static/index_contribute_dark.svg b/doc/source/_static/index_contribute_dark.svg deleted file mode 100644 index 229df2d95f857..0000000000000 --- a/doc/source/_static/index_contribute_dark.svg +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/doc/source/_static/index_getting_started.svg b/doc/source/_static/index_getting_started.svg index d00e462427193..2d36622cb7e55 100644 --- a/doc/source/_static/index_getting_started.svg +++ b/doc/source/_static/index_getting_started.svg @@ -58,7 +58,7 @@ id="layer1" transform="translate(2.9219487,-8.5995374)"> diff --git a/doc/source/_static/index_getting_started_dark.svg b/doc/source/_static/index_getting_started_dark.svg deleted file mode 100644 index 338b6fd295671..0000000000000 --- a/doc/source/_static/index_getting_started_dark.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/doc/source/_static/index_user_guide.svg b/doc/source/_static/index_user_guide.svg index a567103af5918..bd170535170a3 100644 --- a/doc/source/_static/index_user_guide.svg +++ b/doc/source/_static/index_user_guide.svg @@ -58,7 +58,7 @@ id="layer1" transform="translate(141.8903,-20.32143)"> - - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/doc/source/_static/logo_sql.svg b/doc/source/_static/logo_sql.svg index 4a5b7d0b1b943..38b3b2c726214 100644 --- a/doc/source/_static/logo_sql.svg +++ b/doc/source/_static/logo_sql.svg @@ -58,10 +58,10 @@ d="m 18.846017,1.608 c -0.497,-0.326 -1.193,-0.615 -2.069,-0.858 -1.742,-0.484 -4.05,-0.75 -6.498,-0.75 -2.4480004,0 -4.7560004,0.267 -6.4980004,0.75 -0.877,0.243 -1.573,0.532 -2.069,0.858 -0.619,0.407 -0.93299996,0.874 -0.93299996,1.391 v 12 c 0,0.517 0.31399996,0.985 0.93299996,1.391 0.497,0.326 1.193,0.615 2.069,0.858 1.742,0.484 4.05,0.75 6.4980004,0.75 2.448,0 4.756,-0.267 6.498,-0.751 0.877,-0.243 1.573,-0.532 2.069,-0.858 0.619,-0.406 0.933,-0.874 0.933,-1.391 v -12 c 0,-0.517 -0.314,-0.985 -0.933,-1.391 z M 4.0490166,1.713 c 1.658,-0.46 3.87,-0.714 6.2300004,-0.714 2.36,0 4.573,0.254 6.23,0.714 1.795,0.499 2.27,1.059 2.27,1.286 0,0.227 -0.474,0.787 -2.27,1.286 -1.658,0.46 -3.87,0.714 -6.23,0.714 -2.3600004,0 -4.5730004,-0.254 -6.2300004,-0.714 -1.795,-0.499 -2.27,-1.059 -2.27,-1.286 0,-0.227 0.474,-0.787 2.27,-1.286 z M 16.509017,16.285 c -1.658,0.46 -3.87,0.714 -6.23,0.714 -2.3600004,0 -4.5730004,-0.254 -6.2300004,-0.714 -1.795,-0.499 -2.27,-1.059 -2.27,-1.286 v -2.566 c 0.492,0.309 1.164,0.583 2.002,0.816 1.742,0.484 4.05,0.75 6.4980004,0.75 2.448,0 4.756,-0.267 6.498,-0.751 0.838,-0.233 1.511,-0.507 2.002,-0.816 v 2.566 c 0,0.227 -0.474,0.787 -2.27,1.286 z m 0,-4 c -1.658,0.46 -3.87,0.714 -6.23,0.714 -2.3600004,0 -4.5730004,-0.254 -6.2300004,-0.714 -1.795,-0.499 -2.27,-1.059 -2.27,-1.286 V 8.433 c 0.492,0.309 1.164,0.583 2.002,0.816 1.742,0.484 4.05,0.75 6.4980004,0.75 2.448,0 4.756,-0.267 6.498,-0.75 0.838,-0.233 1.511,-0.507 2.002,-0.816 v 2.566 c 0,0.227 -0.474,0.787 -2.27,1.286 z m 0,-4 c -1.658,0.46 -3.87,0.714 -6.23,0.714 -2.3600004,0 -4.5730004,-0.254 -6.2300004,-0.714 -1.795,-0.499 -2.27,-1.059 -2.27,-1.286 V 4.433 c 0.492,0.309 1.164,0.583 2.002,0.816 1.742,0.484 4.05,0.75 6.4980004,0.75 2.448,0 4.756,-0.267 6.498,-0.75 0.838,-0.233 1.511,-0.507 2.002,-0.816 v 2.566 c 0,0.227 -0.474,0.787 -2.27,1.286 z" id="path2" inkscape:connector-curvature="0" - style="fill:#000000" /> + style="fill:#888888" /> - - - - - - - image/svg+xml - - - - - - - - - SQL - diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index 7b5d23d240d24..6e43ac6d6d4c6 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -560,10 +560,6 @@ the pandas-equivalent operations compared to software you already know: --- :card: + comparison-card-sql :img-top: ../_static/logo_sql.svg - :class: only-light - - :img-top: ../_static/logo_sql_white.svg - :class: only-dark Already familiar to ``SELECT``, ``GROUP BY``, ``JOIN``, etc.? Most of these SQL manipulations do have equivalents in pandas. diff --git a/doc/source/index.rst.template b/doc/source/index.rst.template index cb2011b2cc561..59280536536db 100644 --- a/doc/source/index.rst.template +++ b/doc/source/index.rst.template @@ -33,10 +33,6 @@ programming language. --- :img-top: _static/index_getting_started.svg - :class: only-light - - :img-top: _static/index_getting_started_dark.svg - :class: only-dark Getting started ^^^^^^^^^^^^^^^ @@ -53,10 +49,6 @@ programming language. --- :img-top: _static/index_user_guide.svg - :class: only-light - - :img-top: _static/index_user_guide_dark.svg - :class: only-dark User guide ^^^^^^^^^^ @@ -73,10 +65,6 @@ programming language. --- :img-top: _static/index_api.svg - :class: only-light - - :img-top: _static/index_api_dark.svg - :class: only-dark API reference ^^^^^^^^^^^^^ @@ -94,10 +82,6 @@ programming language. --- :img-top: _static/index_contribute.svg - :class: only-light - - :img-top: _static/index_contribute_dark.svg - :class: only-dark Developer guide ^^^^^^^^^^^^^^^