avatarDr Mehmet Yildiz

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2236

Abstract

was an issue remaining. The document used dark theme and the content in the external page used white background.</p><p id="0afe"><b>Hack 2: </b>Use dark-reader to automatically generate css for your external page</p><p id="f222">You can use <a href="https://darkreader.org/">dark-reader</a> to automatically apply dark style to your page. There are two options. First is to use dark-reader in your project via npm and apply dark theme automatically. For my case, this was a bit overkill and I choose the second option. Second option is to generate and export css file corresponding to dark theme of your external page and then adding that style-sheet to our <code>iframe</code>.</p><p id="df41">First install the <a href="https://darkreader.org/">dark-reader</a> add-on/extension to your browser. I have done it on Firefox. Then open your external page in that browser and enable the dark-mode in dark-reader add-on.</p><figure id="54a0"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*akq4Mmrutw6XTVdZMY9VBQ.png"><figcaption>dark-reader add-on in Mozilla Firefox</figcaption></figure><p id="ded5">When you enable dark-mode, the dark-reader has generated and applied appropriate styling to make your page dark-themed. It works great. You can also tweak around and set brightness, and contrast as well as use developer tools to further customize the design. Once you are happy with the design, click on the dark-reader browser-action button to open the popup menu and click on settings.</p><figure id="af34"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*B_-rTeDGalYJ-Ci6nyyapg.png"><figcaption></figcaption></figure><p id="0ea2">This will open up the settings view as displayed below.</p><figure id="bac9"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*dqdeQaWkTj38obrpRLEoVg.png"><figcaption></figcaption></figure><p id="1b63">Click on Manage settings and then on <b>Export Dynamic Theme</b>.</p><figure id="504a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*eoK7sNZcYxZF-xWQ3NjEIg.png"><figcaption></figcaption></figure><p id="2bb4">Great job! This will download a css file that you can add to your page to apply the styles for dark theme. Hmmm… So far so g

Options

ood. I believe most of you would do the rest of the stuff on your own, but for the sake of completeness let us add a few lines of code to the event-listeners that we created in Hack1.</p><p id="2a64">Save the css file that was downloaded by the dark-reader as <code>dark-theme.css </code>in the <code>/public</code> directory of your Next.js app. Now, add following lines inside the <code>"load"</code> event-listener.</p><div id="d14f"><pre>const link <span class="hljs-operator">=</span> doc.createElement(<span class="hljs-string">"link"</span>)<span class="hljs-comment">;</span></pre></div><div id="e451"><pre><span class="hljs-attr">link.rel</span> = <span class="hljs-string">"stylesheet"</span><span class="hljs-comment">;</span></pre></div><div id="d811"><pre><span class="hljs-attr">link.href</span> = <span class="hljs-string">"/dark-theme.css"</span><span class="hljs-comment">;</span></pre></div><div id="214b"><pre>doc.head.appendChild(link)<span class="hljs-comment">;</span></pre></div><p id="caa5">Next time when you do this, you will be able to add existing HTML files to your project with custom themes in much lesser time than the time you spent reading this document.</p><p id="3a9a">Wish you all the best and happy coding!</p><p id="ad6f">Interested in building career in web development? Checkout E-degree in JS Frameworks</p><div id="2976" class="link-block"> <a href="https://www.eduonix.com/javascript-frameworks-mini-edegree/UHJvZHVjdC00NDExNjgw"> <div> <div> <h2>JavaScript Mini E-Degree: Master JS Frameworks To The Core!</h2> <div><h3>A perfect mini-e-degree suitable for everyone who wants to master JavaScript effectively without wasting any time…</h3></div> <div><p>www.eduonix.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*OBLf0FHe3Jrk8Lbg)"></div> </div> </div> </a> </div><p id="79c1">Or my course on <a href="https://www.udemy.com/course/react-and-next-js-with-typescript/?referralCode=7202184A1E57C3DCA8B2">React + Next.js with TypeScript</a>.</p></article></body>

Featuring remarkable stories of ILLUMINATION writers

Curated Collection #60: Are Critics Really Creative?

