A simple CSS spacing library for margins, paddings and more
CSS color - Resolve and convert CSS colors.
A general-purpose color library for JavaScript
A CSS parser, transformer, and minifier written in Rust
Convert tabs to spaces in a string
Remove the trailing spaces from a string.
Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).
A wide-character aware text alignment function for use on the console or with fixed width fonts.
camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)
Let’s get serious about color
Like String.trim() but you can choose granularly what to trim
A prettier plugins to sort imports in provided RegEx order
remark-lint rule to warn when too many spaces are used to create a hard break
An output formatter for markdownlint-cli2 that produces the same output as markdownlint-cli
Maintain consistent spaces across components and projects in accordance to our baseline grid and design guidelines.
Temporary file and directory creator
prettierX - a less opinionated fork of the Prettier code formatter
A grown up version of Node's spawn/exec
TypeScript package which smartly trims and strips indentation from multi-line strings
High performance color library
textlint rule that disallow zero width spaces.
Parts of React UFO that are publicly available
Remove leading indentation from ES6 template literals.
align spaces on empty lines of a source code
Strip white space and comments from CSS as well as a little optimization.
compass plugin to convert spaces to tabs in your output css
Color is a Ruby library to provide RGB, CMYK, HSL, and other color space manipulation support to applications that require it. It provides optional named RGB colors that are commonly supported in HTML, SVG, and X11 applications. The Color library performs purely mathematical manipulation of the colors based on color theory without reference to device color profiles (such as sRGB or Adobe RGB). For most purposes, when working with RGB and HSL color spaces, this won't matter. Absolute color spaces (like CIE LAB and CIE XYZ) cannot be reliably converted to relative color spaces (like RGB) without color profiles. When necessary for conversions, Color provides D65 and D50 reference white values in Color::XYZ. Color 2.2 adds a minor feature where an RGB color created from values can silently inherit the `#name` of a predefined color if `color/rgb/colors` has already been loaded. It builds on the Color 2.0 major release, dropping support for all versions of Ruby prior to 3.2 as well as removing or renaming a number of features. The main breaking changes are: - Color classes are immutable Data objects; they are no longer mutable. - RGB named colors are no longer loaded on gem startup, but must be required explicitly (this is _not_ done via `autoload` because there are more than 100 named colors with spelling variations) with `require "color/rgb/colors"`. - Color palettes have been removed. - `Color::CSS` and `Color::CSS#[]` have been removed.
Create Anki Flashcards with Ruby! Supports images, audio, HTML and CSS. Build multimedia *.apkg Flashcards for use with the Anki (http://ankisrs.net) Spaced Repetition Software (SRS)
Abachrome provides a robust set of tools for working with various color formats including hex, RGB, HSL, and named colors. Features support for multiple color spaces (RGB, HSL, Lab, Oklab), color space conversion, gamut mapping, CSS color parsing and formatting, and high-precision color calculations using BigDecimal.
Abachrome provides a robust set of tools for working with various color formats including hex, RGB, HSL, and named colors. Features support for multiple color spaces (RGB, HSL, Lab, Oklab), color space conversion, gamut mapping, CSS color parsing and formatting, and native float-based color calculations.
A small concern you mix into your base ViewComponent class to declare base styles, variants, and conditional CSS classes declaratively. Smart-merges Tailwind utility classes (spacing, modifier prefixes, arbitrary values) so callers can safely override per-instance styles.
"Harsh: Another Rails Syntax Highlighter," is just that - it highlights code in Rails, much like Radiograph or tm_syntax_highlighting. However, it does it well, _better_. Oh, and it also supports Haml, as well as ERb. And it comes with rake tasks. Firstly, it allows block form: <% harsh :theme => :dawn do %> class Testing def initialize(str) puts str end end <% end %> as well as the form the other plugins offer, which is text as a parameter: <% harsh %Q{ class Testing def initialize(str) puts str end end }, :theme => :dawn For haml, harsh is implemented as a filter. First, add this to the bottom of your environment.rb: Harsh.enable_haml Then, to use harsh in Haml: :harsh class Foo < Bar end However, haml's filters can't take options. So how on earth are we going to customize it to our heart's delight? Easily, my friend, fret not! Enter the BCL (Bootleg Configuration Line): :harsh #!harsh theme = all_hallows_eve lines=true syntax=css h1 { float:left; clear:left; position:relative; } It has to be the first line in the filter. You don't need the config line, though. Also, notice that you can have spaces between the arguments and the little = sign. Harsh also offers rake tasks for what tm_syntax_highlighting provides in generators, and a :harsh as a stylesheet-includer to load all syntax-highlighting files, as such: <%= stylesheet_include_tag :harsh %> The rake tasks for setting up your stylesheets are these: rake harsh:theme:list # lists available themes rake harsh:theme:install[twilight] # installs the twilight theme into /public/stylesheets/harsh/ rake harsh:theme:install THEME=twilight # also installs the twilight theme (for *csh shells) rake harsh:theme:uninstall[twilight] # removes the twilight theme rake harsh:theme:uninstall THEME=twilight # also uninstalls the twilight theme (for *csh shells) While purely informative, you can find out the available syntaxes as follows: rake harsh:syntax:list
No description provided.
No description provided.
No description provided.
No description provided.