Skip to content

Commit 5d44315

Browse files
feat(theme): deactivate tailwind colors
1 parent d4ad0c9 commit 5d44315

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

libs/design-core/src/presets/allBrands.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ export const allBrandsPreset: Config = {
1313
content: [],
1414
theme: {
1515
boxShadow: {},
16+
boxShadowColor: {},
1617
fontSize: {},
1718
fontWeight: {},
1819
lineHeight: {},
20+
colors: {},
1921
},
2022
plugins: [
2123
createPrimitivesPlugin(),

libs/design-core/src/presets/enterprise.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ export const enterprisePreset: Config = {
1414
content: [],
1515
theme: {
1616
boxShadow: {},
17+
boxShadowColor: {},
1718
fontSize: {},
1819
fontWeight: {},
1920
lineHeight: {},
21+
colors: {},
2022
},
2123
plugins: [
2224
createPrimitivesPlugin(),

libs/design-core/src/presets/ledger-live.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ export const ledgerLivePreset: Config = {
1313
content: [],
1414
theme: {
1515
boxShadow: {},
16+
boxShadowColor: {},
1617
fontSize: {},
1718
fontWeight: {},
1819
lineHeight: {},
20+
colors: {},
1921
},
2022
plugins: [
2123
createPrimitivesPlugin(),

libs/design-core/src/presets/websites.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ export const websitesPreset: Config = {
1414
content: [],
1515
theme: {
1616
boxShadow: {},
17+
boxShadowColor: {},
1718
fontSize: {},
1819
fontWeight: {},
1920
lineHeight: {},
21+
colors: {},
2022
},
2123
plugins: [
2224
createPrimitivesPlugin(),

libs/design-core/src/utils/createCustomPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export function createShadowPlugin(): TailwindPlugin {
387387
addUtilities(shadows);
388388
matchUtilities(
389389
{ shadow: (value) => ({ '--tw-shadow-color': value }) },
390-
{ values: theme('colors') },
390+
{ values: theme('boxShadowColor') },
391391
);
392392
});
393393
}

0 commit comments

Comments
 (0)