Skip to content

Commit

Permalink
use tailwind 4.0.9 to make heroicon plugin work
Browse files Browse the repository at this point in the history
also use oklch for brand color and fix semicolon
  • Loading branch information
SteffenDE committed Feb 26, 2025
1 parent 46129bf commit fe4f5fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions installer/templates/phx_assets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
@variant phx-submit-loading ([".phx-submit-loading&", ".phx-submit-loading &"]);
@variant phx-change-loading ([".phx-change-loading&", ".phx-change-loading &"]);
@theme {
--color-brand: "#FD4F00",
};
--color-brand: oklch(66.64% 0.2202 37.57);
}

/*
* Make LiveView wrapper divs transparent for layout.
Expand Down
2 changes: 1 addition & 1 deletion installer/templates/phx_single/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ config :esbuild,

# Configure tailwind (the version is required)
config :tailwind,
version: "4.0.3",
version: "4.0.9",
<%= @app_name %>: [
args: ~w(
--input=assets/css/app.css
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ config :esbuild,

# Configure tailwind (the version is required)
config :tailwind,
version: "4.0.3",
version: "4.0.9",
<%= @web_app_name %>: [
args: ~w(
--input=assets/css/app.css
Expand Down
2 changes: 1 addition & 1 deletion integration_test/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ config :phoenix, :json_library, Jason

config :swoosh, api_client: false

config :tailwind, :version, "4.0.3"
config :tailwind, :version, "4.0.9"

config :phoenix_live_view, enable_expensive_runtime_checks: true

0 comments on commit fe4f5fe

Please sign in to comment.