ACSS 101.08: Color Scheme & "Dark Mode"

  Рет қаралды 3,184

AutomaticCSS & Frames

AutomaticCSS & Frames

Күн бұрын

This lesson covers:
- How to choose alternate versions of each color in the ACSS color system.
- How to automatically swap color scheme based on OS preference.
- How to manually swap a group of elements to the alternate scheme.
- How to manually lock a group of elements to the main scheme.
- How to programmatically lock elements to the main scheme.
- How to deploy a color scheme toggle switch.
- How to test color scheme settings.
- How to clear toggle switch local storage preferences during testing.
Interested in using Automatic.css on your sites and accessing the private ACSS support and strategy community? Get a license here: automaticcss.com
Interested in using Frames on your sites and accessing the private Frames support and strategy community? Get a license here: getframes.io
Want more helpful dev tutorials and agency-related trainings? Check out Kevin's channel: / @gearyco

Пікірлер: 47
@isaurasotoca
@isaurasotoca 3 ай бұрын
An easy and elegant application of a fairly complex feature, as always! 😊
@antonichristian5845
@antonichristian5845 3 ай бұрын
Was hoping for this video it was one of things I was getting confused on but Kevin cleared it right up, thanks! ACSS is the gift that keeps on giving.
@eucalyptech
@eucalyptech 3 ай бұрын
Such a powerful feature, thank you Kevin 😃
@dahunsi
@dahunsi 3 ай бұрын
Can't wait to watch this. I need to clear the clutter off my desk, but this is one of the lessons I have been waiting for. I am sure it will be worth it.
@captainfire74
@captainfire74 3 ай бұрын
Wow, that got dark pretty quickly !!!
@rebelinc
@rebelinc 3 ай бұрын
Awesome, as always.
@kristapsvilcans
@kristapsvilcans 3 ай бұрын
Fantastic, thanks
@workvisual
@workvisual 3 ай бұрын
Thank you sir
@RobCooper
@RobCooper 3 ай бұрын
Out of curiosity... how did you bill for the after launch dark mode feature? For the time it took? Or the time the client might expect the fix to take?
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
We do it as a per page upcharge.
@OneKingArthur
@OneKingArthur 3 ай бұрын
Hi Kevin, where do you suggest placing the switch on a website.
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
usually in the header.
@ManosGerakakis
@ManosGerakakis 3 ай бұрын
The power and control you get with ACSS is really mind blowing 🤯 Bravo guys! Keep on rocking!
@joachimauster
@joachimauster 3 ай бұрын
This was a very, very long-awaited introduction for Dark/Light Mode with ACSS. Thank you 🙏👍 Does dark/light schemes also work (kind of) with 2.x Version already?
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
Yes, but it’s time to update to 3.0 ;)
@haroonqraja
@haroonqraja 3 ай бұрын
When it specifically comes to implementing a dark mode, instead of locking selectors for individual sections (like "content-section-quebec") to main scheme under Scheme Protection, it might be a better idea to lock the selector for dark background i.e. "bg--dark" to the main scheme, so that all sections with the dark background become protected. Needless to say, it would work only if using the utility class method to set dark sections.
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
Do both. Its flexible. Not all dark sections use the utility class. The method provided has no limitations :)
@fedestock77
@fedestock77 Ай бұрын
Thank you for the clear explanation. In case Im using a background image for the light mode, can I set a background image to be set instead of that one for the dark mode?
@AutomaticCSS
@AutomaticCSS Ай бұрын
It’s not super straightforward. That’s more something the builder would need to provide for.
@turvodnik
@turvodnik 3 ай бұрын
Thanks, great functionality. What about automating color changes for svg icons and changing the logo when switching the color scheme?
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
You can set it up, but there’s no way to automate it through the framework that I know of. Just something you have to do on your end.
@turvodnik
@turvodnik 3 ай бұрын
I understand that. Maybe as an option, as in a frame, there are settings for buttons, something similar to do for icons (perm blots and colors, including alternative color). Icons are on every website. It's just like an idea, it's not always convenient to use local variables.
@tobisalami
@tobisalami 3 ай бұрын
Thank you so much! But Kevin, is there a way to add an extra color scheme besides the main and alternate? Can you have Alternate2?
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
Not yet
@krissborowy3627
@krissborowy3627 3 ай бұрын
@tobisalami And what function would it serve? do you have any idea for this?
@tobisalami
@tobisalami 3 ай бұрын
@@krissborowy3627 Sometimes, you may want to have more than just light mode and dark mode. You may want to have "reading mode" in which the blog pages for example would be yellow-ish and easy on the eyes. Not light. Not dark. You may also want a user to customize their color scheme the way they like their colors. Of course it won't be granular control over each color (so they don't mess it up) but actual color schemes to choose from. I see this used in front-end app dashboards.
@krissborowy3627
@krissborowy3627 3 ай бұрын
I don't know if I understood correctly. Is the switch component available to Automatic.css or Framer License holders?
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
Frames. There’s switch code in the docs though.
@krissborowy3627
@krissborowy3627 3 ай бұрын
@@AutomaticCSS Can you advise/show me where I can find it in the documentation?
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
@@krissborowy3627 automaticcss.com/docs/color-scheme-dark-mode/
@bluetheredpanda
@bluetheredpanda 3 ай бұрын
Another feature that just slaps! When will this team stop? (Never. Never is the answer every sane person is hoping for) 😉 All jokes aside thanks for the great work on this
@davidwalls2304
@davidwalls2304 3 ай бұрын
Great episode. I'm looking forward to implementing color scheme on my sites when ACSS 3 rolls out officially.
@goannacs6861
@goannacs6861 3 ай бұрын
Sick 😮 I havent regret to go with ACSS and Frames one single bit!
@ryrimsky
@ryrimsky 3 ай бұрын
Kevin, you're the man. 🥴
3 ай бұрын
Love it! Thanks for this one once again
@LupusDesign
@LupusDesign 3 ай бұрын
Excellent tutorial, Kevin.
@bikimel-directes
@bikimel-directes 3 ай бұрын
Very cool thnks accs!
@DraganMiletic
@DraganMiletic 3 ай бұрын
This deserves a ultra like!
@dovber
@dovber 3 ай бұрын
Thanks
@malikqatagan8977
@malikqatagan8977 3 ай бұрын
Super cool ❤
@Louis-C-online
@Louis-C-online 3 ай бұрын
Wow the selector locking is a very powerful feature I didn't know about it !
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
💪🏻
@stefankontrus
@stefankontrus 3 ай бұрын
Great thank you Kevin! How would I approach it, if I want the normal e.g. black shadow on the main scheme, but the glow in another color e.g. red as you showed in the alt scheme (so not just the same color inverted and switched from shadow to glow)? thx
@AutomaticCSS
@AutomaticCSS 3 ай бұрын
Would require a manual declaration. We could probably make a recipe for that.
@stefankontrus
@stefankontrus 3 ай бұрын
​​@@AutomaticCSSa recipe or instruction how to achieve this, maybe in the docs, would be great 👍 thx!
@johnboyd8053
@johnboyd8053 3 ай бұрын
@@AutomaticCSS Did I miss it? Have you done a video that truly explains the "Recipe" concept or where can I locate the doc that explains how this all works?
@Gearyco
@Gearyco 3 ай бұрын
@@johnboyd8053 We'll do a video on recipes, but there should be a doc for it as well. Look up recipes in the docs.
ACSS 101.09: Headers, Sticky Headers, & Offsets
27:15
AutomaticCSS & Frames
Рет қаралды 4 М.
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Ozoda - Lada (Official Music Video)
06:07
Ozoda
Рет қаралды 13 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 10 МЛН
Give your site a fantastic color scheme fast
25:55
Kevin Powell
Рет қаралды 324 М.
Query Google Review in Wordpress Bricks Builder
14:14
Ivan Nugraha
Рет қаралды 893
ACSS 101.06: Color Palette Setup
28:19
AutomaticCSS & Frames
Рет қаралды 5 М.
ACSS 101.07.P1: Background & Text Color (Traditional Approach)
17:53
AutomaticCSS & Frames
Рет қаралды 2,8 М.
A deep dive into CSS color-mix()
18:06
Kevin Powell
Рет қаралды 27 М.
ACSS 101.04: Fluid Responsive, Scale-Based, Contextual Spacing
34:51
AutomaticCSS & Frames
Рет қаралды 4,6 М.
Bricks - Gradients & Overlays (Linear, Radial, Conic)
11:59
Bricks - Visual Site Builder for WordPress
Рет қаралды 4,2 М.
ACSS 101.12: The Official ACSS Workflow (BEM + AUTOBEM)
40:58
AutomaticCSS & Frames
Рет қаралды 4,4 М.
How to Choose Colors (Easy 3-Step Process)
6:58
Flux Academy
Рет қаралды 1 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН