Skip to content

Commit 30e6bb8

Browse files
committed
Remove dark stories after adding theme toggle
1 parent 2663cc3 commit 30e6bb8

6 files changed

Lines changed: 0 additions & 82 deletions

File tree

packages/react/src/components/NearbyStations.stories.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,6 @@ export const LimitedResults: Story = {
4040
},
4141
};
4242

43-
export const DarkMode: Story = {
44-
args: {
45-
stationId: "noaa/8443970",
46-
onStationSelect: (station) => console.log("Selected:", station),
47-
},
48-
decorators: [
49-
(Story) => (
50-
<div className="dark" style={{ background: "#0f172a", padding: "2rem" }}>
51-
<Story />
52-
</div>
53-
),
54-
],
55-
};
56-
5743
export const Loading: Story = {
5844
args: {
5945
stationId: "noaa/8443970",

packages/react/src/components/StationSearch.stories.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,6 @@ export const CustomPlaceholder: Story = {
3030
},
3131
};
3232

33-
export const DarkMode: Story = {
34-
args: {
35-
onSelect: (station) => console.log("Selected:", station),
36-
},
37-
decorators: [
38-
(Story) => (
39-
<div className="dark" style={{ background: "#0f172a", padding: "2rem" }}>
40-
<Story />
41-
</div>
42-
),
43-
],
44-
};
45-
4633
export const Loading: Story = {
4734
args: {
4835
onSelect: (station) => console.log("Selected:", station),

packages/react/src/components/StationsMap.stories.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,6 @@ export const HighZoom: Story = {
4343
},
4444
};
4545

46-
export const DarkMode: Story = {
47-
args: {
48-
mapStyle: "https://demotiles.maplibre.org/style.json",
49-
onStationSelect: (station) => console.log("Selected:", station),
50-
},
51-
decorators: [
52-
(Story) => (
53-
<div className="dark" style={{ background: "#0f172a", padding: "2rem" }}>
54-
<Story />
55-
</div>
56-
),
57-
],
58-
};
59-
6046
export const Mini: Story = {
6147
args: {
6248
mapStyle: "https://demotiles.maplibre.org/style.json",

packages/react/src/components/TideGraph/TideGraph.stories.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,6 @@ export const DesktopWidth: Story = {
6060
],
6161
};
6262

63-
export const DarkMode: Story = {
64-
args: {
65-
id: "noaa/8443970",
66-
},
67-
decorators: [
68-
(Story) => (
69-
<div className="dark" style={{ background: "#0f172a", padding: "2rem" }}>
70-
<Story />
71-
</div>
72-
),
73-
],
74-
};
75-
7663
export const Loading: Story = {
7764
args: {
7865
id: "noaa/8443970",

packages/react/src/components/TideStation.stories.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,6 @@ export const DesktopSideBySide: Story = {
6565
],
6666
};
6767

68-
export const DarkMode: Story = {
69-
args: {
70-
id: "noaa/8443970",
71-
showTable: true,
72-
},
73-
decorators: [
74-
(Story) => (
75-
<div className="dark" style={{ background: "#0f172a", padding: "2rem" }}>
76-
<Story />
77-
</div>
78-
),
79-
],
80-
};
81-
8268
export const FrenchLocale: Story = {
8369
args: {
8470
id: "noaa/8443970",

packages/react/src/components/TideTable.stories.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@ export const NarrowWidth: Story = {
5252
],
5353
};
5454

55-
export const DarkMode: Story = {
56-
args: {
57-
id: "noaa/8443970",
58-
days: 3,
59-
},
60-
decorators: [
61-
(Story) => (
62-
<div className="dark" style={{ background: "#0f172a", padding: "2rem" }}>
63-
<Story />
64-
</div>
65-
),
66-
],
67-
};
68-
6955
export const Loading: Story = {
7056
args: {
7157
id: "noaa/8443970",

0 commit comments

Comments
 (0)