
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@afp/toolkit-styles
Advanced tools
This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.
This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.
Installation via npm
npm install @afp/toolkit-styles
Then in your entry js
import '@afp/toolkit-styles/dist/index.bundle.css'
Just npm run dev
, then open /index.html
(yes, just double-click) with your browser. Feel free to modify this file to add new markup, and to modify styles in the scss folder.
Node watch these files and automatically rebuild the CSS styles in dist/ folder.
The build process also allow fonts and images (like icons).
Not very necessary, but you can build without watch with npm run build
. Then you can publish your module with npm publish
.
The colors should be set in colors.scss
Every other variables that must be accessible in toolkit ui or toolkit tools should be set in variables.scss. But don't apply styles in that file.
Styles should be applied in every component file (inputs.scss, buttons.scss) and the main file (main.scss).
Don't modify index.scss. It just includes the necessary lines to init the project.
FAQs
This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.
The npm package @afp/toolkit-styles receives a total of 20 weekly downloads. As such, @afp/toolkit-styles popularity was classified as not popular.
We found that @afp/toolkit-styles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.