Skip to content
Closed
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
10 changes: 10 additions & 0 deletions packages/clay-css/src/images/icons/crown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/clay-css/src/scss/functions/_lx-icons-generated.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@

'credit-card': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-credit-card-border" d="M448 32.1 64 32C32 32 0 64.1 0 96v320.1c0 32 32 64 64 64h384c32 0 64-32 64-64V96c0-31.9-32-63.9-64-63.9zm0 384H64v-224h384v224zm0-288H64V96h384v32.1z" fill="#{$color}"/><path class="lexicon-icon-outline lx-credit-card-text" d="M304 288.1h64c62.7 0 63.3 96 0 96h-64c-63.3 0-64.3-96 0-96z" fill="#{$color}"/></svg>',

'crown': '<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path class="lexicon-icon-outline" d="M15 14.125a.875.875 0 0 1-.875.875H1.875a.875.875 0 0 1 0-1.75h12.25c.483 0 .875.392.875.875Z" fill="#{$color}"/><path class="lexicon-icon-outline" fill-rule="evenodd" d="m11.5 4.938 2.02-1.104A1 1 0 0 1 15 4.71v6.79H1V4.71a1 1 0 0 1 1.48-.877L4.5 4.938 7.253 1.84a1 1 0 0 1 1.494 0L11.5 4.938ZM4.846 7.12 2.75 5.975V9.75h10.5V5.975l-2.172 1.188L8 3.5 4.846 7.12Z" clip-rule="evenodd" fill="#{$color}"/></svg>',

'cursor': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M468.3 273.8 110.6 5.9c-20.2-15.1-48.7.8-46.5 25.9l40.4 453.6c2.4 27 37.2 36.4 52.8 14.2l106.5-151c5.1-7.2 13.2-11.8 22-12.3l166.7-10c27.2-1.7 37.5-36.2 15.8-52.5z" fill="#{$color}"/></svg>',

'custom-field': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline custom-field-cursor" fill="#{$color}" d="M416 32V0H288v32h32v448h-32v32h128v-32h-32V32z"/><path class="lexicon-icon-outline custom-field-placeholder" d="M224 224h-96c-41.6 0-41.6 60.8 0 64h96c41.6 0 41.6-64 0-64z" fill="#{$color}"/><path class="lexicon-icon-outline custom-field-border1" d="M288 352H64V160h224V96H32c-19.2 0-32 12.8-32 32v256c0 19.2 12.8 32 32 32h256v-64z" fill="#{$color}"/><path class="lexicon-icon-outline custom-field-border2" d="M480 96h-64v64h32v192h-32v64h64c19.2 0 32-12.8 32-32V128c0-19.2-12.8-32-32-32z" fill="#{$color}"/></svg>',
Expand Down
4 changes: 4 additions & 0 deletions packages/clay-icon/docs/aliases.js
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,10 @@ export const iconsData = [
aliases: [''],
name: 'credit-card',
},
{
aliases: ['enterprise', 'exclusive', 'premium'],
name: 'crown',
},
{
aliases: [''],
name: 'cursor',
Expand Down
3 changes: 1 addition & 2 deletions www/plugins/scss/index.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import clay from '@clayui/css';
import {dirname, join} from 'node:path';
import {fileURLToPath} from 'node:url';
import fs from 'node:fs';

const __dirname = dirname(fileURLToPath(import.meta.url));

export function buildIcons() {
const path = join(clay.srcDir, 'images', 'icons');
const path = join('..', 'packages', 'clay-css', 'src', 'images', 'icons');
const staticPath = join(__dirname, '../..', 'public');

const REGEX_FILE_EXT_SVG = /(?:flags-|\.svg$)/g;
Expand Down
2 changes: 2 additions & 0 deletions www/public/images/icons/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading