diff --git a/css/style.scss b/css/style.scss index 3fc4da4..35394bc 100644 --- a/css/style.scss +++ b/css/style.scss @@ -1,25 +1,4 @@ -html{ - height: 100%; - font-family: Sans-Serif; - display: grid; - align-items: center; - justify-self: center; - - --bg: #FCFCFC; - --bg-panel: #EBEBEB; - --color-headings: #0077FF; - --color-text: #333333; -} -html[data-theme='dark']{ - - --bg: #333333; - --bg-panel: #434343; - --color-headings: #0077FF; - --color-text: #FFFFFF; -} -body{ - background: var(--bg); -} + .d-container{ background: var(--bg-panel) !important; padding: 1em!important; diff --git a/index.html b/index.html index dcea92d..4b54db5 100644 --- a/index.html +++ b/index.html @@ -16,8 +16,58 @@

Dark mode using Sass

Hi, in this tutorials I will show you how to make a dark mode for your website!

\ No newline at end of file