Skip to content

Commit

Permalink
try remaining changes - not working locally for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
tylersayshi committed Jan 26, 2025
1 parent d17cc98 commit bfb494c
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 358 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '../styles.css';

import type { ReactNode } from 'react';

import { Header } from '../components/header';
Expand All @@ -11,7 +9,7 @@ export default async function RootLayout({ children }: RootLayoutProps) {
const data = await getData();

return (
<div style={{ fontFamily: 'Nunito' }}>
<div style={{ fontFamily: 'sans-serif' }}>
<meta name="description" content={data.description} />
<link rel="icon" type="image/png" href={data.icon} />
<Header />
Expand Down
1 change: 0 additions & 1 deletion e2e/fixtures/monorepo/packages/waku-project/src/styles.css

This file was deleted.

18 changes: 0 additions & 18 deletions examples/01_template/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap')
layer(base);
@import 'tailwindcss';

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
18 changes: 0 additions & 18 deletions examples/02_template_js/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap')
layer(base);
@import 'tailwindcss';

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
18 changes: 0 additions & 18 deletions examples/03_demo/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,3 @@ layer(base);
--font-nunito: 'Nunito', sans-serif;
--font-zen-maru-gothic: 'Zen Maru Gothic', serif;
}

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
18 changes: 0 additions & 18 deletions examples/05_compiler/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap')
layer(base);
@import 'tailwindcss';

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
18 changes: 0 additions & 18 deletions examples/06_form-demo/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,3 @@ layer(base);
--font-nunito: 'Nunito', sans-serif;
--font-zen-maru-gothic: 'Zen Maru Gothic', serif;
}

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
18 changes: 0 additions & 18 deletions examples/12_nossr/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap')
layer(base);
@import 'tailwindcss';

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
3 changes: 2 additions & 1 deletion examples/42_react-tweet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
"waku": "0.21.17"
},
"devDependencies": {
"@tailwindcss/vite": "4.0.0",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"autoprefixer": "10.4.20",
"tailwindcss": "3.4.17",
"tailwindcss": "4.0.0",
"typescript": "5.7.3"
}
}
7 changes: 0 additions & 7 deletions examples/42_react-tweet/postcss.config.js

This file was deleted.

18 changes: 0 additions & 18 deletions examples/42_react-tweet/src/styles.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap')
layer(base);
@import 'tailwindcss';

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
10 changes: 10 additions & 0 deletions examples/42_react-tweet/waku.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'waku/config';

export default defineConfig({
unstable_viteConfigs: {
common: () => ({
plugins: [tailwindcss()],
}),
},
});
18 changes: 0 additions & 18 deletions packages/website/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,6 @@ layer(base);

@config '../tailwind.config.js';

/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}

@utility text-shadow {
text-shadow: 0.03125em 0.03125em 0px black;
}
Expand Down
Loading

0 comments on commit bfb494c

Please sign in to comment.