Skip to content

Commit e7d4961

Browse files
committed
Move apply rgb from theme to plugin
1 parent dbc6bb5 commit e7d4961

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

plugin/assets/src/customizer/customize-preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
*/
4141
import { STYLES } from './components/google-fonts-control/styles';
4242
import { setConfig } from '../block-editor/utils/get-config';
43-
import { applyRgbValue } from '../../../../theme/assets/src/helper/apply-rgb-value';
43+
import { applyRgbValue } from '../helper/apply-rgb-value';
4444

4545
const getIconFontName = iconStyle => {
4646
return iconStyle === 'filled'

plugin/assets/src/front-end/dark-mode-switch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
themeFromSourceColor,
2424
applyTheme,
2525
} from '@material/material-color-utilities';
26-
import { applyRgbValue } from '../../../../theme/assets/src/helper/apply-rgb-value';
26+
import { applyRgbValue } from '../helper/apply-rgb-value';
2727

2828
const body = document.body;
2929
export const ICONS = {
File renamed without changes.

0 commit comments

Comments
 (0)