Skip to content

Commit

Permalink
feat: remove normalization from themes when using CSS files (#3774)
Browse files Browse the repository at this point in the history
* feat: remove normalization from themes when using CSS files

(this causes a lot of trouble when using them because it is **NOT** prefixed!)

* Create quick-books-peel.md
  • Loading branch information
sebald authored Feb 28, 2024
1 parent ade96cf commit 7a5bc5f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/quick-books-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@marigold/theme-b2b": patch
"@marigold/theme-core": patch
---

feat: remove normalization from themes when using CSS files
3 changes: 3 additions & 0 deletions themes/theme-b2b/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { preset } from './src/preset';

export default {
important: '[data-theme="b2b"]',
corePlugins: {
preflight: false,
},
content: [
'src/root.ts',
'src/colors.ts',
Expand Down
3 changes: 3 additions & 0 deletions themes/theme-core/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { preset } from './src/preset';
// Figma File: https://www.figma.com/file/RiWJBV4Z8L8ycVvUuMYXbm/%F0%9F%93%93-CR---Components-2022?node-id=1452-1785&t=YaLGVHzniD5mOtbJ-0
export default {
important: '[data-theme="core"]',
corePlugins: {
preflight: false,
},
content: [
'src/root.ts',
'src/colors.ts',
Expand Down

0 comments on commit 7a5bc5f

Please sign in to comment.