Skip to content

Commit

Permalink
Re-generate Tabler icon pack
Browse files Browse the repository at this point in the history
  • Loading branch information
AliOsm committed Nov 1, 2024
1 parent 7860372 commit 7129acd
Show file tree
Hide file tree
Showing 19 changed files with 227 additions and 29 deletions.
2 changes: 1 addition & 1 deletion lib/phlex/icons/tabler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Phlex
module Icons
module Tabler # rubocop:disable Metrics/ModuleLength
VERSION = '3.20.0'
VERSION = '3.21.0'
VARIANTS = %i[outline filled].freeze

extend Phlex::Kit
Expand Down
12 changes: 11 additions & 1 deletion lib/phlex/icons/tabler/brand_angular.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ module Icons
module Tabler
class BrandAngular < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M12.665 2.174l7.4 2.612a2 2 0 0 1 1.316 2.156l-1.323 9.703a2 2 0 0 1 -.99 1.468l-6.076 3.471a2 2 0 0 1 -1.984 0l-6.076 -3.47a2 2 0 0 1 -.96 -1.3l-.03 -.167l-1.322 -9.704a2 2 0 0 1 1.316 -2.156l7.4 -2.613a2 2 0 0 1 1.33 0m.271 4.475c-.324 -.865 -1.548 -.865 -1.872 0l-3 8a1 1 0 0 0 .585 1.287l.111 .035a1 1 0 0 0 1.176 -.62l.506 -1.351h3.113l.508 1.352a1 1 0 0 0 1.176 .62l.111 -.035a1 1 0 0 0 .585 -1.287zm-.937 3.199l.807 2.151h-1.614z'
)
end
end

def outline
Expand Down
20 changes: 16 additions & 4 deletions lib/phlex/icons/tabler/brand_instagram.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandInstagram < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M16 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-8a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-4 5a4 4 0 0 0 -3.995 3.8l-.005 .2a4 4 0 1 0 4 -4m4.5 -1.5a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1'
)
end
end

def outline
Expand All @@ -21,13 +32,14 @@ def outline
) do |s|
s.path(
d:
'M4 4m0 4a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z'
'M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z'
)
s.path(d: 'M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0')
s.path(d: 'M16.5 7.5l0 .01')
s.path(d: 'M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0')
s.path(d: 'M16.5 7.5v.01')
end
end
end
end
end
end
# rubocop:enable Layout/LineLength
14 changes: 13 additions & 1 deletion lib/phlex/icons/tabler/brand_kick.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandKick < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M9 3a1 1 0 0 1 1 1v3h1v-1a1 1 0 0 1 .883 -.993l.117 -.007h1v-1a1 1 0 0 1 .883 -.993l.117 -.007h6a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-1v1a1 1 0 0 1 -.883 .993l-.117 .007h-1v2h1a1 1 0 0 1 .993 .883l.007 .117v1h1a1 1 0 0 1 .993 .883l.007 .117v4a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1v-1h-1a1 1 0 0 1 -.993 -.883l-.007 -.117v-1h-1v3a1 1 0 0 1 -.883 .993l-.117 .007h-5a1 1 0 0 1 -1 -1v-16a1 1 0 0 1 1 -1z'
)
end
end

def outline
Expand All @@ -26,3 +37,4 @@ def outline
end
end
end
# rubocop:enable Layout/LineLength
24 changes: 18 additions & 6 deletions lib/phlex/icons/tabler/brand_linkedin.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandLinkedin < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1 -5 5h-10a5 5 0 0 1 -5 -5v-10a5 5 0 0 1 5 -5zm-9 8a1 1 0 0 0 -1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0 -1 -1m6 0a3 3 0 0 0 -1.168 .236l-.125 .057a1 1 0 0 0 -1.707 .707v5a1 1 0 0 0 2 0v-3a1 1 0 0 1 2 0v3a1 1 0 0 0 2 0v-3a3 3 0 0 0 -3 -3m-6 -3a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1'
)
end
end

