Remove index.css
article thumbnail

Themed websites with multiple color schemes the easy way

Xebia

In this blog post I’m going to explain you how to apply and switch color schemes (themes) in a web application. How to apply this in scale? Next thing is how to toggle the class? How to apply this in scale? Instead of one index.css , you will have index.css , palette-red.css , palette-blue.css and palette-green.css.

Media 130
article thumbnail

Getting to know Sitecore Search – Part 6

Perficient

Install Search SDK The getting started guide shows you how to install the search sdk into your project. cd <app_name> npm install –save @sitecore-search/react npm install –save @sitecore-search/ui Add WidgetsProvider The getting started guide also shows you how to add a widgets provider to your application.

article thumbnail

Animating Route Transitions with React Router

LogRocket

However, there is not much in the docs, stack-overflow, or blogs that explain how to animate between routes when building UIs that require motion. At the end of the tutorial, you will see how to use Higher Order Components (HOC) to compose your components with the React’s CSSTransitionGroupplugin. linear 0.4s; }.SlideIn-leave