Stories selected from inspiring writers followed by thousands of readers

Photo by kazuend on Unsplash

Criticism, like rain, should be gentle enough to nourish a man’s growth without destroying his roots. — Frank A. Clark

We have several articles about feedback and criticism from different angles. Anyone can criticize anything, but not many can create. We respect the critics however our focus is on creative writers, not on the critics.

Welcome to another joyful and exciting day created by the uplifting ILLUMINATION writers.

I created this daily reading digest for your enjoyment. I was able to review and record only some of their great stories for you.

My story presents just a daily digest for a quick taste of stories on many topics.

As each reader has a different taste and expectation, we provide as many options as possible to our readers.

With the contribution of our 15,000 writers, we cover 100 plus topics under five major disciplines. Here are the topics covered in our stories.

Our publication cover many topics including: Advice, Architecture, Art, Artificial Intelligence, Bitcoin, BlackLivesMatter, Books, Business, Climate Change, Cooking, Creativity, Culture, Design, Diversity, Economics, Education, Energy, Entrepreneurship, Fashion, Feminism, Fiction, Finance, Food, Future, Gaming, Government, Health, History, Humor, Ideas, Innovation, Inspiration, Internet of Things, Investing, Journalism, Leadership, Life, Life Lessons, Love, LGBTQ, Mental Health, Movies, Music, Parenting, Photography, Poetry, Politics, Privacy, Productivity, Psychology, Racism, Reading, Relationships, Satire, Science, Self Driving Cars, Self Improvement, Short Story, Social Media, Space, Sports, Startup, Sustainability, Technology, Television, This Happened To Me, Transportation, Travel, Venture Capital, Virtual Reality, Women In Tech, Writing.

Let’s start with freshly distributed stories on multiple Medium topics.

Our Curated Stories Distributed to Multiple Topics

Dr Mehmet Yildiz #health #lifestyle

Kashish Mehta #startups

Eva Keiffenheim, MSc #leadership #productivity #work

Kristina Segarra #writing #productivity

Louise Foerster #mindfulness #self

John Teehan #gamin #cybersecurity

Pepper Lowe #relationships

Nima Thing #creativity

Lokajit Tikayatray #self #work

Dr Mehmet Yildiz #psychology #mindfulness #education #self

evolv ideas #business #social media

Nitin Sharma #programming

Deborah Barchi #poetry

Saurabh #poetry

Enjoy our eclectic stories freshly created today!

Recent Stories on ILLUMINATION

P.G. Barnett

Casey Botticello

Caroline de Braganza

Sahba Sanai

Jack Heimbigner

Stuart Englander

Karen Madej💛

René Junge

Dr Mehmet Yildiz

Bhali Gill

Nitin Sharma

Denisa Bogdan, MSci

Walter Rhein

Benjamin Nweke

Binit Acharya

Riku Arikiri 🕊️

Andrew Poletto

P.G. Barnett

Charlotte Zobeir Ali

Elliot Ames

Trista Ainsworth

Dr Mehmet Yildiz

Alloyce Lugoma

Randy Shingler

Caroline Cocker

Shruti G

Jenine Bsharah Baines

Dew Langrial

Elizabeth Marchetti

Rebecca Stevens Alder

kabir

Christopher D. Connors

John A. Greene

Josie Elbiry

Shirley M. Langton 🔮

Daniel G. Clark

Steve C

Chris Hedges

Khadejah Jones

Erwin Lima

Timothy Key

Zeeshan Khan, S.M.

J M Mantium

R Tsambounieri Talarantas

Kevin Picoaga

Whitney Rose

Vee Goldman

Geetika Sethi

Kevin Farran

P.G. Barnett

Marcus Musick

Jen Kleinknecht

Kenan Kolday

Ilija Begic

Mayra Boppre

Mehar Usman

Bill Abbate

Liam Hunter-Bailey

Keith Dias

B. A. Cumberlidge.

Dew Langrial

Chris Hedges

Alison Tennent

Rebecca Blume

WAO — Walid

arun simon

Amy Marley

Terrinia Tells

AJ Krow

Paul Myers MBA

Jay Villas

Robert Nelson

Floyd Mori

Jayla Sun

Joanna Henderson

Infiniti

Rebecca

Pragati Gautam

Lady Foxx

Imad

Cameron Francois

Sujani Hansanali

Tim Schröder

evolv ideas

Nima Thing

Taylor Foreman

Erwin Lima

Njide Mkparu

Aravind Balakrishnan

James G Brennan

Dr Joel Yong, PhD

Terri DelCampo-Nelson

ninagraphy

John Miles

Engr. Abdul Rehman

Akash Ray

K. Khan

Kamna Kirti

Zahra Ali

Eva Keiffenheim, MSc

CR Mandler

Manasi Diwakar

Dayana Sabatin

Desiree Driesenaar

Payal Koul

Kelsey O’Toole

Sahil Patel

Kashish Mehta

Sef Gojo

Bhathiya Wendakoon, MD, BSc

Manmeet Singh

David Grant

Saumya Hariharan

Jade Scarfone

The Maverick Files

Larry Nowicki

Annelise Lords

hustlelead H.S.

Nitin Sharma

René Junge

Joseph Lieungh

The Simple Guy

Lokajit Tikayatray

Aaminah Ashraf

MDSHall aka 21stcenturygrio

G.Lodhia M. Edu

evolv ideas

Marla Bishop

Mehar Usman

Bebe Nicholson

Martine Weber

Timothy Key

Gabi Zinum

Kshiteej Jaiswal

J.D. Harms

Vishnu Aravindhan

Nomanono Isaacs

Lars Schipper

Ehsan Nazim

Ilija Begic

Maïa Belart

Emma Kavendish

Utkarsh Singh

EricAsbeck.com

Sarkis Ardjian

Tej

Shashwath Sriram

tesmo

Tree Langdon ♾️

Karen Madej💛

Whitney Rose

Riku Arikiri 🕊️

Margaret Pan

Deborah Oyegue

Nancy Driver

Vee Goldman

Aggee

Faeren Zoa

Dr Mehmet Yildiz

Tim Schröder

Roger Himes Esq.

Sef Gojo

Chris Hedges

Michael Patanella

Iva Hotko

Alexander M. Combstrong

Timothy Key

P.G. Barnett

Aurora Eliam, CMP

Tony Young, Jr.

Bill Abbate

CJ Jones

Charlotte Zobeir Ali

Dew Langrial

Brandon Sarmiento

MWMcCabe

Emily-Jane Rafferty

Merve Alsan

Kylie Craft

Harry Hogg

Claire Splan

Mia Verita

Kenneth Johnson

Jim Latham

Khadejah Jones

ColeTretheway

Britni Pepper

Eli Snow

Mayra Boppre

afreestar

Larry Nowicki

Janaka Stagnaro

B. A. Cumberlidge.

Kelsey O’Toole

meera sahney

Olya Aman

Minutes Leung

Robert Nelson

Rhuthshana Sivashanker

Victoria Kurichenko

Kris Freeman

Tosin Sanusi

Janice Arenofsky

Bobby Dubey

Markus Scorelius

Julie Nyhus MSN, FNP-BC

James G Brennan

kabir

Agnes Laurens

Ehsan Nazim

John A. Greene

Taylor Foreman

Sanjeev Yadav

Geetika Sethi

Toushik Banik

Tony Gizer

Caroline de Braganza

K. Khan

Faiz Ali khan

Floyd Mori

Jonathan Bell

Kayo Zaduban

Carl L Lane

Chas Wyatt

Md Fahad Alam

Jason Ward

Utpal Kumar

Caelyn H.

B. A. Cumberlidge.

Roy

Britni Pepper

Dr Michael Heng

Neha Sandhir S

Timothy O’Neill

Ashley Broadwater

Ankitawrites

Arundhati

Caitlin Ju

Dr Kylie Harris

Toushik Banik

Sherry McGuinn

Sylvia Love Johnson

B. A. Cumberlidge.

Galit Birk, PhD

Trista Ainsworth

Friederike Andrae

Shawn Forno

Geetika Sethi

Paul Seo

Bill Abbate