def outline
Expand All @@ -19,17 +30,18 @@ def outline
stroke_linecap: 'round',
stroke_linejoin: 'round'
) do |s|
s.path(d: 'M8 11v5')
s.path(d: 'M8 8v.01')
s.path(d: 'M12 16v-5')
s.path(d: 'M16 16v-3a2 2 0 1 0 -4 0')
s.path(
d:
'M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z'
'M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z'
)
s.path(d: 'M8 11l0 5')
s.path(d: 'M8 8l0 .01')
s.path(d: 'M12 16l0 -5')
s.path(d: 'M16 16v-3a2 2 0 0 0 -4 0')
end
end
end
end
end
end
# rubocop:enable Layout/LineLength
14 changes: 13 additions & 1 deletion lib/phlex/icons/tabler/brand_open_source.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandOpenSource < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M12.283 2.004a10 10 0 0 1 3.736 19.155a1 1 0 0 1 -1.332 -.551l-2.193 -5.602a1 1 0 0 1 .456 -1.245a2 2 0 1 0 -1.9 0a1 1 0 0 1 .457 1.244l-2.193 5.603a1 1 0 0 1 -1.332 .552a10 10 0 0 1 4.018 -19.16z'
)
end
end

def outline
Expand All @@ -29,3 +40,4 @@ def outline
end
end
end
# rubocop:enable Layout/LineLength
14 changes: 13 additions & 1 deletion lib/phlex/icons/tabler/brand_opera.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandOpera < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M17 3.34a10 10 0 1 1 -15 8.66l.005 -.324a10 10 0 0 1 14.995 -8.336m-5 2.66c-2.285 0 -3.915 2.619 -3.997 5.752l-.003 .248c0 3.242 1.655 6 4 6s4 -2.758 4 -6s-1.655 -6 -4 -6'
)
end
end

def outline
Expand All @@ -27,3 +38,4 @@ def outline
end
end
end
# rubocop:enable Layout/LineLength
14 changes: 13 additions & 1 deletion lib/phlex/icons/tabler/brand_pinterest.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandPinterest < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M17 3.34a10 10 0 0 1 -8.512 18.023l2.364 -5.315a3.5 3.5 0 0 0 2.398 .952c2.708 0 4.75 -2.089 4.75 -5a6 6 0 1 0 -11.64 2.041a1 1 0 1 0 1.88 -.682a4 4 0 1 1 7.76 -1.36c0 1.818 -1.156 3.001 -2.75 3.001c-.609 0 -1.153 -.361 -1.478 -1.022l1.142 -2.572a1 1 0 0 0 -1.828 -.812l-4.392 9.882a10 10 0 0 1 -4.694 -8.476l.005 -.324a10 10 0 0 1 14.995 -8.336'
)
end
end

def outline
Expand All @@ -31,3 +42,4 @@ def outline
end
end
end
# rubocop:enable Layout/LineLength
12 changes: 11 additions & 1 deletion lib/phlex/icons/tabler/brand_sketch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ module Icons
module Tabler
class BrandSketch < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M7.554 3.004h8.929a2 2 0 0 1 1.647 .873l3.536 5.193a2.006 2.006 0 0 1 -.173 2.48l-8 8.79a2.007 2.007 0 0 1 -2.97 0l-8 -8.789a1 1 0 0 1 -.13 -.175l-.012 -.026l-.051 -.072a2.01 2.01 0 0 1 -.056 -2.063l.09 -.146l3.541 -5.193c.372 -.544 .987 -.87 1.649 -.872'
)
end
end

def outline
Expand Down
12 changes: 11 additions & 1 deletion lib/phlex/icons/tabler/brand_snapchat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ module Icons
module Tabler
class BrandSnapchat < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M12 1.96a5.88 5.88 0 0 1 5.882 5.882c0 .618 .008 1.174 .03 1.678l.008 .21l.084 -.115q .46 -.627 1.102 -1.29l.187 -.19a1 1 0 0 1 1.414 1.415c-2.637 2.637 -2.51 3.795 .76 5.527l.048 .025a.98 .98 0 0 1 .46 .636l.004 .022l.003 .013l.006 .043l.006 .032v.009l.003 .025l.001 .051l.002 .026l-.001 .009v.025l-.003 .042l-.002 .034l-.002 .015l-.002 .02l-.004 .016l-.01 .06l-.007 .026l-.006 .02l-.016 .06l-.013 .029l-.005 .013l-.024 .062a1 1 0 0 1 -.197 .28l-.03 .025l-.016 .014l-.043 .039l-.013 .007l-.018 .015l-.051 .033l-.02 .014l-.008 .003l-.014 .01a1 1 0 0 1 -.098 .049l-.013 .003l-.146 .066c-.576 .255 -.81 .365 -1.008 .474l-.053 .03c-.27 .155 -.398 .277 -.558 .525c-.156 .245 -.293 .516 -.715 1.41a1 1 0 0 1 -.904 .573c-1.067 0 -1.798 .25 -2.879 .868l-.426 .246c-.176 .102 -.311 .178 -.447 .25c-.794 .423 -1.464 .636 -2.248 .636s-1.454 -.213 -2.248 -.636a15 15 0 0 1 -.447 -.25l-.426 -.246c-1.081 -.618 -1.812 -.868 -2.879 -.868a1 1 0 0 1 -.904 -.573c-.422 -.894 -.559 -1.165 -.715 -1.41a1.4 1.4 0 0 0 -.558 -.525c-.228 -.13 -.47 -.243 -1.227 -.577l.02 .007l-.013 -.003a1 1 0 0 1 -.098 -.05l-.014 -.009l-.028 -.017l-.051 -.033l-.018 -.015l-.013 -.007l-.043 -.039l-.012 -.01l-.004 -.004l-.03 -.025a1 1 0 0 1 -.197 -.28l-.024 -.062l-.005 -.013l-.013 -.028l-.016 -.061l-.005 -.012l-.008 -.035l-.01 -.059l-.004 -.016l-.002 -.02l-.002 -.015l-.002 -.035l-.004 -.041l.001 -.025l-.001 -.01l.002 -.025l.001 -.05l.003 -.026v-.01l.006 -.03l.006 -.044l.004 -.014l.002 -.021a.98 .98 0 0 1 .461 -.636l.048 -.025l.204 -.11c3.003 -1.635 3.132 -2.785 .72 -5.25l-.164 -.167a1 1 0 0 1 1.414 -1.414q .764 .763 1.289 1.479l.083 .115l.01 -.21q .025 -.628 .028 -1.374l.001 -.304a5.88 5.88 0 0 1 5.882 -5.882'
)
end
end

def outline
Expand Down
12 changes: 11 additions & 1 deletion lib/phlex/icons/tabler/brand_steam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ module Icons
module Tabler
class BrandSteam < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M16.5 4a5.5 5.5 0 1 1 -.309 10.992l-.078 -.007l-3.646 2.524l-.011 .094c-.267 1.775 -1.707 3.18 -3.571 3.38l-.209 .017h-.176a4 4 0 0 1 -3.756 -2.623l-.016 -.048l-2.122 -.91a1 1 0 0 1 -.599 -.8l-.007 -.119v-3.5a1 1 0 0 1 1.447 -.894l2.964 1.481l.174 -.1a4 4 0 0 1 2.15 -.482l.166 .014l2.126 -2.977l-.01 -.098a5.5 5.5 0 0 1 1.092 -3.758l.169 -.212a5.5 5.5 0 0 1 4.222 -1.974m0 3.5a2 2 0 1 0 0 4a2 2 0 0 0 0 -4'
)
end
end

