### Example Usage with Dark Mode Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Illustrates applying color utility classes for both default and dark mode states. The example shows a paragraph with specific text and background colors for the default state and different colors when the `dark:` modifier is applied. ```html
Текст
``` -------------------------------- ### Example Usage of Color Utility Classes Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Demonstrates how to apply text color, background color, and hover effects using the defined utility classes. The example shows a paragraph with a primary text color, gray background, and a red text color on hover. ```htmlТекст
``` -------------------------------- ### Combined Text Styling Example Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Demonstrates combining multiple utility classes for a styled text element, including bold, underline, and specific line height. ```htmlLeft aligned
Center aligned
Right aligned
Justified text
Center aligned on tablet and up
This text will not wrap.
This text will wrap normally.
This is a very long text that will be truncated with an ellipsis if it overflows its container.
This text is intended to be clamped to a maximum of two lines, with an ellipsis appearing if it exceeds that limit.
``` -------------------------------- ### Berry CSS Height Utility Classes Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Provides utility classes for setting fixed pixel heights, percentage heights, and viewport unit heights. Includes modifiers for min/max height and responsive adjustments. ```APIDOC Fixed Pixel Height Utilities: - `h{N}px`: Sets `height` to a specific pixel value. N can be: 10, 15, 20, 30, 40, 50, 60, 70, 100, 200, 300, 400, 500. - Modifiers: - `-min`: Applies `min-height` (e.g., `.h20px-min`). - `-max`: Applies `max-height` (e.g., `.h50px-max`). Additional Height Utilities: - `h-auto`: Sets `height: auto`. - `h-auto-tablet`: Sets `height: auto` for screens up to 768px width. - `h100`: Sets `height: 100%`. Viewport Height Utilities: - `h{N}vh`: Sets `height` using viewport units. N can be: 50, 100. - Example: `.h50vh` sets `height: 50vh`. - `h{N}vh-min`: Sets `min-height` using viewport units. N can be: 50, 100. - Example: `.h100vh-min` sets `min-height: 100vh`. Examples: - `Uppercase text
Lowercase text
Capitalized text
Small caps text
``` -------------------------------- ### Text Styling and Decorations Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Classes for controlling text font weight, italic style, reset, underline styles, strikethrough, and overline. ```htmlBold text
Italic text
Underlined text
Strikethrough text
Overlined text
Dashed underline
Underline with offset
Reset text styles
``` -------------------------------- ### Пример слабого контраста цветов Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai HTML-пример, демонстрирующий использование близких цветов (`primary100` текст на `primary200` фоне) для создания слабого контраста, что может ухудшить читаемость текста. ```htmlMonospace text
Georgia font text
Arial font text
Verdana font text
``` -------------------------------- ### Настройка Primary палитры в Sass Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Пример настройки CSS-переменных для определения оттенка (hue) и насыщенности (saturation) основной цветовой палитры `primary` в Sass. Это позволяет динамически менять цвет темы сайта. ```sass :root { --primary-hue: 123deg; // hue --primary-sat: 41%; // saturation } ``` -------------------------------- ### Text and Background Utility Classes Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Defines CSS utility classes for applying text and background colors. Classes follow the pattern `t-{color}` for text color and `bg-{color}` for background color. Hover states are handled with `hover-t-{color}` and `hover-bg-{color}`. ```css /* Format: - `t-{color}` → `color: var(--цвет)` - `bg-{color}` → `background-color: var(--цвет)` - `hover-t-{color}:hover` → Изменяет цвет текста при наведении. - `hover-bg-{color}:hover` → Изменяет фон при наведении. - `color-inherit` → `color: inherit` (может применяться к любым элементам). Available colors: color1–color9, primary, white, black, gray, red, pink, purple, violet, indigo, blue, cyan, teal, green, lime, yellow, orange, brown. All colors (except color1-color9, white, black) use brightness gradients from 50 to 950 with a step of 50. Always specify the color as `prefix-{color}{gradation_level}`. Example: `t-primary600`, `red200`, `blue800`. ``` -------------------------------- ### Berry CSS Transition Utility Classes Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Offers classes to control CSS `transition` properties, including duration and timing functions. These can be applied to individual elements or containers to affect nested elements. ```css /* Durations */ .transition-duration { transition: all 0.5s; } .transition-duration0 { transition: all 0ms; } .transition-duration75 { transition: all 75ms; } .transition-duration100 { transition: all 100ms; } .transition-duration150 { transition: all 150ms; } .transition-duration200 { transition: all 200ms; } .transition-duration300 { transition: all 300ms; } .transition-duration500 { transition: all 500ms; } .transition-duration700 { transition: all 700ms; } .transition-duration1000 { transition: all 1000ms; } /* Timing Functions */ .transition-ease-linear { transition-timing-function: linear; } .transition-ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); } .transition-ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } .transition-ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } /* Custom duration for direct element */ .transition-var { transition: all var(--transition-duration, 0.5s); } /* Custom duration for child elements */ .transition-child-var { transition: all var(--transition-duration, 0.5s); } ``` ```htmlText
Text with hyphenation enabled.
This text is rendered right-to-left.
Vertical text (right-to-left).
``` -------------------------------- ### Berry CSS Border Utility Classes Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Defines utility classes for managing borders, including color application, hover effects, dark mode variants, custom properties, and border removal. Supports various styles, widths, and partial removals. ```APIDOC Border Color Utilities: - `bor-{color}`: Sets `border-color` using predefined CSS variables (e.g., `var(--red)`). - `hover-bor-{color}`: Applies `border-color` on hover. - `dark:bor-{color}`: Sets `border-color` for dark mode. - `dark:hover-bor-{color}`: Applies `border-color` on hover in dark mode. Available colors include `color1` through `color9`, `primary` variants, `white`, `black`, `gray` variants, and semantic colors like `red`, `blue`, etc. Border Management Utilities: - `bordered`: Applies a default border (`border: var(--bordered, var(--primary200) 1px solid)`). - `bor-var`: Enables custom border properties via CSS variables: - `--bor-style`: Sets border style (default: `solid`). - `--bor-width`: Sets border width (default: `1px`). - `--bor-color`: Sets border color (default: `var(--primary200)`). - `bor-currentColor`: Sets `border-color: currentColor` to inherit text color. Border Removal Utilities: - `bor-none`: Removes all borders (`border-style: none !important`). - Partial Removal: - `bor-none-t`: Removes top border. - `bor-none-r`: Removes right border. - `bor-none-b`: Removes bottom border. - `bor-none-l`: Removes left border. - `bor-none-tb`: Removes top and bottom borders. - `bor-none-rl`: Removes right and left borders. - `bor-none-tablet`: Removes borders on screens up to 768px width. Border Style Utilities: - `bor-{style}`: Sets border style for all sides (e.g., `bor-solid`, `bor-dotted`, `bor-dashed`, `bor-double`). - `bor-{style}-[t|r|b|l|tb|rl]`: Applies style to specific sides (e.g., `bor-dashed-t`). Border Width Utilities: - `bor{N}`: Sets border width from 1px to 5px (e.g., `bor1`, `bor2`, `bor5`). - For widths beyond `bor5`, use `bor-var` with `--bor-width`. Examples: - `Line height 1.0
Line height 1.5
Line height 2.0
Line height 1.1em
Line height 1.5em
Line height 2.0em
``` -------------------------------- ### HSL Color Hue and Saturation Variables Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Defines hue and saturation variables for various color families (e.g., primary, red, blue). These variables are used in conjunction with lightness values to generate a comprehensive range of color shades. ```sass --primary-hue: 216deg; // For Material Design --primary-sat: 33%; --gray-hue: var(--primary-hue); --gray-sat: 7%; --red-hue: 5deg; --red-sat: 60%; --brown-hue: 16deg; --brown-sat: 31%; --orange-hue: 31deg; --orange-sat: 75%; --yellow-hue: 48deg; --yellow-sat: 88%; --lime-hue: 57deg; --lime-sat: 80%; --green-hue: 102deg; --green-sat: 34%; --teal-hue: 172deg; --teal-sat: 30%; --cyan-hue: 200deg; --cyan-sat: 45%; --blue-hue: 218deg; --blue-sat: 50%; --indigo-hue: 238deg; --indigo-sat: 35%; --violet-hue: 264deg; --violet-sat: 36%; --purple-hue: 304deg; --purple-sat: 29%; --pink-hue: 334deg; --pink-sat: 46%; ``` -------------------------------- ### HSL Color Scale Generation Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Generates a 50-950 lightness scale for a given color using HSL variables. Each step defines a CSS variable for a specific lightness level (e.g., --ЦВЕТ950, --ЦВЕТ900) and a default variable (--ЦВЕТ) set to the 500 lightness level. ```css --ЦВЕТ950: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 9%); --ЦВЕТ900: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 13%); --ЦВЕТ850: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 17%); --ЦВЕТ800: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 21%); --ЦВЕТ750: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 26%); --ЦВЕТ700: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 31%); --ЦВЕТ650: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 36%); --ЦВЕТ600: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 41%); --ЦВЕТ550: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 46%); --ЦВЕТ500: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 50%); --ЦВЕТ450: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 54%); --ЦВЕТ400: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 59%); --ЦВЕТ350: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 65%); --ЦВЕТ300: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 70%); --ЦВЕТ250: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 75%); --ЦВЕТ200: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 81%); --ЦВЕТ150: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 86%); --ЦВЕТ100: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 91%); --ЦВЕТ50: hsl(var(--ЦВЕТ-hue) var(--ЦВЕТ-sat) 96%); --ЦВЕТ: var(--ЦВЕТ500); ``` -------------------------------- ### Berry CSS Rotation Transformation Classes Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Provides utility classes for applying CSS `transform: rotate()` to elements. These classes allow for quick rotation by 45, 90, or 180 degrees. ```css .rotate45 { transform: rotate(45deg); } .rotate90 { transform: rotate(90deg); } .rotate180 { transform: rotate(180deg); } ``` ```html Text ``` -------------------------------- ### Letter Spacing (Kerning) Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Classes to adjust letter spacing for improved readability or aesthetic effect, ranging from tight to wide spacing. ```htmlTight spacing (-0.05em)
Normal spacing (0em)
Wide spacing (0.1em)
Very wide spacing (0.2em)
``` -------------------------------- ### Fixed Color Definitions Source: https://maxsite.org/berry/berry-for-ai.txt/berry-for-ai Defines a set of fixed color values using hexadecimal notation. These include primary colors like white and black, as well as specific named colors such as color1 through color9. ```css --white: #FFFFFF; --black: #000000; --color1: #1B542C; --color2: #026A52; --color3: #21888F; --color4: #296478; --color5: #4D668E; --color6: #2B2C7C; --color7: #992572; --color8: #933D50; --color9: #AC323B; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.