irene tassy

Timothy Key

Merlijn Vekeman

Brandon Sarmiento

Floyd Mori

Chris Hedges

Bernadette DeCarlo

Nancy Maritza

Phil Truman

Susannah MacKinnie

Michael Thacker

Dew Langrial

Willda Atienza

Rebecca Stevens Alder

Tree Langdon ♾️

Charlotte Zobeir Ali

Maryam Merchant

Ahmed (aka Shady)

JeffHerring.com

Kristina Segarra

Adebola Alabi

Godofredo Rojas

Kylie Fuller

Riku Arikiri 🕊️

Jogi ReCentering

Fatima Khan

Tom Handy

Kenan Kolday

Devika Joshi

Evamarie Augustine

Liane Carmi

Wolfie Bain

Libby Mitchell

Paul Myers MBA

Isaiah McCall

Somsubhra Banerjee

Shantanu Kulkarni

Liv Mello

Suzanne V. Tanner

Shruti G

Zeeshan Khan, S.M.

Paul Myers MBA

Sydney Duke Richey

Feather🕊tales

Infiniti

Dr John Rose

Eli Snow

Alex Garrett

Jessica Vu

Jacquelyn Lynn

Daniel St. Joseph

John Ross

Annelise Lords

Markus Scorelius

Angelina Elido

Paroma Sen

Timothy O’Neill

Jogi ReCentering

Timothy O’Neill

Jennifer Geer

Areti Vassou

Kevin Picoaga

Annulet

Floyd Mori

Felipe Sanchez

Susan Kehoe

Alison Tennent

Vinshu Jain

Susannah MacKinnie

Jasmine Poulton

Angela M Mohn

Isak Dinesen

Alexander M. Combstrong

Robert Nelson

Suzanne Mondoux

Roy

Fareeha Arshad

Utpal Kumar

Shitala Sonar

Josh Everett

Ryan Turpin

IMΛBӨПG FΛMIПЦ

Lokajit Tikayatray

Miranda Justo-Núñez

Thewriteyard

Bob Jasper

Sunha Paul Kim

Ann Hajdu Hultberg

James G Brennan

Saurabh

Dr John Rose

Francine Fallara

Kim McKinney

Leon Purton

Liam Hunter-Bailey

Shirley M. Langton 🔮

Bensu Cangüler

Bobby Dubey

P.G. Barnett

Jennifer Geer

George Servos

Kathryn A. LeRoy, Ph.D.

Tree Langdon ♾️

B. A. Cumberlidge.

P.G. Barnett

Khadejah Jones

Isabella Lahoue

Emily Buenting

Jay Sizemore

Michael Patanella

Roz Warren

Jacquelyn Lynn

Tim Maudlin

Suzanne Mondoux

Timothy O'Neill

Daniella Mini

Jason Lai

EP McKnight

Kristina Segarra

Keith R Wilson

Kenneth Silvestri

Danny Schleien

Akash Nair M S

T.J.Parker

Danwil Reyes

Kalis King

Nadia Seaver

Hailey Amick, M.D.

Jay Villas

John Cunningham

conny manero

Joe Luca

Jay Sizemore

Mamun

Selma

Gloria D. Gonsalves

CR Mandler

Bob Jasper

Jalyn Folston

P.G. Barnett

Harry Hogg

IMΛBӨПG FΛMIПЦ

Kimberly Fosu

Trista Ainsworth

Vee Goldman

Jason Bartz

Process and Procedures

Consider submitting a story about yourself

Invitation to Slack writers collaboration group

Please consider joining our Slack channel to collaborate with other writers. It is a fun group. We already have 488 members. You can request Slack access from this link. The Publication Roadmap explains the details on Slack.

New Writer Introduction

Meet our writer Kirshi Yin

Our Curated Stories Distributed to Multiple Topics

Amy Skeel #race #family #parenting

Louise Morris #startups #parenting

Puck Achterberg #food #self

Liv Mello #creativity #self

Bensu Cangüler #self

Nancy Driver #science

Carl L Lane #LGBTQIA #self

Alyssa Atkinson #reading