def outline
Expand Down
12 changes: 11 additions & 1 deletion lib/phlex/icons/tabler/brand_stripe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ module Icons
module Tabler
class BrandStripe < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M12.5 2c2.45 0 4.543 .44 5.928 1.096a1 1 0 0 1 .564 1.028l-.5 4a1 1 0 0 1 -1.429 .776c-1.047 -.509 -2.618 -.823 -4.168 -.823q -.206 .001 -.332 .026l.028 .024l.07 .047c.314 .207 .832 .437 1.672 .746c3.824 1.351 5.667 3.24 5.667 6.58c0 2.13 -.758 3.732 -2.295 4.924c-1.293 1.023 -3.422 1.576 -5.705 1.576c-2.4 0 -4.72 -.644 -6.486 -1.626a1 1 0 0 1 -.506 -.998l.5 -4a1 1 0 0 1 1.494 -.741c1.292 .75 3.64 1.365 4.998 1.365c.39 0 .704 -.147 .87 -.295l.035 -.035l-.09 -.035c-.167 -.06 -1.583 -.493 -2.153 -.694c-3.626 -1.304 -5.662 -3.609 -5.662 -6.941c0 -1.887 .882 -3.563 2.37 -4.777c1.22 -.987 2.517 -1.223 5.13 -1.223'
)
end
end

def outline
Expand Down
18 changes: 15 additions & 3 deletions lib/phlex/icons/tabler/brand_tabler.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandTabler < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1 -5 5h-10a5 5 0 0 1 -5 -5v-10a5 5 0 0 1 5 -5zm-1 12h-3a1 1 0 0 0 0 2h3a1 1 0 0 0 0 -2m-7.293 -5.707a1 1 0 0 0 -1.414 0l-.083 .094a1 1 0 0 0 .083 1.32l2.292 2.293l-2.292 2.293a1 1 0 0 0 1.414 1.414l3 -3a1 1 0 0 0 0 -1.414z'
)
end
end

def outline
Expand All @@ -20,14 +31,15 @@ def outline
stroke_linejoin: 'round'
) do |s|
s.path(d: 'M8 9l3 3l-3 3')
s.path(d: 'M13 15l3 0')
s.path(d: 'M13 15h3')
s.path(
d:
'M4 4m0 4a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z'
'M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z'
)
end
end
end
end
end
end
# rubocop:enable Layout/LineLength
12 changes: 11 additions & 1 deletion lib/phlex/icons/tabler/brand_tinder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ module Icons
module Tabler
class BrandTinder < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M11.595 2.13a1 1 0 0 1 1.455 -1.016c3.11 1.625 5.41 3.797 6.77 6.627l-.013 -.024l.01 .019l.115 .232c2.751 5.7 .088 12.587 -5.913 13.76l-.267 .049c-8.719 1.91 -14.455 -8.74 -7.97 -14.918c.466 -.46 1.28 -1.196 1.636 -1.45a1 1 0 0 1 1.582 .813c0 .311 .086 1.117 .205 1.694q .046 .215 .093 .383l.017 .058l.1 -.02c1.562 -.396 2.522 -3.021 2.21 -5.955z'
)
end
end

def outline
Expand Down
14 changes: 13 additions & 1 deletion lib/phlex/icons/tabler/brand_tumblr.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
module Icons
module Tabler
class BrandTumblr < Base
def filled
raise NotImplementedError
svg(
**attrs,
xmlns: 'http://www.w3.org/2000/svg',
viewbox: '0 0 24 24',
fill: 'currentColor'
) do |s|
s.path(
d:
'M14 2a1 1 0 0 1 1 1v3h3a1 1 0 0 1 .993 .883l.007 .117v4a1 1 0 0 1 -1 1h-3v4h3a1 1 0 0 1 .993 .883l.007 .117v4a1 1 0 0 1 -1 1h-4a5 5 0 0 1 -5 -5v-5h-3a1 1 0 0 1 -.993 -.883l-.007 -.117v-4a1 1 0 0 1 1 -1h1a2 2 0 0 0 2 -2v-1a1 1 0 0 1 1 -1z'
)
end
end

def outline
Expand All @@ -28,3 +39,4 @@ def outline
end
end
end
# rubocop:enable Layout/LineLength
Loading

0 comments on commit 7129acd

Please sign in to comment.