Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem "rails", "~> 7.1.3.4"
gem "sprockets"

# friends of Rails
gem "sass-rails", ">= 6"
gem "dartsass-rails"
gem "sprockets-rails"
gem "uglifier", ">= 2.7.1"

Expand Down
52 changes: 41 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ GEM
connection_pool (2.5.0)
crass (1.0.6)
csv (3.3.2)
dartsass-rails (0.5.1)
railties (>= 6.0.0)
sass-embedded (~> 1.63)
date (3.4.1)
devise (4.9.4)
bcrypt (~> 3.0)
Expand Down Expand Up @@ -172,6 +175,27 @@ GEM
formtastic_i18n (0.7.0)
globalid (1.2.1)
activesupport (>= 6.1)
google-protobuf (4.33.0)
bigdecimal
rake (>= 13)
google-protobuf (4.33.0-aarch64-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.33.0-aarch64-linux-musl)
bigdecimal
rake (>= 13)
google-protobuf (4.33.0-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.33.0-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.33.0-x86_64-linux-gnu)
bigdecimal
rake (>= 13)
google-protobuf (4.33.0-x86_64-linux-musl)
bigdecimal
rake (>= 13)
has_scope (0.8.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
Expand Down Expand Up @@ -368,16 +392,22 @@ GEM
ruby2_keywords (0.0.5)
ruby_audit (3.0.0)
bundler-audit (~> 0.9.0)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
sass-embedded (1.94.0-aarch64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-aarch64-linux-musl)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-arm-linux-gnueabihf)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-arm-linux-musleabihf)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-arm64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-x86_64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-x86_64-linux-gnu)
google-protobuf (~> 4.31)
sass-embedded (1.94.0-x86_64-linux-musl)
google-protobuf (~> 4.31)
sidekiq (7.3.9)
base64
connection_pool (>= 2.3.0)
Expand Down Expand Up @@ -440,6 +470,7 @@ DEPENDENCIES
bootsnap (>= 1.9.4)
bullet
bundler-audit
dartsass-rails
devise (~> 4.7)
email_prefixer
email_validator
Expand All @@ -461,7 +492,6 @@ DEPENDENCIES
rubocop
rubocop-rails
ruby_audit
sass-rails (>= 6)
sidekiq (< 8)
simplecov
sprockets
Expand Down
17 changes: 6 additions & 11 deletions app/javascript/stylesheets/application.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@use "tailwindcss/base" as *;
@use "tailwindcss/components" as *;
@use "tailwindcss/utilities" as *;
@use "@bigbinary/neetoui" as *;
@use "layouts/sidebar" as *;
@use "components/notes" as *;

@import "react-toastify/dist/ReactToastify.min.css";

@import "@bigbinary/neetoui";

//Sidebar
@import "layouts/sidebar";

//Components
@import "components/notes";
13 changes: 13 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
const replaceColorAdjust = () => {
return {
postcssPlugin: "postcss-replace-color-adjust",
Declaration(decl) {
if (decl.prop === "color-adjust") {
decl.prop = "print-color-adjust";
}
},
};
};
replaceColorAdjust.postcss = true;

module.exports = {
plugins: [
require("postcss-import"),
require("tailwindcss")("./tailwind.config.js"),
replaceColorAdjust,
require("postcss-flexbugs-fixes"),
require("postcss-preset-env")({
autoprefixer: {
Expand Down