Jonathan Bell #world

Leon Purton #self

Annie Huang #self

Katrina Di #lifestyle #self

We expect more stories to be distributed to topics from the following great list. In the meantime, you can enjoy the previously curated stories from this link.

Featured Writer Bios

Viktor Marchev

Simona

John Ross

Featured Interviews

John Cousins

Martine Weber

Sharon Hurley Hall

More writer interviews in this story.

Stories related to ILLUMINATION

I added all stories related to ILLUMINATION in the attached article.

These stories provide interesting and useful feedback to our publication.

Editorial Bulletins for New Writers

Dr John Rose [Editor]

Tree Langdon ♾️ [Editor]

Timothy Key [Editor]

Daily Highlights

Adam Tabriz, MD

Joshua Idegbere

Dr Michael Heng

Dew Langrial

Tony Gizer

RedempSion

Mayra Boppre

Britni Pepper

Mario Lopez-Goicoechea

Riku Arikiri 🕊️

Charlotte Zobeir Ali

Ankitawrites

Chas Wyatt

Lanu Pitan

Sikander Hayat Khan

Paul Myers MBA

Sharon Hurley Hall

Geetika Sethi

Useful resources for new writers

Self- assessed & selected stories by writers of ILLUMINATION

Meet Top Writers on ILLUMINATION

Meet Editors of ILLUMINATION

Analysis if viral story which reached to 72,000 views

Analysis of another viral story now trending 82,000 views

Writing challenges and prompts

Testimonials by ILLUMINATION writers for their peers

Testimonials about ILLUMINATION

Previous editorial bulletins of ILLUMINATION can be accessed from this link.

Archives of daily distribution lists

Invitation to writers join ILLUMINATION

If you want to join our growing, joyful, and supportive publication as a writer, please leave a message via this link. We help you become a successful writer on Medium.

TwitterFacebookLinkedInFlipboard- YouTube- Pinterest

Sample Health Improvement Articles for New Readers

Defeat Metabolic Syndrome and Slim Down Waistline with Three Tips

Why 442 Million People Live Diabetic and What We Can Do About it

Defeat Fatty Liver Disease with Three Doable Tips

Reduce Liver Cancer Risks with Healthy Lifestyle Choices

Lower the Risks of Heart Disease and Strokes in Five Steps

Make Your Lungs Healthier via Lifestyle Approaches

Make Your Pancreas Healthier via Lifestyle Choices

Make Your Kidneys Healthier via Lifestyle Choices

Make Your Brain Healthier with Ten Lifestyle Approaches

Six Tips to Prevent Brain Atrophy and Lower the Risks of Mental Disorders

What Can We Do About NCDs Killing 41 Million People Yearly?.

Five Tips to Prevent Infectious Diseases.

Three Tips to Improve Cardiovascular Health.

Three Lifestyle Habits to Lower Dementia Risks

Reduce the Risks of Neonatal Disorders to Prevent Infant Mortality.

Reduce the Risks of Major Diseases with Healthy Lifestyle Habits

I also write about valuable nutrients. Here are the links for easy access:

Urolithin, taurine, citrulline malate, biotin, lithium orotate, alpha-lipoic acid, n-acetyl-cysteine, acetyl-l-carnitine, CoQ10, NADH, TMG, creatine, choline, digestive enzymes, magnesium, hydrolyzed collagen, nootropics, pure nicotine, activated charcoal, Vitamin B12, Vitamin B1, Vitamin D, Vitamin K2, and other nutrients that might help to improve metabolism and mental health.

Disclaimer: Please note that this post does not include health or professional advice. I documented my reviews, observations, experience, and perspectives only to provide information and create awareness.

I publish my lifestyle, health, and well-being stories on EUPHORIA. I wrote several articles on major diseases and valuable nutrients for health. My focus is on metabolic, cellular, mitochondrial, and mental health. Here is my collection of Insightful Life Lessons from Personal Stories.

You might join my seven publications on Medium as a writer by sending a request via this link.

You might find more information about my professional background.

Writing
Life
Productivity
Self Improvement
Life Lessons
Recommended from ReadMedium