Skip to content

Commit

Permalink
Move apply rgb from theme to plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelUtkarsh committed Sep 1, 2022
1 parent dbc6bb5 commit e7d4961
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/assets/src/customizer/customize-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
*/
import { STYLES } from './components/google-fonts-control/styles';
import { setConfig } from '../block-editor/utils/get-config';
import { applyRgbValue } from '../../../../theme/assets/src/helper/apply-rgb-value';
import { applyRgbValue } from '../helper/apply-rgb-value';

const getIconFontName = iconStyle => {
return iconStyle === 'filled'
Expand Down
2 changes: 1 addition & 1 deletion plugin/assets/src/front-end/dark-mode-switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
themeFromSourceColor,
applyTheme,
} from '@material/material-color-utilities';
import { applyRgbValue } from '../../../../theme/assets/src/helper/apply-rgb-value';
import { applyRgbValue } from '../helper/apply-rgb-value';

const body = document.body;
export const ICONS = {
Expand Down
File renamed without changes.

0 comments on commit e7d4961

Please sign in to comment.